Like any tool we use every day, our laptops accumulate dust, grime, oils from our skin and who knows what else. Yours is probably due for a cleaning, and here’s how to do it right.

Share story

You know your laptop is filthy. You can see the dirt and grime on your keyboard. You can see that circle of skin oils on the middle of the trackpad. So when is the last time you cleaned it?

Using a freshly cleaned laptop is almost as satisfying as getting a new one. The keys are clean, the screen is free of smudges and you fall in love with that 3-year-old MacBook all over again. It is also a useful skill if you buy or sell used laptops, since the previous owner does not always leave them in pristine condition.


“You don’t need much to clean a computer,” said Jolie Kerr, New York Times contributor, cleaning expert and host of the podcast “Ask a Clean Person.” “I use exactly four things to keep my laptop clean: Rubbing alcohol, microfiber cloths, cotton swabs and canned air.” Ninety percent or higher isopropyl alcohol is ideal, since it will not damage the internal components. And if you have some particularly tough grime or oil, a Mr. Clean Magic Eraser (or other melamine sponge) can also work wonders, though it should be a last resort since it is abrasive.

Do not bother with specialty cleaners you see at big box electronics stores — they will work fine, but they are probably overpriced compared with what you have at home. “Some people like having them, or they feel better about using an Officially Sanctioned Product,” Kerr said. “That is fine! They also make nice add-on gifts for people who are getting a new computer/tablet/phone for a special occasion.” But do not feel like you need them.


Once you have gathered your tools, it is time to start cleaning the inside of the computer. Tackling that grime on the keyboard may be tempting, but Kerr said you should start with the less glamorous internals: “Canned air will blow crumbs and cat hair and what-have-you everywhere, so if you’ve already cleaned the screen and bezel, you’ll just end up having to clean them again after you’ve used canned air.” Start by blowing out the dust, then move on to the outside.

Provided you have maintained your laptop well, you should not have to open it up for this step. Just turn off the laptop, unplug the power cable and remove the battery (if it is easily removable). Grab your compressed air, give it a quick burst away from the laptop to get rid of any condensation, then start blowing air into any cracks and crevices: the keyboard, the vents and even the USB ports. Blow in short bursts, since longer sprays can cause moisture to accumulate inside your computer and can damage the fans by making them spin too fast.

If you are lucky, you probably will not see a big change after doing this. The goal is to prevent dust buildup over time, which can cause your laptop to overheat. If there are visible dust bunnies in the vents, you have let it go far too long without a cleaning. In that case, you may want to open it up (if you are comfortable doing so) or take it to a repair shop for an in-depth cleaning. Smokers and pet owners should take special care to clean the inside often, since you are likely to experience much quicker buildup of dust, smoke, hair and other particulates.


Next comes the fun part: making that laptop shine again. “The most critical thing when cleaning a laptop or desktop computer is to apply the cleaning product to the tool you’re using to clean, never ever directly onto the computer,” Kerr said. So grab your microfiber cloth, pour a few drops of alcohol onto it, wring it out so it is not dripping wet, and go to town on the surface. You may want to use cotton swabs and alcohol for the keyboard keys and the small spaces between them. (If there are marks that will not come off, you can try rubbing them with a Mr. Clean Magic Eraser very lightly, but again, they are mildly abrasive and this can alter the finish of the surface.)

It may take a few passes to get all that grime off, but once you do, you should notice a dramatic difference. If your laptop is particularly old, you may not be able to get rid of the shine on the keys; some of us may type like the Incredible Hulk and have worn down the top layer of plastic. There is not much you can do about that.

The screen is a slightly different matter. You should be able to wipe fingerprints off with a dry microfiber cloth, but if you need a bit more cleaning power, a little bit of water — again, poured onto the cloth and wrung out first — can go a long way. Some manufacturers, including Dell and Lenovo, even say you can use a 50-50 mixture of isopropyl alcohol and water, if need be. Just avoid household cleaners with harsh chemicals like ammonia or alkaline on the screen. (That means no Windex, as tempting as it might be!)


Let’s say you have a particularly terrible case of gross laptop, and even after the above steps, your laptop still carries the stench of … whatever you have subjected it to. I have seen more than my share of laptops that smelled like smoke (cigarettes and otherwise), and getting rid of that is a challenge. Cleaning the surface can help, but a lot of those smells may also be inside the computer. For that, you can turn to the world’s best natural deodorizer: charcoal.

You do not have to go digging through your grill for briquettes, though. Kerr recommends kitty litter: “Because most kitty litter formulas have active charcoal in them to neutralize litter box smells, it’s a great odor eliminator. Seal the laptop up in a bag or closable bin with a cup or so of the litter and leave it for 24 to 48 hours.” If you do not have a cat, I have also had good luck with diaper pail deodorizers, which are neat little packets of charcoal you can throw away when you are done. The longer you leave the computer in the bin, the better.

If you are comfortable taking your computer apart, you can also open it up and clean off the board with isopropyl alcohol. But in my experience, this is not usually necessary — it just speeds up the process a little bit.