How to change modifier keys on a Mac: swap Command and Control, remap Caps Lock
Make Caps Lock a Control key, swap Command and Control for a Windows habit, or fix a Windows keyboard. The built in Modifier Keys setting, per keyboard.
How do I change modifier keys on a Mac?
- Open System Settings, Keyboard, then Keyboard Shortcuts….
- Click Modifier Keys.
- Under Select keyboard, choose the keyboard to change, if you have more than one.
- For each key, choose what it should do: Caps Lock, Control, Option, Command, Escape, the globe key, or No Action.
Changes apply at once. Click Restore Defaults to undo them.
What are the most useful changes?
| Change | Why |
|---|---|
| Caps Lock to Control | Control under your little finger, for Control shortcuts and window keys |
| Caps Lock to Escape | Escape without stretching, popular with Vim users |
| Swap Command and Control | Copy and paste where a Windows hand expects them |
| On a Windows keyboard, swap Option and Command | Puts Command next to the space bar, as on a Mac keyboard |
Does the change affect every keyboard?
No. Each keyboard has its own setting, chosen under Select keyboard. You can swap keys on a Windows keyboard and leave the MacBook's own keyboard alone.
Can I turn Caps Lock into a hyper key?
Not with this setting, which maps one key to one other key. A hyper key needs an extra app. See the hyper key.
What each symbol means: Mac keyboard symbols. Holding several keys is hard? Sticky Keys lets you press them one at a time.
Checked on 22 October 2026 on a MacBook Air (M1) running macOS 27.0.1: Modifier Keys, Select keyboard and the key choices were read from System Settings, Keyboard.
Questions
How do I swap Command and Control on a Mac?
In System Settings, Keyboard, Keyboard Shortcuts, Modifier Keys, set Control to Command and Command to Control.
Can I make Caps Lock a Control key on Mac?
Yes, in Modifier Keys, set Caps Lock to Control.
Does remapping keys affect all keyboards?
No. Each keyboard has its own setting.
Read next
- Guide
Mac keyboard symbols explained: what ⌘, ⌥, ⌃ and ⇧ mean
Menus and guides write shortcuts as ⌘, ⌥, ⌃ and ⇧. Which key each symbol is, the less common ones like ⌫ and ⎋, and how to type them yourself.
Read › - Guide
Set up a hyper key for window shortcuts on a Mac
Turn Caps Lock into a hyper key so window shortcuts never clash with app shortcuts. How it works, free ways to set it up, and a layout of keys that stays easy.
Read › - Guide
Keyboard shortcuts to switch desktops on a Mac
⌃ ← and ⌃ → move between desktops, and ⌃ and a number jumps to one once turned on. Every shortcut, the mouse and trackpad ways, and why they stop working.
Read ›