It happens in a second. Your drink tips, water spreads across the keyboard, and your stomach drops. Your first instinct might be to grab a towel and hope for the best — but what you do in the next 30 seconds determines whether your keyboard survives.

Liquid damage is recoverable more often than people think — but only if you respond correctly and immediately. The wrong moves (using a hairdryer, pressing keys, turning the laptop back on too soon) cause more damage than the water itself. Here's exactly what to do.

Act immediately — time is critical

Every second liquid stays in contact with powered circuits increases the chance of permanent damage. Read the first two steps now, act on them, then come back for the rest.

The First 30 Seconds: Do These Two Things Now

1. Power off immediately

Don't save your work. Don't close applications. Hold the power button until the device turns off. The biggest risk from a liquid spill isn't corrosion — it's a short circuit while the keyboard is still powered. Electricity and water create shorts that burn out components instantly and permanently. Cut the power first, everything else second.

For an external keyboard: unplug the USB cable immediately (or remove batteries if wireless). For a laptop: hold the power button to force shutdown, then unplug the charger and, if accessible, remove the battery.

2. Flip it upside down

Gravity is your ally. Turn the keyboard or laptop upside down immediately so liquid drains out instead of soaking deeper into the electronics. Place it on a dry towel or absorbent surface. Leave it inverted while you deal with the rest.

What to Do Next: Laptop vs. External Keyboard

The recovery process is meaningfully different depending on what you spilled on, so follow the right section below.

If it's a laptop keyboard

A laptop spill is more serious than an external keyboard spill. The keyboard is directly above the motherboard, battery, and other components — water doesn't just damage the keys, it can reach everything inside the chassis.

  1. 1. Keep it inverted for at least 24–48 hours. A clean water spill (no sugar, no coffee) typically needs 24 hours minimum to fully evaporate. A sugary drink needs longer because the residue doesn't evaporate — it needs cleaning.
  2. 2. Blot (don't rub) visible moisture. Use a lint-free cloth or paper towel to gently blot liquid from the keyboard surface. Don't press keys — pressing them forces liquid deeper into the membrane or switch beneath.
  3. 3. Do not use a hairdryer. Heat accelerates corrosion, can melt internal components, and pushes moisture further inside. Room temperature air is what you want. A fan pointed at the keyboard (not hot air) is acceptable.
  4. 4. If you spilled something sugary: Water evaporates cleanly. Coffee, juice, and soft drinks leave sticky residue that causes keys to stick and contacts to corrode. For a sugary spill on a laptop, professional cleaning by a repair shop is strongly recommended — the residue needs to be physically cleaned from the internals.
  5. 5. Wait the full drying period before powering on. Most water damage that kills laptops happens because the owner turned it back on too soon. 24 hours for clean water, 48–72 hours for anything else. Patience here is not optional.
  6. 6. When you do power it back on: Plug in the charger but don't turn it on yet — let it sit for a few minutes. Then power on and immediately test every key to see what survived.

If it's an external mechanical keyboard

External keyboards are far more survivable than laptops after a spill. They're simpler devices, and the switches themselves are often water-resistant enough to withstand a splash with proper drying.

  1. 1. Unplug immediately and flip upside down.
  2. 2. Remove keycaps if you have a puller. This massively speeds up drying and lets you see exactly where liquid has pooled. A keycap puller costs very little and is worth having for any mechanical keyboard owner.
  3. 3. Rinse with distilled water if it was a sugary drink. This sounds counterintuitive, but distilled water doesn't conduct electricity and can wash away sugary residue before it crystallises. Run it gently over the affected area (not the PCB if exposed), then dry thoroughly. Do not use tap water — it contains minerals that cause corrosion.
  4. 4. Shake out excess liquid and leave inverted on a clean towel in a warm room for 24–48 hours.
  5. 5. For deep cleaning: If individual switches are affected, isopropyl alcohol (90%+) on a cotton swab can clean switch contacts. This is the same technique used to fix key chattering caused by oxidised contacts.
  6. 6. Test every key before reassembling. Plug in, open the KeyTest keyboard tester, and press every key before putting the keycaps back. This tells you exactly which switches survived and which need attention.

What to Absolutely Avoid

  • Don't use a hairdryer or heat gun. Heat speeds up corrosion and can melt plastic components.
  • Don't press the power button to "check if it still works." If it's still wet inside, powering on will cause a short.
  • Don't put it in rice. The rice myth is largely debunked — rice doesn't absorb moisture significantly better than open air, and rice dust can get into switches and ports, causing additional problems.
  • Don't press keys repeatedly. This forces liquid deeper into the switch mechanism or membrane.
  • Don't use tap water to rinse. If you need to rinse out a sugary spill, use distilled water only.

Will It Survive? What to Expect

The honest answer depends on three things: what you spilled, how fast you acted, and what type of keyboard you have.

Clean water — best outcome

Water itself doesn't corrode electronics immediately. If you powered off within seconds and dried it completely, survival rate is high — especially for external keyboards. Laptops are riskier due to the motherboard proximity.

Coffee, tea, juice — moderate risk

Sugar and acids in drinks cause ongoing corrosion even after drying. If you cleaned it fast, many keyboards survive. If residue is left inside, keys will stick and contacts will corrode over days or weeks.

Soft drinks, alcohol — higher risk

High sugar content and acidity make these the hardest to recover from without professional cleaning. External keyboards often survive with thorough rinsing; laptops frequently require professional service.

After It's Dry: Assess the Damage

Once you've completed the drying period, power on and use the KeyTest keyboard tester to press every single key systematically. This tells you exactly what's working and what isn't — which helps you decide whether individual key repair makes sense or whether replacement is the better call.

If specific keys aren't registering, read our guide on diagnosing and fixing keyboard keys that won't work — the troubleshooting steps apply directly to post-spill damage. If some keys are typing the wrong characters, a layout or driver issue may have been triggered by the event and is separately fixable.

Emergency checklist

01Power off immediately — hold the power button, don't save anything first
02Unplug charger and remove battery if accessible (laptop) or unplug USB (external)
03Flip upside down on an absorbent surface
04Blot visible moisture — don't rub, don't press keys
05No hairdryer — room temperature air only
06Leave inverted for 24h (water) or 48–72h (sugary drinks)
07External keyboard: remove keycaps, rinse with distilled water if sugary
08Test every key with KeyTest before reassembling or declaring it dead