Laptop keyboard not working: how to fix it
Most often Filter keys or Num Lock is on, not a broken keyboard. Press keys below, on the laptop itself.
Test it first
Open this page on the laptop that has the problem and press keys all over its keyboard in the test at the top. Note what stays dark: the whole keyboard, one area, or a few keys. The Fn key never shows in a browser: test it through Fn plus an F key.
Then plug in a USB keyboard and press a few keys. If it lights up, the laptop works and only its own keyboard fails. If it stays dark as well, follow keyboard not working instead.
Reading the laptop keyboard test
The test opens on a keyboard without a numpad (TKL); click Full-size if your laptop has one. Keys your laptop does not have, often Scroll Lock, Pause or Insert, simply stay dark. A key that lights twice for one press is repeating, and one that lights alone is stuck or shorted.
The top row of most laptops controls volume, brightness and Wi-Fi first. To test F1 to F12, hold Fn and press each one, or turn on Fn Lock (often Fn with Esc). Keys printed on letters, such as a numpad on U, I, O, J, K and L, light as numpad keys while Num Lock is on.
Laptop keyboards often read only 2 to 4 keys at once. If a game misses a key when you press three together, hold them in the test and look at Rollover seen, or run the keyboard ghosting test. On a MacBook, use the MacBook keyboard test.
The fixes, in order
- Restart. Use Start, Power, Restart, not just the lid. If that does not help, shut down, unplug the charger and hold the power button for about 15 seconds, then start again.
- Filter keys. Windows 11: Settings, Accessibility, Keyboard. Turn off Filter keys and Sticky keys. Holding the right Shift key for 8 seconds can turn Filter keys on by accident, and keys then seem dead.
- Num Lock. On laptops without a number pad, Num Lock can turn letters such as U, I, O, J, K, L and M into numbers. Press Num Lock, often Fn plus another key, and test again.
- Fn Lock. If the top row changes volume or brightness instead of typing F1 to F12, or the reverse, toggle Fn Lock. It is often Fn + Esc, or a setting in the BIOS.
- Driver. Right-click Start, Device Manager, Keyboards. Right-click the keyboard (often Standard PS/2 Keyboard), Uninstall device, then restart. Then install the latest BIOS and drivers from your laptop maker's support page or app.
- Recent update. If the keyboard died right after an update: Settings, Windows Update, Update history, Uninstall updates, and remove the newest one.
- MacBook. System Settings, Accessibility, Keyboard: turn off Slow Keys. Then Accessibility, Pointer Control: turn off Mouse Keys, which makes some letter keys move the pointer. Restart.
- BIOS check. Plug in a USB keyboard, restart, and press the setup key shown at startup (often F2, F10, Del or Esc) on it. In the menu, press the arrow keys on the laptop keyboard. If they move, the hardware works and Windows is the cause: repeat the driver step. If they do nothing, it is the hardware.
Use an external keyboard meanwhile
Any USB or Bluetooth keyboard works on a laptop while you sort this out. Without one, Windows has an On-screen keyboard in Settings, Accessibility, Keyboard, that you type on with the touchpad.
Spilled liquid on a laptop keyboard
- Shut it down right away: hold the power button. Unplug the charger.
- Do not switch it on to check. Power on a wet board does the damage.
- Turn the laptop upside down, open in a tent shape, so the liquid drains out of the keyboard. Wipe what you can reach.
- Let it dry for at least a full day. Skip the hair dryer and the bag of rice.
- Coffee, soda or juice leave sugar under the keys. Keys then stick or fail days later: a repair shop can clean the board before it corrodes.
When it is the hardware
Dead in the BIOS: the keyboard or the thin ribbon cable that links it to the motherboard has failed. The cable can work loose after a drop or a repair. Only reseat it if you are used to opening laptops, with the battery unplugged first.
A laptop keyboard is a replaceable part. Under warranty, contact the maker. Otherwise a repair shop can fit a new one; on some models, MacBooks among them, it comes with the top case, which costs more.
Only a few keys dead or sticky? Try keyboard keys not working and how to clean a keyboard first.
FAQ
How do I unlock my laptop keyboard?
Most laptops have no keyboard lock key. Keys that seem locked usually come from Filter keys, Num Lock or Fn Lock: turn each one off and test again.
Why does an external keyboard work but not my laptop keyboard?
The laptop is fine, so the built-in keyboard, its driver or its ribbon cable is the cause. Reinstall the driver; if it is still dead in the BIOS, it is the hardware.
Why is my laptop typing numbers instead of letters?
Num Lock is on and some letter keys act as a number pad. Press Num Lock, often with Fn, to turn it off.
Can a laptop keyboard be replaced?
Yes. It is a standard part for each model. On some laptops it is built into the top case, which makes the repair more expensive.
Related tools
More guides
Add this tool to your site
Free for any website. Paste this code into an HTML block where the tool should appear.