This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: "Function key" – news · newspapers · books · scholar · JSTOR (January 2009) (Learn how and when to remove this message) This article may contain excessive or irrelevant examples. Please help improve the article by adding descriptive text and removing less pertinent examples. (May 2011) This article is in list format but may read better as prose. You can help by converting this article, if appropriate. Editing help is available. (January 2013) (Learn how and when to remove this message)

A function key is a key on a computer or terminal keyboard that can be programmed to cause the operating system or an application program to perform certain actions, a form of soft key.[1] On some keyboards/computers, function keys may have default actions, accessible on power-on.

A 104-key US English keyboard layout with the function keys in orange

Function keys on a terminal may either generate short fixed sequences of characters, often beginning with the escape character (ASCII 27), or the characters they generate may be configured by sending special character sequences to the terminal. On a standard computer keyboard, the function keys may generate a fixed, single byte code, outside the normal ASCII range, which is translated into some other configurable sequence by the keyboard device driver or interpreted directly by the application program. Function keys may have abbreviations or pictographic representations of default actions printed on/besides them, or they may have the more common "F-number" designations.


Flexowriter keyboard (1968) with 13 function keys on the right
HP 9830A (1972) with 5×2 grid of 10 function keys at top left

The Singer/Friden 2201 Flexowriter Programmatic, introduced in 1965, had a cluster of 13 function keys, labeled F1 to F13 to the right of the main keyboard. Although the Flexowriter could be used as a computer terminal, this electromechanical typewriter was primarily intended as a stand-alone word processing system. The interpretation of the function keys was determined by the programming of a plugboard inside the back of the machine.[2]

Soft keys date to avionics multi-function displays of military planes of the late 1960s/early 1970s, such as the Mark II avionics of the F-111D (first ordered 1967, delivered 1970–1973).[citation needed] In computing use, they were found on the HP 9810A calculator (1971) and later models of the HP 9800 series, which featured 10 programmable keys in 5×2 block (2 rows of 5 keys) at the top left of the keyboard, with paper labels.[citation needed] The HP 9830A (1972) was an early desktop computer, and one of the earliest specifically computing uses.[citation needed] HP continued its use of function keys in the HP 2640 (1975), which used screen-labeled function keys, placing the keys close to the screen, where labels could be displayed for their function.

NEC's PC-8001, introduced in 1979, featured five function keys at the top of the keyboard, along with a numeric keypad on the right-hand side of the keyboard.[3][4]

Their modern use may have been popularized by IBM keyboards:[citation needed] first the IBM 3270 terminals, then the IBM PC. IBM use of function keys dates to the IBM 3270 line of terminals,[citation needed] specifically the IBM 3277 (1972) with 78-key typewriter keyboard or operator console keyboard version, which both featured 12 programmed function (PF) keys in a 3×4 matrix at the right of the keyboard. Later models replaced this with a numeric keypad, and moved the function keys to 24 keys at the top of the keyboard. The original IBM PC keyboard (PC/XT, 1981) had 10 function keys (F1–F10) in a 2×5 matrix at the left of the keyboard; this was replaced by 12 keys in 3 blocks of 4 at the top of the keyboard in the Model M ("Enhanced", 1984).[citation needed]

Schemes on various keyboards

Keyboard with 24 function keys

Action on various programs and operating systems

Mac OS

In the classic Mac OS, the function keys could be configured by the user, with the Function Keys control panel, to start a program or run an AppleScript.

macOS assigns default functionality to (almost) all the function keys from F1 to F12, but the actions assigned by default to these function keys has changed a couple of times over the history of Mac products and corresponding Mac OS X versions[6][circular reference]. As a consequence, the labels on Macintosh keyboards have changed over time to reflect the newer mappings of later Mac OS X versions : for instance, on a 2006 MacBook Pro, functions keys F3, F4 and F5 are labelled for volume down/volume up, whereas on later MacBook Pros (starting with the 2007 model), the volume controls are located on function keys F10 to F12 where they are mapped to various functions.

Any recent version of Mac OS X or macOS is able to detect which generation of Apple keyboard is being used, and to assign proper default actions corresponding to the labels shown on this Apple keyboard (provided that this keyboard was manufactured before the release of the version of Mac OS X being used). As a result, default mappings are sometimes wrong (i.e. not matching the labels shown on the keyboard) when using a recent USB Apple keyboard on an older version of Mac OS X which doesn't know about the new function key mapping of this keyboard (e.g. because Mission control and Launchpad didn't exist at that time, the corresponding labels shown on the keyboard can't match the default actions assigned by older versions of Mac OS X which were Exposé and Dashboard).

It can be noted that:


Under MS-DOS, individual programs could decide what each function key meant to them, and the command line had its own actions. For example, F3 copied words from the previous command to the current command prompt.

Following the IBM Common User Access guidelines, the F1 key gradually became universally associated with Help in most early Windows programs. To this day, Microsoft Office programs running in Windows list F1 as the key for Help in the Help menu. Internet Explorer in Windows does not list this keystroke in the help menu, but still responds with a help window.

F3 is commonly used to activate a search function in applications, often cycling through results on successive presses of the key. ⇧ Shift+F3 is often used to search backwards. Some applications such as Visual Studio support Control+F3 as a means of searching for the currently highlighted text elsewhere in a document.

F5 is also commonly used as a reload key in many web browsers and other applications, while F11 activates the full screen/kiosk mode on most browsers. Under the Windows environment, Alt+F4 is commonly used to quit an application; Ctrl+F4 will often close a portion of the application, such as a document or tab. F10 generally activates the menu bar, while ⇧ Shift+F10 activates a context menu. F2 is used in many Windows applications such as Windows Explorer, Excel, Visual Studio and other programs to access file or field edit functions, such as renaming a file.

F4 is used in some applications to make the window "fullscreen", like in 3D Pinball: Space Cadet. In Microsoft IE, it is used to view the URL list of previously viewed websites.

Other function key assignments common to all Microsoft Office applications are: F7 to check spelling, Alt+F8 to call the macros dialog, Alt+F11 to call the Visual Basic Editor and ⇧ Shift+Alt+F11 to call the Script Editor. In Microsoft Word, ⇧ Shift+F1 reveals formatting. In Microsoft PowerPoint, F5 starts the slide show, and F6 moves to the next pane.

⇧ Shift+F9 exits the MS-DOS Shell if it is running.

WordPerfect for DOS is an example of a program that made heavy use of function keys.

In Internet Explorer 6 and Internet Explorer 7, F12 opens Internet Explorer Developer Toolbar. F6 highlights the URL in the address bar.


Function Keys are also heavily used in the BIOS interface. Generally during the power-on self-test, BIOS access can be gained by hitting either a function key or the Del key. In the BIOS keys can have different purposes depending on the BIOS. However, F10 is the de facto standard for save and exit which saves all changes and restarts the system.

During Windows 10 startup, ⇧ Shift + F8 is used to enter safe mode; in legacy versions of Microsoft Windows, the F8 key was used alone.

See also


  1. ^ "Definition of FUNCTION KEY".
  2. ^ The completely new 2201 FLEXOWRITER automatic writing machine by Friden (advertisement), Nation's Business, Vol. 53, No. 2 (February 1965), pages 75-76.
  3. ^ a b "OLD-COMPUTERS.COM : The Museum". Archived from the original on 2017-04-04. Retrieved 2015-06-12.
  4. ^ a b Ahl, David H. "NEC PC-8800 personal computer system".
  5. ^ Archived at Ghostarchive and the Wayback Machine: Ortek MCK-142Pro programmable keyboard review (Alps SKCM White), retrieved 2021-04-23
  6. ^ Apple Keyboard
Esc F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 PrtScn/
TildeExclamation markAt signNumber signDollar signPercent signCaretAmpersandAsteriskParenthesisParenthesisUnderscorePlus signBackspaceBacktick1 (number)2 (number)3 (number)4 (number)5 (number)6 (number)7 (number)8 (number)9 (number)0Hyphen-minusEquals signBackspaceTab keyQWERTYUIOPCurly bracketCurly bracketVertical barTab keyQWERTYUIOPSquare bracketSquare bracketBackslashCaps lockASDFGHJKLColon (punctuation)Quotation markEnter keyCaps lockASDFGHJKLSemicolonApostropheEnter keyShift keyZXCVBNMBracketBracketQuestion markShift keyShift keyZXCVBNMComma (punctuation)Full stopSlash (punctuation)Shift keyControl keyWindows keyAlt keySpace barAlt keyWindows keyMenu keyControl key
Insert Home PgUp Num
Delete End PgDn 7 8 9 +
4 5 6
1 2 3 Enter