If your HP laptop keyboard isn’t working, one test tells you where the problem is. Turn the laptop off, turn it on and press Esc repeatedly. If HP’s Startup Menu opens, the keyboard hardware works and the fault is in Windows: a driver, a setting like Filter Keys, or an update. If the Startup Menu doesn’t open, HP says the built-in keyboard needs service. Plug in a USB keyboard to keep working while you sort it out. This guide covers both paths, using HP’s own tools that most guides leave out.

Quick answer: find your fix
| What you see | Most likely cause | Go to |
|---|---|---|
| Startup Menu doesn’t open when you press Esc | Keyboard hardware or its cable | Fix 9 |
| Keyboard works at startup but not in Windows | Driver, Filter Keys or a Windows update | Fixes 2 to 5 |
| Keys respond slowly or only when held down | Filter Keys | Fix 3 |
| Wrong characters appear (for example @ and ” swapped) | Wrong keyboard layout | Fix 6 |
| Only the top-row keys (volume, brightness) don’t work | Action keys setting or a missing HP driver | Fix 7 |
| One or two keys stuck or dead | Debris under the key | Fix 8 |
Fix 1: Test the keyboard outside Windows
- Shut the laptop down fully (hold the power button for 5 seconds if it’s frozen).
- Press the power button, then immediately press Esc about once a second.
- If the Startup Menu appears, the keyboard works. Press F2 to open HP PC Hardware Diagnostics, then go to Component Tests and run the keyboard test.
If nothing appears no matter how often you press Esc, skip to Fix 9. (HP Support: keyboard troubleshooting)
Fix 2: Reinstall the keyboard driver
- Right-click Start and select Device Manager. If the keyboard is dead, use the touchpad or a USB keyboard.
- Select View > Show hidden devices.
- Expand Keyboards. Right-click each entry, select Uninstall device and confirm.
- Restart. Windows reinstalls the keyboard driver on its own.
HP recommends removing every entry under Keyboards, including the hidden ones, because an old or duplicate entry can block the built-in keyboard.
Fix 3: Turn off Filter Keys
Filter Keys ignores short or repeated key presses. If it’s on, your keyboard seems dead unless you hold each key down. It’s easy to switch on by accident: holding the right Shift key for 8 seconds turns it on.
- Open Settings > Accessibility > Keyboard.
- Turn off Filter Keys. Open its settings and clear the keyboard shortcut option so it can’t switch on again by accident.
- While you’re there, turn off Sticky keys and Toggle keys if you don’t use them.

Fix 4: Run the keyboard test in HP PC Hardware Diagnostics for Windows
If you can get into Windows with a USB keyboard or the touchpad, HP’s Windows diagnostics app tests the built-in keyboard key by key.
- Search for HP PC Hardware Diagnostics Windows in Start. If it isn’t installed, get it from HP’s website.
- Right-click it and select Run as administrator.
- Go to Component Tests > Input Devices > Keyboard Test and select Run once. Press the keys as asked.
A failed test means the keyboard hardware is faulty. Note the failure ID it gives you, because HP support asks for it.
Fix 5: Reset the BIOS to defaults and update it
- Turn the laptop on and press F10 repeatedly to open BIOS setup.
- Press F5 to load the default settings, then F10 to save and exit.
Then install any BIOS and chipset updates for your model from HP Support Assistant or HP’s driver download page. If the keyboard stopped working right after a Windows update, also check Settings > Windows Update > Update history > Uninstall updates and remove the latest one as a test.
Fix 6: Wrong characters? Check the keyboard layout
If keys type the wrong symbols, Windows is using a different layout from the one printed on your keys. Go to Settings > Time & language > Language & region, open your language’s options and add the correct keyboard, for example US or United Kingdom. Remove the layouts you don’t use. Windows key + Space switches between layouts, which is often how the wrong one gets turned on.
Fix 7: Top-row keys (volume, brightness, mute) don’t work
- Try them with the fn key. On HP laptops, the top row does either the action (volume, brightness) or F1 to F12 by default. If pressing fn plus the key works, the keyboard is fine. You can swap the default in BIOS setup (F10), in a setting usually called Action Keys Mode.
- Install HP’s hotkey driver. Some top-row keys need HP software. On HP’s download page for your model, open Driver-Keyboard, Mouse and Input Devices and install HP Hotkey Support or the HP Wireless Button Driver, whichever is listed.
Fix 8: One key stuck or not responding
Crumbs and dust under a key are the usual cause when only one key is affected. Turn the laptop off, tilt it and use short bursts of compressed air along the edges of the key. Test every key afterwards with our free online keyboard tester. For more on individual dead keys, see some keys not working on a laptop keyboard.
Don’t pry keycaps off while the laptop is under warranty. HP describes how to remove a key, but the larger keys have a metal wire and clips that break easily.

Fix 9: Nothing works, even at startup
If the Startup Menu won’t open and HP’s keyboard test fails, the keyboard, its ribbon cable or the board it plugs into is faulty. Liquid spills are a common cause. Your options:
- Under warranty: contact HP support with your serial number and the diagnostics failure ID. Don’t open the laptop first.
- Out of warranty: a repair shop can replace the keyboard. On many HP models the keyboard is built into the top case, which makes the repair cost more.
- In the meantime: a USB or Bluetooth keyboard works normally, and Windows has an on-screen keyboard (Settings > Accessibility > Keyboard > On-screen keyboard).
Video: fixing an HP laptop keyboard that won’t type
Frequently asked questions
Why did my HP laptop keyboard suddenly stop working?
The most common causes are Filter Keys switched on by accident, a driver problem after a Windows update, and liquid or debris under the keys. Press Esc at startup first: if HP’s Startup Menu opens, it’s a Windows problem you can fix yourself.
How do I unlock the keyboard on my HP laptop?
HP laptops don’t have a keyboard lock key. A keyboard that seems locked usually has Filter Keys turned on. Turn it off in Settings > Accessibility > Keyboard.
How do I reset my HP laptop keyboard?
Uninstall every entry under Keyboards in Device Manager (with hidden devices shown) and restart. If that doesn’t help, load BIOS defaults with F10, then F5, then F10.
Why does my HP keyboard work in BIOS but not in Windows?
The hardware is fine, so the cause is in Windows: a driver, Filter Keys, the keyboard layout or a recent update. Work through Fixes 2 to 6.
My HP keyboard doesn’t work and I can’t enter my password. What now?
On the Windows sign-in screen, select the Accessibility icon in the bottom-right corner and turn on the On-screen keyboard. Type your password with the mouse or touchpad, then work through the fixes above. A USB keyboard also works at the sign-in screen.
My HP laptop keyboard stopped working after a water spill. What should I do?
Turn the laptop off straight away, unplug the charger and don’t turn it back on to test it. Tip it upside down to drain and let it dry for at least a day. Liquid can short the keyboard and the board under it, so if keys still fail after it has dried, contact HP or a repair shop rather than repeatedly powering it on.
Is it worth repairing an HP laptop keyboard?
Under warranty, yes: HP repairs it. Out of warranty, compare the quote with the laptop’s value. On models where the keyboard is part of the top case, an external keyboard is often the cheaper choice.
Featured image: photo by Israel Torres on Pexels.
Last updated: 5 December 2026. Steps checked against HP’s keyboard troubleshooting documentation for Windows 11.
