Water in Mac Keyboard: What to Do First
In this article
If you get water in your Mac keyboard, the first thing to do is power it off immediately and unplug the charger. Do not press keys to test it, do not shake the laptop, and do not use a hair dryer. Water and electricity are a dangerous combination, and the goal is to stop current from flowing through the wet circuitry. Then tilt the Mac to let liquid drain away from the keyboard and internal components, and leave it to dry in a warm, ventilated spot for at least 48 to 72 hours before you try turning it on again. For desktop Magic Keyboards, remove the batteries or turn the keyboard off and let it air dry the same way. The steps below walk you through the safe sequence and the mistakes that turn a spill into a repair bill.
What You'll Need
- Soft, lint-free cloths or paper towels
- Isopropyl alcohol (70% or higher) for cleaning sticky residue later
- A can of compressed air (optional, for debris after drying)
- A dry, warm, well-ventilated space where the Mac can sit undisturbed
- Rice or silica gel packets (optional, but not recommended for laptops — see Common Mistakes)
Step-by-Step
- Power off immediately. Hold the power button until the Mac shuts down. If it is a MacBook with a removable battery (older models), remove it. For newer MacBooks, just shut down and unplug the charger. Do not wait for apps to close — a hard shutdown is safer than letting current run through wet components.
- Unplug everything. Disconnect the charger, USB-C or MagSafe cable, external drives, monitors, and any accessories. Water can travel along cables into ports.
- Position the Mac to drain. For a MacBook, open the lid to about 90 degrees and turn the laptop upside down in a tent shape (keyboard facing down, screen facing up) so liquid can run out of the keyboard and away from the logic board. For a desktop Magic Keyboard, turn it upside down and gently shake it side to side — not vigorously — to dislodge droplets.
- Blot visible moisture. Use a dry, lint-free cloth to soak up water on the surface. Do not press hard or wipe into the gaps; you want to lift liquid, not push it deeper. Use a corner of the cloth to dab around the edges of each key.
- Do not use heat. Skip the hair dryer, oven, radiator, or direct sunlight. Heat can warp keycaps, damage the display, and push moisture into places it would not otherwise reach. Room temperature air is best.
- Let it air dry for 48–72 hours. Place the Mac in a dry, dust-free spot with good airflow. A fan blowing room-temperature air across the keyboard (not into the ports) can help. Do not cover it or put it in a bag.
- Check for sticky keys after drying. Once fully dry, press each key gently. If a key feels sticky or slow to return, dampen a cloth with 70% isopropyl alcohol and wipe the key surface, then press it repeatedly to work the alcohol in. Do not pour alcohol directly on the keyboard.
- Power on and test. Plug in the charger and turn the Mac on. Type in a text editor to test every key. If keys are unresponsive or the Mac will not start, stop and seek service — do not keep powering it on.
Common Mistakes
- Turning it on too soon. Even a small amount of moisture inside can short a circuit. Wait the full 48–72 hours.
- Using rice for a laptop. Rice does not dry a sealed MacBook effectively and can introduce dust and starch into ports. Airflow is better.
- Shaking a MacBook hard. Vigorous shaking can spread liquid to the logic board, display, or battery. Tilt and drain gently.
- Pressing keys to test. Pressing keys pushes water deeper into the key mechanism and toward the logic board.
- Using a hair dryer. Hot air can warp plastic and force moisture into the display assembly.
- Assuming it is fine because it works. Corrosion can develop over days or weeks. If the spill was more than a few drops, consider a professional inspection even if the Mac seems fine.
Tips
- Act fast — the first 60 seconds matter most. Powering off is the single most important step.
- If the liquid was sugary (juice, soda, coffee with sugar), the residue is sticky and corrosive. After drying, a professional cleaning with isopropyl alcohol is often needed; do not try to disassemble a MacBook yourself unless you have the right tools and experience.
- Keep the Mac in a warm, dry room — not a cold garage or damp basement. Humidity slows drying.
- For a desktop Magic Keyboard, remove the batteries immediately if it uses them. For the rechargeable model, turn it off and do not plug it in to charge until dry.
- Take photos of the spill area before cleaning, in case you need to show a repair technician.
Troubleshooting
If the Mac will not turn on after drying: Leave it off and unplugged for another 24 hours, then try again with the charger connected. If it still does not respond, the logic board may have damage — contact Apple Support or an authorized service provider. Do not open the Mac yourself; you can cause further damage and void any warranty.
If some keys do not work: The key mechanism or the membrane may be damaged. Test in a text editor. If only a few keys fail, a repair may involve replacing the keyboard assembly. On newer MacBooks, the keyboard is part of the top case, so this is a professional repair.
If the keyboard works but feels sticky: Use isopropyl alcohol on a cloth and press the affected keys repeatedly. If stickiness persists after a day, a technician can clean under the keycaps.
If the display shows odd behavior: Water may have reached the display connector. Power off and seek service — do not keep using it.
Frequently Asked Questions
Can I use a hair dryer on a low setting?
No. Even low heat can warp keycaps and push moisture deeper. Use room-temperature airflow only.
How long should I wait before turning on my MacBook?
At least 48 hours, and 72 hours is safer. If the spill was large or sugary, wait longer and consider professional cleaning.
Is rice safe for drying a MacBook?
Not recommended. Rice does not dry sealed laptops well and can introduce dust and starch into ports. Airflow is more effective.
What if only a few drops got on the keyboard?
Power off, tilt to drain, blot, and wait 24–48 hours. Small spills often dry without issue, but do not rush it.
Can I use compressed air to dry the keyboard?
Only after the Mac is dry and off, to remove debris. Do not use compressed air to blow liquid around — it can push water deeper.
Will AppleCare+ cover water damage?
AppleCare+ may cover accidental damage with a service fee, but coverage varies by region and plan. Check your coverage details with Apple Support.