How to Use a Windows Keyboard on a Mac
Any Windows keyboard works on a Mac the moment you plug it in — every key registers, nothing to install. The problem is geography: the Windows key becomes Command and Alt becomes Option, which puts Command one key too far from the space bar. One settings swap fixes the layout, and a small translation table covers the rest of the PC keys.
The one fix that matters: swap Option and Command
On a Mac keyboard, Command sits directly beside the space bar. On a Windows keyboard, the key in that position is Alt — but macOS treats Alt as Option and the further-away Windows key as Command. Every Cmd+C lands on the wrong key until you swap them:
- Open System Settings → Keyboard → Keyboard Shortcuts… and select Modifier Keys.
- In the keyboard menu at the top, choose the Windows keyboard — the swap applies per keyboard, so your MacBook's built-in keys stay untouched.
- Set Option (⌥) key → ⌘ Command.
- Set Command (⌘) key → ⌥ Option.
- Click Done.
Now Alt (next to the space bar) is Command and the Windows key is Option — physically identical to a Mac layout. Muscle memory works again immediately. To undo, return to the same pane and click Restore Defaults. Do the swap once per keyboard: because the setting is tied to the specific device, plugging in a second PC keyboard means repeating the two dropdowns for it.
PC key → Mac translation table
- Backspace = Mac's Delete. It deletes backward, same as always.
- Delete (forward) = a genuine bonus — most Mac keyboards lack this key. It deletes the character after the cursor, like
Fn+Deleteon a MacBook. - Enter = Return. Identical.
- Print Screen = nothing. Use macOS screenshots:
Shift+Cmd+3(full screen),Shift+Cmd+4(selection). - Home / End = scroll to the top/bottom of a document without moving the cursor — not line start/end like Windows. Use
Cmd+Left/Rightfor line ends andCmd+Up/Downfor document ends. - Insert = nothing on macOS; it's simply ignored.
- Num Lock and the numpad = the numpad types numbers; full-size PC numpads generally just work, which is half the reason people do this in the first place.
Function keys and media controls
The F1–F12 row works as standard function keys, but the printed media icons (volume, play) are PC-specific and mostly won't map to Mac media functions. Adjust volume and brightness from Control Center or the menu bar instead — or use System Settings → Keyboard → Keyboard Shortcuts → Function Keys if apps expect plain F-keys. Bluetooth PC keyboards pair like any other device via System Settings → Bluetooth, and the same modifier swap applies to them once connected.
If symbols land in the wrong places
Shortcuts are only half the story — the printed symbols need to match what appears on screen. If @ and " swap, or # is missing, your keyboard's physical layout doesn't match the input source macOS is using. Fix it in System Settings → Keyboard → Input Sources → Edit…: click + and add the PC variant of your layout — macOS ships layouts like British – PC precisely for Windows-style keyboards, putting every symbol where the keycap says it is. Switch between layouts from the input menu in the menu bar. US keyboards rarely need this; UK and European boards almost always do.
Worth knowing before you shop
This works so well that buying a "Mac keyboard" is optional. Any mechanical keyboard you like becomes a Mac keyboard with the two-menu swap above — and many popular boards (Keychron and friends) ship a hardware Mac/Windows switch that handles the swap for you, no settings needed at all.
One swap fixed your keyboard; Mainspring handles the other ninety. It turns hidden macOS settings — keyboard, Finder, Dock, screenshots — into labelled, reversible, one-click toggles.
Try Mainspring free →Signed & notarized by Apple · 1-day free trial · $29 once