Start with the basics: dust and debris removal

The fastest way to clean your computer is to remove dust from the outside and vents before it gets inside. Dust buildup blocks airflow, makes your computer work harder, and can cause overheating. You can do this without opening anything.

Shut down your computer completely and unplug it from the wall. Wait five minutes for any remaining charge to drain. Use a soft, dry cloth—microfiber works best—to wipe down the case, keyboard, and monitor. For the vents and fan grilles on the back and sides, use a can of compressed air held upright, spraying in short bursts from about six inches away. Do not shake the can, and do not hold it upside down, or you will spray liquid instead of air.

If dust is caked on, use a soft brush (an old toothbrush works) to loosen it first, then spray. Pay special attention to the power supply vent at the back—this is where dust accumulates fastest. Let the computer sit for a few minutes after cleaning so any loosened dust can settle, then wipe the outside again with a dry cloth.

Key Takeaways

  • Unplug your computer before cleaning anything, and wait five minutes for the charge to drain completely.
  • Use compressed air in short bursts on vents and fans, holding the can upright and keeping it six inches away from the computer.
  • Clean the keyboard and monitor with a slightly damp microfiber cloth, never spraying liquid directly onto the screen.
  • If your computer is running hot or loud, dust buildup inside the case is the most common cause and requires opening the case to clean the heatsink and fans.
  • Avoid touching circuit boards and components with bare hands; if you must touch them, touch a metal part of the case first to discharge static electricity.

Clean the keyboard and monitor safely

Your keyboard and monitor collect dust and fingerprints but need different cleaning methods. For the keyboard, turn it upside down over a trash can and tap the back gently to dislodge crumbs and loose debris. Then use compressed air between the keys, spraying downward at an angle so debris falls out rather than deeper into the keyboard.

For stubborn grime, dampen a microfiber cloth slightly with water—not wet, just damp—and wipe between the keys and across the top. Never spray liquid directly onto the keyboard. If a key sticks after cleaning, let it dry for an hour before using it again.

Monitor screens are delicate. Do not use paper towels, tissues, or window cleaner, which can scratch or damage the coating. Use only a microfiber cloth, slightly damp with distilled water if needed. Wipe gently in one direction. If your monitor has a matte finish, you can use a 50/50 mix of distilled water and white vinegar, but test it on a corner first. For glossy screens, water alone is safer.

Open the case and clean internal components

If your computer is running hot, the fans are loud, or you have not cleaned inside in over a year, you need to open the case. This is where most dust accumulates. Unplug the computer, wait five minutes, and locate the side panel—usually held by two thumbscrews or clips. Remove it and set it aside.

Before touching anything inside, touch a metal part of the case with your bare hand to discharge static electricity. This prevents damage to sensitive components. Use compressed air to blow dust off the heatsink (the large metal fins on top of the processor), the fans, and the power supply. Spray in short bursts, holding the can upright. If a fan is very dusty, hold it still with one hand while you spray, so it does not spin—spinning a fan without power can damage it.

Pay attention to the space between the heatsink fins, where dust gets trapped. Use a soft brush to loosen stubborn dust first, then spray. Do not touch the heatsink directly or the thermal paste (the gray or white compound) between the processor and heatsink. If you accidentally wipe off thermal paste, the processor will overheat. Cleaning around it with compressed air is safe.

After cleaning, wait a few minutes for dust to settle, then use a flashlight to check for remaining dust. Close the case and plug the computer back in. The first time you turn it on after internal cleaning, the fans may run faster for a minute as the system recalibrates—this is normal.

Clean dust filters and replace them if needed

Many computers have removable dust filters on the front or bottom of the case. These trap dust before it reaches the internal components. Check your computer's manual to find where yours are located. Most filters slide or clip out without tools.

Remove the filter and hold it up to a light. If you can see light through it, it is still usable—just tap it gently over a trash can to dislodge loose dust, or use compressed air on the back side (the side that faces outside the computer). If the filter is clogged and you cannot see light through it, or if it is torn, replace it. Replacement filters are inexpensive and available online by model number.

Clean or replace filters every three to six months if you have pets or live in a dusty area, or every six to twelve months in a clean environment. A clogged filter forces your computer to work harder and run hotter, so regular maintenance pays off.

Clean the power supply and cables

The power supply is one of the hottest parts of your computer and needs good airflow. With the case open and the computer unplugged, use compressed air to clean the power supply vent on the back and the fan intake on the bottom (if accessible). Do not open the power supply itself—it stores electrical charge even when unplugged and can cause serious injury.

While you are inside, check that all cables are routed neatly and not blocking airflow. Cables draped over fans or heatsinks trap heat. Gently move them aside if needed. Do not force anything or disconnect cables unless you are certain you can reconnect them correctly. Take a photo with your phone before disconnecting anything, so you have a reference.

Manage cable clutter outside the case

Cables behind and around your computer collect dust and make cleaning harder. Use cable ties or velcro straps to bundle cables together and keep them off the floor and away from the back vents. This improves airflow and makes future cleaning faster.

Label cables with tape and a marker before bundling them, so you know which is which if you need to unplug something. Keep the power cable separate from data cables to reduce electromagnetic interference. Leave a few inches of slack in each cable so you can move the computer without straining the connections.

Establish a cleaning schedule

The best time to clean your computer is before problems start. A light external cleaning—wiping the case and using compressed air on the vents—takes five minutes and should happen every month. A deeper cleaning with the case open takes 20 to 30 minutes and should happen every six to twelve months, depending on your environment.

If you have pets, smoke indoors, or live in a dusty area, clean more often. If your computer is in a clean room and you use it lightly, you can stretch the interval to a year. Pay attention to how your computer sounds and feels: if the fans get louder or the case gets hot, dust is probably the cause, and cleaning will help.

Frequently Asked Questions

Can I use a vacuum cleaner to clean my computer?

No. Vacuums generate static electricity, which can damage components. They also create suction that can spin fans and damage them. Compressed air is the safe choice. If you do not have compressed air, a soft brush and patience work fine.

What should I do if I spilled liquid on my keyboard?

Unplug the keyboard when ready and turn it upside down to drain. Let it dry completely for at least 24 hours in a warm, dry place before plugging it back in. If the liquid was sugary or sticky, you may need to open the keyboard and clean the circuit board with isopropyl alcohol on a cotton swab, but this requires care. If the keyboard does not work after drying, replacement is usually cheaper than repair.

Is it safe to clean my computer while it is on?

No. Always shut down and unplug before cleaning. Even with the power off, some components hold electrical charge. Unplugging and waiting five minutes ensures your safety and protects the computer from accidental damage.

How do I know if my computer needs internal cleaning?

Signs include louder fan noise, the case feeling hot to the touch, the computer shutting down unexpectedly, or performance slowing down during heavy use. These usually mean dust is blocking airflow and the computer is overheating. Opening the case and cleaning the heatsink and fans almost always fixes the problem.

Can I use a hair dryer instead of compressed air?

No. Hair dryers generate heat and static electricity, both of which can damage components. They also do not produce the focused airflow that compressed air does. Compressed air is inexpensive and lasts a long time, so it is worth buying.