HOW-TO: Cleaning the Apple Keyboard

keys removed

There comes a time, when your shiny white Apple keyboard gets so dirty that you can’t bear one second more. For me, that day was today. I love the Apple keyboard, it is nice, ergonomic and looks very sleek. However the only ‘disadvantage’ (if you could call it that) is that it is white. It gets dirty easily and you can see really clearly everything. A simple wipe of the keyboard with a damp cloth was not enough. There was still remains of tons of different things, and I wanted it off. You never really notice how dirty your keyboard is, unless you use a white keyboard, or something of a similar colour. But with the Apple keyboard, the outer shell is clear, so you can see everything there too.
This little how-to guide will show you how I cleaned my keyboard to perfection. Click on for the detailed guide (with lots of photos).

UPDATE: I’ve been dugg, TUAW’d and‘d.
UPDATE 2: I had to change the photos to get them from flickr as I am burning through my bandwidth really quickly. I am at 18GB, and my max is 21GB per month!

attachment clips

The very first thing you need to do, is grab a camera, anything in which you can later use to read the keys is enough. Take a picture of the keyboard, a few would be helpful, so that you can remember what keys go where. You musn’t miss this step, otherwise you will be spending hours trying to find out what key goes where. It is not a pleasant experience. If you can zoom in on your camera, and see the keys then you are fine. But if you can’t then transfer the photos onto your computer and put them on the screen, or print them out.

Note: Reader Mark kindly pointed out that a view of the keyboard can be seen in the Keyboard viewer, that can be found in the International section of the System Preferences. Thanks Mark, this will save many users some hassle. I completely forgot about this!

A few of the keys (right shift, enter/return (both), backspace, space and the zero (number-side key)) contain these ‘attachment clips’, as can be seen above, that are used to make sure it is evenly pressed down. Please make a note of which one is attached to which key, this will save you a lot of hassle. I forgot, and I can’t put it back into the remainding place, because the key doesn’t operate properly.

If you have problems with removing the spacebar key, then an easy way is to either pass some string under it and pull it up (as a reader mentioned), or you can do it my way. What I did was remove every other key around it, and then pull at the top right and left. You should be able to slide it off. If that doesn’t work, then try pulling it gently from the top, and easing it out.
keys removed

The next step is start removing each key one by one. The easiest way, is to tuck your finger under one of the buttons between the small gap that separates the directional keys from the rest of the keyboard. You need to be careful and don’t rush. If you pull too hard it could break the clip that holds it onto the keyboard. That would be really annoying, as well as frustrating.

keys packed up

What you need to do next is gather up all the keys and put it in a re-sealable bag. For this I used a standard zip-lock bag that you can find at any grocery store (used for freezing food). It is perfect and allows plenty of room for all the keys, and the water to come.

add water

Next comes the water. Make sure you use warm water. Fill it up about 3/4 full so that all the keys are engulfed with plenty of room to spare (for the keys I mean).

Note: Do NOT use hot or boiling hot water. As the keys are made with plastic they could deform. Though they are probably made of a very strong polycarbonate-type substance, you don’t want any keys to ‘warp’ so that it doesn’t fit back into its place.
Also, remember to plug the drain pipe with a plug so that no keys could fall down in the case that the bag happens to pop, or you accidentally spill it.
adding soap

Once you feel that you have enough water in the bag, add some soap. For this I used a ‘foaming’ soap that comes out as foam out of the bottle. You can use a ‘gel’ type soap as well, however that is probably harder to lather. Give a good few squeezes of the bottle so that there is plenty to go around.

sealing bag

Next you need to seal the bag tightly, making sure that there are no gaps in the bag. After this, shake! Not too vigorously, as you don’t want the bag to pop and the buttons going anywhere. Shaking for about 3-4 minutes, with a short break in between (~ 1 min) will allow the soap to clean the buttons and fill all the nooks and crannies.

straining the water

Now you need to open the top fully and wrap your fingers around the top portion. Then rotate the bag upside down letting the water trickle out. If you want you can rinse it through with cold water to remove any excess soap, though this is rendered useless by the next step.


Empty the keys into an empty bath or wash basin. I then used the high-power setting of the shower head to remove the remainding soap and dirt from the keys. It will most likely not be fully clean, because of the grease/oil used to lubricate the attatchment clips. Rinse for a minute or two.

drying keys

Transfer the keys onto a clean towel. Grab the keys in a bunch and shake before you put them onto the towel. This will remove a lot of water, so the drying time is reduced. The way you do this next part is upto you. I mixed the keys in the middle, and with a firm but gently grasping action rubbed the keys against the towel. Do this for a minute or two, until the keys are mostly dry, but not totally. Leave this to dry for around 5-10 mins, during that time you can do the next few steps.

cleaning with a paper towel

You don’t just want the keys clean, but the surface of the keyboard! Grab a paper towel/kitchen towel and damp it in water. Make sure you use sparing amounts, as not to get any onto the electronics; it can seep through the hole where the keys affix to. If you have a keyboard duster, then you can move onto the next step once most of the dirt is removed. However if you don’t then you will need to spend a while to remove all the dirt and grime, it is quite painstaking!

cleaning with a duster

With the duster go over the key spaces and push quite hard to shift away the dirt. This is really important, as the grease from the attachment clips can cover the surface, causing it to attract dust, which is harder to separate. A good idea is to do this over a sink, or outside so that you don’t make a mess. After all we are removing the dirt, you don’t want to put it onto the floor, do you?

clean keyboard

Alass, your keyboard surface is now clean! Go back to your keys now, and place them onto a table close to the keyboard, making sure that each one is free of water. If it isn’t then go back and use a kitchen towel (or something similar) to remove the rest.

half the buttons replaced

We now start the long and arduous process of grabing a random key and placing it back onto the keyboard, using those photos that you took earlier on. Then you are finished.

macro shot of keys

The photo above is a macro shot of the new clean keys. Don’t they look beautiful. You can now go and type away on your clean and non-repulsive keyboard. I hope you enjoyed this tutorial, feel free to ask any questions.


Q: Why don’t you put it through the dishwasher / washing machine?
A: Yeah, I’ve heard that one too. But I use my Mac a lot, and it will take much longer to wait for everything to dry. Even then there is a risk that the keyboard won’t work. Dishwashers and washing machines have chemicals in their detergent, as well as salt, which could damage the electronics. The heat could fry it too. Yes, you could remove the detergent and the heat, but then there isn’t any soap. This was much simpler for me. If you want to, you can try it, but I can’t be held responsible for any errors you make.

Q: There seems to be some sort of oil under the keys. What is it, can I remove it?
A: This is from the grease that lubricates the ‘attachment’ clips so that they can move freely. As long as you don’t remove it from these clips, it is fine to clean it from the keys and the keyboard. If you find that it doesn’t work, you can always remove the clip (not really ‘essential’ for the smaller keys), buy some more lubrication grease at a DIY or electronics shop, and then use it sparingly on the clips and replace.

Q: Does this work for the Bluetooth keyboard, or on laptops?
From what I know, the cleaning process for the bluetooth version of Apple’s keyboard should be the same. However if you are going to try and clean underneath the white plastic, be careful as you could damage the electronics. Make sure to remove the battery first though!
For laptops, the keys a very different, as they contain two ‘scissor’ clips which can be very hard to refit. They also come loose very easily so if you do clean it, then be very careful. Underneath the keys, the electronics is tightly packed, so you should only wipe with a dry cloth or a duster. I wouldn’t venture into this area, as I would hate to pay to replace the keyboard, they are very expensive. If you do though, anything you do is at your own risk!

Q: Why don’t you try [insert idea here]?
I probably never heard of it, or I was weary of trying it incase the keyboard failed. This worked absolutely perfect for me.

Q: What is the point in this? Can’t you just buy another keyboard?
A: I suppose I could but the nearest Apple store is around 50/60 miles away. I know I could go online, but why should I pay money for a new keyboard when this works perfectly. It’s not like I don’t have any time. It didn’t even take that long.

Q: It doesn’t take a rocket scientist to figure out how to do this, this is useless!
If that’s what you think, I’m cool with that 🙂 Now onto the point: For those who are inexperienced, or are scared of doing it incase something goes wrong, or just don’t know how to do it, it is very useful and can be of great benefit. That’s what most people have said, anyway.

Q: So how long did it take?
Not as long as you might think. The whole process took around 50 mins. Around 25 was spent cleaning the keys, 15 for the whole keyboard and another ten for putting it all together and finding all the keys. I nearly lost one!

Q: What kind of a geek are you, can’t you remember the layout of the keys?
I know where 98% of the keys go. I can touch type pretty well, however with the ‘symbol’ keys like the square brackets, tilde (~) and ‘§’, as well as the page up, down and those sorts of keys, I would probably get them confused. I took the picture so that it would save me time, and I did use it in the end. Also on the number pad keys, I wouldn’t know where the add, subtract, divide and multiply symbols would go. It saves time.

35 Responses to “HOW-TO: Cleaning the Apple Keyboard”

  • If you’re putting up all these pics anyway, why not put up the ones of the keyboard layout so people don’t have to make their own?

  • Thanks!!! Amazing how it looks and feels… sharp again!

    I have been wanting to do it since a year ago, and finally decided to once I saw your instruction, and again thanks for it!!!

  • I tried taking off the ‘0’ key on the side number pad just to test, then I put it back on and it felt funny, doesn’t work properly. Now I’m scared to do the rest of the keyboard. I realised that it’e one of the ‘bigger’ keys, is there a special way to put them back on?

  • Solved the “where do the keys go” dilemma… Looked on wife’s Mac at the next desk. Ha!

  • Thank you so much for putting together! I can’t even believe how clean my keyboard looks now!!! And you right about those attachment keys, I should have paid closer attention, took me an 1/2 hr to figure out which ones went with which keys.


  • Excellent tip, worked perfectly for me and my keyboard! TAL!

  • Thanks a lot! My keyboard is just like new!

  • Great info, worked like a charm. Thanks!

  • Awesome directions! My keys aren’t sticky anymore!!!

  • Cleaning your keyboard to prolong its useful life does not just achieve a saving of a few dollars. There is an environmental cost to all industrial products in addition to the monetary cost. Like all manufacturers Apple can reduce environmental cost if they make things like keyboards easily cleanable and publish their own guidance on how to do it. In the absence of that guidance, well done for figuring this out.

  • Thank you for posting this. It worked great. My keyboard is now clean and the keys don’t stick.

  • Hey! Thank you very much for the tips! My keyboard cleaning went fantastic! THAN YOU!

    Big regards from Mexico!

  • another way to clean them, especially if you dont want to bother with the whole sink thing, is to take the keys off, then put them in a mesh lingerie wash bag that your girlfriend/wife/you (if you’re a chick) has and run it through the washing machine. works great if the keys are especially dirty… that laundry detergent is designed to get out organic grease from the human body…

  • Booyaka!
    Thanks for the great info, I was ready to buy a new keyboard. So you just saved me 50.00 bucks

  • Great guide! My keyboard looks awesome now! I went a bit further and took the whole thing apart to clean it (previous owner spilled some nasty stuff on it), but wouldn’t have done it had I not found your page. Thanks!

  • Cheers on the guide mate!

    I’d like to add I used a cleaning alcohol (95%) to get all the grub out of the main keyboard assembly itself, rather than just using soapy water. Worked like a charm and the keyboard is smooth as before 🙂

  • can you help me? I don’t know whay should i do
    i dont noob!

  • Finished, thanks for your advices, very helpful.

  • THANK YOU!!! I hate having a keyboard with a clear case because you can actually SEE the dust you’re missing when you clean the top… I wasn’t sure if it was OK to just pop the keys off of this thing, so your tutorial answered that for me.
    I just did some spot cleaning–my space bar, both shift keys, my control and option keys, and I had spilled something sticky between my k and m. All is nice now.
    You might add a photo that shows how to re-attch the metal clips on the larger keys. It is easy, but going into it blind is a little scary.

  • Very useful tutorial. Thanks for taking the time to write it. David.

  • HELP…”tube”…’s.permanent,

  • Hey man, not only did you give me a nice afternoon, my keyboard is now clean and has a totally different sound. Maybe i did something wrong, but maybe it’s just the original sound, who knows. Shiny, though. Nice work!

  • Getting a mini keyboard is usually like getting a pager instead of a cell phone. You could kind of get the job done but in no way will the pager get the job done in the same time and as easily as the cell phone will.

  • Very helpful – thanks for such a clear guide! 🙂

  • GREAT tutorial — One disappointment:

    I thought that doing this would make the keyboard perform as smoothly as it did when it was new, but sadly, that is not the case. I still have to press down on the keys pretty hard to get the letters to appear onscreen and I think its giving me carpal tunnel syndrome.

    The keyboard looks clean and great now, but doesn’t work any better, sadly. (I think a few of the keys are actually HARDER to press down than they were before I popped ’em off and cleaned the keyboard.) Thanks for the excellent, very clear, helpful tutorial though.

    Style over substance wins in the end, I guess.

  • Hey good stuff…keep up the good work! 🙂

  • Very helpful! Go To Google > Images and search Apple Keyboard and select the pic of the model you have…no need
    to take your own photo.

  • this keyboard is just bad design. FOR USE. this keyboard is great design. FOR SALE. it is engineered to present well, to sell easily. however, a simple gray keyboard that doesn’t show dirt, that isn’t unsightly, has better utility. either that, or apple should have made it easier to disassemble the keyboard. 1 hour to clean a keyboard?! that’s a ridiculous waste of time.

  • Hey, thanks for the great tutorial. Because my whole keyboard was dirty, I left the keys on and put the whole thing in a kitchen trash bag, and washed it with hot soapy water as you suggested. It’s really clean now, but doesn’t work anymore — can you help?

  • i don’t succeed to put again the ‘attachment clips’, of the keys (right shift, enter/return (both), backspace, space and the zero (number-side key).

    how can ido???

  • Thank you, thank you, thank you!

    My keyboard was SO gross! The fact that you can see the lint and cookie crumbs through the clear base was a daily source of frustration.

    I’m going to do this today! (but I already popped a key off to try it and was successful in getting it back on, so I’m ready to clean).

  • Thanks for very relevant article. I disassembled the keys from the keyboard (an Bluetooth wireless, used-to-be-white Apple keyboard) but I tried the dishwasher… bit lazy… all the keys went inside, the keyboard as well – upside down in the top drawer. I used a bit of detergent (next time I might not, just to be sure), set it to a short, low temperature cycle (30 degrees C) and let it dry for five days afterwards. Works like a charm and is squeaky clean!



  • I took off a few keys at a time, wiped the keys and the area underneath them with a barely dampened microfiber cloth, then put them back on. This drastically reduces the time to sort out the keys and get them back to the right place. It also doesn’t wash the lubricant off the clips. (One guy had commented that it typed harder after he washed the keys/keyboard–maybe he washed off all the lubricant?)

    It worked fine for me because my keyboard was not extremely dirty so the whole wash them in a bag thing wasn’t necessary. Looks and types great! Thanks for the tutorial.

  • I, too, cleaned, but now my spacebar and option key are not detected by eMac. Any suggestions?

Comments are currently closed.