What you're actually cleaning when you scrub a computer

Cleaning a computer means two separate things: wiping down the outside case, keyboard, and screen, and removing dust from the inside components. The outside cleaning is straightforward and safe. The inside cleaning matters because dust blocks airflow, traps heat, and makes your fans work harder—which shortens the life of your power supply, graphics card, and processor. You do not need special tools or technical skill, but you do need to be careful about static electricity and not force anything.

Most people can handle both jobs in under an hour. The outside takes ten minutes. The inside takes longer because you need to let the computer cool down first, ground yourself to avoid static damage, and take your time removing dust from fins and fan blades without bending them.

Key Takeaways

  • Shut down and unplug your computer completely before opening it or cleaning inside—never work on a powered machine.
  • Ground yourself by touching a metal part of the case or wearing an anti-static wrist strap before touching internal components.
  • Use compressed air to blow dust out of heatsinks, fans, and the power supply, holding the can upright and using short bursts.
  • For the outside, use a slightly damp microfiber cloth on the case and screen, and a dry brush or cloth on the keyboard.
  • If you are not comfortable opening your case or handling internal parts, a professional cleaning service costs $50 to $150 and takes one day.

Cleaning the outside: case, screen, and keyboard

Start with the outside because it requires no shutdown and takes almost no time. Unplug the power cable from the wall outlet, then use a microfiber cloth slightly dampened with water to wipe the case. Do not spray liquid directly onto the computer—spray it onto the cloth first. Wipe in the direction of any vents or grilles so dust moves toward the opening, not into it.

For the screen, use the same damp microfiber cloth and wipe gently in one direction. Never use paper towels, tissues, or your shirt—they scratch. If the screen has dried fingerprints or smudges, dampen the cloth a little more, but do not let water drip. Let it air-dry for a minute before plugging the computer back in.

The keyboard collects crumbs, hair, and dust between the keys. Turn the keyboard upside down and tap it gently over a trash can to shake loose debris. Use a soft brush—an old toothbrush works—to brush between the keys. If keys are sticky, dampen a cloth with water and rubbing alcohol (equal parts), wring it out so it is barely damp, and wipe each key. Let it dry completely before using it again.

Opening the case and preparing to work inside

Shut down the computer completely and unplug the power cable from the wall. Wait at least five minutes for the components inside to cool. The power supply and graphics card can stay hot for several minutes after shutdown.

Most desktop cases have two or four thumbscrews or regular screws on the back panel. Remove them and slide or lift the side panel off. Some cases have a front panel too—check whether dust is blocking the front intake before you decide to remove it. Laptop users should stop here and take their machine to a professional, because opening a laptop risks damaging the display cable and other fragile parts.

Before you touch anything inside, ground yourself to prevent static electricity from damaging components. Touch a metal part of the case with your bare hand for a few seconds. If you are working in a very dry environment or on carpet, wear an anti-static wrist strap clipped to the case instead. Do not work in socks on carpet—wear shoes or work on a hard floor.

Removing dust from fans and heatsinks

The dirtiest parts are usually the CPU heatsink (a large metal block on top of the processor), the graphics card fan, and the power supply fan. Dust on these parts blocks airflow and causes overheating. Use compressed air to blow the dust out. Hold the can upright, not tilted, and use short bursts of two to three seconds. Do not shake the can or hold it upside down—you will spray liquid instead of air.

Aim the nozzle at the fins of the heatsink and the blades of each fan. Blow from the inside of the case toward the outside, pushing dust out through the vents. If a fan blade is caked with dust, hold it still with one finger while you blow air across it—this prevents the blade from spinning, which can damage the bearing. Never spin a fan by hand or with air pressure alone.

Pay special attention to the power supply. It has a fan on the bottom or back, and dust there causes it to overheat and fail early. Blow air into the power supply vents from inside the case. If the power supply is very dusty, you may need to angle the case to blow dust out the back vent as well.

Cleaning RAM, the motherboard, and other components

RAM sticks and expansion cards (like graphics cards) rarely need cleaning, but if they are visibly dusty, you can clean them. Remove the card by pressing the clips on each end and pulling straight out. Use compressed air to blow dust off the gold connectors and the card itself. Do not touch the gold connectors with your fingers or a cloth—compressed air is enough.

The motherboard itself does not usually need cleaning unless there is visible dust buildup or a spill. If you spilled liquid, stop and take the computer to a professional—liquid damage requires careful drying and testing. For dust, use compressed air on low pressure, holding the can farther away than you would for fans. Avoid spraying directly at capacitors (the small cylindrical parts standing upright on the board) or at the CPU socket.

If dust is stuck in corners or on the motherboard and will not blow away, do not use a brush or cloth—you risk damaging solder joints or tiny components. Leave it and move on. Compressed air removes 95 percent of the dust that matters for cooling.

Reassembling and testing after cleaning

Before you close the case, visually check that all cables are still connected to the motherboard and power supply. Look for any loose screws or parts you may have dropped inside. If you see something loose, do not guess—take a photo and look up the manual for your motherboard or case to identify it.

Slide the side panel back on and replace the screws. Plug the power cable back into the wall outlet. Power on the computer and listen for the fans. They should spin up smoothly without grinding or rattling. If you hear a new noise, shut down when ready, unplug, and open the case again to find what moved.

The computer should run noticeably cooler after cleaning, especially under load. Check your CPU and GPU temperatures using software like HWiNFO (free, Windows) or Macs Fan Control (free, Mac) to confirm the improvement. If temperatures are the same or higher, something may be blocking airflow—open the case again and check that fans are spinning and no cables are in the way.

When to call a professional instead

If your computer is still under warranty, opening it may void the warranty. Check your manual or manufacturer website before you start. If you are uncomfortable working inside the case, or if your computer is a laptop, a professional cleaning service is worth the cost. Most computer repair shops charge $50 to $150 for internal cleaning and can do it while you wait or return it the next day.

You should also call a professional if you spilled liquid on the keyboard or inside the case, if the computer will not power on after you close it, or if you hear grinding or clicking sounds that were not there before. These are signs of damage that needs diagnosis, not just cleaning.

Frequently Asked Questions

Can I use a vacuum cleaner instead of compressed air?

No. A vacuum creates static electricity as it runs, which can damage components. It also sucks dust into the motor instead of blowing it out of the case. Compressed air is the only safe choice for inside a computer.

How often should I clean the inside of my computer?

It depends on your environment. If you have pets, smoke indoors, or live in a dusty area, clean every three to six months. If your room is clean and you have good air filters, once a year is enough. If temperatures are rising or fans are getting louder, that is a sign dust is building up.

What if I accidentally touch a component inside the case?

One accidental touch usually does not cause damage, especially if you grounded yourself first. Static damage is cumulative and more likely to happen from repeated contact or from working in very dry conditions. If the computer still powers on and runs normally after you close it, you are fine.

Do I need to remove the CPU or graphics card to clean them?

No. You can clean both with compressed air while they are installed in the case. Removing them is unnecessary and increases the risk of damage. The only reason to remove a card is if dust is so thick that air cannot reach the fins, which is rare.

Is it safe to clean a computer while it is plugged in but powered off?

No. Always unplug the power cable from the wall. A powered-off computer can still have voltage in the power supply and capacitors on the motherboard. Unplugging removes that risk entirely.