How to Clean and Maintain a Mechanical Keyboard
A practical maintenance routine for mechanical keyboards: quick surface cleaning, a full deep clean with keycaps off, and what never to wash.
A mechanical keyboard is built to last years or decades — but only if it isn’t a reservoir of dust, skin oil, and crumbs. The good news is that maintenance is easy and infrequent. The bad news is that almost nobody does it until something goes wrong. This guide is the routine that prevents the “going wrong.”
It splits into three tiers by effort: quick surface cleaning, periodic deep cleaning, and what to never do.
Tier 1: Quick surface clean (every week or two)
This takes two minutes and prevents most grime buildup. No disassembly.
- Disconnect the USB cable and switch off wireless power before cleaning. Unplug a charging cable too.
- Turn the board upside down and tap gently to dislodge loose crumbs and dust. Most debris on a keyboard is just sitting there, not stuck.
- Brush between keycaps with a soft brush (a clean paintbrush or a dedicated keyboard brush). This is more effective than it sounds and is the single highest-value habit.
- Wipe keycap tops with a slightly damp (not wet) microfiber cloth. Plain water or a barely-damp cloth is enough for routine wiping. Use only a cleaner approved for the keycap finish; do not assume alcohol is suitable for its coating or legends.
Compressed air is fine for blowing dust out from between keys. Hold the can upright, use short bursts, and don’t blast liquid propellant onto the board by tilting the can.
Tier 2: Deep clean (every few months, or when needed)
Do this when the board is visibly dirty, sounds gritty, or every several months for a daily driver. Set aside about 30–45 minutes.
1. Photograph your layout. Before pulling anything, take a photo of the keyboard so you can put every keycap back in the right place. This single step prevents the most common deep-clean headache.
2. Remove all keycaps with a wire keycap puller (not a hard plastic ring puller, which scratches caps). Drop them into a bowl.
3. Wash the keycaps. Check the keycap maker’s care instructions first, especially for coated, printed, or artisan caps. Soak them in warm — not hot — water with a little dish soap for a few minutes, agitate, rinse thoroughly, and lay them out on a towel to air dry completely (several hours, ideally overnight). Hot water can warp or dull some caps; warm is safe. Never put keycaps in a dishwasher — the heat and detergent are too aggressive.
4. Clean the bare board. With keycaps off, brush and air out the exposed switches and plate. Wipe the case with a barely-damp cloth, using a cleaner approved for its finish. Do not soak, submerge, or run water over the switches or PCB.
5. Dry, then reassemble. Confirm keycaps are bone dry before reinstalling — water trapped under a cap on the stem is a slow corrosion risk. Reinstall using your reference photo. Press stabilized keys (spacebar, enter, shifts) on carefully so the stabilizer stems align; see the stabilizer guide if a big key feels off afterward.
Tier 3: A sticky switch or contamination inside the case
Surface cleaning and internal repair are different jobs. If a single key still binds or registers twice after the exterior is clean and dry, use the keyboard troubleshooting sequence to isolate it. Do not pour cleaner into an assembled switch to see whether the fault clears.
On a compatible hot-swap board, a switch can be removed for inspection or replacement according to the board manual. On a soldered board, replacement requires desoldering; a switch puller does not bypass that attachment. Keep liquid away from the PCB and battery while investigating.
Wooting’s cleaning guide shows a deeper clean in which switches, stabilizers, and the top plate are removed separately. That is a model-specific disassembly sequence, not permission to rinse an assembled keyboard. Check your own service instructions before removing the case or plate.
Take another photo before disconnecting internal cables, keep screws grouped by their original positions, and stop if a part resists removal. A dirty case is not a reason to force a battery connector or pull against an attached ribbon cable. After reassembly, check the spacebar at both ends and the center; the stabilizer guide covers uneven movement.
| Cleaning level | Use it for | Completion check |
|---|---|---|
| Surface | Loose debris and cap-top grime | No pooled liquid or loose debris remains |
| Caps removed | Dirt between keys | Caps are fully dry, correctly aligned, and seated |
| Internal attention | Persistent localized contamination | Follow the service procedure and verify the original fault |
What is safe to wash, and what is not
This is where keyboards get damaged, so it’s worth being explicit.
Safe to wash with water:
- Keycaps (warm water, mild soap, full air dry — never a dishwasher).
Wipe only, never submerge:
- The case (a barely-damp cloth and finish-compatible cleaner).
- The plate and exposed switch housings (brush and air; surface wipe at most).
Never get wet, never submerge:
- The PCB and switches. Water on the electronics is the most common way people kill a keyboard during cleaning. Switches are not designed to be washed in place; flushing them with water or alcohol risks leftover residue and corrosion. If a switch is genuinely fouled, on a hot-swap board it’s faster and safer to replace that switch — see the troubleshooting guide.
The rule of thumb: caps come off and get washed; everything still attached to the board only gets brushed, aired, and surface-wiped.
Spills: act fast
A liquid spill is the one maintenance emergency.
- Disconnect immediately and power off. Cutting power fast is the difference between a save and a dead board.
- Turn it upside down to drain, so liquid runs out rather than deeper into the PCB.
- Do not use a fixed drying time as proof that the internals are safe. If liquid entered the case, follow the maker’s spill guidance or seek repair before reconnecting. Sticky residue may remain after water evaporates, and surface cleaning alone may not reach it.
- Do not power it on to “test” it while damp. Powering a wet board is the single most common way a survivable spill becomes a dead keyboard.
A realistic schedule
You do not need to do much. The honest minimum:
- Weekly–biweekly: brush between keys, quick cap wipe. Two minutes.
- Every few months: full deep clean with caps off, washed and air-dried.
- Immediately: any spill.
- As needed: swap a fouled switch on hot-swap rather than trying to wash it in place.
That is the entire maintenance burden of a mechanical keyboard. It is far less than people fear, and it prevents the majority of the issues in the troubleshooting guide.
What to do next
- Start the two-minute weekly brush habit today — it does most of the work.
- Before any deep clean, photograph the layout.
- Wash only keycaps in water, warm and air-dried; never the PCB, never the dishwasher.
- On a spill, disconnect first and never power a wet board to test it.
For the problems maintenance doesn’t prevent, see the troubleshooting guide. For the keycap wash itself — soak times, what dissolves legends, and the ABS-versus-PBT difference — follow how to clean mechanical keyboard keycaps, and note that PBT and ABS tolerate different methods. To understand why caps and stabs matter to sound as well as cleanliness, the keycaps guide and the rest of our mechanical keyboard guides go deeper.
Related across the network
- How to Clean a Desk Mat and Fix Curled Edges — deskmatreviews.com
Sources
Related
Troubleshooting Common Mechanical Keyboard Problems
A diagnostic guide to common mechanical keyboard problems: dead keys, chatter, stuck keys, wrong characters, and connection drops, with the fix for each.
Best Lube for Keyboard Switches: Krytox vs TriboSys
The best lube for keyboard switches depends on grade, not brand: Krytox 205g0 for linears, TriboSys 3203 for tactiles, and 105g0 oil for springs.
How to Lube Mechanical Keyboard Switches (and Not Ruin Them)
A step-by-step guide to lubing linear and tactile switches: which lube to use, how much to apply, and the mistakes that ruin a whole set of switches.