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.

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

  • 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.