MainspringGuides › Windows keyboard
macOS Guide

How to Use a Windows Keyboard on a Mac

Updated July 2026 · 3 min read

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:

  1. Open System Settings → Keyboard → Keyboard Shortcuts… and select Modifier Keys.
  2. 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.
  3. Set Option (⌥) key⌘ Command.
  4. Set Command (⌘) key⌥ Option.
  5. 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

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.

Settings worth swapping, sorted

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