Short answer

Open Device Manager, right-click your keyboard under Keyboards and choose Uninstall device. Then restart: Windows tries to reinstall the driver. If it stays missing, scan for hardware changes or run Windows Update.

Uninstall the keyboard driver

  1. Right-click the Start button and choose Device Manager.
  2. Click the arrow next to Keyboards to open the list.
  3. Right-click your keyboard and choose Uninstall device.
  4. If the window offers to delete or remove the driver software, leave that box unticked. Then click Uninstall.
Advertisement

Standard PS/2 Keyboard

Often a laptop's own keyboard

The name stays even though the keyboard has no PS/2 plug.

HID Keyboard Device

Often a USB or Bluetooth keyboard

You may see more than one of these.

Not sure which one is yours? Unplug the extra keyboard and watch which entry disappears.

Reinstall it

Choose one:

  • Restart the computer: Start Power Restart. Windows tries to install the keyboard driver again while it starts.
  • Without a restart: in Device Manager, click any entry in the list, then open the Action menu and choose Scan for hardware changes. (Nothing selected? The Action menu then shows only Help.) The keyboard comes back under Keyboards.
Advertisement

Test it now

Keyboard tester

Press every key once. A key that lights up reached this browser, so the driver passes it on. Dark keys can still come from settings or apps, so try the checks below before you judge the keyboard.

Open the keyboard tester

Roll back or update the driver

It broke after an update

  1. In Device Manager, right-click your keyboard and choose Properties.
  2. Open the Driver tab and choose Roll Back Driver. If it is greyed out, there is no older driver to go back to.
  3. Pick a reason, choose Yes and restart.

Special keys misbehave

  1. In Device Manager, right-click your keyboard and choose Update driver.
  2. Choose Search automatically for drivers.
  3. If Windows finds nothing, run Windows Update: Microsoft calls it the best way to get drivers.

Gaming keyboards often need the maker’s app for extra keys and lighting. On a laptop, the hotkey drivers come from the laptop maker’s support site for your model. Download both only from the maker’s own website.

Advertisement

On a Mac

A Mac has no keyboard driver to uninstall: macOS has it built in. If a keyboard stops working on a Mac:

  1. Unplug a wired keyboard and plug it in again, firmly, or try another port. For a Bluetooth keyboard, check that it is on and charged, then disconnect and reconnect it.
  2. Turn off Slow Keys in System Settings Accessibility Keyboard.
  3. Turn off Mouse Keys in System Settings Accessibility Pointer Control.
  4. Try a different keyboard. If that one works, yours may need a repair.

For a wireless keyboard, see how to reset a wireless keyboard.

The keyboard still doesn’t work

A new driver doesn’t fix a setting or a faulty keyboard. Go to keyboard not working and follow the fix for what the tester shows: Filter Keys, the connection, a dead row of keys or a spill. On a laptop, see also the guides for Lenovo and Acer.

Questions people ask

What happens when I uninstall a keyboard driver?

The keyboard stops until Windows installs the driver again. It tries at the next restart or when you scan for hardware changes. Your files and settings aren’t touched.

Where do I see my keyboard driver?

In Device Manager, under Keyboards. Right-click the keyboard, choose Properties and open the Driver tab to see its maker, date and version.

Should I tick 'Delete the driver software for this device'?

Not for a keyboard you want back. That box also removes the stored driver package, and Windows may download it again later anyway. Leave it unticked unless a maker’s support page tells you otherwise.