1. Electronics
  2. Computers

How to Clean Your Keyboard and Mouse

Updated
A black mechanical keyboard covered in hair and crumbs
Photo: Kimber Streams
Kimber Streams

By Kimber Streams

Kimber Streams is a writer who has been covering laptops and other tech at Wirecutter for more than a decade. They once built a fort out of keyboards.

Even if you don’t regularly shower your mouse and keyboard with Dorito crumbs and lunch mishaps, they’ll eventually become gross as a result of dust, skin particles, hair, and natural hand oils. But less than five minutes of attention each week can keep them feeling fresh. (And, please, don’t eat over your keyboard!)

Mechanical keyboards need a little more TLC than other keyboards, because nasties can and will fall into the larger spaces between the keys. But a deeper clean every couple of months can keep a mechanical keyboard in top shape for years.

A mechanical keyboard with keycaps removed, next to a bottle of isopropyl alcohol, cotton swabs, and a keycap puller tool.
Photo: Kimber Streams
  • Compressed air: Any compressed air will do. I’ve used Falcon Dust-Off.
  • A microfiber cloth: Again, any microfiber cloth will do. I like these MagicFiber ones.
  • A wire keycap puller: If your keyboard didn’t come with one, you’ll need to buy a wire keycap puller to safely remove your keycaps.
  • Dawn dish soap: A couple drops in hot water will thoroughly clean and degrease keycaps.
  • Cotton swabs and isopropyl alcohol: You can use cotton swabs and some high-percentage isopropyl alcohol to spot-clean inside the keyboard.

For a quick clean, plan for five minutes each week. For a deep clean, you’ll need at least 30 minutes, plus drying time, to clean a dirty keyboard and mouse.

Once a week you should unplug your keyboard, flip it upside down, and shake all the gunk out. Then wipe down the keycaps with a microfiber cloth to remove some of the oils your fingers have left behind. While the keyboard is upside down, you can also sparingly use compressed air or a keyboard brush to remove particles after you’ve shaken out the keyboard—but beware that compressed air can blow particles into your switches and make the keyboard feel gritty to type on.

For your mouse, wipe it down with a microfiber cloth to remove skin oils. Use compressed air to blow any dust or particles that have accumulated in the seams and the scroll wheel. Don’t blow air underneath the right and left clicks, since that can blow grit into the switches and cause the mouse to stop working.

If gunk builds up on the feet of your mouse or keyboard, wipe it off with a microfiber cloth or a cotton swab, and use a toothpick to remove the particularly stubborn bits.

A keycap puller tool surrounds a keycap in preparation for removal.
Photo: Kimber Streams

When your keyboard gets too gross—perhaps there’s debris that won’t come out when you shake it, or your keys feel slippery and smooth from hand oils—you’ll need a deeper clean. We recommend this method for mechanical keyboards only, since you can damage some other types of standalone or laptop keyboards (like scissor-switch or membrane keyboards) by trying to remove the keycaps.

Use a wire keycap puller to carefully remove the keycaps by hooking the tool around the edges of each keycap and gently pulling straight up. Put the keycaps in a sealable container (or in a bowl, if that’s all you have handy).

Drizzle in a little Dawn soap, and fill the container with hot water. Seal and gently shake the container, or just swish the keycaps around in the bowl a bit. Let them soak for at least 30 minutes.

A cotton swab being used in between the keys of a keyboard.
Photo: Kimber Streams

While the keycaps are soaking, use some cotton swabs to dust out any lingering particles under the keycaps, around the switches and the stabilizers. If you have any sticky stains in there, dip the end of a cotton swab in some isopropyl alcohol, and give it a scrub to break up the residue. Don’t use the isopropyl alcohol on any keycaps, on the outside of the keyboard case, or on a mouse—it can damage certain materials.

If you wipe lubricant off of the stabilizers during your deep clean, you can add a little more. Look for a silicone-based type that starts with a 92 (PDF).

Damp keycaps scattered over a towel, air drying.
Photo: Kimber Streams

After the keycaps have soaked for at least 30 minutes, give them another shake or swish, and then rinse them with clean water three to five times, until there’s no residue or gunk remaining. Then shake them out—I give mine a gentle toss in a plastic colander—and set them out on a towel to dry overnight. Don’t leave water pooled in the stems of any of the keycaps. Once they’re dry, you can put all the keycaps back on, and you’re done!

A cleaned mechanical keyboard.
Photo: Kimber Streams

Meet your guide

Kimber Streams

What I Cover

I’ve been Wirecutter’s resident laptop expert for more than a decade. In that time, I’ve tested hundreds of laptops—including ultrabooks, gaming laptops, Chromebooks, and budget Windows laptops—as well as thousands of keyboards, mice, and other peripherals.

Further reading

Edit