Skip to content

Shift key: what it does and why it is called Shift

The Shift key types capitals and the upper symbol on each key. See why it is called Shift, how Caps Lock differs from Shift Lock, and what Sticky Keys is.

6 min read

The Shift key is a modifier: hold it down while pressing another key and you get the capital letter, or the upper of the two symbols printed on that key. It is called Shift because on a typewriter it physically shifted part of the machine so that a different character hit the paper.

What the Shift key does

Shift has two jobs on a computer. The first is typing. Shift with a letter gives the capital, and Shift with a digit or punctuation key gives the symbol printed above it, such as the question mark, the colon and the parentheses.

The second job is changing what other keys and clicks do. These combinations work in most programs:

Combination What it does
Shift + arrow keys Selects text as the cursor moves
Shift + click Selects everything between the last click and this one
Shift + Tab Moves to the previous field or control
Shift while drawing a shape Keeps a line straight, or a rectangle square, in many graphics programs
Shift + Delete (Windows) Deletes a file without sending it to the Recycle Bin
Ctrl + Shift + Esc (Windows) Opens Task Manager

On keyboards that use symbols for key names, Shift is an upward outline arrow, ⇧. The international keyboard standard calls it the Level 2 Select key, because it selects the second character on each key.

On a phone or tablet the on-screen Shift key does the same job for one letter at a time. On an iPhone, Apple's guide says a double tap on Shift turns on Caps Lock.

Why it is called the Shift key

The first commercial typewriter printed capitals only. Its successor, the Remington No. 2 of 1878, put two characters on every typebar, a capital and a small letter, and added a key that moved the paper roller so that the other character met the page. That movement was the shift.

Later machines shifted in one of two ways. With carriage shift, the key lifts the whole carriage, paper included. With basket shift, also called segment shift, the key lowers the basket of typebars instead, which is lighter under the finger. Either way, every typebar now carried two characters, which halved the number of keys and typebars a machine needed.

The mechanism is described in how a typewriter works, and the rest of the keyboard's typewriter inheritance is in typewriter keyboard layout. You can watch a shift happen on the online typewriter.

Left Shift and right Shift

There are two Shift keys so that either hand can hold one. Touch typing courses teach the opposite hand rule: hold Shift with the little finger of the hand that is not typing the letter. For a capital P, typed with the right hand, the left little finger holds the left Shift. For a capital A, the right one does.

The computer does know which Shift key is down, and a few shortcuts depend on the side. On Windows, holding the right Shift key for eight seconds toggles Filter Keys, and left Alt with left Shift and Num Lock toggles Mouse Keys.

Holding both Shift keys at once has a side effect on some keyboards: certain letters stop registering. That is a limit of the keyboard's wiring, not a fault, and it is explained in key rollover and ghosting. If one Shift key does nothing at all, check it in the keyboard tester, where the left and right keys light up separately.

Caps Lock and Shift Lock

Shift Lock on a typewriter

Holding a carriage up with one finger for a whole heading is tiring. Typewriters added a Shift Lock key that latched the mechanism in the shifted position until Shift was pressed again. Everything was shifted, so with the lock on, the digit keys printed the symbols above them.

Caps Lock on a computer

Caps Lock grew out of Shift Lock but does less. On most layouts it capitalizes letters and leaves digits and punctuation alone, so you can type a part number such as AB-1024 without touching Shift.

It behaves differently from place to place:

  • On French AZERTY and most German QWERTZ layouts, Caps Lock still works as a shift lock, so the digit row changes too.
  • On many systems, holding Shift while Caps Lock is on gives lowercase letters. macOS is an exception.
  • Windows shows a warning on its sign-in screen when Caps Lock is on, and macOS shows a Caps Lock symbol in password fields.
  • Chromebook keyboards have no Caps Lock key. The Search or Launcher key sits in its place, and Alt with that key turns Caps Lock on and off.

The key has had public critics since at least 2006, when a magazine article called for its removal, and the 2018 and 2023 editions of the German keyboard standard made its function optional.

Sticky Keys: why Shift five times makes a sound

Sticky Keys is an accessibility feature for people who find it hard to hold two keys at once. With it on, you press a modifier such as Shift, Ctrl or Alt, release it, and it stays active for the next key. Ctrl + C becomes Ctrl, then C.

The shortcut that turns it on is the reason many people meet it by accident:

System How Sticky Keys is switched on Where to switch it off
Windows Press Shift five times Press Shift five times again, or go to Settings, Accessibility, Keyboard
macOS Off by default. An option lets Shift pressed five times toggle it System Settings, Accessibility, Keyboard
ChromeOS and Linux desktops In the accessibility settings The same settings page

The feature is older than it looks. It first shipped on the Macintosh, in the Easy Access extension of System 6, and Unix workstations had it by 1994.

Windows has a second Shift shortcut that causes more confusion. Holding the right Shift key for eight seconds toggles Filter Keys, which tells Windows to ignore brief or repeated keystrokes. A keyboard that seems to have stopped typing after a long press on Shift has usually had Filter Keys switched on. The steps to undo it are in keyboard not working.

When the Shift key does not work

  1. Press both Shift keys in the keyboard tester. If one lights up and the other does not, the dead key is a hardware fault.
  2. If both light up but capitals do not appear, check that Sticky Keys and Filter Keys are off.
  3. If letters come out reversed, capitals without Shift and small letters with it, Caps Lock is on.
  4. If only some Shift combinations fail, the keyboard is blocking them. Use the other Shift key for those letters.

Sources

Questions people ask

What does the Shift key do?
Held down with another key, Shift types the capital letter or the upper symbol printed on that key. It also changes what other keys and mouse clicks do, for example selecting text with the arrow keys or selecting a range of files with a click.
Why is it called the Shift key?
On a typewriter the key physically shifted part of the machine. Each typebar carried two characters, and pressing Shift moved either the paper carriage or the basket of typebars so that the second character struck the page. The first shift key appeared on a typewriter in 1878.
What is the difference between Caps Lock and Shift Lock?
Shift Lock, the typewriter version, held the whole mechanism shifted, so digits came out as symbols. Caps Lock on most computer layouts capitalizes letters only and leaves digits and punctuation alone. On some layouts, including French AZERTY and German QWERTZ, Caps Lock still acts as a shift lock.
Why does my computer beep when I press Shift five times?
Pressing Shift five times is the Windows shortcut for Sticky Keys, an accessibility feature that lets you press modifier keys one at a time. Pressing Shift five times again switches it off, or you can turn it off under Settings, Accessibility, Keyboard.
Is there a difference between the left and right Shift keys?
For typing, no: both do the same job, and touch typists use the one opposite the hand that types the letter. The computer can tell them apart, though, and a few shortcuts use one side only. On Windows, holding the right Shift key for eight seconds toggles Filter Keys.
Where is Caps Lock on a Chromebook?
Chromebook keyboards have a Search or Launcher key where Caps Lock usually sits. Press Alt with that key to turn Caps Lock on or off, or change the key's job in the keyboard settings.