The basic pairing process
To connect a Magic Keyboard to your Mac, turn on the keyboard, hold down the power button for three seconds until the LED light blinks, then go to System Settings on your Mac, select Bluetooth, and click the Magic Keyboard when it appears in the list. Your Mac will pair with it automatically — no code needed.
The whole process takes about a minute. Once paired, the keyboard will reconnect to your Mac whenever it's turned on and in range, as long as Bluetooth remains enabled on your Mac.
Key Takeaways
- Turn on the Magic Keyboard and hold the power button for three seconds until the LED blinks, then select it from your Mac's Bluetooth settings.
- Your Mac must have Bluetooth turned on in System Settings under Bluetooth for the keyboard to appear and pair.
- If the keyboard doesn't show up, restart both the keyboard and your Mac, then try pairing again.
- A Magic Keyboard can pair with multiple Macs, but will only connect to one at a time.
- Battery level appears in your Mac's menu bar once paired, so you can monitor when charging is needed.
Where to find Bluetooth settings on your Mac
On any recent Mac, open System Settings (the gear icon in your dock or Applications folder), then click Bluetooth in the left sidebar. You'll see a list of available devices. If your Magic Keyboard is turned on and in pairing mode, it will appear here with the name "Magic Keyboard".
On older Macs running macOS Monterey or earlier, the path is System Preferences instead of System Settings, but the Bluetooth section works the same way. If you can't find Bluetooth in either location, your Mac may not have Bluetooth hardware, though this is rare on modern machines.
What to do if the keyboard doesn't appear
If your Magic Keyboard isn't showing up in the Bluetooth list, first check that the keyboard is actually powered on — the LED light should be visible. Hold the power button again for three seconds to make sure it enters pairing mode; the light should blink when it's ready.
Next, restart your Mac's Bluetooth by toggling it off and back on in System Settings. Wait ten seconds between turning it off and on. If the keyboard still doesn't appear, restart the keyboard itself by turning it off, waiting five seconds, and turning it back on. Then try pairing again from the Bluetooth menu.
If you've already paired this keyboard with another Mac, it may still be connected to that device. Turn off Bluetooth on the other Mac, or unpair the keyboard from that machine first by clicking the X next to its name in Bluetooth settings.
Pairing with multiple Macs
A single Magic Keyboard can be paired with up to ten different Macs. To switch between them, simply turn off Bluetooth on the Mac you're leaving, then turn it on on the Mac you want to use. The keyboard will reconnect within a few seconds.
You don't need to unpair and re-pair each time — once a keyboard is paired with a Mac, it remembers that connection. However, the keyboard can only actively connect to one Mac at a time, so you'll need to disconnect from one before it will work on another.
Checking battery level and charging
Once your Magic Keyboard is paired, its battery percentage appears in the menu bar at the top right of your screen. Click the battery icon to see the exact percentage. Most Magic Keyboards hold a charge for several months of regular use.
To charge, connect the keyboard to a power source using the USB-C cable that came with it. The keyboard will continue to work while charging. If the battery level doesn't appear in the menu bar after pairing, try restarting your Mac.
Troubleshooting connection drops
If your Magic Keyboard keeps disconnecting and reconnecting, first make sure your Mac's Bluetooth is fully enabled and that no other devices are interfering. Move the keyboard closer to your Mac — Bluetooth works best within about 30 feet, but obstacles like walls or metal objects can reduce that range.
If disconnections continue, unpair the keyboard completely by clicking the X next to it in Bluetooth settings, then pair it again from scratch. This often fixes persistent connection problems. If the issue persists after re-pairing, restart your Mac and try once more.
Frequently Asked Questions
Do I need a code or password to pair a Magic Keyboard?
No. Magic Keyboards pair automatically without requiring a PIN or password. If your Mac asks for a code, you may be trying to pair a different type of keyboard. Check that you're holding the power button on an actual Magic Keyboard until the LED blinks.
Can I use a Magic Keyboard with an older Mac?
Magic Keyboards work with any Mac that has Bluetooth and runs macOS 10.12 or later. This includes most Macs from 2012 onward. Check your Mac's Bluetooth capability by going to System Settings or System Preferences and looking for a Bluetooth option — if it's there, your Mac can pair with a Magic Keyboard.
What if my Magic Keyboard is already paired to another device?
Unpair it from that device first. On the other device, go to its Bluetooth settings and click the X or remove button next to the Magic Keyboard. Once unpaired, the keyboard will appear in your Mac's Bluetooth list and you can pair it there.
Why does my keyboard work sometimes but not always?
This usually means Bluetooth on your Mac is turning off or the keyboard is going to sleep. Check that Bluetooth is enabled in System Settings. If the keyboard has been idle for a while, press any key to wake it up. If this happens frequently, unpair and re-pair the keyboard.