← Back to all guides
Technology · 4 min READ

How to Remap Caps Lock to Escape in Windows 11 With PowerToys

How to Remap Caps Lock to Escape in Windows 11 With PowerToys guide illustration

Turn Caps Lock into a second Escape key in Windows 11, test it in ordinary apps, and reverse or remove the mapping when you need Caps Lock back.

Quick note

Follow these steps at your own pace. Check product terms and prices directly with providers before purchasing.

Quick answer

Open PowerToys Settings → Keyboard Manager → Remap a key. Add a row with Caps Lock as the input key and Esc as the key to send. Save or confirm the change. With PowerToys running, open an ordinary app menu and press the physical Caps Lock key. It should dismiss the menu like Escape.

Decide whether you need a duplicate or a swap

If reaching Escape is awkward, making Caps Lock a second Escape key may be all you need. The original Escape key keeps working. If you still use Caps Lock for long identifiers, you can instead swap the two keys by creating a second row so physical Escape sends Caps Lock. Write down which arrangement you want before opening the editor. One row and two rows produce different keyboards.

Physical key pressedOne-way mapping
Caps LockSends Escape.
EscapeStill sends Escape.
Shift plus a letterStill types an uppercase letter.

PowerToys Keyboard Manager operates while the utility is running in your Windows session. It does not reprogram the keyboard hardware. If you need to enter text at the sign-in screen with a failing physical key, see using the Windows On-Screen Keyboard at sign-in. Do the first remap test after signing in.

Create the mapping in the correct direction

  1. Install Microsoft PowerToys from the Microsoft Store if needed, then open its settings and enable Keyboard Manager. Select Remap a key. Use the key editor for this task because the source is one physical key.
  2. Add a key remapping. In the left or Select column, choose Caps Lock. In the To send column, set the action to send a key and choose Esc or Escape. Where the editor offers capture and dropdown options, choosing the names from the lists avoids accidentally dismissing a capture dialog with Escape.
  3. Read the row aloud from left to right: “When I press Caps Lock, send Escape.” Save the change. If the editor warns that no physical key will now send Caps Lock, decide whether this is the one-way arrangement you intended. Add the reverse row if you still need both functions.
  4. Open a menu in a normal desktop application. Press Caps Lock once. Then type a few lowercase letters in a blank note and use Shift for one capital. If the menu stays open and letters lock into capitals, revisit the saved row and check the utility is enabled.

Test the applications where you actually use Escape

A good second test is a search field with a suggestion list, or a file dialog you opened from a blank document. Verify that Caps Lock dismisses the expected layer once. Escape can cancel an action inside editing software, so use a disposable document for a first test. Avoid testing on unsaved work or on an operation where pressing Escape would discard a long-running change.

If one app behaves differently, compare it with a regular editor. An elevated application can receive input differently from a normal user process, and some applications handle keyboard input themselves. First verify the basic mapping in a normal app. If you wanted an app-specific shortcut rather than a system-wide single-key change, inspect Keyboard Manager’s separate shortcut editor.

Test an external keyboard separately

A key mapping is handled by the signed-in Windows session. If you use a laptop keyboard at home and a separate keyboard at your desk, test Caps Lock on both before assuming the rule belongs to just one device. The cap on the external keyboard will still say Caps Lock even while it sends Escape. If another person uses the same signed-in session, make sure they can find the ordinary capitalization function or restore the mapping when needed.

Remove it or keep normal typing available

Return to Remap a key, remove the Caps Lock row, and save. If you added a reverse Escape row, remove both to restore the original layout. Open the same menu and note again so you can verify the reversal. Turning Keyboard Manager off temporarily is also a quick way to compare behavior while keeping your rule available.

For typed accents such as é or ñ, use Quick Accent to choose a character rather than surrendering a normal letter key. For an action such as clean pasting, use the dedicated Advanced Paste shortcut. Microsoft explains mapping direction, unused original keys, and application limitations in its Keyboard Manager reference.

SHARE THIS GUIDE

Know someone who could use this?

DISCUSSION

Comments

Comments are reviewed before they become public.

No approved comments yet. Be the first to start the discussion.