Skip to content
GEAREDGAMING

HUB 03 · Best Value

How to Clean a Mechanical Keyboard

A safe routine from a quick surface tidy to a full deep clean — the order to do it in, the tools that help, and the few things that will genuinely damage a board if you get them wrong.

By Stephen V.Updated How we research
#ad

We earn a commission when you buy through our Amazon links, at no extra cost to you. It never affects our rankings, and we say so when the cheaper product is the better buy. How this works.

Cleaning a mechanical keyboard safely comes down to a simple order: power it off and unplug it, clear the surface crumbs and dust with compressed air and a brush, then — for a deeper clean — pull the keycaps off and wash them separately while you brush and wipe the bare board. The two rules that keep you out of trouble: never submerge the keyboard's electronics, and go gently and sparingly with liquid around the switches. Do that, let everything dry completely before you plug back in, and a mechanical keyboard cleans up beautifully and lasts for years.

A mechanical keyboard is one of the easier gadgets to clean well, because the keycaps come off — which lets you get at the crumbs, dust, hair and skin oil that collect underneath and make a board feel and look grimy. The catch is that underneath those keycaps are switches and, below them, electronics, and those are the parts you must not drown. So the whole job is really about separating the parts you can wash freely (the keycaps) from the parts you must treat carefully (the switches and the board). Here is the routine, from a quick tidy to a full deep clean.

Before you start: power off and unplug

Always the first step, every time. Unplug a wired keyboard from the PC; on a wirelessboard, switch it off and, if it is removable, take the battery out. This prevents accidental key presses from doing anything while you clean, and — more importantly — removes the small risk of a short if any moisture reaches the electronics. It costs five seconds and it is non-negotiable. Manufacturer and platform support pages, including Microsoft's device-cleaning guidance, all begin the same way for the same reason.

The quick surface clean (do this often)

For routine upkeep — the tidy you do every week or two — you do not need to remove anything:

  1. Turn the board upside down and give it a gentle shake or tap over a bin. You will be surprised how many crumbs fall out. This alone handles most loose debris.
  2. Blast between the keys with compressed air. A can of compressed air (or an electric air duster) blows dust and crumbs out from around the switches far more effectively than anything else. Work in short bursts, moving across the board; angle the nozzle so debris blows out rather than deeper in. If you use a canned duster, keep it upright and do not tilt it hard, as tipping it can spit cold liquid propellant onto the board.
  3. Brush the loosened dust away.A soft, dry brush — a dedicated keyboard brush, a clean paint brush, or an old soft toothbrush — sweeps out what the air loosened, especially around the base of the switches where dust clings.
  4. Wipe the keycaps and case with a barely-damp microfibre cloth to lift off skin oil and shine. Dry immediately with the other side of the cloth.

That surface routine, done regularly, keeps a board looking and feeling fresh and delays the need for the full strip-down below.

The deep clean (every few months, or after a spill)

When the board is genuinely grubby — sticky keycaps, dust matted between the switches, a crumb-filled tray — it is time to remove the keycaps. This is where a mechanical keyboard really shines, because you can clean the caps thoroughly without ever getting the board wet.

1. Photograph your layout first

Before pulling anything, take a clear photo of the keyboard from above. Keycaps are easy to mix up — especially the modifiers and the number row — and a reference photo saves you guessing where each cap goes when you reassemble. Obvious, and constantly forgotten.

2. Pull the keycaps with a keycap puller

Use a keycap puller — ideally a wire puller rather than the cheap plastic ring type, because the wire style is far less likely to scratch the sides of your caps. Hook it under a keycap and pull straight up; the cap pops off the switch stem. Work across the board, dropping the caps into a bowl. Take extra care with the large stabilised keys— the spacebar, Enter, Shift and Backspace — which sit on wire stabilisers; pull them evenly and gently, and note how the stabiliser bar clips in so you can reseat it. On a low-profile or laptop-style scissor board, do notyank keycaps this way — those clips are delicate and break easily, so a light surface clean is safer for those.

3. Wash the keycaps separately

With the caps off the board, wash them — and only them — in a bowl of warm water with a little dish soap. Let them soak for a while to loosen grime, then agitate or brush the stubborn ones, rinse, and lay them out on a towel to dry. This is the safe way to get keycaps properly clean, because the water is nowhere near the electronics. Two cautions: avoid the temptation to put keycaps through a dishwasher's heated-dry cycle, as heat can warp them or fade the legends; and give them plenty of time to dry — water trapped inside a cap will drip onto the switch when you reinstall it.

4. Clean the bare board carefully

With the caps off, the switches and the tray between them are exposed. Do not pour or spray liquid onto the board. Instead: blow it out thoroughly with compressed air, brush the dust from around and between the switches, and for sticky residue on the plate and case use a microfibre cloth or cotton swab lightly dampened with isopropyl (rubbing) alcohol. Isopropyl is the cleaner of choice here because it lifts oil and grime and then evaporates quickly, leaving no moisture behind — but use it lightly, on the cloth or swab rather than poured on, and keep it out of the switches themselves, since flooding a switch can wash away its internal lubricant and leave it scratchy. Wipe the plate and around the switch housings, not down into them.

5. Let everything dry fully, then reassemble

Before a single keycap goes back on, make sure the caps are completely dryinside and out and the board has had any alcohol flash off. Then use your reference photo to push each keycap back onto its switch stem — line it up and press straight down until it clicks, reseating the stabilised keys carefully onto their bars. Only once everything is dry and reassembled do you plug the board back in or power it on. If your keyboard is hot-swappable, this is also the ideal moment to pull and inspect a sticky switch, since the switches are already exposed — our hot-swap guide covers doing that without any soldering.

What NOT to do

Most keyboard-cleaning disasters come from a short list of avoidable mistakes:

  • Do not submerge the keyboard or its electronics.The keycaps can go in water; the board cannot. Never run a full keyboard under a tap or dunk it — that is how a working board becomes a paperweight. (Custom builders sometimes wash a fully disassembled bare PCB under specific conditions, but that is an advanced procedure, not routine cleaning, and not something to attempt on a normal prebuilt board.)
  • Do not flood the switches with liquid. Keep alcohol and water on the cloth, not poured into the switch housings. Too much liquid in a switch can wash out its lubricant and cause scratchiness or, worse, reach the contacts.
  • Do not reassemble or power on while anything is damp. Trapped moisture in a keycap or on the board is exactly what causes problems once power is reapplied. Patience here prevents the one failure mode that matters.
  • Do not use harsh solvents or abrasive padson keycaps or the case — acetone, bleach and scouring pads can cloud, etch or discolour plastics and strip legends. Mild dish soap and isopropyl alcohol are all you need.
  • Do not force keycaps off a low-profile or laptop-style boardwith a puller — scissor-switch clips are fragile. Stick to a light surface clean for those.

A note on spills

A spill is the one situation that turns cleaning into damage control, and speed matters. If you spill liquid — especially something sugary or sticky — unplug or power off the board immediately, turn it upside down to let the liquid drain away from the electronics rather than into them, and blot what you can. A sugary drink is worse than water because, once it dries, it leaves a sticky film that glues switches and attracts grime, so it needs a proper deep clean of the affected keys (isopropyl on a cloth or swab, sparingly) once you have stopped the immediate damage. Give the board ample time to dry fully — longer than you think — before testing it. It may survive, it may not, but acting fast gives it the best chance.

The short version

Power off and unplug, clear the loose stuff with air and a brush, and for a deep clean pull the keycaps and wash them on their own while you carefully brush and lightly wipe the bare board with isopropyl. Never submerge the electronics, keep liquid off the switches, and let everything dry completely before it goes back together. That routine keeps a keyboard looking new and, more to the point, protects the switches and board that make it worth cleaning in the first place. If a clean reveals a board that is past saving or simply not worth the effort, our best mechanical keyboards and best gaming keyboards under $50 roundups are where to find a good replacement — and if you are moving to a smaller board while you are at it, our keyboard sizes guide will help you pick the layout that fits your desk.

Questions

Frequently asked

How do I clean a mechanical keyboard?
Power it off and unplug it first. For routine cleaning, turn it upside down to shake out crumbs, blow between the keys with compressed air, brush away the loosened dust, and wipe the keycaps with a barely-damp cloth. For a deep clean, pull the keycaps with a keycap puller and wash them separately in warm soapy water while you brush and lightly wipe the bare board, then let everything dry fully before reassembling.
Can you wash mechanical keyboard keycaps in water?
Yes — the keycaps come off and can be washed on their own in warm water with a little dish soap, then rinsed and dried thoroughly. That is the safe way to get them properly clean, because the water is nowhere near the electronics. Do not put them through a dishwasher's heated-dry cycle, which can warp them or fade the legends, and make sure they are completely dry before reinstalling.
Can I use rubbing alcohol to clean my keyboard?
Yes, isopropyl (rubbing) alcohol is a good choice for the plate, case and sticky residue because it lifts oil and evaporates quickly with no leftover moisture. Apply it to a microfibre cloth or cotton swab rather than pouring it on, and keep it out of the switches themselves — flooding a switch can wash away its internal lubricant. Avoid harsh solvents like acetone or bleach, which can damage the plastics.
What should I avoid when cleaning a mechanical keyboard?
Never submerge the board or its electronics — only the keycaps can go in water. Do not flood the switches with liquid, do not reassemble or power on while anything is still damp, and avoid harsh solvents and abrasive pads that can cloud or discolour the plastics. On low-profile or laptop-style boards, do not force the keycaps off with a puller, as the scissor clips break easily.

Keep reading

Receipts

Sources

We do not run a testing lab, and we do not pretend to. Where a measured number came from someone else's lab, we name them and link them. Where we could not verify something, we say so on the page rather than quietly leaving it out. Read our full method.