---
title: "How to Pair an Apple Keyboard or Anker Bluetooth Keyboard"
description: "Make an Apple Magic Keyboard or an Anker Bluetooth keyboard discoverable, then pair it with a Mac, iPad, iPhone, Windows PC or Android phone."
url: https://devicetests.com/how-to-make-apple-keyboard-discoverable
language: en
---

# How To Make an Apple Keyboard Discoverable and Pair It (Plus Anker Keyboards)

By Brent Cohen · Updated November 4, 2026 · First published July 14, 2022

Short answer

A Magic Keyboard is discoverable when it is on and not connected to another device. Used before? Remove it from the old Mac, iPad or iPhone first, then switch it off and on. On a Mac it is easier still: plug it in with its cable and it pairs by itself.

Have an Anker keyboard? Jump to [Anker keyboards](https://devicetests.com/how-to-make-apple-keyboard-discoverable#anker-keyboards).

## Which Magic Keyboard do you have?

| Port on the back edge | Model | Pairs with a Mac by |
| - | - | - |
| USB-C | 2024 and later, rechargeable | Cable or Bluetooth |
| Lightning | 2015 to 2024, rechargeable | Cable or Bluetooth |
| None, AA batteries | Older Apple Wireless Keyboard | Bluetooth only |

On the rechargeable models, the power switch is on the back edge. You see green next to it when the keyboard is on.

## Pair it with a Mac

### With a cable (USB-C, Lightning)

1. Connect the keyboard to your Mac with its USB-C or Lightning cable.
2. Turn the keyboard on with its switch.
3. Wait for the notification that says you can unplug it. It pairs and charges at the same time.
4. Unplug the cable and type.

To check, open **Apple menu** **System Settings** **Bluetooth**: the keyboard is in the list.

### Without a cable (AA model)

You need a mouse or trackpad that already works with the Mac.

1. Turn the keyboard on.
2. On the Mac, open **Apple menu** **System Settings** **Bluetooth**.
3. When the keyboard appears, click **Connect**.
4. If the Mac shows a code, type it on the keyboard and press Return.

Not showing up? Put in fresh batteries, and remove it from any other Mac nearby (see below).

## Make it discoverable for an iPad, iPhone or PC

A Magic Keyboard connects to one device at a time. Unpair it from the old device first, or the new one won’t see it.

1. Unpair it from the old device:

   - **Mac:** in **System Settings** **Bluetooth**, hold Control and click the keyboard, then choose **Forget**.
   - **iPad or iPhone:** in **Settings** **Bluetooth**, tap the info button next to the keyboard, then **Forget This Device**.

2. Switch the keyboard off, wait a few seconds and switch it on again.

3. Charge it if the battery is low.

Then pair it on the new device:

### iPhone and iPad

1. Open **Settings** **Bluetooth** and check that Bluetooth is on.
2. Tap the keyboard when it appears in the list.
3. If a code appears, type it on the keyboard and press Return.

Keep the keyboard within about 10 metres (33 feet).

### Windows

1. Click the network, sound or battery icon on the taskbar.
2. Next to **Bluetooth**, select the arrow (**Manage Bluetooth devices**).
3. Select the Magic Keyboard under **New devices**.
4. If a code appears, type it on the keyboard and press Return. Select **Done**.

Not in the list? Open **Settings** **Bluetooth & devices** **Devices** and set **Bluetooth devices discovery** to **Advanced**. On Windows, the Command key works as the Windows key.

## Anker keyboards

Before an Anker Bluetooth keyboard can pair, it has to be in pairing mode, with its light flashing.

1. Charge it or put in fresh batteries, then turn it on.
2. Press Fn + Z. On the Ultra Compact keyboard (A7721) the light comes on, then flashes.
3. Open the Bluetooth settings of your device and pick the keyboard (for example **Anker A7721**).
4. If a number appears, type it on the keyboard and press Enter.

Other Anker models may use another key. If Fn + Z does nothing, check the manual for the model number on the label underneath.

On a Mac, iPad or Windows PC, pick it as shown above. On a Pixel and many Android phones, open **Settings**, **Connected devices**, **Pair new device**. On a Samsung Galaxy, open **Settings**, **Connections**, **Bluetooth** and tap it under **Available devices**.

After the first pairing, the keyboard connects by itself when you turn it on. To move it to another device, press Fn + Z again and pair there.

## Why your keyboard won’t show up

| Cause | Fix |
| - | - |
| It’s still paired with another device | Unpair it there, or turn off Bluetooth on that device |
| It’s not in pairing mode | Magic Keyboard: switch it off and on. Anker: press the pairing keys until the light flashes. |
| The battery is flat | Charge it or change the batteries |
| It’s too far away | Keep it close while you pair |
| The device has an old entry for it | Remove the keyboard from the Bluetooth list, then pair again |

When it works, check every key:

Test it now

Keyboard tester

Press every key once. Keys that light up reach the computer. On Windows, a Mac keyboard’s Command key shows as the Windows key.

[Open the keyboard tester](https://devicetests.com/keyboard-tester)

## Questions people ask

**Can a Magic Keyboard be paired with two devices at once?**

No. It connects to one device at a time. Unpair it from the first device, then pair it with the second.

**How do I reconnect a Magic Keyboard that was already paired?**

Turn it on. It connects to the last device it was paired with, if that device is nearby and has Bluetooth on.

## Sources

- [Apple: Set up your Magic Keyboard, Magic Mouse or Magic Trackpad with your Mac](https://support.apple.com/en-us/119917)
- [Apple: Connect a Bluetooth device with your Mac](https://support.apple.com/guide/mac-help/blth1004/mac)
- [Apple: Connect iPad to Bluetooth accessories](https://support.apple.com/guide/ipad/connect-bluetooth-accessories-ipad997da4cf/ipados)
- [Apple: Magic Keyboard technical specifications](https://support.apple.com/en-us/112443)
- [Apple: Use your Apple keyboard in Windows with Boot Camp](https://support.apple.com/en-us/102221)
- [Microsoft: Pair a Bluetooth device in Windows](https://support.microsoft.com/en-us/windows/pair-a-bluetooth-device-in-windows-2be7b51f-6ae9-b757-a3b9-95ee40c3e242)
- [Microsoft: Fix Bluetooth problems in Windows](https://support.microsoft.com/en-us/windows/fix-bluetooth-problems-in-windows-723e092f-03fa-858b-5c80-131ec3fba75c)
- [Google: Find and set up Bluetooth devices near your Android device](https://support.google.com/android/answer/9075925)
- [Samsung: Connect a Bluetooth keyboard to a Galaxy device (Settings, Connections, Bluetooth)](https://www.samsung.com/us/support/answer/ANS10005110/)
- [Anker: Bluetooth Ultra-Slim Keyboard FAQ](https://service.anker.com/article-description/Anker-Bluetooth-Ultra-Slim-Keyboard-FAQ)

## Test it yourself

Check your own device with a free test. It runs in your web browser.

- [Keyboard tester](https://devicetests.com/keyboard-tester): Check that every key on your keyboard works.
- [Mouse test](https://devicetests.com/mouse-test): Check your mouse buttons, scroll wheel and double-click.
- [Controller tester](https://devicetests.com/controller-tester): Check the buttons and sticks on your game controller.
