Eating at your desk, working in a dusty environment, or simply months of daily use can leave a surprising amount of debris trapped beneath laptop keys. Left unaddressed, this build-up causes sticky or unresponsive keys and can eventually work its way into the machine's internals. This guide covers safe, effective cleaning methods ranging from a quick daily wipe-down to a deeper clean for a genuinely grubby keyboard.

What you'll need

  • A can of compressed air (or a mini USB-powered air blower, which is more environmentally friendly for regular use)
  • A soft-bristled brush, such as a clean paintbrush or a dedicated keyboard brush
  • Isopropyl alcohol (90%+ concentration) and cotton buds or a microfibre cloth
  • A plastic prying tool or old credit card for gently lifting keycaps
  • A small handheld vacuum with a brush attachment, if available (use on the lowest suction setting)

Never use a standard household vacuum directly on a keyboard at full power. Static discharge from a plastic vacuum nozzle can damage sensitive electronics, and full suction can pull keycaps off or damage delicate scissor mechanisms. If vacuuming, use a small, low-power handheld device held slightly away from the surface.

Step 1: Power down and prepare

  1. Shut the laptop down completely and disconnect the charger. Never clean a keyboard while it's powered on.
  2. If the battery is user-removable, take it out for extra peace of mind.
  3. Move to a clean, flat surface with good lighting, ideally with a cloth or tray underneath to catch debris.

Step 2: The quick clean (do this weekly)

  1. Tilt the laptop to roughly 75 degrees, holding it at an angle rather than fully upside down, and gently tap the base to dislodge loose crumbs and dust β€” a slight shake helps loosen debris caught between keys.
  2. Use compressed air in short bursts, holding the can upright (tilting a compressed air can can release cold propellant liquid, not just air) and sweeping across the keyboard at a low angle so debris is blown out sideways rather than further under the keys.
  3. Run a soft brush across the surface and between key gaps to loosen anything the air missed.
  4. Wipe the keycap surfaces with a microfibre cloth very lightly dampened with water or a 50/50 water-isopropyl mix β€” never wet enough to drip.

This routine takes under five minutes and prevents most build-up from ever becoming a problem.

Step 3: The deep clean (for visibly dirty or sticky keyboards)

If crumbs are visibly wedged under keys or several keys feel gritty when pressed, a deeper clean is worthwhile.

  1. Take a reference photo of the keyboard layout before removing any keys, particularly for the bottom row and any keys with irregular shapes, so reassembly is straightforward.
  2. Starting with one key at a time, gently lever up a corner of the keycap with your plastic tool. Most standard keys (letters, numbers) lift off scissor clips relatively easily; leave the spacebar, shift, and enter keys until last, as they have stabiliser bars that are more fiddly to remove and reseat (see our guide on fixing sticky keys for the detailed process on those).
  3. With the keycap off, use compressed air and a cotton bud dampened with isopropyl alcohol to clean the scissor mechanism, the rubber dome, and the recess it sits in.
  4. Clean the underside of the removed keycap the same way, removing any built-up grime or shine.
  5. Let each area dry fully β€” isopropyl alcohol evaporates quickly, usually within a minute or two, but give it a little longer before refitting.
  6. Refit the keycap by clipping the scissor mechanism back into its frame, then pressing evenly on all corners until it clicks into place. Test the key's travel and click feel before moving to the next.
  7. Work through affected keys methodically rather than removing the whole keyboard at once, which makes reassembly far more manageable and reduces the risk of losing track of which key goes where.

Dealing with sticky residue from spilled drinks

Sugary drinks leave a residue that dries hard and continues attracting dust even after the liquid itself has evaporated, which is why keys can start sticking days after a spill.

  1. Remove the affected keycaps as above.
  2. Use isopropyl alcohol on cotton buds to dissolve the sticky residue from the scissor mechanism, dome, and recess β€” you may need to repeat this two or three times, letting it dry between applications, as sugar residue can be stubborn.
  3. Check the membrane sheet visible beneath the domes for a filmy or crusty residue. Very lightly dab, don't scrub, with an alcohol-dampened cotton bud, taking care not to press hard enough to damage the delicate printed circuits on the membrane.
  4. If the spill was substantial (more than a light splash), be aware that liquid can travel beneath the keyboard onto the motherboard. Watch for keys failing progressively over the following days, which suggests corrosion is spreading, and consider a professional inspection if this happens.

If a full drink was spilled onto the laptop, don't wait to see if it dries out fine. Power off immediately, disconnect the charger and battery if possible, and turn the laptop upside down to drain excess liquid away from the motherboard before it has a chance to fully evaporate residue onto internal components.

Preventing future build-up

  • Avoid eating directly over the keyboard; crumbs inevitably find their way between keys no matter how careful you are
  • Keep a microfibre cloth or small brush at your desk for a quick daily wipe
  • Consider a close-fitting silicone keyboard cover if you frequently eat or work in dusty environments β€” just be aware some covers can slightly affect key feel and heat dissipation
  • Store the laptop closed when not in use to reduce dust settling into the keyboard well

Still not fixed?

If keys remain sticky or unresponsive after a thorough clean, the fault is more likely a worn rubber dome or a damaged membrane rather than remaining debris β€” see our guide on fixing unresponsive or sticky laptop keys for the next diagnostic steps, or consider a full keyboard replacement if multiple keys are affected.


Was this guide helpful? Explore more Input Devices guides, or browse all Laptop Repair & Maintenance articles.