There are two common keyboard problems. A spill needs action in the first few minutes. Keys that stop working on their own are often a setting, a software glitch or crumbs. Start with the steps that fit your problem.
Safety first
If you spilled something, shut the laptop down and unplug it right away. Do not turn it back on to test it. Do not use a hair dryer, an oven or rice.
Step by step
After a spill: power off and unplug
Hold the power button until the laptop shuts off. Unplug the charger and anything else connected. The longer it runs wet, the more damage liquid can do.
After a spill: drain it
Open the laptop wide and set it upside down in a tent shape on a towel. Gently blot the outside with a lint-free cloth. Leave it off.
After a spill: skip the quick fixes
Rice does not pull liquid out of a laptop. A hair dryer can push liquid deeper and heat parts. Soda, coffee and juice leave sticky residue that keeps causing damage after it dries, so tell us what was spilled. See our water damage guide.
No spill: restart and test
Restart the laptop. Then type in a simple program like Notepad or TextEdit to see which keys fail. If they work there, the problem may be one app, not the keyboard.
No spill: check keyboard settings
Check that Num Lock or an Fn lock is not changing what the keys do. On Windows, look in Accessibility settings under Keyboard, and turn off Filter Keys or Sticky Keys if you do not use them. On a Mac, check Accessibility settings for Slow Keys and Mouse Keys.
No spill: try an external keyboard
Plug in a USB or Bluetooth keyboard. If it works, the problem is the laptop keyboard itself.
No spill: clear crumbs gently
Shut the laptop down. Tilt it and use short bursts of compressed air at an angle around the problem keys. Do not pry keys off. They break easily.
When to bring it in
Bring it in as soon as you can after any spill, even if it seems fine. Corrosion can show up days later. Also bring it in if keys still fail but an external keyboard works. Diagnostics are free.
