Sign up ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a brand new Bluetooth keyboard (replacing an old one I spilt coffee on) and I would like to pair it with my iMac.

Trouble is, I can't log in to the iMac because the keyboard is not paired.

How do I resolve this chicken-and-egg situation? (I don't have any other keyboards to hand.)

share|improve this question
Which iMac model do you have? Some have firmware support to ask you to pair the keyboard before boot time, others require you to reboot the device with no physical keyboard connected. Ether way, you should get the bluetooth setup dialog. If you have any old USB keyboard or can use the mouse to reboot the mac, you can avoid pulling the power cord. – bmike Feb 29 '12 at 19:43
It turns out that he problem was the old, coffee-filled keyboard was still connected by bluetooth to the iMac. Taking the batteries out of it convinced the iMac to start looking for a new keyboard. – Nick Moore Mar 1 '12 at 17:30

4 Answers 4

up vote 7 down vote accepted

Here is a solution as noted here: How to unpair keyboard without original computer

Their solution was to:

  1. Disconnected everything USB, etc. from the computer.

  2. Restart the iMac while putting the new/different keyboard into discovery mode, and wait for the iMac to detect it.

The deal is you have to unplug ALL USB devices, have your wireless keyboard and mouse turned on, and restart. The system sees that there are no input devices and searches for them. Then asks you to type a passcode and hit return.

share|improve this answer
Thanks, it took a minute at the password prompt before it recognized my trackpad and keyboard. I had to restart the trackpad at the password prompt to login to my account. – Paul Solt Aug 22 '12 at 15:34

This is only true if you have already selected "check for bluetooth keyboard/mouse at startup" Otherwise you have to connect a USB mouse and keyboard

share|improve this answer

(Mavericks) Make sure that your new keyboard is on and in the paring mode. then scroll your fingers across on your magic mouse. this will give you a glimpse of your desktop. once you there hold your fingers on the mouse or you will be taken to the lock screen again.

on the desktop you will see the pairing code that you will need to enter on your keyboard. write this down on a piece of paper and then release the mouse and enter the code and hit enter on your new keyboard. you have to be fast as the code resets quickly. then wait for a bit and the new keyboard will connect.

Good luck :)

share|improve this answer

I just had this frustrating problem. Simultaneously pressing the command key and the power button worked for me.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.