How to Clean Computer Keyboard
Unplug the keyboard before cleaning with any liquid.
What You'll Need
- 1
- Small amount
- Several
- 1
- Several
Step-by-Step Method
Unplug the keyboard (or turn off wireless). Turn it upside down and shake gently over a trash can. Tap the back to dislodge crumbs.
Hold the compressed air can at an angle and spray between keys in short bursts. Work across the keyboard systematically.
Slide a sticky note (sticky side down) between keys to catch debris the compressed air missed. Or use tape wrapped around your finger, sticky side out.
Dampen a microfiber cloth with 70% isopropyl alcohol. Wipe all key caps and the keyboard surface. Use cotton swabs dipped in alcohol for spaces between keys.
Let the keyboard air dry for 5 minutes before plugging back in.
- Do not spray liquid directly onto the keyboard
- Do not use too much liquid (can damage electronics underneath)
- Do not use bleach or harsh cleaners on key surfaces (damages lettering and plastic)
- An NSF study found the average keyboard has 20,000 times more bacteria than a toilet seat. Monthly cleaning is not optional for hygiene.
- For mechanical keyboards: keycaps can be removed with a keycap puller and soaked in soapy water for thorough cleaning.
- A keyboard cover prevents debris from entering between keys. Clean the cover weekly.
Frequently Asked Questions
Same method but with extra caution on liquid. Turn the laptop off and unplug it. Hold it at an angle and spray compressed air between keys. Clean key surfaces with a lightly dampened cloth. Never spray liquid onto a laptop keyboard or let moisture drip between keys.
Sources & Methodology
Keyboard contamination data from NSF International Home Germ Study. Isopropyl alcohol at 70% is the CDC-recommended concentration for surface disinfection.
Last reviewed: March 20, 2026