Home / Keyboard not typing: fixes

Keyboard Not Typing? How to Fix It

When a keyboard suddenly types nothing, the cause is usually a setting, a driver or a connection rather than broken hardware. Start with the test, because it tells you which half of the problem you are dealing with.

Step 1: find out if the keys reach the computer

Open the keyboard test and press a few keys.

  • Keys light up in the test but not in your app: the keyboard works. The problem is the app, a stuck modifier key, or a language setting. Jump to "Keys work in the test but not when typing".
  • Nothing lights up: the computer is not receiving the keys. Work through the connection and system fixes below.
  • Only some keys light up: see "Some keys don't work" further down.

Quick fixes that solve most cases

  1. Restart the computer. It clears stuck drivers and accessibility shortcuts that were turned on by accident.
  2. Wired keyboard: unplug it, wait ten seconds, and plug it into a different USB port directly on the computer, not a hub.
  3. Wireless keyboard: replace or charge the batteries, switch it off and on, and move the USB receiver to a front port closer to the keyboard.
  4. Bluetooth keyboard: remove it from the Bluetooth list and pair it again.
  5. Check for a lock switch. Some keyboards have a Win Lock or game-mode key that disables part of the keyboard.

Windows fixes

Turn off Filter Keys

Holding the right Shift key for eight seconds turns on Filter Keys, which ignores brief keystrokes. It is the classic cause of "my keyboard suddenly stopped typing". Open Settings, Accessibility, Keyboard and switch Filter keys off.

Reinstall the keyboard driver

  1. Right-click Start and open Device Manager.
  2. Expand Keyboards. Right-click your keyboard and choose Uninstall device.
  3. Restart. Windows installs the driver again on startup.

Check the input language

If keys type the wrong characters, press Windows + Space to cycle input languages, or remove extra layouts under Settings, Time & language, Language & region.

Login screen

If you cannot type your password, click the accessibility icon on the sign-in screen and open the On-Screen Keyboard to get in, then apply the fixes above.

macOS fixes

  • System Settings, Accessibility, Keyboard: turn off Slow Keys (which waits before accepting a key) and check Mouse Keys under Pointer Control, which takes over some keys.
  • System Settings, Keyboard, Text Input: make sure the input source matches the keyboard.
  • Bluetooth keyboard: hold the power button to turn it off, then remove and re-pair it under System Settings, Bluetooth.
  • MacBook keyboard that stops after waking from sleep: reset the SMC on Intel Macs, or simply shut down for 30 seconds on Apple silicon.

Laptop keyboards

A laptop keyboard that dies completely while an external USB keyboard works fine is usually a loose ribbon cable or liquid damage. If you spilled something, shut down at once, unplug the charger, turn the laptop upside down in a tent shape and leave it for 48 hours before trying again. Some laptops also have a function key combination that disables the keyboard or the touchpad; check the F-row icons.

Updating the BIOS or UEFI firmware from the maker's support site has fixed keyboard dropouts on several laptop models, especially after a major Windows update.

Some keys don't work

If one or two keys are dead in the keyboard test, it is almost always dirt or a failing switch. Pop the keycap off, clean underneath with compressed air or a soft brush, and test again. On a laptop, use a plastic tool and care, since the clips break easily. If a whole row or a block of keys fails together, the keyboard's internal circuit is damaged and needs replacing.

Keys work in the test but not when typing

  • Check that the text box you are typing into really has focus: click inside it.
  • A stuck Ctrl, Alt or Command key turns letters into shortcuts. Press each modifier a few times, and watch the "Held now" counter in the test: it should go back to 0.
  • Remote desktop, virtual machines and some games capture the keyboard. Close them or release the capture.
  • If the keys lag rather than fail, see keyboard delay or lag.

Questions people ask

Why did my keyboard suddenly stop typing?

The most common causes are Filter Keys being switched on by holding Shift, a drained wireless battery, a USB port that lost power, or a driver that stopped responding. A restart and a different USB port fix most of these.

How do I know if my keyboard is broken?

Plug it into another computer, or test it on this site. If no keys light up anywhere, the keyboard or its cable is faulty. If it works elsewhere, the problem is in your computer's settings or drivers.

My laptop keyboard is not working but the USB keyboard is. What now?

Reinstall the keyboard driver in Device Manager and update the BIOS. If it still fails, the internal keyboard or its cable needs repair.

Why does my keyboard type the wrong characters?

The input language does not match the keyboard. Switch it with Windows + Space on Windows, or Control + Space on a Mac, and remove layouts you do not use.

Other tests