Yes, you can remap the Caps Lock key to act as the Escape (Esc) key on a Mac, and it takes less than a minute using built-in system settings. This guide shows you exactly how to do it in current macOS versions, explains why it’s useful, and covers common questions like how to keep Caps Lock available when needed.
Why Remap Caps Lock to Esc?
The Escape key is essential in many workflows—closing dialogs, canceling operations, exiting full-screen mode, and especially in terminal-based editors like Vim. On modern Mac keyboards, especially the butterfly-switch models and the newer Magic Keyboard, the Esc key is small and sometimes awkward to reach. Caps Lock, on the other hand, sits right under your left pinky and is rarely used by most people. Remapping it to Esc puts a large, easy-to-hit Escape key exactly where your finger naturally rests.
Programmers, writers, and heavy keyboard users often make this change because it reduces finger travel and makes Escape more accessible. It’s a popular tweak in the developer community, and Apple has even built the option directly into macOS, so no third-party software is required.
How to Remap Caps Lock to Esc in macOS
Apple provides a built-in setting that lets you change the Caps Lock key’s action. Here are the exact steps for current macOS versions (Ventura, Sonoma, Sequoia, and later):
- Open System Settings (click the Apple menu and select System Settings).
- Click Keyboard in the sidebar.
- Click the Keyboard Shortcuts… button (or “Modifier Keys” on older macOS).
- In the list on the left, select Modifier Keys.
- Choose your keyboard from the drop-down menu at the top (if you have multiple keyboards).
- Next to Caps Lock (⇪) Key, select Escape (⎋) from the pop-up menu.
- Click Done.
That’s it. The Caps Lock key now sends an Escape signal. The change applies immediately and persists across reboots.
What About Older macOS Versions?
If you’re on macOS Monterey or earlier, the steps are slightly different but still built-in:
- Open System Preferences.
- Click Keyboard.
- Click the Modifier Keys… button.
- Select your keyboard and set Caps Lock Key to Escape.
The option has existed for many years, so this works on essentially any Mac running a reasonably modern macOS.
How to Keep Caps Lock Functionality
Once you remap Caps Lock to Esc, you lose the ability to type in all caps using that key. If you occasionally need Caps Lock, you have a few options:
- Use Shift – Hold Shift while typing to get capital letters. It’s not the same as Caps Lock for long strings, but it works.
- Use a third-party tool – Apps like Karabiner-Elements let you create a custom rule where Caps Lock acts as Esc when tapped and as Caps Lock when held. This gives you both functions.
- Use the on-screen keyboard – The Accessibility keyboard has a Caps Lock key you can click with your mouse.
Most people find they rarely miss Caps Lock, but if you do, the tap-and-hold trick from Karabiner is a popular compromise.
Common Problems and Fixes
Sometimes the remap doesn’t seem to work or causes confusion. Here are the usual culprits:
- Wrong keyboard selected – If you have multiple keyboards (built-in, Bluetooth, USB), make sure you changed the setting for the one you’re actually using. The drop-down menu at the top of the Modifier Keys pane lists each connected keyboard.
- Keyboard not recognized – Some third-party keyboards don’t report their identity properly, and macOS may not apply the remap. Try unplugging and reconnecting, or check if the keyboard has its own software.
- Remap doesn’t work in certain apps – A few applications intercept key events directly and may ignore the system-level remap. This is rare, but if it happens, a tool like Karabiner-Elements can force the change at a lower level.
- You forgot Caps Lock is gone – If you’re used to typing in all caps, you’ll accidentally hit Esc instead. Give yourself a few days to adjust.
Alternatives and Advanced Options
The built-in setting is the simplest method, but power users have other options:
- Karabiner-Elements – A free, open-source keyboard customization tool that can remap any key to any action, including complex rules like “Caps Lock = Esc when tapped, Ctrl when held.”
- BetterTouchTool – A paid utility that offers extensive keyboard remapping and triggers.
- Change the Esc key itself – If you’re using an external keyboard, you could physically replace the keycap or use a keyboard with a larger Esc key.
- Use a different key – Some people prefer remapping Caps Lock to Control or to a Hyper key (Ctrl+Option+Cmd+Shift). The same Modifier Keys pane lets you choose from several options.
For most users, the built-in setting is enough. If you need more flexibility, Karabiner-Elements is the go-to choice in the Mac community.
Frequently Asked Questions
Will remapping Caps Lock to Esc affect my ability to type capital letters?
Yes, the Caps Lock key will no longer toggle all-caps mode. You can still type capital letters by holding Shift. If you need Caps Lock occasionally, consider a third-party tool that makes Caps Lock act as Esc when tapped and Caps Lock when held.
Does this work on all Mac keyboards?
Yes, the built-in modifier key remapping works with the built-in keyboard on MacBooks and with Apple’s external keyboards. For third-party keyboards, it usually works but can be inconsistent if the keyboard doesn’t properly report its identity to macOS.
Can I remap other keys the same way?
The Modifier Keys pane only lets you change the behavior of the modifier keys: Caps Lock, Control, Option, and Command. For remapping other keys (like making F1 do something else), you’ll need a third-party tool like Karabiner-Elements.
Will the remap persist after a reboot or macOS update?
Yes, the setting is stored in your system preferences and survives reboots and most macOS updates. In rare cases, a major macOS upgrade might reset it, but that’s uncommon.
Is there a way to temporarily switch back to Caps Lock without changing the setting?
Not with the built-in option. If you need Caps Lock temporarily, you could use the on-screen keyboard or a third-party tool that allows a different action when the key is held. Alternatively, just change the setting back in System Settings when you need Caps Lock.
Does this remap work in the Terminal and all apps?
Yes, the remap is system-wide, so it works in Terminal, browsers, text editors, and virtually every application. A few apps that directly read keyboard hardware might ignore it, but that’s extremely rare.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Unbox ASMR Codes: What They Are & How to Use5.00 min/km
- Repurposed Old Motorola Phone for Homelab?
- How to Evaluate AI Vendors for Data Security, Privacy & Compliance
- Best Ergonomic Mouse: Top Picks & Buying Guide
- Captions in Google Slides: How to Add & Format Them
- Use Mac Type in Japanese? Full Guide