Escape Key Not Working on Mac? Fix It Now
In this article
If your Escape (Esc) key isn't working on your Mac, the quickest fix is to check if you have a keyboard shortcut that's intercepting it, or if you accidentally enabled a setting that remaps it. In most cases, you can fix it in under a minute by checking your Keyboard settings, resetting the SMC, or using a virtual on-screen keyboard as a temporary workaround.
What You'll Need
- Your Mac (any model)
- Access to System Settings (or System Preferences on older macOS)
- Optional: an external USB or Bluetooth keyboard for testing
Step-by-Step
- Test the Esc key in different apps. Open a text editor (like TextEdit) and press Esc. Then try it in Finder, Safari, and a full-screen app. If it works in some apps but not others, the issue is likely a specific app's shortcut conflict, not the hardware.
- Check for stuck modifier keys. Press and release each of these keys one at a time: Control, Option, Command, Shift, and Caps Lock. Sometimes a stuck modifier can prevent Esc from registering. If you have an external keyboard, unplug it and see if the built-in keyboard starts working.
- Restart your Mac. A simple restart clears temporary software glitches that can affect keyboard input. Go to the Apple menu and choose Restart.
- Check Keyboard settings for remapping. Go to System Settings > Keyboard (on macOS Ventura or later) or System Preferences > Keyboard (on earlier versions). Look for any modifier key remapping or custom shortcuts that might have reassigned Esc. If you see something unusual, click “Restore Defaults” or remove the custom shortcut.
- Disable “Full Keyboard Access” if it's causing issues. In the same Keyboard settings, look for “Keyboard navigation” or “Full Keyboard Access” (macOS Sequoia and later). If it's enabled, try turning it off—this feature can sometimes interfere with Esc in certain contexts.
- Check for app-specific shortcuts. Go to System Settings > Keyboard > Keyboard Shortcuts. Look through the list (e.g., Mission Control, Spotlight) for any shortcut that uses the Esc key, and remove or change it if found.
- Reset the SMC (System Management Controller). This only applies to Intel-based Macs. The steps vary by model:
- MacBooks with T2 chip or older: Shut down, then hold Control + Option + Shift (right side) for 7 seconds, then press and hold the power button for 7 more seconds. Release all, then power on.
- Desktops (iMac, Mac mini, Mac Pro): Unplug the power cord, wait 15 seconds, then plug it back in and wait 5 seconds before turning on.
- Use the on-screen keyboard as a temporary fix. Go to System Settings > Accessibility > Keyboard and enable “Accessibility Keyboard.” A virtual keyboard will appear on screen; you can click the Esc key there. This doesn't fix the hardware, but it lets you continue working.
- Clean the key. If the key feels sticky or requires extra pressure, turn off your Mac, then gently clean around the key with a soft, dry cloth or compressed air. Avoid liquids.
- Test with an external keyboard. Plug in a USB or Bluetooth keyboard. If Esc works on that, the built-in keyboard may need service.
Common Mistakes
- Assuming it's a hardware issue immediately. Software conflicts are far more common. Always test in multiple apps and restart first.
- Ignoring stuck modifier keys. A physically stuck Shift or Command key can block Esc. Check them before anything else.
- Resetting the SMC on Apple Silicon Macs. That step is only for Intel Macs; doing it on Apple Silicon does nothing.
- Cleaning with liquid. Damp cloths can damage the keyboard. Use only dry or slightly damp (almost dry) cloths, and never spray directly on the key.
- Deleting system files or running terminal commands you don't understand. That can cause more problems. Stick to the steps above.
Tips
- If you use the Esc key heavily (e.g., for coding or Escape from full-screen), consider remapping Caps Lock to Esc using third-party tools like Karabiner-Elements (free, official site only). This is a workaround, not a fix.
- Keep your macOS updated. Apple often fixes keyboard-related bugs in system updates.
- If the key is physically damaged, a keyboard cover or external keyboard is the most cost-effective solution until you can get it serviced.
- Use the “Accessibility Keyboard” as a permanent alternative if the hardware key is dead and you don't want to replace the keyboard.
Troubleshooting
If the steps above didn't resolve the issue:
- Check for debris. Use a flashlight to look under the key. If you see crumbs or dust, use compressed air to blow it out.
- Try a different user account. Create a new user (System Settings > Users & Groups) and test Esc there. If it works, the issue is tied to your user's settings, not the system.
- Boot into Safe Mode. Restart your Mac and hold the Shift key immediately after the startup chime (Intel) or press and hold the power button until “Loading startup options” appears (Apple Silicon), then select your disk and hold Shift to enter Safe Mode. Test Esc there. If it works, a third-party app is interfering.
- Check for malware or third-party keyboard utilities. If you have apps like BetterTouchTool or Karabiner installed, temporarily quit them and test. Also run a malware scan with a reputable tool.
- If nothing works, contact Apple Support. The key may be physically broken. If your Mac is under warranty, you can get a free repair.
Frequently Asked Questions
Why is my Esc key not working only in certain apps?
That's usually a shortcut conflict. The app may have assigned Esc to a different action, or a system-wide shortcut (like Mission Control) is intercepting it. Go to System Settings > Keyboard > Keyboard Shortcuts and check for any Esc-related assignments.
Can I use a keyboard shortcut to replace Esc?
Yes, you can use Control + [ (Control and left bracket) in many apps, as it's the traditional equivalent. Also, you can enable the Accessibility Keyboard and click the on-screen Esc key.
Does resetting the SMC erase my data?
No, resetting the SMC only resets hardware settings like fan speed and power management. It does not affect your files or settings.
My Esc key works after restart but stops again. What's causing that?
This suggests a software conflict that reoccurs. Look for apps that run at login and try disabling them one by one. Also check if the issue happens after using a specific app.
Is it safe to use compressed air on my keyboard?
Yes, but hold the can upright and use short bursts. Tilt the Mac at an angle so debris falls out. Avoid shaking the can or spraying upside down.
Will Apple fix the Esc key for free?
If your Mac is under warranty or you have AppleCare+, yes. If not, you'll likely have to pay for repair. Check your coverage at Apple's check coverage page.