How to clean your keyboard

keyboard clean
(Image credit: Future)

Keyboards are often one of the dirtiest parts of your whole PC set up. They are front and centre for all kinds of use, and often fall victim to the most spills. Thanks to their very nature keyboards are filled with canyons and crevice's just waiting to collect all the dust, hair, and crumbs they possibly can. 

But the good news is keyboards are really easy to clean, especially if no liquid spills have been involved. Giving your keyboard a nice little blow out now and then can help keep the keys moving freely for longer and is a super simple act of general maintenance. If you've done a bit of a whoopsie that needs immediate attention, at least give our cleaning guide a go before you go and spend good money on a new board. Before you go looking at the next best gaming keyboard of your dreams, give old faithful a bit of a chance with some of our restoration tips.

Get your tools

Any good keyboard cleanout should start with a quick tool check. You don't need much to get that board spic and span, but here are a few inexpensive items it's good to have on hand before you get started.

keyboard clean

(Image credit: Future)
  • Cotton tips - You can buy a box of eighty million of these at your convenient local store.
  • Compressed Air - A can of compressed air will last you longer than you think, and is great for quick controlled bursts that can make short work of hair, dust, and crums.
  • A mini vacuum/blower - If you're sick of buying compressed air you can get one of these pretty cheap. They're not as direct or as powerful but they'll do the job and you can just recharge it instead of needing a new can.
  • A lint free cloth - Cotton is often the best here. Keep it in a safe dust free space for best results.
  • Isopropyl alcohol - If you're wanting to remove stains, then you're going to want some of this to do it safely.
  • Keycap puller - You can just use a knife, but these are cheap and make the job much easier.

How to clean your keyboard

1. Getting rid of dust and dirt   In between those keys you're likely to find a bunch of general dirt. It's going to be made up of dead skin, dust, dog hair, and whatever else is drifting around your home. You can start by making sure the board is off and unplugged and giving it a good shake. This can remove a lot of the main offenders, especially if your keys are a little roomy. 

2. Use a blower or vacuum — If it's worse, thankfully all this should need is a nice spin with a blowing tool like compressed air, or even a vacuum with a brush head to completely clean out. Use it in the same direction along the board to make sure you aren't just blowing dust back and forth. It can help to aim between the keys where possible.

keyboard clean

(Image credit: Future)

3. Remove the keys — For the worst offenders, you may even need to take the keys off to really get in all the nooks and crannies. Most gaming keyboards now days support removable keycaps, but it's still a good idea to check before you remove any keys for that ultra deep clean. Make sure to take a picture of your board before you start so you have a reference for putting the keys back when you're done.

keyboard clean

(Image credit: Future)

4. Dealing with liquids and caked on mess — If you haven't already removed your keys and you can, it's time to get plucking, but as usual it's good to make sure your board is turned off and disconnected from power first. Having the keys gone should give you a much clearer view of your board so you can really see where your dirty problem areas are.

5. Dry scrub — Go in with a dry cotton swab or something similar first, sometimes you can get rid of the problem just with a light but direct scrub. If not, you're going to want to introduce some isopropyl.

6. Using Isopropyl —Take a lint free cloth and dip it into some isopropyl alcohol/acetone. Line the cloth up with the gap between your keys and rub it through them a few times, always moving in the same direction. If you have enough room between key caps you can use the same process with a cotton swab or similar.

7. Wash the keys —If you've felt the need to remove your key caps, and they don't have any electronic parts feel free to give them a good rinse in water. Just make sure they're fully dried off afterwards.

keyboard clean

(Image credit: Future)

Once your cleaning is complete, make sure everything is completely dry before plugging the keyboard back in. When you're ready, connect it back up to your PC and test that each of the keys works as intended. If not, pop the keycap off to make sure that you didn't leave anything under it like a piece of cotton swab during surgery. Hopefully this will have your keyboard back to good health

Hope Corrigan
Hardware Writer

Hope’s been writing about games for about a decade, starting out way back when on the Australian Nintendo fan site Vooks.net. Since then, she’s talked far too much about games and tech for publications such as Techlife, Byteside, IGN, and GameSpot. Of course there’s also here at PC Gamer, where she gets to indulge her inner hardware nerd with news and reviews. You can usually find Hope fawning over some art, tech, or likely a wonderful combination of them both and where relevant she’ll share them with you here. When she’s not writing about the amazing creations of others, she’s working on what she hopes will one day be her own. You can find her fictional chill out ambient far future sci-fi radio show/album/listening experience podcast right here. No, she’s not kidding. 

With contributions from
Read more
Asus ROG Strix Scope II 96 Wireless and Keychron Q3 Max on grey background
Best gaming keyboards in 2025: the fastest, smoothest and loveliest keyboards I've tested
Asus ROG Strix Scope II 96 Wireless and Mountain Everest 60 gaming keyboards on grey background
Best mechanical keyboards in 2025: the clacky boards I'd buy in a heartbeat
DirkMcGirk's mechanical cheeseboard on a platter of fruits and crackers
I've never wanted a keyboard with cheese keycaps and a little mouse on it until I saw this one
The keys of the Keychron Q3 Max appear blurry behind a clearer frame that carries the words 'PC Gamer. Best Gaming Keyboard 2024.'
PC Gamer Hardware Awards: The best gaming keyboard of 2024
The best wireless gaming keyboards
Best wireless gaming keyboard in 2025: my top picks for cable-free typing delights
Wooting 80HE on a desk and controlled by the Wootility.
There's one reason I come back to this one rapid trigger gaming keyboard over the rest, and that's great software
Latest in Gaming Keyboards
The Cherry Xtrfy K4V2 TKL gaming keyboard on top of a mouse pad depicting a nebula. The keyboard is grey with red accent keys, a grey braided wire, and the bright RGB lights switched on.
Cherry Xtrfy K4V2 TKL review
The Corsair K70 Pro TKL gaming keyboard seen from above, with the wrist rest attached, on a well-lit desk. Game mode has been activated, bathing every key in red light.
Corsair K70 Pro TKL review
DirkMcGirk's mechanical cheeseboard on a platter of fruits and crackers
I've never wanted a keyboard with cheese keycaps and a little mouse on it until I saw this one
A close up image of the Drop + The Lord of the Rings Gondor CSTM80 gaming keyboard
Forget Gondor, Drop's latest LOTR-themed keyboard has my approval because it's got a tiny little sword on the Enter key
Wooting 80HE on a desk and controlled by the Wootility.
There's one reason I come back to this one rapid trigger gaming keyboard over the rest, and that's great software
8BitDo Retro Mechanical Keyboard (C64 Edition
8BitDo Retro Mechanical Keyboard review (C64 Edition)
Latest in Features
midnight murder club
Five new Steam games you probably missed (March 17, 2025)
Geralt, two swords on his back, in the wilderness
2011 was an amazing comeback year for PC gaming
Alligator skull with glowing eyes on human body and cords coming out sitting at piano with "The Norwood Etudes" ready to play
My new most anticipated RPG let me be a kleptomaniac gourmand set loose in a noir city on a quest to make 'the perfect sandwich'
Monster Hunter Wilds' stockpile master studying a manifest
Monster Hunter Wilds' new gyro controls are a fantastic option for disabled and able-bodied players alike
Manhunt 2
I played the notoriously ratings-board-ravaged Manhunt 2 and was quite glad for the censorship actually
Wyrdsong concept art
Wyrdsong, the RPG from ex-Bethesda talent, isn't dead—but it's no longer an open world: 'We're down to a skeleton crew'