Start with the Basics: Shutting Down and Gathering Supplies
Before you touch the inside of your Mac, shut it down completely and unplug the power cable. Let it sit for a few minutes so any residual charge drains. A powered-off computer is safer to clean, and you will not accidentally trigger a keystroke or damage a component with static electricity.
Gather your cleaning supplies before you start. You will need a soft, lint-free cloth (microfiber cloths work best), isopropyl alcohol at 70 percent concentration, compressed air in a can, and cotton swabs. Do not use paper towels, which leave fibers behind. Avoid water, household cleaners, and alcohol stronger than 90 percent, which can damage the screen coating and internal components.
If your Mac has a removable battery or you plan to open the case, also have a small Phillips screwdriver and an anti-static wrist strap on hand. The wrist strap clips to your wrist and grounds you to the computer chassis, preventing static discharge that can fry circuits.
Key Takeaways
- Always shut down and unplug your Mac before cleaning any part of it, and wait a few minutes for residual charge to drain.
- Use only 70 percent isopropyl alcohol and a microfiber cloth on the screen; water and household cleaners will damage the coating.
- Compressed air removes dust from vents and keyboard without opening the case, and should be applied in short bursts while the Mac is off.
- If you open the case to clean internal fans or components, wear an anti-static wrist strap to avoid damaging circuits with static electricity.
- Clean the keyboard and trackpad by lifting keys (on older models) or using compressed air between keys, never by pouring liquid into the mechanism.
Cleaning the Screen Without Damaging the Coating
The screen on a Mac is coated with a special finish that repels fingerprints and glare. Harsh cleaners and rough cloths will strip this coating, leaving permanent damage. Dampen your microfiber cloth with a small amount of 70 percent isopropyl alcohol—not the cloth itself, but just enough to make it slightly damp. Wipe the screen gently in circular motions, starting from the center and moving outward.
Never spray liquid directly onto the screen. Liquid can seep into the edges of the display and damage the electronics underneath. If the screen is very dirty, explore the alcohol to the cloth first, then wipe. For stubborn smudges, let the damp cloth sit on the spot for a few seconds before wiping. Do not press hard; the weight of the cloth is enough.
Once you have wiped the screen, use a dry corner of the microfiber cloth to remove any remaining moisture. Let the screen air-dry for a minute before closing the lid or turning the Mac back on.
Removing Dust from Vents and Ports
Dust buildup inside your Mac blocks airflow and causes the fans to work harder, which can slow performance and shorten the lifespan of internal components. Compressed air is the safest way to blow dust out without opening the case. Hold the can upright and use short bursts—do not hold the trigger continuously, which can release liquid propellant onto your Mac.
Direct the compressed air into the vents on the sides, back, and bottom of your Mac. Tilt the Mac slightly so dust falls away from the computer rather than deeper inside. Pay special attention to the ports where cables connect, as dust accumulates there. For a MacBook, clean the vents along the hinge and the bottom edge.
If dust is packed tightly and compressed air alone does not dislodge it, you may need to open the case. This varies by Mac model—some have easily removable bottom panels, while others require more disassembly. Check the specific model on Apple's support site or iFixit before attempting this, as opening the case incorrectly can damage components or void your warranty.
Cleaning the Keyboard and Trackpad
Keyboards trap crumbs, dust, and dried liquid between the keys. Start by tilting your Mac at a 75-degree angle (nearly vertical) and using compressed air to blow debris out from between the keys. Use short bursts and move the can across the entire keyboard. Tilt the Mac the other direction and repeat to dislodge particles stuck on the underside of the keys.
For older Mac keyboards with removable keys, you can pop off individual keys and clean underneath. Press a key at an angle until it lifts, then gently pull it toward you. Clean the exposed area with a cotton swab slightly dampened with isopropyl alcohol. Do not remove the spacebar or large keys unless you are confident you can reinstall them—the mechanism underneath is delicate.
Modern MacBook keyboards are not designed to be disassembled by users. Stick to compressed air for these models. For the trackpad, use a microfiber cloth slightly dampened with isopropyl alcohol to wipe the surface. Do not spray liquid directly onto the trackpad, as it can seep into the mechanism and cause the buttons to stick.
Cleaning the Exterior Case and Ports
Wipe the aluminum or plastic exterior with a microfiber cloth slightly dampened with isopropyl alcohol. Work in the direction of the grain if your Mac has a brushed metal finish. Pay attention to areas where your hands rest, as these accumulate oils and dirt over time. For stubborn marks, let the damp cloth sit on the spot for a few seconds before wiping.
Use a cotton swab slightly dampened with isopropyl alcohol to clean around ports and connectors. The USB, Thunderbolt, and charging ports collect dust and lint. Gently insert the swab into the port opening and rotate it to loosen debris, then use compressed air to blow it out. Do not force the swab deep into the port, as you can damage the pins inside.
If your Mac has a MagSafe charging port, wipe the metal connector on both the cable and the Mac with a dry microfiber cloth. A dirty connection can prevent charging or cause the cable to overheat. Never use liquid on the charging connector itself.
Opening the Case to Clean Internal Fans
If your Mac is running hot or the fans are loud, dust on the internal heatsinks and fans is likely the cause. Cleaning these components requires opening the case, which varies significantly by model. A 2015 MacBook Air has a straightforward bottom panel that unscrews in minutes, while a newer MacBook Pro requires removing the battery and disconnecting multiple cables.
Before opening the case, ground yourself by wearing an anti-static wrist strap clipped to the Mac chassis. This prevents static electricity from your body from damaging circuits. Use a small Phillips screwdriver to remove the screws holding the bottom panel, and keep them in a small container so you do not lose them. Take a photo of the interior before you start, so you remember where everything goes.
Once the case is open, use compressed air to blow dust off the heatsink fins and fan blades. Do not touch the fans directly unless you are holding them still—spinning fans can damage the bearings. If dust is caked on, use a soft brush or old toothbrush to gently loosen it first, then blow it away with compressed air. Reassemble the case in reverse order, making sure all screws are tight but not over-tightened.
Cleaning the Battery and Power Adapter
The power adapter and battery generate heat and attract dust. Wipe the exterior of the power adapter with a dry microfiber cloth. If the cable is dirty, use a cloth slightly dampened with isopropyl alcohol, but do not get liquid near the connector ends. Let the adapter dry completely before plugging it in.
For the battery, which is usually inside the case, wipe the exterior contacts with a dry cotton swab. Corroded or dirty contacts prevent the battery from charging properly. If the battery is removable (older Mac models), take it out and clean the metal contacts on both the battery and the Mac with a dry cotton swab before reinstalling it.
Never attempt to clean the inside of the power adapter or open the battery. Both contain high-voltage components that can cause serious injury even when unplugged.
How Often to Clean Your Mac
Light cleaning—wiping the screen and exterior—should happen weekly or whenever you notice fingerprints or dust. Compressed air cleaning of vents and keyboard should happen every three to six months, depending on your environment. If you work in a dusty space or have pets, clean more frequently.
Deep cleaning of internal components is necessary only if your Mac is running hot, the fans are loud, or you have not cleaned it in over a year. Most users will never need to open the case if they keep the vents and keyboard clear with compressed air. If you are unsure whether your Mac needs internal cleaning, check the fan speed using a free app like Macs Fan Control. If the fans are running at maximum speed during normal use, dust buildup is likely the cause.
Frequently Asked Questions
Can I use water to clean my Mac screen?
No. Water can seep into the edges of the display and damage the electronics underneath. Use only 70 percent isopropyl alcohol on a damp microfiber cloth, never liquid sprayed directly onto the screen. Tap water also leaves mineral deposits that cloud the display.
What should I do if liquid spills on my keyboard?
Power off the Mac when ready and unplug it. Tilt it so the liquid drains away from the internal components. Let it sit unplugged for at least 24 hours before turning it back on. If the keyboard stops working after the spill, the liquid may have damaged the circuit board underneath, and you will need professional repair.
Is it safe to use a vacuum cleaner on my Mac?
No. Vacuum cleaners generate static electricity that can damage circuits, and the suction can dislodge small components inside the case. Always use compressed air instead, which is safer and more effective at removing dust from tight spaces.
How do I know if my Mac needs internal cleaning?
Signs include fans running loudly during normal use, the Mac feeling hot to the touch, or performance slowing down. You can also check fan speed with a free app like Macs Fan Control. If fans are running at maximum speed when the Mac is idle, dust is blocking airflow and internal cleaning will help.
Can I clean the charging port with a toothpick?
Avoid this if possible. A toothpick can scratch the metal contacts or break off inside the port. Use a cotton swab or compressed air instead. If lint is deeply stuck, a wooden toothpick is safer than metal, but a swab is the better choice.