TechBuzzPro

How to Clean a Keyboard: Remove Keys Safely

· 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 a keyboard with the keys removed is the only way to get rid of the crumbs, dust and sticky residue that collect under the keycaps. The short version: unplug the keyboard, take a photo of the layout, use a keycap puller to lift each cap straight up, then clean the caps and the exposed plate separately before reassembling. It takes about 30–60 minutes and is safe for most mechanical keyboards. Membrane and laptop keyboards are a different story — their keys are fragile and often not meant to be removed, so read the warnings below before you start.

What You'll Need

  • A keycap puller (wire or plastic) — do not use a screwdriver or knife, which can crack the stems
  • Isopropyl alcohol (70% or higher) and a microfiber cloth or cotton swabs
  • Compressed air or a soft brush
  • A shallow bowl or container for the keycaps
  • Dish soap and warm water for washing keycaps (optional, for grimy caps)
  • Your phone to photograph the layout before removal

Step-by-Step

  1. Unplug the keyboard. Disconnect the USB cable or turn the wireless keyboard off and remove the batteries or dongle. Never clean or remove keys while the keyboard is powered and connected.
  2. Photograph the layout. Take a clear photo of the keyboard from directly above. Keycaps are not always in the same row profile, and putting them back in the wrong spot makes typing feel wrong.
  3. Shake out loose debris. Turn the keyboard upside down and gently shake it over a bin. This removes most crumbs before you start pulling caps.
  4. Remove the keycaps one at a time. Slide the puller under a cap, hook both sides, and pull straight up with steady pressure. Do not twist or lever sideways. Start with a less-used key such as a number row key to get a feel for the tension. Work around the board and keep the caps in a bowl so they do not scatter.
  5. Leave the stabilizer keys for last. Large keys like the spacebar, Enter, Shift and Backspace have stabilizer bars underneath. Pull them straight up and note how the bar sits so you can refit it. On many boards the spacebar has two stems plus a wire; if it resists, stop and check for hidden clips rather than forcing it.
  6. Clean the exposed plate. With the caps off, blow compressed air across the surface at a slight angle, or brush dust toward the edges. For sticky spots, dampen a cloth or cotton swab with isopropyl alcohol and wipe the plate and the tops of the switches. Do not spray liquid directly onto the board and do not let alcohol pool around the switches.
  7. Wash the keycaps if needed. Put the caps in a bowl of warm water with a drop of dish soap and let them soak for a few minutes, then agitate gently with your fingers. Rinse and dry completely — caps must be bone dry before they go back on, so leave them on a towel for several hours or overnight.
  8. Reassemble in the photo order. Press each cap down onto its stem until it seats with a firm click. Refit the stabilizer keys carefully, checking that the wire is seated on both ends before pushing the cap down. Test each key by pressing it to confirm it moves freely.
  9. Plug in and test. Reconnect the keyboard and type in a text editor to check every key registers. If a key feels mushy or does not register, lift that cap and reseat it.

Common Mistakes

  • Pulling caps with a screwdriver or fingernails, which cracks stems and scratches the plate.
  • Twisting or prying sideways instead of pulling straight up.
  • Removing keys on a laptop or a membrane keyboard where the caps are not designed to come off.
  • Putting wet keycaps back on before they are fully dry, which traps moisture inside the switch area.
  • Spraying cleaning liquid directly onto the keyboard instead of onto a cloth.
  • Forgetting the layout photo and mixing up row profiles or the spacebar stabilizer.

Tips

  • Work over a towel so dropped caps do not bounce away.
  • Clean one section at a time rather than dumping all the caps out at once.
  • Use a wire keycap puller for tight caps and a plastic one for delicate or low-profile caps.
  • If your keyboard has hot-swappable switches, you can pull a switch to clean underneath, but only if you are comfortable doing so — otherwise leave the switches in place.
  • Clean the keyboard every few months rather than waiting for visible grime; it keeps the job short.

Troubleshooting

  • A cap will not budge. Stop pulling. Check whether it is a stabilizer key with a hidden clip, and try a wire puller with even pressure on both sides.
  • A stem snapped off. The cap may still press onto the remaining stem, but if the switch stem itself broke, the switch needs replacing on a hot-swappable board or the keyboard needs service.
  • A key feels mushy after refitting. Lift the cap and check that the stabilizer wire is seated on both ends and that no debris is trapped under the cap.
  • A key does not register. Reseat the cap, then test again. If it still fails, the switch may be damaged — do not keep pressing hard, as that can worsen it.
  • Liquid got inside. Unplug immediately, turn the keyboard upside down, and let it dry fully for at least 24–48 hours before powering it on again.

Frequently Asked Questions

Can I remove keys from a laptop keyboard?

Generally no. Laptop keycaps use fragile scissor clips that are easy to break and hard to refit. Clean laptop keyboards with compressed air and a slightly damp cloth instead, and check the manufacturer's guidance before attempting anything more.

Can I remove keys from a membrane keyboard?

Most membrane keyboards are not designed for keycap removal. Some allow it, but the caps and stems are more fragile than mechanical ones. If the manufacturer does not say the caps are removable, do not pull them.

How often should I remove the keys to clean?

Every few months is enough for most people. If you eat at the desk or the keyboard sits in a dusty room, clean more often. A quick shake-out and surface wipe between deep cleans keeps debris down.

Can I put keycaps in a dishwasher?

No. Dishwasher heat and detergent can warp caps and damage legends. Hand-wash in warm water with a drop of dish soap and dry fully.

Is isopropyl alcohol safe on keycaps?

It is fine for wiping the plate and switch tops, but avoid soaking caps in it, especially printed or coated caps, because it can dull the finish over time. Use soap and water for the caps themselves.

What if I lost the layout photo?

Most keyboards follow a standard layout, and the cap shape (row profile) usually makes the correct position obvious. Refit the letter and number rows first, then the modifier keys, and check the spacebar stabilizer orientation before pressing it down.