Keyboard keys not working, or sticky after a spill? Fixes for laptops and PCs

Some keys do nothing, the whole keyboard is dead, or the keys feel sticky and slow after a drink went over it. A spill needs fast action; most other cases are a setting you can undo in seconds.

Spilled something? The first minute

  1. Power off now: hold the power button until it switches off. Electricity plus liquid is what kills boards, not the liquid on its own.
  2. Unplug the charger and anything in the USB ports. If the battery is removable, take it out.
  3. Turn it upside down, open like a tent (or keyboard-down on a towel), so liquid runs out of the keyboard instead of deeper inside.
  4. Blot what you can see with a lint-free cloth or kitchen roll. Don't shake it hard, and don't use a hairdryer on hot, which can warp plastic and push liquid further in.
  5. Leave it off for at least 24-48 hours somewhere warm and dry with air moving. Putting it in rice doesn't help and leaves dust and starch in the keys.
What was spilledWhat happens next
Plain waterOften fully recovers once dry
Coffee, tea, juice, fizzy drinks, squashSugar, milk and acid dry into sticky residue: slow, sticky or dead keys, and slow corrosion of the board. Needs cleaning even if it seems to work
Wine, beer, milk, soupAs above, plus smells; get it cleaned properly
A lot of anythingA repair shop can open it, clean the board with isopropyl alcohol and check for corrosion. Sooner is cheaper

On a desktop or detachable keyboard you can do the cleaning yourself: unplug it, pop off the sticky keycaps (a keycap puller on mechanical keyboards; laptop keys clip on and break easily, so leave those), and clean around the switches with a cotton bud dipped in isopropyl alcohol (90% or more), which dries fast and doesn't conduct. Let it dry fully before plugging it back in. A key still sticky after cleaning on a mechanical keyboard usually needs the switch replaced.

No spill: keys seem dead or slow

SymptomLikely causeFix
Short presses ignored, keys need holding, typing delayedFilter Keys (switched on by holding right Shift 8 seconds)Settings > Accessibility > Keyboard > Filter keys off, and untick its shortcut
Shift, Ctrl or Alt stay pressedSticky Keys (pressing Shift five times)Same page > Sticky keys off
F1-F12 change volume or brightness insteadFn lockFn+Esc on many laptops, or the BIOS "function key behaviour" setting
Number pad does nothingNum Lock offPress Num Lock. Letters typing numbers is the opposite; see keyboard typing wrong characters
Windows key does nothingWin lock / gaming modeA lock key or Fn+Win on gaming keyboards, or the keyboard's app
One or two keys dead, always the same onesCrumbs or dust under the key, or a worn switchCompressed air at an angle, keyboard tilted; on a laptop often a keyboard replacement
A whole row or block deadLoose ribbon cable or liquid damage on a laptopRepair; plug in a USB keyboard meanwhile

Whole keyboard dead

Hardware or software? A quick test

Related

Keyboard typing wrong characters · Touchpad not working · PC and laptop noises · Laptop not charging over USB-C

Questions

What should I do immediately after spilling water on my laptop?

Turn it off by holding the power button, unplug it, remove the battery if you can, and turn it upside down in a tent shape to drain. Blot it, then leave it off for at least 24-48 hours before trying it.

Does putting a wet laptop in rice work?

No. Rice dries it no faster than open air and can leave dust and starch in the keys and ports. Leave it upside down somewhere warm and dry with air moving instead.

Why are my keys sticky after a spill even though it dried?

Sugar, milk or acid from the drink dried on the switches. Clean around them with isopropyl alcohol, or on a laptop have a repair shop clean it, because the same residue slowly corrodes the board.

Why do my keys only work if I hold them down?

Filter Keys is on, usually after holding the right Shift key for 8 seconds. Turn it off in Settings > Accessibility > Keyboard and untick its keyboard shortcut.

How do I tell if my keyboard is broken or it's Windows?

Test the keys in the BIOS / UEFI setup or with the on-screen keyboard. If they work there, or a USB keyboard works fine, it's a setting or driver; if they don't work anywhere, the keyboard is faulty.

Published .

Try it

Related guides

Newest guides