How to clean a laptop keyboard

Clean crumbs and dust from under laptop keys safely, with the laptop switched off and unplugged.

Time: About 15 minutes, plus drying timeDifficulty: Easy

Safety first

  • Never spray liquid directly onto the keyboard.
  • Stop if you see any damage.
  • Check the maker's guide before opening the case.
  • Shut the laptop down and unplug the charger before you clean it.
  • Keep isopropyl alcohol away from heat and flames, and use only a little on the cloth.
  • Let everything dry fully before you switch on.
  • Hold a compressed air can upright and do not breathe in the spray.
Laptop keyboard seen from above, with a can of compressed air blowing short bursts of air between the keys

What you need

Steps

  1. Save your work, then shut the laptop down completely: Start, the power icon, Shut down on Windows, or the Apple menu, then Shut Down on a Mac. Unplug the charger and any cables or USB devices.

  2. Turn the laptop upside down at an angle over a table and shake it gently to get loose crumbs out. Do not shake hard.

    A laptop turned upside down at an angle above a surface, with crumbs falling out from between the keys.
  3. Hold a can of compressed air upright, a few centimetres from the keys, and blow dust out from between the keys in short bursts. Tilting the can can spray cold liquid onto the keys.

    A can of compressed air held upright with a short burst blown across a row of laptop keys, and a note that a tilted can sprays liquid.
  4. Sweep dust off the keys with a clean, dry soft brush, such as a new paintbrush or a soft toothbrush, working towards the edge of the keyboard.

  5. Dampen a soft cloth with a little isopropyl alcohol (70%) and wring it out until it is barely damp. Wipe the tops of the keys. Never soak the cloth or spray liquid directly onto the keyboard.

    A barely damp cloth being wiped across the tops of laptop keys, with a cross showing that liquid must not be sprayed on the keys.
  6. Use a cotton bud, only slightly damp with the same alcohol, to clean the gaps between the keys. Use a fresh cotton bud when it gets dirty.

    A grid of laptop keys with a cotton bud lying in the gap between two columns of keys.
  7. Wipe the palm rest (the flat area below the keyboard) and the trackpad with the same barely damp cloth.

  8. Leave the laptop open and switched off until the keyboard looks completely dry, at least 30 minutes. Do not turn it on while any part is still damp.

If it did not work

  • A key feels sticky after cleaning. Let the keyboard dry fully first. If it still sticks, wipe round the edges of the key again with a barely damp cotton bud. Do not pull keys off unless the maker's guide shows how.
  • Liquid has got into the laptop. Switch it off straight away, unplug it, stand it upside down and take it to a repair shop. Do not turn it on to test it.
  • A key does not work at all. Restart the laptop and test the key again. If it still fails, ask a repair shop rather than prising the key up.

Watch a video

How to Clean Your Laptop Keyboard Without Damage

Opens YouTube in a new tab. This video is made by someone else, not by Drawnsteps, and may differ from the steps above.