appleinsider logo
Affiliate Disclosure
If you buy through our links, we may get a commission. Read our ethics policy.

How to remap caps lock, control, option & command keys in macOS

The Nuphy Air60 mechanical keyboard needs remapping

Windows-centric keyboards can be awkward when using macOS. Here's how to make any keyboard work for a Mac by remapping the modifier keys.

If you've ever used a third-party keyboard, you've probably noticed that PC-based layouts don't translate over perfectly for Mac users. Fortunately, there's an easy fix — remapping your modifier buttons.

Here's how to get it done

How to remap your modifier keys in macOS

  1. Click on Apple Menu
  2. Click System Preferences
  3. Click Keyboard
  4. In the Keyboard tab, click the Modifier Keys button in the lower right of the control panel
  5. Set your Caps Lock, Control, Option, Command, and Globe modifier keys as you wish

Tip: If you're using a keyboard with a Windows layout, you'll want to swap the Command Key to Option and the Option Key to Command. This will mimic a macOS layout.