Skip to content
Edith

Guide

How to Remap Caps Lock to a Hyper Key on Mac

What macOS can do on its own, what the free tools add, and how to get Escape on a tap and Hyper on a hold without writing rules.

Updated by

The short answer

A Hyper key is one key that presses Control, Option, Command and Shift at once. Almost no app uses that four-modifier combination, so Hyper plus a letter gives you a whole layer of shortcuts that never clash with anything. macOS cannot do this on its own: System Settings can turn Caps Lock into one modifier or into Escape, but not into four modifiers, and not into Escape on a tap and something else on a hold. For that you need a tool such as the free Karabiner-Elements or Hyperkey, or Edith's Hyper Key extension, which does tap for Escape, hold for Hyper and the shortcuts themselves in one place.

Method 1: System Settings

Built into macOS

Change what Caps Lock does in Keyboard settings

Open System Settings, then Keyboard, then Keyboard Shortcuts, and choose Modifier Keys. Apple's guide Change the behavior of the modifier keys shows how to pick an action for Caps Lock from its pop-up menu, such as Control, or No Action. Restore Defaults puts everything back.

This is the simplest fix if all you want is Caps Lock as Control or as Escape. It needs no extra software. It cannot make one key send different things on a tap and a hold, and it cannot press four modifiers at once.

Method 2: hidutil in Terminal

Built into macOS

Remap keys with hidutil

Apple's technical note Technical Note TN2450 documents hidutil, which swaps one key for another. Each key is written as 0x700000000 plus its keyboard usage ID: Caps Lock is 0x39 and Escape is 0x29. This maps Caps Lock to Escape, and the second command shows what is active:

Terminal
hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}'hidutil property --get "UserKeyMapping"

Apple's note says the mapping is lost when the Mac restarts, so people run it from a login item. Like System Settings, it maps one key to one key. A common trick maps Caps Lock to an unused key such as F18 and lets another app turn F18 into Hyper.

Method 3: a free key remapper

Two free tools are the usual answer, and both are good choices if you want nothing else:

  • Karabiner-Elements is open source under the Unlicense, and version 17.0.0 came out in late November 2026, per its GitHub repository. Its complex modifications handle tap and hold, per-device and per-app rules and long key sequences. It installs a virtual keyboard driver, and rules are JSON you import or write.
  • Hyperkey is free and turns Caps Lock, or any modifier, into Hyper, or remaps Caps Lock to another key, on macOS 10.15 or later per its site. It does one job and leaves shortcuts to other apps.
  • BetterTouchTool covers keys, trackpad and mouse gestures. As of December 2026 it is $15 with two years of updates or $25 for life, per its purchase page.

Where these fall short

  • Hyper is only half the job. Turning Caps Lock into Hyper gives you a modifier. You still need another app, such as a launcher or a macro tool, to make Hyper and T open Terminal.
  • Rules are text. Karabiner is powerful but you write or import JSON for tap and hold behavior.
  • Undoing it. When a remap misbehaves halfway through typing, you want a way out from the keyboard itself.

The Edith way: Hyper Key

Hyper Key turns a quick tap on Caps Lock into Escape, or Tab, Delete or Return if you prefer, and holding it into Control, Option, Command and Shift together. Meh, the same without Command, is one setting away. Shortcuts live on a visual keyboard: click a key and choose the app, link, folder or ed command it opens. Keys you leave unbound still pass Hyper through, so Hyper shortcuts you already set in other apps keep working. Simple remaps swap single keys everywhere or only in one app, with a conflict check.

No kernel extension or driver is installed. macOS clears the Caps Lock mapping at logout, Edith applies it again after login and wake, and puts back the mapping you had when you turn Hyper Key off, quit Edith or remove the extension.

  1. 1

    Install Hyper Key

    Open Library in the Edith sidebar, search for Hyper Key and press Install. Open its page from Library, and pin it to the sidebar if you like.

  2. 2

    Turn it on and allow access

    Press Turn on in the page header. If the page shows Allow Accessibility and Input Monitoring, press Allow access and switch Edith on in both lists in System Settings. Without them, Caps Lock keeps working as before. Edith reads key presses only to turn Caps Lock into Hyper and never records what you type.

  3. 3

    Choose what a tap and a hold do

    Press Caps Lock settings. Tap Caps Lock for picks what a quick press sends, Escape by default. Hold Caps Lock for picks Hyper, all four modifiers, or Meh, which leaves out Command. Count as a tap within sets how quick a tap has to be.

  4. 4

    Add Hyper shortcuts

    Click a key on the Keyboard picture, or press Add shortcut, and choose what Hyper and that key opens: an app, a link, a folder or a command. A key that already has a shortcut says what it replaces before you save. Every shortcut is listed under Shortcuts, where you can edit or remove it.

  5. 5

    Remap single keys

    Under Remaps, press Add remap. Pick the key in From and what it sends in To, then under Where choose Every app or One app. Swap both ways swaps the two keys instead of changing one.

From the terminal

Everything on the page is also available from ed keys, which is handy in a setup script:

Terminal
ed keys oned keys bind t app Terminaled keys bind d folder ~/Downloadsed keys bindingsed keys statused keys off

Which one to pick

If you only want Caps Lock as Control or Escape, use System Settings: it is free and built in. If you want deep, per-device rules and do not mind JSON, Karabiner-Elements is free and goes further than Edith does. If you want Hyper and nothing more, Hyperkey is free. Edith's Hyper Key is for people who want tap and hold, the shortcuts and remaps in one screen, and the rest of Edith with it: the Bifrost launcher on ⌥Space for everything you have not bound, and Keystroke Highlight to show your shortcuts on screen while you record a demo.

Common questions

Does Hyper Key install a driver?

No. It uses the key mapping built into macOS and turns it off cleanly, restoring the mapping you had before.

Do Hyper shortcuts from other apps still work?

Yes. Keys without a Hyper Key shortcut pass Control, Option, Command and Shift through to the app in front, so a Hyper shortcut you set in a launcher or window manager keeps working.

Can I keep Caps Lock for typing capitals?

Hyper Key takes over Caps Lock while it is on. Press Turn off on the Hyper Key page, or the panic combination, and Caps Lock behaves as before.

Can I remap a key only in one app?

Yes. Simple remaps can apply everywhere or in one app, such as the section key to backtick on an international keyboard.

What does it need?

macOS 14 or later on Apple silicon, with Edith running. Karabiner and Hyperkey also run on older and Intel Macs.

Try it

Hyper Key comes with every other Edith extension in one license. See Edith's pricing for the one-time price and the refund window. If you are moving from a macro tool, read the Keyboard Maestro alternative, and if you record tutorials, see how to show keystrokes on screen.

One app. Every tool your Mac is missing.

Pay once · No account · 30-day refund · macOS 14+ on Apple silicon