Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Clean Your Mechanical Keyboard Step by Step

· 6 min read · Home Tech

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

Cleaning your mechanical keyboard removes dust, crumbs, and oils that can make switches feel gritty and keys stick. You don’t need to disassemble everything—a thorough clean takes about 30 minutes. First, unplug the keyboard (or turn it off if wireless) and take a photo of the layout so you remember where each keycap goes. If your keyboard has RGB lighting, avoid submerging the board in water; use damp cloths and isopropyl alcohol instead.

What You'll Need

  • Keycap puller (wire-style is best; plastic ring pullers can scratch)
  • Small bowl or container (shallow, for keycaps)
  • Warm water and mild dish soap (for keycaps)
  • Isopropyl alcohol (70% or higher) in a spray bottle
  • Microfiber cloths (lint-free)
  • Soft-bristle brush (clean paintbrush or makeup brush works)
  • Compressed air (optional, but handy)
  • Cotton swabs (for tight spots)
  • Toothpicks or plastic spudger (for stubborn debris)

Step-by-Step

  1. Unplug and power down. Disconnect the USB cable or turn off the wireless switch. This prevents accidental key presses and protects the electronics from static or liquid.
  2. Take a photo of the layout. Use your phone to capture the full keyboard. This is your reference for reinstallation, especially for non-standard rows like the spacebar, shift, and enter keys.
  3. Remove all keycaps. Use a wire keycap puller. Gently pull straight up—do not twist. Start with the outer keys, then work inward. Place each keycap in your bowl. If some keys are tight, wiggle slightly while pulling up. Do not force it; you might break the stem.
  4. Clean the keycaps. Fill a bowl with warm water and a few drops of mild dish soap. Submerge the keycaps and let them soak for 15–20 minutes. Swish them around occasionally. Rinse each keycap under running water, then lay them on a towel to air dry. Do not use hot water—it can warp ABS plastic. Do not put them in the dishwasher.
  5. While keycaps soak, clean the bare keyboard plate. Turn the keyboard upside down and gently tap it to dislodge loose crumbs. Use compressed air to blow out dust from between switches—hold the can upright and use short bursts. Then use the soft brush to sweep away remaining debris.
  6. Wipe the plate and switches. Dampen a microfiber cloth with isopropyl alcohol (70% is fine). Wipe the top plate and the sides of each switch. For stubborn grime between switches, wrap a cotton swab with a bit of alcohol and carefully clean around the switch housings. Do not let liquid drip into the switches—keep the cloth just damp, not wet.
  7. Clean the case and underside. Use the same damp cloth to wipe the outer plastic casing and the bottom of the keyboard. For rubber feet, a dry brush works well.
  8. Dry everything completely. Wait at least 30 minutes for the keycaps and the board to dry. If you used alcohol, it evaporates quickly, but the keycaps need time to dry fully—any moisture left can cause corrosion or short circuits.
  9. Reinstall the keycaps. Refer to your photo. Align each keycap over its stem and press down firmly until it clicks into place. For larger keys (spacebar, shift), ensure the stabilizer wires are seated correctly—press the keycap down evenly on both sides. Test each key by pressing it a few times.
  10. Final test. Plug the keyboard back in and test all keys using an online keyboard tester or just type normally. If any key feels off, remove that keycap and re-seat it.

Common Mistakes

  • Using too much liquid. Spraying cleaner directly onto the board can seep into switches and cause damage. Always apply liquid to a cloth first.
  • Soaking keycaps in hot water. Heat warps ABS plastic, making keycaps uneven. Use lukewarm or cool water.
  • Pulling keycaps at an angle. This can bend or snap the switch stem. Pull straight up.
  • Forgetting the stabilizers. The spacebar and shift keys have metal wires; if you don’t align them when reinstalling, the key will feel mushy or stick.
  • Skipping the photo. Without a reference, you might put keycaps back in the wrong order, especially if you have a non-standard layout.
  • Using a vacuum cleaner. The strong suction can pull off switch tops or damage the PCB. Stick to compressed air and brushes.

Tips

  • Clean your keyboard every 2–3 months if you use it daily, or more often if you eat near it.
  • Use a keycap puller that comes with a handle—the ring-style ones can scratch the keycap edges.
  • For sticky residue (like soda), use a cotton swab dipped in isopropyl alcohol and gently rub the affected area. Let it dry completely before reinstalling the keycap.
  • If your keycaps are made of PBT plastic, they are more resistant to heat and chemicals than ABS. Check your keyboard’s manual if unsure.
  • Consider using a keyboard cover or dust cover when not in use to reduce buildup.
  • If you have hot-swappable switches, you can remove them for a deeper clean—but only if you’re confident. Otherwise, leave them in place.

Troubleshooting

If a key doesn’t register after cleaning: Remove the keycap and check if the switch stem is intact. Press the switch directly with your finger—if it works, the keycap was misaligned. If it still doesn’t work, the switch may have gotten liquid inside. Let it dry for 24 hours and test again. If it still fails, you may need to replace the switch (if hot-swappable) or consult a professional.

If a key feels sticky or mushy: The stabilizer wire may be misaligned. Remove the keycap, reseat the wire into its clips, and press the keycap down evenly. Also check for any debris under the stabilizer.

If keycaps are still wet after 30 minutes: They may be thick or double-shot. Leave them to dry for another hour. Do not use a hairdryer—heat can warp them.

If the keyboard isn’t recognized after plugging in: Unplug, wait 10 seconds, and plug it back in. Try a different USB port. If it still doesn’t work, check if the keyboard has a reset button (some do) or try a different cable if it’s detachable.

If you accidentally dropped a keycap into the sink drain: Retrieve it if possible. If not, you can buy replacement keycaps online—just match the switch type (Cherry MX, etc.) and row profile.

Frequently Asked Questions

Can I use a dishwasher to clean keycaps?

No. The heat and water pressure can warp or discolor keycaps. Hand washing with mild soap is safest.

Is it okay to use rubbing alcohol on the PCB?

Only on the plate and switch tops, not directly on the PCB. If you spill alcohol on the PCB, let it dry completely before powering on—it can cause shorts if still wet.

How often should I clean my mechanical keyboard?

Every 2–3 months for normal use, or monthly if you eat or drink near it. If you notice keys feeling gritty or sticking, clean it sooner.

Can I use a vacuum cleaner to remove dust?

It’s risky—the suction can pull off switch tops or damage the PCB. Use compressed air or a brush instead.

Do I need to remove the switches to clean them?

No, unless you spilled liquid directly into a switch and it’s not working. For regular cleaning, wiping around the switch is enough.

What if my keycaps have a different profile (OEM vs. Cherry)?

That only affects the shape, not the cleaning method. Just be careful to reinstall them in the correct row—refer to your photo.