Magic Keyboard and Mouse won’t pair with computer

So I paired my mouse and keyboard to my iPad Pro, but when I was done, I tried to pair them back to my computer. But it won’t work! I tried connecting them to my computer via cable, but it didn’t connect.

iMac (2017 – 2020)

Posted on Apr 1, 2025 6:31 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 1, 2025 7:03 PM

Unfortunately that behavior is a common pain point when hopping between Apple devices. The Magic Keyboard and Magic Mouse automatically pair with the last device they were connected to, and they tend to hold onto that connection stubbornly—even if you plug them into another device via USB.


The trick is that you don’t have to unpair them from the iPad first, but you do need to override the connection to your Mac. Give the following a try:


For the Magic Keyboard:

  1. Connect it to your Mac with a Lightning to USB cable (directly, not through a hub if possible).
  2. Wait about 10 seconds, then press a few keys.
  3. Go to System Settings > Bluetooth, and your Mac should now recognize it and auto-pair with it.
  4. Once it's connected, you can unplug the cable — the pairing should persist wirelessly.


For the Magic Mouse:

  1. Same as with the keyboard, plug it in via Lightning to USB, wait a few seconds.
  2. Wiggle it a bit, or click once or twice.
  3. Check System Settings > Bluetooth. The mouse should show up and be paired.
  4. Once it's paired, unplug it and test wireless functionality.
1 reply
Question marked as Top-ranking reply

Apr 1, 2025 7:03 PM in response to the_mac_FINDER

Unfortunately that behavior is a common pain point when hopping between Apple devices. The Magic Keyboard and Magic Mouse automatically pair with the last device they were connected to, and they tend to hold onto that connection stubbornly—even if you plug them into another device via USB.


The trick is that you don’t have to unpair them from the iPad first, but you do need to override the connection to your Mac. Give the following a try:


For the Magic Keyboard:

  1. Connect it to your Mac with a Lightning to USB cable (directly, not through a hub if possible).
  2. Wait about 10 seconds, then press a few keys.
  3. Go to System Settings > Bluetooth, and your Mac should now recognize it and auto-pair with it.
  4. Once it's connected, you can unplug the cable — the pairing should persist wirelessly.


For the Magic Mouse:

  1. Same as with the keyboard, plug it in via Lightning to USB, wait a few seconds.
  2. Wiggle it a bit, or click once or twice.
  3. Check System Settings > Bluetooth. The mouse should show up and be paired.
  4. Once it's paired, unplug it and test wireless functionality.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Magic Keyboard and Mouse won’t pair with computer

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.