How to clean and maintain a mechanical keyboard
Dust, oil, and crumbs collect on every keyboard whether anyone notices or not. A light routine on a fixed cadence keeps a board feeling and sounding like day one — no teardown required.
Every keyboard on a desk collects the same debris, whether it's a budget office board or a four-figure custom build: skin oil, dust, crumbs from lunch eaten too close to the keys. None of it ruins a keystroke on its own. It accumulates quietly, and the board that gets a light pass on a fixed schedule feels different, years in, from the one that never does.
This is the maintenance guide, not the build guide — it assumes switches are already lubed the way the builder wants and focuses on keeping that state. For the mod itself, see lubing switches and the stabilizer servicing guide.
Why maintenance matters
Dust settles into switch gaps and stabilizer wells, where it mixes with lube over months and turns from a fine powder into a gritty paste — the kind that produces a faint scratch on keystrokes that used to be smooth. The same debris works its way into whatever sound-dampening foam sits beneath the plate, one more reason the layers covered in sound dampening, compared age differently than a bare case.
Skin oil transfers from fingertips to keycap tops on every stroke, and on the heaviest-use keys — home row, space bar, the WASD cluster on a gaming board — it slowly polishes the plastic into keycap shine: a glossy patch where the molded texture used to be. ABS shines faster than PBT because the polymer is softer, but no material is fully immune over a long timeline.
Ambient moisture is a quieter risk. A humid room or a drink set down too close can encourage oxidation on exposed contacts — stabilizer wires, switch leaves, PCB traces — which is a common cause of a switch that used to register cleanly and now double-types or drops keys. A dry environment and periodic dusting head most of this off before it starts.
A regular light-cleaning routine
Most keyboard maintenance isn't deep intervention. It's a short, boring routine repeated often enough that debris never builds into something that needs disassembly.
A manual pump duster, or compressed air used carefully. Either clears loose dust and crumbs from between keycaps and out of the switch gaps. A squeeze-bulb duster is the safer default — canned air can spit cold propellant residue if the can tips off vertical. Short bursts, board tilted so debris falls away rather than deeper in.
A soft brush for switch gaps and stabilizer wells. An anti-static brush or a clean paintbrush reaches into the gap around each stem and into stabilized-key wells, where crumbs settle in ways a duster alone can't dislodge — see stabilizers explained for why those wells collect debris in the first place.
Keycap puller technique. A wire-style puller straddling the keycap from two sides and lifting straight up is safer than a ring-style puller, which can twist and mark softer legends. Pulling a handful of heaviest-use keys periodically catches debris before it changes the feel.
A microfiber wipe for the case. A dry or barely-damp microfiber cloth across the top plate and deck removes the handling-oil film without the scratch risk of a rougher cloth.
Cadence. A quick weekly pass — duster and a wipe-down, under a minute — keeps loose debris from settling. A monthly pass with the brush reaching into stabilizer wells and a spot-check keycap pull catches what the weekly pass misses. Heavy daily use or a dusty, food-adjacent desk warrants tightening that schedule.
Deep cleaning
Deep cleaning is a keycap-off session, worth doing when shine is visible, when six months or more have passed since the last one, or when debris shows up under the keycaps even after a light pass.
Keycap soak. Pull the set and soak in mild soap and water — a few drops of dish soap in a basin handles most of the oil film and grime. For pad-printed or laser-etched legends rather than dye-sublimated or doubleshot ones, a soft wipe beats a scrub; a cotton swab dampened with isopropyl alcohol works well for spot-cleaning those specifically.
Dry completely before reinstalling. Trapped water under a keycap or in the stem cavity doesn't evaporate quickly, and reinstalling while damp invites a musty smell days later. A full day of air-drying stem-side up on a towel is the safer default.
Hot-swap sockets versus desoldering. Hot-swap lets a single contaminated or scratchy switch come out in seconds with no soldering — the main maintenance advantage of the format. A soldered board needs desoldering to pull a switch, which most builders reserve for switches that are actually failing rather than routine cleaning. Desoldering the whole board just to wipe housings from outside is rarely worth it.
Liquid spill response
A spill is the one scenario where speed matters more than technique. What happens in the first thirty seconds decides more than anything done afterward.
Power down and disconnect immediately. Unplug the cable, or hold a wireless board's power switch off. Liquid bridging two live contacts is what actually damages components — a board disconnected fast enough often survives a spill that would have shorted something out live. Whatever cable was plugged in is worth a look afterward too — see keyboard cables, compared for what a connector actually needs to tolerate.
Flip the board and pull keycaps. Tipping it lets standing liquid drain away from the switches instead of pooling, and removing keycaps — at least in the affected area — exposes the stems and stabilizer wells to air and to direct cleaning.
Blot, don't wipe. A cloth pressed straight down onto standing liquid pulls it up; a sweeping wipe pushes it sideways into housings and wells it hadn't reached.
Isopropyl flush for sticky residue. Water blots up cleanly, but soda, juice, or sweetened coffee leaves a sticky film once the water evaporates — the real cause of keys that stick well after the spill itself is gone. A swab or syringe with 90%+ isopropyl alcohol, worked into the switch stems and stabilizer wells, cuts through it.
Full dry-out before reassembly. Measured in days, not hours — a switch or PCB can feel dry on the outside while holding moisture inside a housing. Reassembling and powering on too early is how a recoverable spill turns into a switch or PCB that has to be replaced. A fan on the open board, or a sealed container with desiccant, speeds the process without adding heat.
Expectations matter here. A fast response to a plain-water spill often saves a board completely. A sugary or acidic spill, even with a fast response, has a real chance of leaving switches that need replacing rather than salvaging — a cheap fix on a hot-swap board, a repair job on a soldered one.
Longevity habits
The habits that matter most are the boring ones.
Keep food and drink away from the desk. The single highest-leverage habit here, because it prevents the spill scenario above from coming up at all.
Match cleaning method to case material. Aluminum tolerates a damp microfiber wipe-down — watch for standing moisture around exposed fasteners, which can corrode if left wet repeatedly. Plastic and polycarbonate cases scratch more easily under an abrasive cloth, so a soft microfiber matters more there. Anodized finishes can dull under harsh solvents; mild soap and water is the safer choice for a case exterior, keeping isopropyl alcohol for legends and switch contacts. Case material was also a factor in choosing a mounting style in the first place, and the two decisions keep pulling in the same direction over the life of the board.
Know when re-lubing is worth it again. A board that sounded quiet and turns scratchy after a long stretch of use, or after a deep clean that involved pulling switches, is a reasonable candidate for a light re-lube rather than a full rebuild — see lubing switches for the steps. This is occasional, triggered by a change in feel, not a fixed schedule.
Store idle boards deliberately. A dust cover or case bag, stable moderate humidity rather than a damp closet, and no direct sunlight — UV exposure yellows ABS keycaps over time, covered in more detail in retrobrighting keycaps.
No single habit here does much alone. Stacked together — food kept off the desk, a weekly dusting pass, a monthly deeper check, a fast reaction to spills — they add up to a board that keeps its feel for years instead of months. Pair every keycap-off session with a quick stabilizer check: debris in the wells is a common cause of a stab that used to be quiet developing a new rattle, and the stabilizer servicing guide covers the fix.
Keep reading
- Guides
Keyboard cables, compared: coiled, straight, and the connector that actually matters
Every builder eventually stares at a cable dropdown and has to decide whether to care. Here's what coiled versus straight actually changes, and why the keyboard-side connector — not the color of the sleeve — is the decision that follows the board for its whole life.
thock9 min read - Guides
Stabilizers explained: from stock rattle to silent smoothness
Stabilizers are the most acoustically influential component most builders treat as an afterthought. Understanding what they are and why they fail changes every build that follows.
thock12 min read - Guides
Lubing 101: what matters, what doesn't, and where to stop
Lube moves the sound and feel of a switch in ways nothing else in the build can. It also chews up a Saturday and ruins switches when applied with the enthusiasm the rabbit-hole crowd recommends. Here is the version that earns its keep.
thock9 min read - Guides
Sound dampening, compared: case foam, plate foam, PE foam, and the tape mod
Four layers, four very different jobs. Here is what each sound mod actually changes, where it sits in the build stack, and the order to stack them in if you only have time for one or two.
thock9 min read