How to Clean and Maintain a Keyboard
A practical routine for keeping any mechanical keyboard clean — from a 60-second daily wipe to a full keycap wash — plus how to handle spills and what never to do.
A keyboard is the one piece of hardware your fingers touch for hours every day, and it shows. Dust settles between the keys, skin oils dull the keycaps, crumbs fall into the case, and over a few months the whole thing starts to feel — and sound — a little gross. The good news: keeping a board clean takes minutes, not hours, if you do a little often instead of a lot rarely.
This guide covers the full range, from a 60-second desk-side wipe to a complete keycap wash, plus how to deal with spills and the handful of things that will actually damage your board. None of it requires special tools beyond what you probably already own.
What you actually need
You can clean a keyboard well with household items. A dedicated kit is nice but optional.
- A keycap puller — the wire kind, not the cheap plastic ring that scratches caps. A few dollars and it pays for itself.
- A soft brush — a clean paint brush, makeup brush, or a dedicated keyboard brush. Anything soft and dry.
- Compressed air or a hand blower — to blow dust out from between and under the keys.
- Isopropyl alcohol (70%+) — for wiping the case and stubborn grime. Dries fast and leaves no residue.
- Microfiber cloth — lint-free, won't scratch.
- Mild dish soap and a bowl — only needed for the full keycap wash.
The 60-second routine clean
This is the one you do without thinking about it — at the end of a work session, while a page loads, whenever. It stops grime from ever building up in the first place, which is the whole secret to never needing a big cleaning day.
-
1Unplug it or turn it offTakes two seconds and means a stray keypress or wipe can't do anything weird. For wireless boards, flip the power switch.
-
2Turn it upside down and tapHold the board over a trash can, flip it, and give it a few firm taps. Most loose crumbs and dust fall right out. This alone removes the majority of debris.
-
3Blow out the gapsA few bursts of compressed air across the rows, angled to push dust out rather than deeper in. Work from one side to the other.
-
4Wipe the keycapsLightly dampen a microfiber cloth with isopropyl alcohol and wipe across the tops of the keys. This lifts the skin oil that dulls legends and makes caps feel slick.
The weekly once-over
Once a week, give it a little more attention without fully disassembling anything. The goal here is the stuff the quick clean misses — the sides of the keycaps and the case itself.
- Brush between the keys — a soft dry brush flicks out the dust that settles in the valleys around each keycap. Tilt the board and brush toward the edges.
- Wipe the case — a microfiber cloth with a little isopropyl alcohol along the top frame, sides, and feet. This is where hand grime accumulates most.
- Check the feet and cable — make sure the flip-out feet still grip and the cable isn't fraying near the connector.
Deep clean — washing your keycaps
Every few months — or whenever the caps feel greasy no matter how much you wipe — it's worth pulling them all and washing them properly. This is the single most satisfying clean you can do, and it makes an old board look new.
-
1Pull every keycapUse the wire puller, hook under two opposite corners, and lift straight up. Drop them into a bowl as you go. Leave the stabilized keys (space, shift, enter, backspace) for last and pull them gently and evenly so you don't pop a stabilizer.
-
2Soak in warm soapy waterWarm — not hot — water with a few drops of mild dish soap. Let the caps sit for 15 to 30 minutes. This loosens oil and grime with no scrubbing.
-
3Agitate and rinseSwish them around, optionally brush any stubborn caps with a soft toothbrush, then drain and rinse under clean water until there's no soap left.
-
4Dry completelySpread the caps on a towel, legend-side down, and let them air-dry for several hours — ideally overnight. Trapped water inside a cap will show up later, so do not rush this step or use heat.
-
5Reinstall using your photoLine the caps up with your reference photo and press each one straight down until it clicks. Seat the stabilized keys evenly from both ends.
Cleaning the board itself
With the keycaps off, you have clear access to the plate and switches. This is the moment to deal with everything that fell past the keys.
- Blow it out — compressed air across the bare switches clears the dust and crumbs sitting on the plate. Do this outside or over a bin.
- Brush the plate — a dry brush sweeps the finer dust the air doesn't catch. Work around the switches, not into them.
- Wipe the exposed plate — a barely-damp isopropyl cloth on the metal or plastic plate between switches. Keep it away from the switch openings.
- Leave the switches alone — do not pour liquid into or around the switches. If a switch feels gritty, that's a lube job, not a cleaning job — a different process entirely.
Spills and emergencies
Liquid is the one thing that can kill a keyboard outright. If you spill something, speed matters more than technique.
-
1Disconnect immediatelyUnplug it or power it off the instant liquid hits. Power plus liquid is what causes permanent damage, so cutting power is the priority over everything else.
-
2Turn it upside downFlip the board so the liquid drains out instead of pooling on the PCB. Keep it inverted while you grab towels.
-
3Blot, don't rubSoak up what you can from the outside with a towel. For a sticky spill like soda or coffee, you may need to pull the keycaps and gently clean the residue with a slightly damp cloth.
-
4Dry for at least 48 hoursLeave it disassembled and upside down in a dry, warm room — not in front of a heater — for two full days before powering on. Patience here saves boards that would otherwise short out.
What never to do
- Never submerge the whole keyboard. The keycaps are washable; the board is not.
- Never use harsh solvents like acetone or strong cleaners on keycaps — they eat the plastic and strip legends. Isopropyl alcohol and mild soap only.
- Never put caps in a dishwasher. The heat warps them and the jets can lose the small ones.
- Never spray liquid directly onto the board. Always dampen a cloth first, away from the keyboard.
- Never force a keycap or stabilizer. If it resists, you're probably pulling at an angle — reposition and lift straight up.
A simple maintenance schedule
You don't need to memorize any of this. The whole routine collapses into three habits at three different intervals.
- Daily / per session: flip-and-tap, quick wipe of the keycaps. Under a minute.
- Weekly: brush between the keys, wipe down the case, check the cable and feet.
- Every few months: full keycap pull and wash, blow out and brush the bare board.
A clean board doesn't just look better — it feels and sounds better too. If your cleaning day has you thinking about how your keyboard sounds, that's a different rabbit hole: see our companion guide, the Keyboard Maintenance Sound Guide, for lube, foam, and stabilizer work.
Get the next guide in your inbox
One email per week, no spam. Just the good stuff.