How to Clean a Mechanical Keyboard Without Damaging It
Tip your keyboard upside down over a sheet of white paper and give it a shake. If you see crumbs, hair and a fine grey dust, that is what your fingers have been pressing through for months, and it is often why one key feels scratchy or...

Tip your keyboard upside down over a sheet of white paper and give it a shake. If you see crumbs, hair and a fine grey dust, that is what your fingers have been pressing through for months, and it is often why one key feels scratchy or double types.
The good news is that you can clean a mechanical keyboard at home in about 40 minutes with tools you probably already own. The trick is knowing which parts can get wet, which cannot, and how to put everything back exactly where it was. This guide covers a quick weekly clean, a full deep clean and what to do after a spill.
What You Need to Clean a Mechanical Keyboard
Gather everything before you start so the keyboard is not sitting half apart while you hunt for a brush.
- A wire keycap puller. Most keyboards ship with one. Avoid plastic ring pullers, which scratch the sides of caps.
- A soft brush, such as a clean paintbrush or a makeup brush.
- Isopropyl alcohol at 70 to 99 percent, plus cotton swabs.
- A microfibre cloth.
- A bowl of warm water with a drop of mild dish soap, for keycaps only.
- Your phone, to photograph the layout before you remove anything.
Skip compressed air on a keyboard with open, unshielded switches if you are not careful with the angle. Short bursts are fine, but long blasts held close can push debris deeper.
Unplug and Photograph Before You Start
Unplug the cable, and on a wireless board switch it off and remove the battery if it is removable. Then take a clear photo from straight above. Keycap layouts differ between brands, and the bottom row in particular is easy to mix up.
Clear a large space on the desk and lay down a towel. Keycaps roll, and small 1u caps vanish under furniture with impressive speed. A muffin tin or a few small bowls keep the caps grouped by row, which makes reassembly much faster than matching them one by one against a photo.
Check whether your keyboard is hot swap. If the switches pull out with a switch tool, you have more freedom later. If they are soldered, leave the switches in place and only clean around them.
The Quick Weekly Clean
A five minute clean once a week stops the deep clean from becoming a big job.
- Turn the keyboard upside down and tap it gently on the desk to release loose crumbs.
- Run the soft brush between rows of keys, sweeping toward the edge.
- Wipe the tops of the keycaps with a microfibre cloth lightly dampened with isopropyl alcohol.
- Wipe the case and cable the same way.
Keycaps pick up skin oil fastest on the home row, the spacebar and WASD. If those caps look shiny compared with the rest, that is oil build up, and a weekly alcohol wipe slows it down.
Never spray liquid directly onto the board. Put it on the cloth first. That one rule prevents most accidental damage.
Deep Clean Keycaps and the Plate
Every two to three months, or whenever keys start to feel gritty, do a deep clean. Set aside about 40 minutes plus drying time.
Remove and wash the keycaps
Pull each keycap straight up with the wire puller. Wiggling side to side can snap the stem inside the cap. Larger keys such as the spacebar, Enter and Shift have stabilisers, so lift them slowly from both ends.
Drop the caps into warm soapy water, not hot, since water above about 40 degrees Celsius can warp ABS plastic. Let them soak for 30 minutes, swirl them, then rinse and spread them on a towel. Allow at least 12 hours to dry fully, ideally overnight. A single drop of water trapped inside a cap can reach the switch later.
Clean the plate and switches
With the caps off, brush the plate thoroughly. Dip a cotton swab in isopropyl alcohol, squeeze out the excess, and wipe around each switch. Isopropyl evaporates quickly and leaves no residue, which is why it is safe here while water is not.
Wipe the case inside the frame too, especially the bottom edge where dust collects. On boards with RGB lighting, a light pass with a dry brush over each switch housing removes the haze that dulls the glow.
Put the keycaps back
Once the caps are completely dry, press each one straight down until it clicks onto the stem. Start with the stabilised keys, lining up the wire before pressing, then fill in the rows using your photo. Finally, open a plain text file and press every key once to confirm nothing sticks or sits in the wrong place.
Fix Sticky or Chattering Switches
If one key still feels sticky or types twice after cleaning, the switch itself needs attention.
- Soldered board: press the switch 20 to 30 times quickly with the keycap off. This often dislodges dust from the contacts.
- Hot swap board: pull the switch with a switch puller, blow gently into it, and press it repeatedly before reinstalling.
- Still failing: on a hot swap board, swap the switch for a spare. Most switches cost well under a dollar each.
Do not soak switches in water or alcohol. Lubricated switches lose their lube and can feel worse than before.
What to Do After a Spill
Speed matters more than technique. Most keyboards survive water if you act within a minute.
- Unplug immediately or switch it off.
- Turn the keyboard upside down and let it drain.
- Remove the keycaps in the spill area and blot with a cloth.
- For sugary drinks such as coffee with sugar or soda, wipe the plate and switches with isopropyl alcohol to dissolve residue.
- Leave it upside down to dry for 48 hours before plugging it back in.
Avoid a hair dryer. Heat can warp the case and caps. A spill tray or a large desk mat helps too, and our guide to choosing a desk mat that actually protects your wrists covers which surfaces handle liquid best.
Frequently Asked Questions
How often should you clean a mechanical keyboard?
You should clean a mechanical keyboard lightly once a week and deep clean it every two to three months. Eat at your desk often, and you may need the deep clean monthly.
Can you wash keycaps in the dishwasher?
No, washing keycaps in a dishwasher is risky because the heat can warp them and fade legends. Soak them in warm soapy water instead and let them dry overnight.
Is isopropyl alcohol safe for keyboard switches?
Yes, isopropyl alcohol is safe for wiping around keyboard switches because it evaporates quickly and leaves no residue. Apply it with a swab rather than pouring it, and avoid soaking lubricated switches.
Keep It Clean, Keep It Typing
A weekly brush and wipe plus a deep clean every few months keeps a mechanical keyboard feeling new for years. If you are thinking of a new board anyway, read whether a split keyboard is worth it, or browse more in our keyboards and mice guides.
More in Keyboards and Mice
Keyboards and Mice
Is a Split Keyboard Worth It for Everyday Desk Work
Put your hands on a standard keyboard and look at your wrists.
Keyboards and Mice
Choosing a Vertical Mouse That Actually Fits Your Hand
Someone in the office starts complaining about a dull ache along the outside of the forearm, the side with the little finger.
Keyboards and Mice
Why Wrist Position Matters More Than Keyboard Price
A two hundred dollar mechanical keyboard with the wrong wrist position will hurt you faster than a ten dollar keyboard with the...