Small Dial

How-to · Key Remappings

How to remap Caps Lock to Escape on a Mac

macOS can do this on its own: open System Settings → Keyboard → Keyboard Shortcuts → Modifier Keys and choose Escape from the Caps Lock pop-up menu. It takes a minute, and nothing needs to stay open.

Set Caps Lock to Escape in System Settings

Modifier Keys lets you change what Caps Lock, Control, Option and Command do. Each has a pop-up menu, and Escape is one of the choices, along with the other modifiers and No Action.

  1. Choose Apple menu → System Settings, then click Keyboard in the sidebar. You may need to scroll down.
  2. Click Keyboard Shortcuts, then click Modifier Keys.
  3. If more than one keyboard is connected, choose the one to change from the Select keyboard menu.
  4. Click the pop-up menu next to Caps Lock, choose Escape, then click Done.

What the built-in setting doesn’t cover

The setting belongs to one keyboard, so another keyboard keeps its own Caps Lock until you change it there too. To undo everything, open Modifier Keys again and click Restore Defaults.

It also only works for modifier keys, and only turns them into another modifier, Escape or nothing. Caps Lock can’t become a shortcut such as ⌃⌥Space, Return can’t become Delete, and no key can open an app.

With Key Remappings

If Caps Lock to Escape is all you want, the built-in setting is enough. Key Remappings is worth it when you want more: any key turned into another key or a shortcut, shortcuts that open apps, and every mapping in one list you can pause or delete.

  1. Open Key Remappings and choose Allow Accessibility…. Enable it in System Settings → Privacy & Security → Accessibility, then return to the app. It checks automatically.
  2. Click Caps Lock on the on-screen keyboard.
  3. Click esc, the key Caps Lock should become.
  4. Click Add Mapping. Caps Lock → Escape appears in your list of mappings and works in every app.
Key Remappings: Remap a key with two clicks

Watch this step in the Key Remappings guide 0:00

Which to choose

Choose Modifier Keys if you only want Caps Lock to be Escape on the keyboard in front of you. Choose Key Remappings if you want the same mapping on the built-in keyboard and external ones without setting each, or other keys and shortcuts alongside it. Its mappings work while the app is open; click Save to Computer and wait for the saving confirmation to keep them working after you quit and every time you log in.

Key Remappings · $4.99

Turn any key or shortcut into another one, or into an app — from a picture of your keyboard. Try it free for 7 days.

Download free trial