How to Get a Hardware Escape Key on MacBook Pro with Touch Bar

Feb 20, 2017 - 17 Comments

Escape key on MacBook Pro touch bar

The new MacBook Pro with Touch Bar model includes a Touch Bar screen in lieu of the standard hardware function keys and escape key. Removing the Escape key may not be a big deal to some Mac users, but for many pro users having no hardware escape key could be considered a major frustration or nuisance.

Before you get too bummed out by not having a hardware escape key on your fancy new MacBook Pro, know that the latest versions of MacOS allow you to modify a select group of other keys to become a hardware escape key instead.

For what it’s worth, this trick to modify a key to perform a hardware Escape function works not only on the newest MacBook Pro with Touch Bar, but also with other Mac models without Touch Bar as well. The only thing you need is the latest version of macOS system software, so be sure you update Mac OS first if you have not done so already.

How to Remap Escape Key on Mac

  1. Go to the  Apple menu and choose “System Preferences” and then go to the “Keyboard” preference panel and choose the “Keyboard” tab
  2. Click on the “Modifier Keys” button in the lower right corner
  3. Choose the key you want to remap and modify to perform the Escape function: Caps Lock (our recommendation), Control, Option, or Command
  4. Select “Escape” from the dropdown list corresponding to the key you want to remap as a hardware Escape key then click “OK” to set the change

Remap hardware Escape key on Mac

Now you can press the Caps Lock key (or the Control, Option, or Command keys) to use as a hardware escape key. Yes that will mean relearning your deeply ingrained Escape key location in the upper left corner of the keyboard to the new location which you chose (granted the virtual escape key will still be visible sometimes depending on the application in use on the Mac, and assuming the application is not unresponsive), but it works, and it serves the purpose of having a physical hardware escape key on the Mac which can be helpful for force quitting apps and other tasks which are best served with a hardware escape key.

The Caps Lock key is arguably the most useless key of the hardware keys, so it makes a good for replacing the Escape key on MacBook Pro with Touch Bar. It is probably not recommended to replace the Control, Option, or Command keys, as those keys are used frequently on the Mac for many purposes, and thus would be largely inappropriate to remap for most Pro users.

Keep in mind this has no impact on the indented virtual Escape key that appears on the Touch Bar with some applications and when you have the Touch Bar shown in the default mode. The indented virtual Escape key will still work as usual, assuming the application is not unresponsive anyway.

Escape Key Alternatives on MacBook Pro with Touch Bar

The Touch Bar and virtual escape key can be a real challenge for many touch typers with the MacBook Pro Touch Bar models. Aside from no longer having haptic feedback of a pressable key, the indentation of the virtual Escape key, and having to re-train yourself to use a tiny touch screen can be frustrating. For many MacBook Pro with Touch Bar users, this takes considerable adjustment, and some never quite adapt. You can learn more about using the Escape key on Touch Bar Macs, and we’ve also discussed separately how to force quit with the Touch Bar, which can be another difficulty for some. So what are the alternatives?

  • Remapping the ESC key to another key, like Caps Lock as detailed above
  • Using “Control [” as a key sequence for Escape may work for some Mac users (will not work on all Macs however)
  • Using an external keyboard with a hardware Escape key in the normal position of an Escape key

If you have a Touch Bar on your Mac, did you remap the Escape key or are you satisfied with the virtual escape key? Let us know in the comments.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Paul Horowitz in Mac, Mac OS X, Tips & Tricks


» Comments RSS Feed

  1. Oliver Cromwell says:

    I hope the next version of MacBook Pro includes an option to have just the real keyboard on the upper end models.

    I use the escape key often, I don’t want to remap it, and I don’t want a virtual button as an escape key. I want a real hardware escape key. I also use the function buttons often.

    I want 32GB RAM and a real keyboard, too much to ask from Apple now?

  2. david watts says:

    I agree with Oliver. Seems that Apple has made a virtue these past few years of making changes to little things that they like but which many users have come to expect.

  3. paul says:

    Better yet, use Karabiner, which is extremely versatile at keyboard remapping. (It used to be called something like KeyRemap4MacBook; I’ve been using it ever since Apple removed the Enter key!)

  4. Scott says:

    Caps Lock is VERY important in Photoshop, so that work around won’t cut it. Hmmmm.

  5. Ray says:

    Of course, you could always study the specifications of any new product to decide if it will suit your use for it, like a grown-up.

  6. Gorbnar says:

    Real men don’t use an ESC key.

  7. avenged110 says:

    “most useless” would probably make more sense as “least useful.”

  8. Andy says:

    Real men use vim ;)

    Prior to this I had the escape key mapped to be forward delete, caps locked mapped as escape, fn mapped to be left ctl, and left ctl mapped as function (I never bothered with caps lock and never missed it, I actually do some photoshop and I’ve always just zoomed in when I needed to be more accurate). With the Touch Bar, I’m finding I like the touchscreen escape a lot (I basically just have to throw my fingers up to the left and i hit it), so using the advice in this article I mapped caps lock to be ctl (old school!) and left ctl to caps lock. And, I’m now realizing the emacs/bash key bindings seem to work across the board… I think I’m really going to like this setup!

  9. James says:

    Still useless! Why can they not have optional hardware keyboard?? Removing all USBs and leaving only 4 useless ports that causes a flood of dongles on the desk is one thing, but removing physical buttons and forcing developers to look at the keyboard instead of relying on muscle memory is just a slap in the face. What’s next? the entire keyboard will be touch-based?
    And still maxing out on 16gb of ram. I’m leaning more and more towards Linux laptop next time.

  10. Ben S says:

    Keyboard mapping issues has always been the bane of using a Mac, especially if you’re a developer and you need to use VMWare Fusion. I’m a vim user and so the escape key is very important to me. Caps lock is also fairly important so I don’t like this work around.

    What’s especially irritating is the Mac keyboard still has truly useless keys on it. The §/± key for example (which is a position where an escape key would be great) is baffling. Why would anyone need this key! And if they really needed it wouldn’t it be best on a function combination unlike escape which is genuinely very important! It didn’t even occur to me that something as basic and important as the escape key would be missing when I bought the MacPro.

    Honestly, I’d lose the whole touch bar for the sake of the escape key… It’s kinda neat but I don’t really see it as very important. I also prefer to learn how computers work so that I can use them quickly than have computers try and learn how I work (which almost always just slows me down).

  11. John P Campbell says:

    This is the worst. 25 years of using Vim and my muscle memory is not going to remap. I already have to remap ctrl and cap lock. Escape is too much.

    I’ll be hanging onto my old one for awhile I guess.

    • Jay says:

      I highly recommend retraining yourself to use CTRL-[ in lieu of escape (:h c_CTRL-[). I got sick of having to move my whole hand to hit escape years ago.

  12. Very annoying to find this out this weird use of a soft key for the escape key. I have trouble sensing if I actually hit the key. Using CTRL-[ sounds like the best work-around for me so far. Not great, but better than remapping IMHO.

    • Abloom says:

      I refuse to buy a Touch Bar Mac for exactly this reason. I need a hardware escape key. I touch type, I don’t want to use a 1cm touch screen to hit a non-existent virtual ‘escape’ touch button that requires looking at your fingers every time to use it. You are generous way you say “very annoying” because frankly I think it is unusable.

      If Apple commits to the awful toy of a Touch Bar keyboard I will eventually have to shift away from the Mac for my personal use. The Escape key and to a lesser extent the FN keys are so critical to my workflow that losing them is not an option.

      Remapping an Escape key to another key is ridiculous and unacceptable. I’d tolerate the Touch Bar if it was above the esc/fn rows (and never use it, waste of space, battery, cost) but replacing that row is totally unacceptable for my usage, and I can say that speaking with colleagues they think the same thing.

  13. cryptic says:

    At the very least Apple should allow more keys to be used for remapping. For example, there are two ALT keys, but if you remap one, the other inherits the same mapping. This is probably the biggest blunder of Apple in this laptop.

Leave a Reply


Shop on and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks


iPhone / iPad