How to use a Windows keyboard with a Mac

Short answer: just plug it in. On a Mac, the Windows key acts as ⌘ Command, Alt acts as ⌥ Option, and Ctrl stays ⌃ Control.

Which key is which

PC keyboardOn a Mac it's…
Windows key⌘ Command
Alt⌥ Option
Ctrl⌃ Control
BackspaceDelete (deletes to the left)
DeleteForward delete (deletes to the right)
EnterReturn
Print ScreenNot used. Press ⇧⌘3 or ⇧⌘4 for screenshots
Home / EndScroll to top / bottom (see our guide)
Menu / context keyUsually does nothing

The layout problem

On a Mac keyboard the order next to the space bar is Control, Option, Command. On a PC keyboard it's Ctrl, Windows, Alt. That puts Command (on the Windows key) one spot further from the space bar than on a Mac keyboard, and Option where Command should be.

Fix the order for one keyboard

  1. Open System Settings → Keyboard and click Keyboard Shortcuts…
  2. Choose Modifier Keys and pick your PC keyboard from the menu at the top.
  3. Set Option key to ⌘ Command and Command key to ⌥ Option, then click Done.

This only affects that keyboard, so your MacBook's built-in keyboard stays the same.

The habit problem

Fixing the layout doesn't fix your habits. If you grew up on Windows, your fingers still press Ctrl+C, Alt+Tab, Home, End and Ctrl+arrows. That's what Muscle Memory is for: it makes those Windows shortcuts work on your Mac. Its Desk Mode is designed for exactly this setup, with a PC keyboard and mouse at your desk, and Laptop Mode switches it all back to normal Mac behavior when you take your MacBook to the couch. Press ⌃⌥⌘W to switch from anywhere.

Function keys

By default, F1 to F12 on many keyboards control brightness, volume and media on a Mac. To use them as standard function keys, open System Settings → Keyboard → Keyboard Shortcuts → Function Keys and turn on Use F1, F2, etc. keys as standard function keys.