Laptop keyboard keys not working after a spill
A spill can damage a laptop keyboard even after the surface dries. Learn what to do first, then test which keys still register safely.
If your laptop keys stopped responding after a spill, resist the urge to keep pressing them to see what works. Liquid can reach the circuitry beneath the keyboard, and using a wet laptop can cause more damage.
First make the laptop safe. Once it has dried properly or been checked by a technician, use the Keyboard Test to find out which keys register and whether the problem is limited to a few keys.
Test the keys only after the laptop is safe
- If the laptop may still be wet, do not test it. Keep it powered off. After it has been properly dried or inspected, open the Keyboard Test.
- Press each key once and watch the on-screen response. Check the keys that were directly exposed to the spill, as well as nearby keys.
- Press keys in different parts of the keyboard. This helps you tell whether the problem affects one area or the whole keyboard.
- Check keys that need to work together, such as Shift + a letter. The test can show how many keys work at once.
- Try the laptop in the app where you first noticed the problem. Some keys, including Fn, are handled by the laptop or operating system and may not register in a browser test.
Do not power on the laptop just to run the test if liquid may still be inside. A dry-looking keyboard does not prove the components underneath are dry.
What the result means
One or a few keys do not register
Liquid may have reached the contacts beneath those keys, or left residue that blocks their signals. If the same keys fail in more than one app, the keyboard itself is a likely cause. A sticky key can also point to dried drink residue, even if the key still responds sometimes.
A whole section of keys does not register
A group of dead keys can indicate damage to a shared keyboard circuit or connector. The affected area may not match the exact area where the liquid landed, since it can spread beneath the keyboard.
Every key registers in the test
The keyboard is sending key presses to the browser. Check the app where the problem occurs, the selected keyboard layout, and accessibility settings. A browser test cannot confirm that every laptop shortcut or function key works.
No keys register
If the touchpad still works but the built-in keyboard does not, the keyboard or its connection may be damaged. If the laptop is still wet, stop testing and leave it off. If it is dry and safe to use, try an external keyboard to check whether you can still type.
How to fix it
- Turn the laptop off and unplug it. If the spill just happened, shut it down immediately and disconnect the charger and accessories. If the battery is designed to be removed, take it out. Do not open the case to remove a built-in battery unless you know how to do so safely.
- Keep liquid from spreading. Wipe the outside gently with a dry cloth. If you can do it without forcing liquid farther inside, position the laptop so the keyboard faces down over a towel. Do not shake it or press the keys to squeeze liquid out.
- Avoid heat and home drying tricks. Do not use a hair dryer, heater, oven, or rice. Heat can damage parts, and rice does not remove liquid or residue from inside the keyboard. Leave the laptop off and arrange a professional inspection if liquid may have entered it.
- Have sticky or dirty keys cleaned properly. Coffee, soda, juice, and other sugary or salty liquids can leave residue that continues to corrode parts after the water has evaporated. A repair technician can open the laptop and clean or replace the affected components.
- Check keyboard accessibility settings. These are worth checking if the keyboard works in the test but behaves oddly in apps. In Windows 11, open Settings › Accessibility › Keyboard and check whether Filter Keys is on. On a Mac, open System Settings › Accessibility › Keyboard and check Slow Keys.
- Check the keyboard layout. A wrong layout usually changes which characters appear rather than making keys completely silent. In Windows 11, go to Settings › Time & language › Language & region. On a Mac, open System Settings › Keyboard › Text Input and review the input source.
- Restart only when the laptop is safe to use. After a technician has checked it, or you are confident it is fully dry, restart and test again. Do not use repeated power-on attempts to check whether the keyboard has recovered.
When the keyboard needs repair
If the same keys fail after the laptop has been properly dried and checked, the keyboard may need cleaning or replacement. A repair is especially likely if keys feel sticky, type by themselves, or stop and start when pressed. Liquid damage can also affect the trackpad, battery, or main board, so a keyboard-only test cannot rule out other problems.
Contact the manufacturer or a repair shop before opening the laptop. If it is under warranty, ask what the warranty covers, since accidental liquid damage may have different terms. For a laptop with a built-in keyboard, replacing the keyboard can require removing other parts, so this is not always a safe do-it-yourself repair.
Why some laptop keys do not appear in a browser test
A browser receives ordinary key presses, but the operating system handles some shortcuts first. The Fn key usually never reaches the browser, and keys for brightness, volume, or Wi-Fi are often handled by the laptop itself. So a key missing from the browser test is not, by itself, proof that the key is broken.
Use the test to check regular typing keys and compare results across the keyboard. Leave the laptop powered off if you suspect there is still liquid inside.
