PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

How to Clean Your Computer Keyboard the Right Way

From the classic shakedown to bathing your keycaps, these easy tips will help restore order to the most important peripheral on your desk.

 & Stephanie Mlot Contributor
 & Chandra Steele Senior Features Writer
Our Experts
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS
(Credit: urbazon / E+ via Getty Images)

We have to talk about your keyboard. It likely has more germs than a toilet seat, which is gross but can also disrupt your device's functionality. With spring upon us, now is the perfect time to clean things up. Disconnect or turn off your keyboard, clear off a work area, and follow these steps.


Turn Your Keyboard Upside Down and Give It a Good Shake

(Credit: Zlata Ivleva)

Place the keyboard on a large cloth or clear surface and turn it upside down, giving it a few good shakes. With the keys facing down, tap the back, then hold the board at different angles and pat it firmly but gently across the entire surface to knock free additional loose particles. Expect a cascade of debris. If you're using a keyboard with removable keycaps (a mechanical keyboard, for instance), carefully pull those off and give the panel another upside-down shake.


Brush Out the Muck

(Credit: Zlata Ivleva)

To remove even more from your keyboard, grab a keyboard brush or even just a toothbrush or bottle brush and run it through the spaces between your keys.


Blow Out Dust and Debris

(Credit: Zlata Ivleva)

Now to get those particles even a brush can miss. Compressed canned air dislodges dust and dirt with a pressurized blast. Before inserting the straw-like plastic hose and blasting away, though, make sure there are no items nearby that will take on whatever gets knocked out of your keyboard.

You might even want to take this part outside or do it over a bathtub or sink. Just remember that canned air tends to create condensation, so be sure to leave some room between the keyboard and hose to avoid any moisture that could damage inner circuitry.

Prop the keyboard sideways on a steady surface, then, using the duster as directed, aim the straw at an angle along the crevices for a series of short bursts. Give the keyboard another few taps, and repeat the process until you're satisfied. You may be surprised at just how much flies out, even if you don't eat at your desk or have pets who climb across your keyboard at the most inopportune times. Removing the keycaps will make this process all the more effective.


Wipe Everything Down

Take a microfiber cloth and dampen it with the tiniest bit of water and wipe down your entire keyboard. Go over it with a dry part of the same cloth. Make sure the keyboard is completely dry before plugging it back in or powering it on.


Give Your Keycaps a Bath

(Credit: Zlata Ivleva)

This tip isn't for everyone; only those with a mechanical keyboard and removable keytops should follow these instructions. Start by snapping a quick picture of your fully assembled keyboard, to avoid mixing up letters, numbers, and commands later. Then simply soak the keycaps in a container of water with a bit of dish soap. After a few minutes, give the keys a scrub with a small brush or rag and set them out to air dry.

About Our Experts

Stephanie Mlot

Stephanie Mlot

Contributor

My Experience

  • B.A. in Journalism & Public Relations with minor in Communications Media from Indiana University of Pennsylvania (IUP)
  • Reporter at The Frederick News-Post (2008-2012)
  • Reporter for PCMag and Geek.com (RIP) (2012-present)

My Areas of Expertise

  • Science & Space
  • Video Streaming Services
  • Social Media
  • Cars & Auto
  • Education

The Tech I Use

  • iPhone 12 Pro
  • MacBook Air (hooked up to a 23-inch Dell monitor)
  • Google Chrome
  • Google Drive
  • Soundcore Life P3 earbuds
  • Various Amazon Echo devices

Read full bio

Chandra Steele

Chandra Steele

Senior Features Writer

My Experience

My title is Senior Features Writer, which is a license to write about absolutely anything if I can connect it to technology (I can). I’ve been at PCMag since 2011 and have covered the surveillance state, vaccination cards, ghost guns, voting, ISIS, art, fashion, film, design, gender bias, and more. You might have seen me on TV talking about these topics or heard me on your commute home on the radio or a podcast. Or maybe you’ve just seen my Bernie meme

I strive to explain topics that you might come across in the news but not fully understand, such as NFTs and meme stocks. I’ve had the pleasure of talking tech with Jeff Goldblum, Ang Lee, and other celebrities who have brought a different perspective to it. I put great care into writing gift guides and am always touched by the notes I get from people who’ve used them to choose presents that have been well-received. Though I love that I get to write about the tech industry every day, it’s touched by gender, racial, and socioeconomic inequality and I try to bring these topics to light. 

Outside of PCMag, I write fiction, poetry, humor, and essays on culture.

My Areas of Expertise

  • Making incomprehensible tech news easy to understand
  • Expanding the boundaries of topics covered in the industry
  • Figuring out tips and tricks in apps and on devices and letting you know about them
  • Putting together gift guides for everyone in your life 

The Technology I Use

All that gadgets is gold for me: my iPhone 11 Pro, my fifth-generation iPad that I use only for streaming videos and music, my iPad mini 4 that I like to take with me whenever I carry a bag that can fit it, and my MacBook Pro. Why are they all different shades of gold, though? What’s going on, Apple? 

None of them quite live up to my two past loves: my LG Lotus LX600 phone and my Sony Walkman NW-E005 MP3 player. 

I've never given up wired earbuds so I was ahead of all those trend pieces. I use a Mangotek Lightning-to-3.5mm headphone jack adapter to connect them to my phone. 

I have had so many ebook readers, but I prefer paper to them all. Still, my Kindle Paperwhite is perfect for traveling or when I’m too impatient to wait for a book to be released in paperback.

Read full bio