How to Clean a Laptop Keyboard and Touchpad
To clean a laptop keyboard and touchpad, shut the laptop down, unplug it, and shake out loose crumbs with the lid open. Brush between the keys, wipe the keys and touchpad with a slightly damp cloth, and let everything dry before you switch it back on.
Shut down and unplug the laptop
Shut the laptop down fully and unplug the charger and any USB devices before you start. Follow the cleaning notes in the maker's manual for your model, since keycaps and touchpad coatings differ. Work on a clean, flat surface with good light so you can see crumbs and dust between the keys. Turn keyboard backlighting off if your laptop has it, so dirt shows up against the keys.
Shake out the loose debris
Open the lid partway, hold the laptop over a bin, and turn it so the keyboard faces down. Tap the base gently and shake in short movements to drop crumbs and dust out from under the keys. Work across the whole keyboard, then check the gaps around the touchpad and along the hinge. Skip hard banging, which can loosen keys and drive debris deeper instead of out.
Brush between the keys
Use a soft, dry brush or short bursts of compressed air to clear the gaps between the keys, working from one side of the keyboard to the other. Hold the can upright and keep the nozzle moving so moisture does not build up on the keys. Laptop keycaps are thin and clipped in place, so do not pry them off unless the maker's manual for your model says they come off.
Wipe the keys and touchpad
Dampen a microfiber cloth with water, wring it out well, and wipe the keycaps, the palm rest and the touchpad. Wipe again with a dry part of the cloth to lift off loosened dirt and grease. Never spray liquid straight onto the keyboard or touchpad, and never soak the cloth, since liquid can run into the gaps and ports. For stuck grime on the touchpad, hold the damp cloth on the spot briefly, then wipe.
Dry it before you switch on
Let the keyboard and touchpad dry fully before you plug the charger back in or switch the laptop on. Leave the lid open so air reaches the keys, and check that the touchpad and palm rest feel dry to the touch. Once everything is dry, reconnect the charger, start the laptop, and press a few keys and move a finger across the touchpad to check that they respond.
What you need

Apple MacBook Air 13-inch Laptop
A 13.6-inch MacBook Air with an M5 chip at 2.71 lb, a light body to turn over and shake out crumbs.
View on Amazon
Apple MacBook Neo 13-inch Laptop
A 13-inch MacBook Neo with an A18 Pro chip at 2.71 lb and a color-coordinated keyboard to wipe clean.
View on Amazon
Dell 15.6 Laptop
A 15.6-inch Dell laptop at 3.67 lb with a backlit keyboard you switch off before wiping the keys.
View on Amazon
HP 17-inch Laptop
A 17.3-inch HP laptop with a full-size keyboard and 10-key number pad, so more keys to brush between.
View on AmazonThese come from our ranked list Best Laptop, which compares them spec by spec.
FAQ
Can I use water to clean a laptop keyboard?
Only on a slightly damp cloth. Wipe the keys and touchpad, then dry them with a dry cloth. Never spray liquid onto the keyboard or soak it, since liquid can run under the keys and into the ports.
Can I remove laptop keycaps to clean under them?
Only if the maker's manual for your model says the keycaps come off. Many laptop keycaps are thin and clipped in place, and prying them can break the clips. Brush or use compressed air between the keys instead, and contact the maker if a key sticks after cleaning.
How often should I clean my laptop keyboard?
Clean it when you see crumbs between the keys, when keys feel gritty or stick, or when the touchpad feels rough under your finger. A quick shake-out and wipe when dirt shows keeps buildup from packing into the gaps.
What should I do if a key still sticks?
Check for crumbs around that key and brush the gap again with the laptop off and unplugged. If the key still sticks, or the touchpad stops responding, stop cleaning and contact the maker, since the fault may be under the keyboard where home cleaning cannot reach.




