Start with the power off and the battery out if possible

Before you touch anything inside or outside your laptop, shut it down completely and unplug the power cable. Wait at least five minutes for the machine to cool. If your laptop has a removable battery, take it out—this prevents accidental power surges while you work. If the battery is built in (most modern laptops), straightforward leaving it unplugged and powered off is enough.

Never clean a laptop while it is running or plugged in. Moisture and electricity together can short circuits or damage components. Waiting for the machine to cool also makes it safer to handle and prevents you from burning your fingers on hot vents or the keyboard.

Key Takeaways

  • Always power off your laptop completely and unplug it before cleaning any part of it.
  • Use compressed air to blow dust out of vents and keyboard crevices, holding the can upright and using short bursts.
  • Clean the screen with a microfiber cloth slightly dampened with distilled water, never with liquid sprayed directly on the display.
  • Wipe the keyboard and exterior with a lint-free cloth barely damp with distilled water or a 50/50 mix of distilled water and isopropyl alcohol.
  • Avoid touching internal components, and do not pour or spray liquid directly onto any part of the laptop.

Clean the vents and keyboard with compressed air

Dust buildup inside your laptop clogs the cooling vents and forces the fan to work harder, which shortens its life and can cause overheating. The easiest way to remove this dust is with a can of compressed air. Hold the can upright, aim the nozzle at the vents on the sides and back of the laptop, and use short bursts—do not hold the trigger down continuously. The short bursts prevent the can from spraying liquid instead of air, which happens when you use it too long.

Use the same method on the keyboard. Tilt the laptop slightly and blow air between the keys to dislodge crumbs and dust. Work from the top of the keyboard down so debris falls away from the machine. If you have a USB keyboard attached to a desktop setup, you can clean it the same way, but a laptop keyboard is harder to replace if you damage it, so use gentle pressure.

Wipe the screen with a microfiber cloth and distilled water

The screen is the most delicate part to clean. Never spray liquid directly onto the display—liquid can seep into the edges and damage the panel. Instead, dampen a microfiber cloth (the kind that comes with eyeglasses) with a small amount of distilled water. Squeeze out excess moisture so the cloth is barely damp, not wet. Wipe the screen gently in circular motions, using light pressure.

If water alone does not remove stubborn marks, mix distilled water with isopropyl alcohol in a 50/50 ratio and dampen the cloth with that instead. Do not use tap water, which contains minerals that leave streaks. Do not use paper towels, tissues, or your shirt—these scratch the screen. If your laptop screen is glossy and shows fingerprints easily, a microfiber cloth alone, with no liquid, often removes them without leaving marks.

Clean the keyboard and exterior surfaces

The keyboard and palm rest collect oils from your hands, dust, and food particles. Use a lint-free cloth (microfiber works well) barely damp with distilled water. Wipe the tops of the keys, the spaces between them, and the palm rest. For stubborn stains or sticky spots, use the 50/50 distilled water and isopropyl alcohol mix instead of plain water.

Wipe the exterior casing, hinges, and bottom of the laptop the same way. Pay attention to corners and seams where dust collects. Do not let liquid pool anywhere—your cloth should be damp, not dripping. If you spill liquid on the keyboard, power off when ready, unplug the machine, and let it dry for at least 24 hours before turning it back on. If the spill was significant, consider having a technician inspect it before you use it again.

Clean the ports and charging connector

Dust and lint accumulate in USB ports, headphone jacks, and the charging port. Use a dry cotton swab or a small dry brush to gently clean inside these openings. Do not use liquid in the ports—water inside a port can corrode the metal contacts. If a port is very dirty, a can of compressed air on a low setting can blow out loose debris, but be careful not to force anything into the port.

The charging connector on both the cable and the laptop port can develop a white or greenish coating (oxidation) over time. If this happens, power off the laptop, unplug the cable, and use a dry cotton swab to gently wipe the metal contacts on both the connector and the port. Do not use water or alcohol on the charging contacts—dry cleaning only.

Clean the trackpad and touchscreen (if your laptop has one)

The trackpad gets oils and dust from your fingers. Use a microfiber cloth barely damp with distilled water and wipe it gently. Avoid pressing hard or using circular motions that might confuse the trackpad sensors. If your laptop has a touchscreen, clean it the same way you clean the main display—damp microfiber cloth, light pressure, no liquid sprayed directly on it.

Some touchscreens are more sensitive to moisture than others. If you are unsure, check your laptop's manual or the manufacturer's website for specific cleaning instructions. When in doubt, use less water rather than more.

How often to clean and what to avoid

Clean the exterior and keyboard once a month if you use your laptop daily. Clean the vents every three months, or more often if you work in a dusty environment or use the laptop on soft surfaces like beds or couches, which block airflow. If you notice the fan running constantly or the machine getting hot, dust buildup is likely the cause—clean the vents when ready.

Never use a vacuum cleaner on your laptop. The static electricity from a vacuum can damage components. Never use paper towels, tissues, or rough cloths on the screen—they scratch it. Never use household cleaners like Windex, bleach, or furniture polish. Never open the laptop case unless you are trained to do so and know how to avoid damaging internal parts. If you are not confident cleaning a specific part, leave it alone or take the laptop to a technician.

Frequently Asked Questions

Can I use Windex or other glass cleaner on my laptop screen?

No. Windex and similar products contain chemicals that can damage the screen coating or seep into the edges and harm the display panel. Distilled water alone, or distilled water mixed with isopropyl alcohol, is safe and effective.

What should I do if I spill liquid on my laptop?

Power off when ready and unplug the cable. Do not turn it back on. Let it dry for at least 24 hours in a warm, dry place. If the spill was large or the liquid was sugary or salty, have a technician inspect it before you use it again—corrosion can develop over time even if the laptop seems fine at first.

Is it safe to clean the inside of my laptop myself?

You can use compressed air to blow dust out of vents and keyboard crevices from the outside. Do not open the case or touch internal components unless you have experience with electronics. Opening the case can void your warranty and risks damaging delicate parts like the motherboard or RAM.

How do I know if my laptop needs cleaning?

Signs include the fan running constantly, the machine getting hot during normal use, visible dust in the vents, sticky keys, or a visibly dirty screen. Any of these means it is time to clean.

Can I use a hair dryer to dry my laptop after cleaning?

No. Heat from a hair dryer can damage components and warp plastic parts. Let the laptop air-dry naturally at room temperature. If you used only a barely damp cloth, drying time is usually less than an hour.