TechBuzzPro

How to Clean Mechanical Keyboard Switches (Step by Step)

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Cleaning mechanical keyboard switches means removing dust, hair, crumbs and dried grime from the switch stems and the gaps around them so the keys stop feeling scratchy, sticky or unresponsive. You do not need to desolder anything for routine cleaning: the safe method is dry-first (air, brush, cotton swab), then a small amount of isopropyl alcohol only on the stem and housing exterior, never poured inside. If a switch is actually failing, cleaning may not fix it and replacement is the real answer.

Before you start, unplug the keyboard (or switch it off and remove the cable), and take a photo of the layout if you plan to remove keycaps, because putting them back in the wrong row is the most common self-inflicted problem. Labels in keyboard software differ by brand and version, so treat any menu name below as a description rather than an exact string.

What You'll Need

  • A keycap puller (wire style is gentler than plastic ring pullers)
  • A switch puller only if your keyboard has hot-swappable sockets and you intend to remove switches
  • Compressed air or a manual air blower
  • Soft brush (clean, dry paintbrush or anti-static brush)
  • Cotton swabs and lint-free cloths
  • Isopropyl alcohol, 90% or higher
  • Small container or tray for screws and keycaps
  • Optional: dielectric grease or a switch lubricant only if you already know your switches are lubricated and you are re-lubing deliberately

Step-by-Step

  1. Power down and disconnect. Unplug the USB cable. If the keyboard is wireless, switch it off and, if the battery is removable, take it out. Never clean a powered keyboard with liquid.
  2. Photograph the layout. Take one clear photo from directly above. Keycap rows are sculpted differently, and the photo saves you from guessing where the tall and short caps go back.
  3. Remove the keycaps. Pull straight up with the puller, one cap at a time. Work from the edges inward. Put the caps in a tray in rough layout order so you do not have to sort them later.
  4. Dry-clean first. Hold the keyboard at an angle and blow air across the exposed plate and switch stems. Use short bursts and keep the nozzle a few centimetres away so you do not blast debris deeper or spray propellant onto the plastic. Follow with the dry brush to lift hair and dust from around each switch housing.
  5. Clean the switch stems. Dampen (do not soak) a cotton swab with isopropyl alcohol, shake off the excess, and wipe the top of the stem and the rim of the housing. Use a fresh swab per few switches. Do not drip alcohol into the switch; the goal is to clean the surfaces, not to flush the inside.
  6. Work the stem gently. Press each switch down a few times after cleaning to redistribute whatever lubricant is already inside and to check for crunchiness. If a switch still feels gritty, repeat the swab step once. Do not repeatedly flood it.
  7. Clean the keycaps separately. Wash keycaps in a bowl of lukewarm water with a drop of mild dish soap, agitate gently, rinse and air-dry completely on a towel, printed side up. Do not use hot water and do not put them in a dishwasher; heat can warp caps and fade legends.
  8. Let everything dry fully. Give the keyboard and caps at least a few hours, ideally overnight, in a dry room. Any moisture trapped under a cap or inside a switch can cause erratic behaviour.
  9. Reassemble and test. Refit keycaps using your photo, pressing each one straight down until it seats. Plug in and test every key in a text editor or a keyboard tester page, checking for double presses, missed presses and stuck keys.

Common Mistakes

  • Spraying cleaner directly onto the keyboard. Liquid runs down into the switch and the PCB. Always apply cleaner to a cloth or swab first.
  • Using water or household spray cleaner on switches. Water promotes corrosion; ammonia and scented cleaners leave residue that attracts dust. Isopropyl alcohol is the right choice for the switch area.
  • Pulling keycaps at an angle. Twisting bends stabiliser stems and can crack cap stems, especially on spacebars and long keys.
  • Removing switches on a soldered board. If your keyboard is not hot-swappable, pulling a switch will damage it. Check the manual before using a switch puller.
  • Over-lubricating to fix a gritty switch. Excess lubricant collects dust and makes switches feel mushy. A tiny amount goes a long way, and unlubricated switches should stay that way.
  • Reassembling while damp. Even a small amount of moisture under a cap can cause ghost keypresses.

Tips

  • Clean little and often: a two-minute dry brush and air pass every few weeks prevents the buildup that makes deep cleaning necessary.
  • Keep drinks away from the keyboard and use a cover when it is not in use if you eat at the desk.
  • If only a few keys feel bad, clean those switches individually rather than stripping the whole board.
  • Store removed keycaps in a container with a lid if you are not reassembling immediately; small caps get lost easily.
  • For hot-swappable boards, a switch that stays faulty after cleaning can simply be swapped for a new one of the same type.

Troubleshooting

  • A key still does not register after cleaning. Test the same key in another app and, if possible, on another computer to rule out software. If it fails everywhere, the switch itself is likely worn; replace it if the board is hot-swappable, or have it desoldered by someone equipped for it.
  • A key registers twice or sticks. This usually means residue or moisture inside the switch. Let it dry longer, then clean the stem again with a barely damp swab. If it persists, the switch is failing.
  • Keycaps will not go back on. Check you are not forcing a cap from the wrong row, and look for a bent stem or a cracked cap stem. Replace damaged caps rather than gluing them.
  • Several keys stopped working after cleaning. Recheck that the cable is fully seated and the keyboard is switched on, then inspect for moisture. Leave it unplugged to dry for a full day before trying again.
  • Stabilisers rattle after reassembly. The spacebar and other long keys may not be seated evenly. Remove and refit them, pressing down on both ends at once.

Frequently Asked Questions

Can I clean switches without removing keycaps?

You can remove surface dust with air and a brush, but you cannot properly clean stems or the gaps around them. Removing caps is the only way to do it well.

Is isopropyl alcohol safe for mechanical keyboards?

Yes, at 90% or higher, applied to a swab or cloth rather than poured on. Keep it off rubber feet and avoid soaking any part.

Can I wash keycaps in water?

Yes, with lukewarm water and a drop of mild soap, then air-dry completely. Avoid hot water and dishwashers, which can warp caps.

Do I need to lubricate switches after cleaning?

No. Routine cleaning does not remove factory lubricant. Only re-lubricate if you are deliberately servicing switches you know are lubricated, and use a proper switch lubricant sparingly.

How often should I clean the switches?

Dry-clean every few weeks if you eat or snack at the desk, and do a full keycap-off clean every few months or whenever keys start feeling gritty.

Can cleaning fix a switch that does not work at all?

Sometimes, if the cause is debris or dried residue. If it still fails after cleaning and drying, the switch is worn and needs replacing.