Short answer

Most wireless keyboards stop working because of a flat battery, a lost connection or a USB receiver in a bad spot. Switch the keyboard off and on, put in new batteries or charge it, and plug the receiver straight into the computer. Still dead? Remove the keyboard from the computer and pair it again. Most wireless keyboards have no reset button, so this is the usual reset.

This guide is for wireless keyboards. For a laptop keyboard or a keyboard on a cable, see keyboard not working.

Step 1: test the keyboard

Test it now

Keyboard tester

Press a few keys. If they light up, the keyboard reaches this computer, so the connection works. Missed presses can come from power, interference, settings or a key fault.

Open the keyboard tester

Check the power and batteries

  1. Switch the keyboard off, wait 10 seconds and switch it on again. On an Apple Magic Keyboard, the switch is on the back edge: green showing means on.
  2. Put in new batteries, or charge it with its cable. A weak battery causes missed keys long before the keyboard stops.
  3. Check that it has power. Many keyboards light up for a moment when you switch them on, or blink while you hold the pairing button. No light at all usually means flat batteries.

On Microsoft keyboards, a blinking red light also means the batteries are low.

Fix a USB receiver

Your keyboard uses a receiver if it came with a small USB plug. Check the logo on it. Logitech uses Logi Bolt, Unifying (an orange star), LIGHTSPEED (gaming keyboards) and receivers made for one model.

  1. The receiver on a USB extension cable, close to the keyboard and in clear view.
  2. No extension cable? Use a port on the front of the computer, away from USB 3 ports and drives.
  3. Not in a hub, dock or monitor port: these can stop the receiver from working.

The receiver works best close to the keyboard, in a port of the computer itself.

Work down this list. Test again after each step.

  1. Plug the receiver straight into the computer, not into a hub, dock, monitor or switch box.
  2. Bring it closer. On a desktop PC, use a front port: the metal case blocks the signal from the back.
  3. Keep it away from USB 3 ports (often blue) and the drives in them. They send out noise on the receiver’s 2.4 GHz band. A USB 2 port or an extension cable helps.
  4. Move other wireless devices and metal away from the keyboard and receiver.
  5. If your keyboard also has Bluetooth or device keys (1, 2, 3), check that it is set to the receiver, not to Bluetooth.
  6. Pair it with the receiver again (see below). A basic receiver usually works as soon as you plug it in and can’t be paired again.

Pair a Logitech keyboard with its receiver again

For a LIGHTSPEED gaming keyboard, use the G HUB app and your model’s pairing guide. For Bolt and Unifying:

  1. Install Logi Options+ from Logitech. It replaces the old Unifying Software, which Logitech no longer supports.
  2. Click Add device and choose Logi Bolt receiver or Logi Unifying receiver.
  3. Switch the keyboard off and on. On a keyboard with Easy-Switch keys, hold the key for the channel you want until its light blinks fast.
  4. For a Bolt keyboard, click Connect, type the numbers shown in the app on the keyboard and press Enter.

On Windows, Logitech also suggests turning off USB selective suspend, so Windows doesn’t switch the receiver off to save power: Control Panel Hardware and Sound Power Options Change plan settings Change advanced power settings USB settings. Set USB selective suspend setting to Disabled. Some laptops hide this setting.

Fix a Bluetooth keyboard

First put the keyboard in pairing mode. The light blinks while the keyboard waits.

Keyboard How to start pairing mode
Logitech with Easy-Switch keys (1, 2, 3) Hold the key for about 3 seconds, until its light blinks fast. Not found? Hold it for up to 5 seconds.
Apple Magic Keyboard Connect it to the Mac with its cable for 1 minute. That pairs it and charges it.
Older Apple Wireless Keyboard (AA batteries) Hold the power button until the light goes off, then press it again. The light blinks.
Microsoft Bluetooth Keyboard Hold the pair button on the bottom for 5 seconds, until the light flashes.
Surface Keyboard Hold the pair button on the side for about 3 seconds, until the light above the up arrow flashes.
Other keyboards Hold the Bluetooth or pair button until the light flashes. The manual names the button.

Then remove the keyboard from the computer and pair it again:

Windows

  1. Open Settings Bluetooth & devices Devices.
  2. Next to the keyboard, select More options (the three dots), then Remove device and Yes.
  3. Put the keyboard in pairing mode.
  4. In Bluetooth & devices, select Add device, then Bluetooth, and choose your keyboard.
  5. If a number appears, type it on the keyboard and press Enter.

On Windows 10, start from Settings Devices Bluetooth & other devices. Still not found? Turn airplane mode on for 15 seconds and off again, then run the Bluetooth troubleshooter in Settings System Troubleshoot Other troubleshooters.

Mac

  1. Open Apple menu System Settings Bluetooth.
  2. Control-click the keyboard and choose Forget.
  3. Put the keyboard in pairing mode. For a Magic Keyboard, plug in its cable for 1 minute, then unplug it.
  4. Hold the pointer over the keyboard in the list and click Connect. If the Mac shows a number, type it and press Return.

Bluetooth is off, and you have a working keyboard but no mouse? Press Command Space, type Bluetooth File Exchange and press Return twice. That turns Bluetooth on.

For an iPad, iPhone or another computer, see how to make an Apple keyboard discoverable.

It connects to another device instead

A keyboard remembers the computers and tablets it was paired with. If one of them is nearby, the keyboard may connect to it.

  • Microsoft: the light flashes three times and goes out. Remove the keyboard on the other computer, then pair it again.
  • Apple: the light comes on but doesn’t blink. Forget the keyboard on the other Mac or iPad.
  • Logitech: keep only the computer you want nearby while you pair. A short press on an Easy-Switch key changes to the device saved on that key.

Keys lag or drop out

  1. Change or charge the batteries first, even if the keyboard still works.
  2. Bring the keyboard and receiver closer, with nothing metal between them.
  3. Turn off Bluetooth devices you don’t use. Many connected devices can disturb each other.
  4. Keep the receiver away from USB 3 drives, wireless speakers, phones, microwaves and cordless phones.
  5. Test again with the keyboard tester. Letters that type twice? Run the keyboard chatter test.

A short delay on the first key press after a break can be normal: some Bluetooth devices sleep when idle and take a moment to reconnect.

It doesn’t work before Windows starts

Logitech keyboards on a Bolt or Unifying receiver also work in the setup screen and while the computer starts. If yours doesn’t:

  1. Plug the receiver into a USB 2 port, straight into the computer.
  2. Press Fn with the setup key (often F2), because the F-keys may do something else by default.
  3. On an older computer, turn on Legacy USB Support or USB Keyboard Support in the setup screen. You may need a keyboard on a cable for that.

Reset a wireless keyboard to factory settings

Keep the three apart: restarting (off and on) wakes a stuck keyboard, pairing again rebuilds the connection, and a factory reset may also erase saved devices and settings. If your model has no factory reset, pairing again is as far as you can go.

Logitech

Logitech gives factory-reset steps only for some models, so check your model’s page on Logitech’s support site. Pairing again does not restore factory settings.

To reset only the settings you changed in the app, such as key changes or lighting, open the keyboard in Logi Options+, click Settings, then Reset to default settings.

Keys that type the wrong thing? See how to unlock a Logitech wireless keyboard.

Apple

A Magic Keyboard has no reset button, so pair it again: forget it in Bluetooth settings on every Mac and iPad it knows. Then switch it off and on and connect it with its cable for 1 minute.

Microsoft

Remove the keyboard on every computer it was paired with. Then hold its pair button until the light flashes and pair it again.

When it’s the keyboard

Pair the keyboard with another computer, tablet or phone. If it fails there too, with new batteries, the keyboard is probably faulty. If it works there, the problem is your computer: see keyboard not working for settings and drivers.

Questions people ask

Do wireless keyboards have a reset button?

Most don’t. Switching the keyboard off and on, then removing it and pairing it again, does the same job. Some have a key combination for a factory reset: the maker’s support page for your model names it.

Will a reset delete my keyboard's settings?

Pairing again only rebuilds the connection. A factory reset, where your model has one, may also erase the devices it was paired with and its settings.

Can I use a Logi Bolt keyboard with a Unifying receiver?

No. Bolt keyboards need a Bolt receiver, and Unifying keyboards need a Unifying receiver. You can plug in both receivers at once if the computer has two free ports.

How far can a wireless keyboard be from the computer?

Logitech says Bluetooth reaches about 10 metres (33 feet) at most. Walls, metal and other wireless devices cut that a lot, so keep it close if keys go missing.