Laptop Keyboard Not Working? Diagnostic & Fix
Short answer: Plug in any USB keyboard and type in Notepad. If the external one works, your USB ports and Windows input stack are fine and the problem is isolated to the built-in keyboard's hardware or driver — reinstall the keyboard driver in Device Manager. If the external keyboard also fails, it is system-level (a stuck Filter Keys setting or input service), and replacing the built-in keyboard will not help.
Plug a USB keyboard into the laptop. Any one — cheap desktop keyboard, borrowed from someone, doesn’t matter. Open Notepad and type. If the external keyboard works, your laptop’s USB ports, Windows input stack, and language settings are all fine. The problem is isolated to the built-in keyboard hardware or its specific driver. If the external keyboard also doesn’t work, you’re dealing with something system-level and replacing the built-in keyboard won’t fix it.
A common case: a ThinkPad keyboard stops working mid-email. An external USB keyboard works fine. Device Manager shows a yellow triangle next to HID Keyboard Device. A Windows Update from earlier that week pushed a driver that doesn’t play well with that specific Lenovo model. Rolling back the driver and restarting fixes it in a few minutes.
Same symptom, very different cause: a sweetened coffee spill a few days earlier that was just “wiped down with paper towels.” The sugar crystallizes under the keys, gluing several rows of switches together. The odds of recovering a keyboard from a sugary-drink spill that’s days old, after continued use, are very low. Usually the answer is a replacement keyboard, which runs around $50 in parts for many models.
Pay attention to which keys fail because the pattern matters. Entire row dead usually means a loose ribbon cable since each row shares a trace on the connector. Scattered dead keys across the board points to liquid damage underneath. Single stuck or dead key is physical debris or a worn switch. Only the number pad stopped working — hit NumLock before you do anything else. And if the keyboard isn’t dead but is typing wrong characters — pressing “z” gets you “y”, or numbers come out as symbols — that’s almost always a language layout mismatch, not hardware.
The Fn-Lock Thing
This one embarrasses me because of how often it slips through the first diagnostic pass. Most modern laptops have a key combination that disables the internal keyboard — usually so you can clean it without registering keystrokes. The combo varies wildly. Lenovo ThinkPads use Fn+F6 on some models, Fn+K on others. Dell uses Fn+Esc. HP varies by model line. ASUS usually has a dedicated icon key.
If you accidentally hit that combo while reaching for the volume keys, the internal keyboard goes dead. No driver problem, no hardware fault. Look at your F1-F12 row, find any key with a keyboard-shaped icon, press Fn plus that key. If nothing happens, try Fn+Esc, Fn+F6, and Fn+F8 to cover the common variants.
While you’re at it, check Filter Keys. If someone held the right Shift key for 8 seconds — easy to do while gaming or adjusting posture — Windows starts silently ignoring brief or repeated keystrokes. The keyboard isn’t broken, it’s just waiting longer before registering each press. In the Accessibility settings under Keyboard, make sure Filter Keys, Sticky Keys, and Toggle Keys are all off. It’s easy to spend an hour troubleshooting a “dead keyboard” that’s just Filter Keys enabled by accident.
Drivers
If the keyboard works intermittently, or it started right after a Windows Update, you’re probably looking at a driver issue. Right-click Start, Device Manager, expand Keyboards. Yellow warning triangles on any entry — right-click, Properties, Driver tab, Roll Back Driver if available. Restart and test.
If Roll Back is greyed out, try uninstalling the keyboard entries entirely. They’re standard HID devices and Windows reinstalls fresh drivers on the next boot. Right-click, Uninstall device, restart. Windows handles the rest automatically.
For laptops with proprietary keyboard software — Lenovo Vantage, HP Support Assistant, Dell Update — go to the manufacturer’s site and download the latest input driver for your exact model. The OEM-tested driver is often subtly different from what Windows Update ships and can fix model-specific bugs. A bad update can break more than just the keyboard — if you’re also seeing screen flickering or blue screen crashes after the same update, rolling it back fixes everything at once.
Before paying for a keyboard replacement, plug in a USB keyboard. If that doesn’t work either, keyboard hardware is ruled out completely — replacing the built-in keyboard won’t help, and neither will a “bad motherboard” diagnosis. A common cause is the Windows HID service crashing and not restarting properly. One PowerShell command to reset the service fixes it in two minutes. If your mouse also stopped working at the same time as the keyboard, it’s almost certainly a system-level HID driver or service crash — not two separate hardware failures.
Liquid Spills
The first sixty seconds after a spill determine almost everything about recovery. Power off immediately — hold the power button for ten seconds, don’t try to save your work. Unplug the charger. Pop the battery out if it’s removable. Flip the laptop upside-down to stop liquid from seeping deeper. Leave it like that for 48-72 hours minimum before powering on.
What you spilled matters enormously. Pure water gives you the best odds — especially when you reacted fast — because it evaporates clean. Coffee, soda, juice, anything with sugar, leaves crystalline residue that corrodes contacts and bridges circuits even after it dries. The odds of recovery drop sharply. Wine and beer are somewhere in the middle. Saltwater is especially bad because the salt stays conductive permanently.
Even doing everything right — powering off in seconds, flipping the laptop, not touching it for three days — liquid like red wine can still reach the logic board through the keyboard on a MacBook Air. Full recovery in that situation means removing the keyboard, cleaning affected areas with 99% isopropyl alcohol, and letting it dry completely. About $25 in supplies plus several hours of careful work, versus a logic-board service from Apple that can run several hundred dollars.
If you’re past the 24-hour window or kept using the laptop after the spill, the damage is usually done. Keyboard replacement plus possibly internal cleaning is the realistic path.
Ribbon Cable
After any time a laptop’s been opened — fan cleaning, SSD upgrade, battery swap — the keyboard ribbon cable can come back not fully seated. It’s a thin plastic strip, typically 30-50 pins wide, with a small black plastic flap (the ZIF lock) on the connector at the motherboard end. Symptoms: a row or block of keys dead while nearby keys work fine, or the whole keyboard works intermittently when you press certain areas of the palmrest.
Open the bottom panel, find the keyboard cable, lift the ZIF flap straight up (not at an angle — they snap easily), slide the cable in fully, close the flap. Re-test before putting the panel back. The cable is fragile and bending it sharply permanently damages the conductive traces. Different laptops use different connector styles — some flap up, some flip forward. Check iFixit for your specific model’s teardown before attempting this.
If your touchpad also stopped working alongside the keyboard, those are sometimes connected — literally, as some laptops route both through the same internal connector — and if you’ve ruled out software, Fn-lock, drivers, and a cable reseat, we can walk through the full diagnostic remotely and tell you whether it’s a fixable driver issue or a hardware replacement.
Frequently Asked Questions
Why did my laptop keyboard stop working?
Three quick checks before assuming hardware: (1) try an external USB keyboard — if it works, the laptop's USB and Windows input stack are fine, so the issue is specific to the built-in keyboard; (2) check Device Manager for yellow warning triangles under Keyboards; (3) think back to the last 24-48 hours — did Windows Update install something, did you spill anything, did the laptop get dropped or carried in a tight bag. Many dead-keyboard problems are software-related and fixable in 15 minutes.
How can I fix a laptop keyboard that types wrong characters?
Wrong characters usually means a language or layout mismatch, not a hardware problem. Press Win+Space to cycle through installed keyboard languages — if your keys suddenly work normally after one of them, that's your fix. Permanent solution: Settings → Time & Language → Language & region → set the right language as default and remove the unused ones.
Will an external keyboard tell me if my laptop keyboard is dead?
Yes, this is the single best diagnostic. Plug any USB or Bluetooth keyboard into the laptop. If the external one works and the built-in still doesn't, you have a hardware or driver problem isolated to the built-in keyboard — the laptop's input system and Windows are fine. If the external one also fails, the issue is system-level (driver, Windows service, or a stuck function-key lock).
Can I fix a keyboard after spilling water or coffee?
Sometimes — depends on what you spilled and how fast you reacted. Pure water has the best survival rate if you immediately powered off (hold the power button 10 seconds), unplugged the charger, removed the battery if possible, and let it dry upside-down for 48-72 hours. Coffee, soda, juice, or anything with sugar leaves sticky residue that corrodes contacts; survival is much lower. Wine, beer, and other alcoholic drinks fall between the two. Reacting fast gives you a real chance; if you kept using it after the spill, the odds are poor.
How much does laptop keyboard replacement cost?
Parts run $20-80 for most consumer laptops. Premium ultrabooks and gaming laptops with backlit or RGB keyboards run $40-150. Labor at a local shop is typically $40-100 depending on how integrated the keyboard is into the chassis. Some laptops (most ThinkPads, Dell Latitudes) are easy 10-minute swaps. Some ultrabooks (Dell XPS, HP Spectre, MacBooks) require removing the entire top case and can take 1-2 hours. We can tell you which category yours falls into before you book anywhere.