After a few years, keyboards develop a fine patina of what I refer to as "hand jam". I've heard that they can be safely cleaned in the dishwasher as long as you let them thoroughly dry out (like for a week or two). Maybe not the fancy ones with the LCD displays and what not, but the basic keyboard, yes.

Has anyone tried this?

  • 4
    I once spilled strawberry jam on a 5.25" floppy disk, right onto the magnetic medium. I carefully slit open the case, took out the disc inside and washed it gently with warm water and soap. I dried it and slit open a blank floppy and put the washed disc inside it. I got all my data off with no errors.
    – ErikE
    May 5, 2011 at 17:33
  • I'm not sure why you accepted an answer that just says 'It didn't work on this 1 keyboard I tried', rather than a far better one that says 'Depending on situation, it might work, and here are some things to think about and a guide to doing it carefully'. And judging by votes, others agree with me. Jul 30, 2016 at 9:37
  • 1
    @underscore_d: Because I too tried it and it failed. I'm sure it works sometimes, but I wouldn't recommend it. If you have a high-end keyboard, take it apart if you want to clean it. If you have a low-end keyboard, buy a new one if you don't like how dirty it is. And remember, on SE sites, "Accepting an answer is not meant to be a definitive and final statement indicating that the question has now been answered perfectly. It simply means that the author received an answer that worked for him or her personally."
    – raven
    Jul 30, 2016 at 16:52
  • @raven Sorry, I somehow missed your comment saying it had failed for you too, maybe because it was 3 years later ;), so that makes sense now. I agree anyway that if the keyboard matters at all, it's better to use a more sophisticated method. But if they're budget ones and I have multiple to clean, I'll continue to take the risk :D Jul 30, 2016 at 17:13

8 Answers 8


I tried it, failed

I tried it on a Mac keyboard. It got sparkling clean but didn't work after that. I didn't use a hair dryer as others have suggested, I just let it sit upside down under my desk.

On a second keyboard I popped off the keys and put them in one of those little bags for washing small things. That worked very nicely for me.

  • 3
    Mac keyboards are notorious for not washing up this way. They also contain sealed electronics on some models, and the older see-through plastic casings are water traps. +1 for pointing out the pitfalls of this process. Jul 11, 2009 at 18:59
  • 1
    @Cristian, I let it sit for 2-3 months and tried it again before I recycled it. Avery is right saying they are water traps, I would pick it up and shake it every one or two days. Jul 12, 2009 at 5:22
  • 2
    Mark's right, for a Mac keyboard, generally speaking, you are better off dismantling the unit and then washing only the pieces that need it. If it's really gummed up, you're probably not going to fare very well. I'd give another +1 for the "keys in a wash baggy" idea if I could. Jul 13, 2009 at 14:23
  • 1
    I also tried it, failed. I think if you're hellbent on keeping that keyboard, and you want it clean again, dismantle it and wash only the "non-volatile" parts.
    – raven
    Jun 3, 2012 at 14:40
  • 1
    Really, just don't put it in the dishwasher, high temperatures & nasty scouring chemicals. Kitchen sink, detergent, warm water. Dry it, it works. Soft water better than hard. Done it more than once, no fails.
    – Tetsujin
    Oct 22, 2014 at 20:15

I have used this technique to clean a dozen keyboards over the years, including several from my work that were "dingy" and needed a "facelift". The first time I heard of it was from an EE who said the method was fairly similar to the rinse baths used to clean circuit boards (remember, this was two decades ago). The detergent you use does a fairly nice job of scouring the plastics, and minimizes any corrosion (which is how your flatware doesn't turn into rust). Try to use straight granular detergent, and not a gel-pack or pillow-pack, as newer "tabs" can introduce other chemical agents that are less desirable. If you are concerned about electrical contacts, first try without any detergent at all.


The trick to doing this is to look at the "style" and "type" of keyboard in use. As keyboards have become more sophisticated, there's more elements that can potentially have trouble. Old keyboards tend to be fairly mechanical beasts, with lots of contact switches and metal or plastic springs. These are the best candidates for a wash. Some keyboards, however, are not suitable for this - they either have parts that will not survive a wash intact (leatherette palm rests on a Microsoft Ergonomic 4000) or have embedded electronics that can trap water (LCD displays recessed behind a panel on gaming keyboards). In each case, look at the construction of the keyboard before proceeding, and keep in mind that it may not survive intact. If you're still willing, read on.

The Wash

The easiest way to do this is to place the keyboard in the top tray, key-side-down, so that the water/detergent mix will "spray up" into the keys themselves. This also helps a bit with drainage when you finally remove the keyboard. Also important is that you disable any "heated-dry cycle" that the dishwasher may have, as some have heating elements in the top and may cause damage or melted plastic. If this is not possible, consider placing it in the middle of the bottom rack, in such a way that the keyboard is away from any heating elements, and preferably suspended slightly higher than the base of the bottom rack (maybe perched on something else).

The Dry

Once the wash cycle has completed, remove the keyboard and place it on a towel in such a way that it is on-edge and tilted key-side-down, so that any residual water can work its way down through gravity. Let the keyboard remain in this position for a minimum of two days. After two days, pick the keyboard up and examine it - if you see any residual water all, let it sit for another two days, and so on. The point of this is to ensure that the keyboard will air-dry completely. If you have any doubts or concerns at all, leave the keyboard like this for a week to ensure that it has throughly air-dried.

The Test

Of course, the final test is to see if the keyboard works. Unfortunately, this means plugging it in. If at all possible, see if you can use an older (disposable?) machine to accomplish this. Although most machines will not be harmed by this, better safe than sorry. After you plug it in, be sure to test every key switch on the keyboard by stroking each row of keys with your finger. A text editor is a quick, easy way to check this.


I once purchased (a long time ago) an NCD X terminal. The terminal had a fairly standard-looking keyboard, but it had one problem - someone appeared to have split 7up on several of the keys, making them stick and slide slowly (the E wouldn't move at all if I recall). After using the wash'n'dry method, I was able to get all but the E key to move freely. The E key "crunched" (the sugar had re-crystallized) but still was sticky. A second wash later it moved freely, and it never malfunctioned afterwards.

  • 2
    I've only got one question: how did you know it was 7 Up? Jul 30, 2009 at 14:15
  • 2
    You know, I could be wrong. It could be Sprite. I had lifted the keycap of the key that was stuck off and observed clear, dried soda around it. Jul 30, 2009 at 17:43
  • 1
    Has anyone ever tried this with a classic IBM Type M?
    – chris
    Aug 11, 2009 at 18:12
  • 2
    If anyone lives dangerously and tries an extended time reduced heat "for plastics" drying mode be advised those close to the heating element (e.g. keys in the flatware container) will melt. However top rack was fine and only closest layer of keys on bottom became discolored; F10 melted. Keyboard works fine without F10, I'd do it again with everything in the top rack. Only for the impatient and unhinged. (Extended air drying still required.) Oct 17, 2011 at 1:47

Keyboards tend to have mylar sheets in them, and these are very hard to get dry again. I have successfully cleaned keyboards by dismantling them, taking out the circuit boards and mylar and just scrubbing the plastic case in the sink. However this is a lot of work and these days I would just buy another keyboard.


  • I agree, I washed my MS Ergonomic 4000 after removing the circuitry, Mylar, and leather palm rest (dish-washed the keys separate too). However I decided to wipe down the Mylar and it was a pain to get all of the water between the sheets to evaporate, much more difficult than you would expect. I will use only canned air next time. Oct 17, 2011 at 1:37
  • The Ergo 4000 is a wonderful keyboard, until you try to clean it. They apparently are notorious for malfunctioning once you get liquid into it. I went through this heartbreak once (I <3 my ergo) and the 3-day process of disassembly, cleaning the mylar with alcohol and qtips, and putting the top part of the keytray (sans wrist rest) into the dishwasher was a bit of an ordeal, only to find out that the coffee spill in the keyboard managed to alter or short two of the mylar contact paths. Christopher is right, the best way to clean these are with compressed gas cans (and a bit of disassembly). Mar 3, 2012 at 1:28

Yep, its doable and it works well if you do it properly, just make sure everything is dry before you put it back togther and try and use it. See this article on Jeffs blog about this.


Yes, you can put keyboards in the dishwasher. I've cleaned 2 keyboards this way. Make sure you let them air dry, face down, for at least a few days, preferably a week to be sure.


In my experience every keyboard and electrical devices like cellphones and similar can be put in the dishwasher (actually, in anything that's gonna get it wet; so it also goes for, for example, dropping your cellphone in the pool and such) ... but the important thing is to get it dry really well, before you switch it on again. If it's dry, everything is gonna be ok.

That may however be tricky to accomplish, since some areas have poor air ventilation and are hard to get really dry. So far I've had pretty good experience with hairdryers when needing to get the most of water out of them, and then I just leave them on the radiator for the next day or two.

Haven't lost a keyboard or a cellphone yet.


Short answer: For consumer keyboards, a big fat no.

Long answer: It really depends on the keyboard and the dishwasher.

If the keyboard is a submersion safe industrial or medical keyboard, then that will be fine so long as you don't use detergent that isn't safe for the keyboard or water above the recommended exposure temperatures for the keyboard.

Still this would be a very ineffective method to clean a keyboard, as it wouldn't get beneath the keys, which begs the question, why would you want to.

You would do better disassembling the keyboard for cleaning, removing the electronic and mechanical parts and cleaning those with gentle electronics cleaners, while cleaning the keys and shells by more aggressive means. You can usually do this by hand.

However, using a dishwasher for the keys and shell is not out of the question. Make sure you are using the non-heated mode for a consumer keyboard, as many cheap consumer keyboards are made from PVC, which is not at all safe for heated dishwashers. If you KNOW you have high temperature plastic for the parts you can use the heated or even sanitize mode.


Look at your keyboard too - I have a solid Compaq that unscrews into 2 halves, electronics in the base and keys that happily go into the dishwasher on the quick wash cycle. Check yours and make sure you have a spare just in case.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .