The Basic Steps to Pair Your Apple Keyboard

Turn on your Apple keyboard by sliding the power switch toward the green dot on the back. On your Mac, go to System Settings (or System Preferences on older versions), then click Bluetooth in the sidebar. Make sure Bluetooth is turned on — you'll see a toggle at the top of the window. Your keyboard should appear in the list of available devices within a few seconds.

Click your keyboard's name in the Bluetooth list. Your Mac will ask you to confirm a pairing code on the keyboard — type the numbers shown on your screen, then press Enter. Once you see "Connected" next to the keyboard name, the pairing is complete and you can start typing.

If your keyboard doesn't appear in the Bluetooth list after 30 seconds, make sure it's turned on and fully charged. Try moving it closer to your Mac — Bluetooth works best within 30 feet, but interference from walls or other devices can reduce that range. If it still doesn't show up, restart your Mac's Bluetooth by toggling it off and back on in System Settings.

Key Takeaways

  • Your Apple keyboard needs to be powered on and in pairing mode, which happens automatically when Bluetooth is on and the keyboard is nearby.
  • The pairing code that appears on your Mac screen must be typed on the keyboard itself — your Mac will not accept it if you type it on another device.
  • Once paired, your keyboard will reconnect automatically whenever both devices have Bluetooth enabled and are in range.
  • If pairing fails, check that your keyboard is charged, move it closer to your Mac, and restart Bluetooth in System Settings.

What to Do If Your Keyboard Won't Appear in the Bluetooth List

If you've waited 30 seconds and your keyboard still isn't showing up, the problem is usually power or distance. Check the battery indicator on your keyboard — most Apple keyboards have a small LED that glows green when charged and amber when low. If it's amber or off, plug the keyboard into a USB-C or Lightning cable (depending on your model) and wait at least 15 minutes before trying again.

Distance matters more than most people expect. Bluetooth signals weaken through walls, metal objects, and even thick furniture. Move your keyboard to the same room as your Mac and within arm's reach. If you're in a space with many other Bluetooth devices — a busy office, a home with multiple smart devices — try turning off other Bluetooth devices temporarily to reduce interference.

If the keyboard is charged and nearby but still won't appear, restart your Mac's Bluetooth. In System Settings, click Bluetooth, then toggle it off. Wait 10 seconds, then toggle it back on. Your keyboard should appear within a few seconds. If it doesn't, restart your Mac entirely — this clears Bluetooth's memory and often fixes pairing problems that toggling alone won't solve.

Confirming the Pairing Code Correctly

When you click your keyboard's name in the Bluetooth list, your Mac displays a four-digit code on the screen. This code is unique to that pairing attempt and expires after about two minutes. You must type this code on the keyboard you're trying to pair — not on your trackpad, mouse, or another keyboard. After you type the four digits, press Enter on the keyboard itself.

If you type the code wrong, your Mac will reject it and ask you to try again. You'll see the same four-digit code on your screen. Type it again carefully — the numbers are usually large and straightforward to read, but in a bright room or on an older display, they can be hard to see. If you can't read the code, move closer to your Mac's screen or increase the text size in System Settings under Accessibility.

If the code disappears before you finish typing it, the pairing attempt has timed out. Click your keyboard's name again in the Bluetooth list to generate a new code. This is normal and doesn't mean anything is wrong — it just means you need to start the pairing process again.

Reconnecting After Your Keyboard Loses Power

Once your keyboard is paired, it will reconnect automatically whenever you turn it on and your Mac's Bluetooth is enabled. You won't see the pairing code again — your Mac remembers the keyboard and trusts it. Just power on the keyboard and wait a few seconds for the connection to establish.

If your keyboard was paired but stops working after you charge it, the connection may have dropped. Toggle Bluetooth off and back on in System Settings, or restart your Mac. The keyboard should reconnect within a few seconds. If it doesn't, forget the keyboard from your Bluetooth list and pair it again from scratch — this is rare but sometimes necessary after a long period without power.

Using Multiple Apple Keyboards on One Mac

Your Mac can pair with more than one Apple keyboard at a time. Each keyboard will appear in your Bluetooth list with its own name — usually "Apple Keyboard" followed by a number or the last few characters of its serial number. When multiple keyboards are paired, your Mac will accept input from whichever one you use, so you can switch between them without unpairing.

If you want to stop using one keyboard, you don't have to unpair it — just turn it off or move it out of range. Your Mac will use whichever keyboard is powered on and closest. If you want to remove a keyboard permanently, click the X or settings icon next to its name in the Bluetooth list and select "Remove" or "Forget".

Troubleshooting When Your Keyboard Pairs But Won't Type

If your keyboard shows as "Connected" in Bluetooth but doesn't respond when you type, the problem is usually a software glitch rather than a pairing issue. First, try clicking in a text field — sometimes the Mac's focus is on a different window. Open a new document in Notes or TextEdit and try typing a few characters to confirm the keyboard is actually working.

If typing still doesn't work, disconnect and reconnect the keyboard. In System Settings, click Bluetooth, find your keyboard, and click the X or settings icon next to it. Select "Disconnect" (not "Remove"). Wait five seconds, then click your keyboard's name again to reconnect. This usually restores typing within a few seconds.

If the keyboard still won't type after reconnecting, restart your Mac. Before you do, make sure your keyboard is fully charged — a low battery can sometimes cause the Mac to lose connection mid-session. After your Mac restarts, turn on the keyboard and wait for it to reconnect automatically.

Frequently Asked Questions

Do I need to pair my Apple keyboard every time I use it?

No. Once paired, your keyboard will reconnect automatically whenever it's powered on and your Mac's Bluetooth is enabled. You only pair once — the pairing code step happens just the first time you connect a new keyboard to your Mac.

Can I use my Apple keyboard with multiple Macs?

Yes, but you have to pair it separately with each Mac. Your keyboard will remember all the Macs it's been paired with and will reconnect to whichever one is nearby and has Bluetooth enabled. If two Macs are in range at the same time, the keyboard will connect to the one it was most recently used with.

What if I forgot which Mac my keyboard is paired with?

Your keyboard will try to reconnect to the last Mac it was paired with. If that Mac isn't available, turn your keyboard off and on again while holding it near the Mac you want to use. If it still won't connect, unpair it from the old Mac (if you have access to it) or forget it from your current Mac's Bluetooth list and pair it fresh.

Why does my keyboard keep disconnecting?

Bluetooth range, interference, or a low battery are the most common causes. Check that your keyboard is charged, move it closer to your Mac, and turn off other nearby Bluetooth devices. If disconnections happen regularly, restart your Mac's Bluetooth or update your Mac's operating system — sometimes older software has Bluetooth bugs that newer versions fix.

Is there a wired option if Bluetooth pairing isn't working?

Newer Apple keyboards are wireless only, but some older models came with a USB cable. If your keyboard has a USB-C or Lightning port, you can plug it directly into your Mac to use it wired while you troubleshoot the Bluetooth connection. Wired mode bypasses Bluetooth entirely and works when ready.