How to Clean a Mechanical Keyboard

How to clean a mechanical keyboard — keyboard with keycap puller

A mechanical keyboard can survive 50 to 80 million keypresses per switch, but only if you look after it. Dust, crumbs, skin oil and the occasional coffee spill work their way under the keycaps, and over months they turn a crisp board into a gritty, sticky one. Learning how to clean a mechanical keyboard properly takes less time than most people think: a two-minute weekly routine, a 20-minute clean once a month, and a deep clean once or twice a year will keep almost any board feeling new. This guide covers all three levels, the tools you need, the mistakes that damage boards, and what to do when something goes wrong.

Why Cleaning Your Mechanical Keyboard Matters

Every keypress moves a physical switch — a stem sliding inside a housing, a spring compressing, metal contacts meeting. That mechanism is precise, and precision hates grit. A few grains of sand or a film of skin oil inside a switch housing is enough to make a key feel scratchy, sound dull, or register twice. Left alone, debris holds moisture against the metal contacts, and that is how a switch starts to fail. Cleaning is also the cheapest upgrade a keyboard can get: a tired board usually does not need new switches, it needs 45 minutes and a bowl of warm water.

What You Need to Clean a Mechanical Keyboard

You do not need a specialist kit. Everything below is cheap, and most of it is probably already in your house.

  • Keycap puller — wire type, not the plastic ring type, which scratches keycap edges.
  • Compressed air — a can with a straw nozzle, or a rechargeable electric duster. Hold the can upright.
  • Isopropyl alcohol, 90% or higher — dissolves oils and evaporates fast. Skip 70% rubbing alcohol: the extra water can damage switches and the PCB.
  • Microfiber cloths — lint-free, at least two.
  • Soft-bristle brush — a clean paintbrush or soft toothbrush.
  • A bowl, warm water, and a drop of mild dish soap — for soaking keycaps only, never the board.
  • A phone or camera — one photo of the layout before you pull a single keycap.

Before you start: unplug the keyboard (or switch a wireless board off), take the layout photo, and clear a clean, dry workspace. Never clean a keyboard while it is plugged in.

How to Clean a Mechanical Keyboard in 3 Levels

The right clean depends on how dirty the board is. Pick the level that matches what you see and feel. HP’s three-level cleaning guide uses the same three tiers, and it is a useful cross-check if you want a second opinion on timing and materials.

Cleaning level Time needed How often What it fixes
Level 1 — Quick clean 2 minutes Weekly (every 2–3 days for heavy use) Surface dust, crumbs, fingerprints
Level 2 — Regular clean 15–20 minutes Every 1–2 months Oils, grime under keycaps, dull feel
Level 3 — Deep clean 45–60 minutes Every 6–12 months Heavy grime, sticky keys, a full refresh

Level 1 — The 2-Minute Quick Clean

Cleaning a mechanical keyboard with compressed air

Unplug the keyboard, turn it upside down over a bin, and tap the back firmly a few times. Then hold the board at an angle and blow compressed air across the rows in short one- to two-second bursts, working row by row so debris escapes instead of being driven deeper. Keep the can upright. Finish by wiping the keycap tops with a dry microfiber cloth. Do this weekly if you type all day, or every two to three days if you eat at your desk.

Level 2 — The 20-Minute Regular Clean

If you only learn one method for how to clean a mechanical keyboard, make it this one. It is the clean that keeps a board feeling new, and most people should do it monthly.

  1. Photograph the layout. The photo removes all doubt during reassembly — especially on compact boards. If you are unsure how your board is laid out, our guide to keyboard sizes and layouts explains full-size, TKL, 60% and smaller boards.
  2. Pull the keycaps. Start with ordinary keys; leave spacebar, Enter and Shift for last. Pull straight up — stabilizers are wire mechanisms that keep long keys level, and yanking a spacebar at an angle can pop the wire out.
  3. Blow out the plate. Short bursts of compressed air and the soft brush, clearing the exposed plate and the gaps around the switches.
  4. Wipe the keycaps with a cloth dampened with a little 90%+ isopropyl alcohol.
  5. Wipe the plate with the same barely-damp cloth, keeping liquid away from the switch openings. Never spray anything directly onto the board.
  6. Reassemble and test. Press each keycap firmly onto its stem, using your photo as the map. Plug in and type a few lines, checking every key.

Level 3 — The Deep Clean (45–60 Minutes)

Soaking mechanical keyboard keycaps in warm soapy water

When keys feel gritty, sound different, or the board has survived a spill, it is time for the full version of how to clean a mechanical keyboard.

  1. Photograph the layout, then remove every keycap, row by row, stabilized keys last.
  2. Soak the keycaps in warm — not hot — water with a tiny drop of mild dish soap for 30 to 60 minutes. Hot water can warp thin ABS keycaps.
  3. Clean the board while the caps soak. Compressed air, then the soft brush, then a cloth lightly dampened with 90%+ isopropyl alcohol. Press each switch a few dozen times; a gritty switch gets a short burst of air.
  4. Rinse the keycaps under lukewarm water and lay them face down on a towel. Dry completely — at least two hours, overnight if you can. A drop of water trapped in a keycap stem can end up inside a switch.
  5. Reassemble using your photo, press every cap home, and test every key.

Worked Example: Bringing a Grimy Daily-Driver Keyboard Back to Life

Maya types on the same mechanical keyboard eight hours a day and eats lunch at her desk. After two years, the WASD cluster and spacebar were shiny with wear, Enter sometimes needed a second press, and a coffee spill six months earlier had left the bottom row tacky. She was about to buy a replacement. Instead, she learned how to clean a mechanical keyboard the deep way.

She pressed every key and wrote down the problems: sticky Enter, gritty spacebar, shiny caps. Two keys with a real fault, the rest just dirty — a Level 3 clean, not a repair. Photo, caps off row by row, caps soaking in warm soapy water while she brushed and blew out the plate. The spacebar stabilizer wire had dried coffee on it; she wiped it with an alcohol-dampened cotton swab until it moved freely. Caps dried face down overnight — damp caps are the most common way a deep clean goes wrong. Ten minutes to reassemble with the photo, then a typing test: Enter registered first time, every time, and the spacebar felt smooth again.

The board felt close to new, for the price of a bottle of isopropyl alcohol she already owned. Her checklist for next time: quick clean every Friday, regular clean on the first of the month, deep clean every six months — and no more coffee on the same side of the desk as the keyboard.

Your turn — the decision checklist:

  • Keys feel gritty or sound different? → Level 2 or 3, not Level 1.
  • A key sticks or double-registers? → Level 3, then the sticky-switch fix below.
  • Just dust and fingerprints? → Level 1 is enough.
  • Spill in the last 24 hours? → Skip straight to the spill section below.

How to Clean Mechanical Keyboard Keycaps by Material

Keycaps are not all the same plastic, and the material decides how hard you can be with them.

Material Feel and look Cleaning rules
ABS Smooth, shiny with wear, most common on stock boards Warm water only — hot water can warp thin ABS caps.
PBT Matte, textured, resists shine, common on premium keycap sets Handles slightly warmer water. Same soak and dry rules.

If you are not sure which material your caps are, treat them as ABS: warm water, mild soap, full drying time. And if the deep clean has you thinking about a fresh look, our roundup of the best keycap sets covers the materials, profiles and makers worth knowing. Never put keycaps in a dishwasher — the heat and detergent are too aggressive, and a warped cap will never sit straight on its switch again.

How to Fix a Sticky Mechanical Keyboard Switch

A single sticky key after a deep clean usually means residue inside that one switch, not a dead board. This is the one spot in how to clean a mechanical keyboard where precision matters most — fix it before you consider replacing anything.

  1. Pull the keycap off the sticky key.
  2. Put 1–2 drops of 90%+ isopropyl alcohol directly into the switch housing. Do not flood it.
  3. Press the exposed stem 20–30 times, firmly and smoothly, to work the alcohol through and dissolve the residue.
  4. Let it dry for 10–15 minutes. Do not use the key until it is fully dry.
  5. Test the key. If it still sticks after a second attempt, the switch itself may be worn and need replacing.

It helps to know which switch you are dealing with: clicky switches like Cherry MX Blue are more sensitive to debris than linear ones. Our guide to Cherry MX switches explains the common types — Red, Brown, Blue, Black and Speed — so you can tell a dirty switch from a dying one. On a hot-swappable board you can pull the whole switch out and swap it; on a soldered board, the alcohol method is the safe limit unless you solder.

What to Do When You Spill Liquid on a Mechanical Keyboard

Speed matters more than technique in the first five minutes after a spill — that is the real emergency version of how to clean a mechanical keyboard.

  1. Unplug immediately. For a wireless board, hit the power switch or pull the batteries. Never test a wet keyboard to “see if it still works” — power plus water is what kills boards.
  2. Flip it upside down over a towel so liquid drains away from the switches and PCB. Do not shake it: shaking spreads liquid deeper.
  3. Drain for at least 30 minutes, blotting gently with a dry cloth.
  4. Remove the keycaps from the spill zone and blot the switches and plate dry.
  5. For anything but plain water — coffee, juice, cola — treat every affected switch with the alcohol method above. Sugary drinks dry into a sticky, conductive film that eats contacts over weeks.
  6. Air dry fully, upside down, for at least 24 hours in a warm, ventilated spot. Then reconnect and test every key.

Plain water is the survivable case: 48 hours of inverted drying and most boards come back. A sugary spill is a bigger job — budget the deep clean, and accept that one or two switches may need replacing.

How to Clean a Mechanical Keyboard Without Removing the Keys

Not every board invites keycap removal. Laptop keyboards use fragile scissor mechanisms that do not forgive prying, and some low-profile boards have caps that are not meant to come off. For those, the caps-on method is the whole routine: unplug or power off, hold the board upside down and shake gently, blow compressed air across the keys from several angles, and wipe the surfaces with a barely damp microfiber cloth. If a laptop key actually sticks, try a careful alcohol wipe around the key edges and patience — not force.

Can You Wash Mechanical Keyboard Keycaps in Water?

Yes — keycaps, and only keycaps. Warm water with a drop of mild dish soap, a 30-minute soak, a gentle scrub, a rinse, and a full dry is the safest deep clean there is. What you must never wash is the board itself: no water on the switches, the plate, or anywhere near the PCB. Water on the board means corrosion and shorts; water on the keycaps, properly dried, means nothing at all. Keep the water warm, never hot, or thin ABS caps can warp.

How Often Should You Clean a Mechanical Keyboard?

Once you know how to clean a mechanical keyboard at all three levels, the schedule is simple. Match it to how hard the board works.

  • Weekly: Level 1 quick clean.
  • Monthly: Level 2 regular clean.
  • Every 6–12 months: Level 3 deep clean.
  • Immediately: Any spill, and any key that starts sticking or double-registering.

Put the monthly clean on a calendar reminder and it stops being a chore. The boards that last a decade are rarely the expensive ones — they are the ones somebody wiped down once a month.

Mistakes to Avoid When You Clean a Mechanical Keyboard

  • Using 70% rubbing alcohol. The extra water can damage switches and the PCB. Use 90% or higher, sparingly, on a cloth — never poured.
  • Spraying liquid directly onto the board. Liquid belongs on the cloth or in the keycap bowl, never on the switches.
  • Cleaning while plugged in. Unplug first, every time. A wet switch under power can short the board.
  • Yanking stabilized keys at an angle. Spacebar, Enter and Shift sit on wire stabilizers. Pull straight up, slowly, or the wire pops out.
  • Reinstalling damp keycaps. Water trapped in a cap stem ends up inside a switch. Dry caps face down, overnight if you can.
  • Using hot water on ABS keycaps. Warm is enough; hot water warps them.
  • Using a vacuum cleaner on the exposed board. Static from a household vacuum can damage electronics. Compressed air and a soft brush are the safe tools.

If you are building or rebuilding a board rather than just cleaning one, the same care applies at every step — our guide to how to build a custom mechanical keyboard walks through the full assembly, including stabilizer installation and lubrication.

How to Clean a Mechanical Keyboard: The Routine That Keeps It New

A mechanical keyboard does not need much — two minutes a week, twenty minutes a month, and one deep clean a year. That routine protects the switches, keeps the sound crisp, and stretches a board’s life from a few years to a decade. Start with the quick clean this week, and the next time your board starts feeling tired, clean it before you replace it. You will usually find the board was never broken — it was just dirty.

Share your love

Leave a Reply

Your email address will not be published. Required fields are marked *