Clean your Mac's hard drive. Sometimes, all your MacBook needs is a data clean-up. Over the years, you've probably cluttered your Mac with files and applications you no longer use or need. How to clean a Mac by scanning the disk for cache, logs, and temporary files. An outstanding way amongst the most common approaches is to clean the system’s hard drive from Browser Cache files, any temporary files, logs, and so on and so forth. In order to find this garbage, additional instruments may be enhanced like Disk Utility.
Apple products are made with a variety of materials, and each product might have specific cleaning requirements which vary by the part you're cleaning. To get started, here are some tips that apply to all products:
- Use only a soft, lint-free cloth. Avoid abrasive cloths, towels, paper towels, and similar items that might cause damage.
- Unplug all external power sources, devices, and cables.
- Keep liquids away from the product.
- Don't get moisture into any openings.
- Don't use aerosol sprays, solvents, or abrasives.
- Don't spray cleaners directly onto the item.
If liquid makes its way inside your Apple product, get help from an Apple Authorized Service Provider or Apple Retail Store as soon as possible. Liquid damage isn't covered under the Apple product warranty or AppleCare Protection Plans. If you plan to visit an Apple Retail store, make a reservation at the Genius Bar (available only in some countries and regions).
For more detailed instructions, select your Apple product:
Notebook computers
Learn how to clean your Mac notebook computer.
MacBook, MacBook Pro, and MacBook Air
When cleaning the outside of your MacBook, MacBook Pro, or MacBook Air, first shut down your computer and unplug the power adapter. Then use a damp, soft, lint-free cloth to clean the computer's exterior. Avoid getting moisture in any openings. Do not spray liquid directly on the computer. Don't use aerosol sprays, solvents, abrasives, or cleaners containing hydrogen peroxide that might damage the finish.
To clean the screen on your MacBook, MacBook Pro, or MacBook Air, first shut down the computer and unplug the power adapter. Dampen a soft, lint-free cloth with water only, then use it to clean the computer's screen.
MacBook Pro models from 2016 and later with Touch Bar and Touch ID: Clean the Touch Bar and Touch ID (power button) on these computers the same way you would clean the display. Shut down your Mac and unplug the power adapter. Dampen a soft, lint-free cloth with water only, then use it to clean the Touch Bar and Touch ID.
MacBook (13-inch, Late 2009) and MacBook (13-inch, Mid 2010): The bottom case of these computers uses a soft nonslip material. Use a 3M Gray Microfiber or soft dye-free, lint-free cloth to clean the bottom case.
Back to top.
Desktop computers
Learn how to clean your Mac desktop computer.
Mac Pro, Mac mini, and iMac
First, shut down your Mac and unplug the power cord along with other connected devices. Then use a damp, soft, lint-free cloth to clean the computer's exterior. Avoid getting moisture in any openings. Don't spray liquid directly on the computer. Don't use aerosol sprays, solvents, abrasives, or cleaners containing hydrogen peroxide that might damage the finish.
To clean the display on your iMac, dampen the cloth that came with your iMac—or another clean, soft, lint-free cloth—with water only, and then wipe the screen.
Don't clean the screen of your iMac with a cleaner containing acetone. Use a cleaner intended for use with a screen or display. Never spray cleaner directly on the screen. It might drip inside the display and cause damage.
Back to top.
Displays
First, disconnect the display from power, from its connection to a computer, and from any external devices. Then use the cloth that came with your display or another soft, dry cloth to wipe dust from the screen.
If additional cleaning of the display panel or case is required, use a soft, slightly damp, lint-free cloth. Avoid getting moisture in openings. Don't use window cleaners, household cleaners, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean the display.
Don't clean the screen of your display with a cleaner containing acetone. Use a cleaner intended for use with a screen or display. Never spray cleaner directly on the screen. It might drip inside the display and cause damage.
Back to top.
Peripherals
Apple wireless or USB keyboards, mice, and trackpads
First, power off the device. If your device uses removable batteries, remove the batteries. (If your device is wired, simply unplug it from your computer.)
Next, clean the outside of your device with a lint-free cloth lightly moistened with water. Don't get moisture in any openings or use aerosol sprays, solvents, abrasives, or cleaners containing hydrogen peroxide.
If your Magic Mouse or Magic Mouse 2 isn’t tracking properly, there might be a hair or other debris on the sensor lens. Turn the mouse over and inspect the sensor window using a bright light. If you see debris, use compressed air to gently clean the sensor window.
iPhone cases
iPhone case—silicone
To clean your silicone iPhone case, remove your iPhone from the case. Use a soft, slightly damp, lint-free cloth to wipe the outside and the inside of the iPhone case. Don't use window cleaners, household cleaners, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean the iPhone case.
iPhone case—leather
The leather iPhone case is made from natural leather. Its appearance will change as you use it. It might acquire a patina and might change color due to the oils from your skin and direct sunlight, further enhancing the natural look.
Cleaning the leather might affect its color. If you choose to clean this case, first remove it from your iPhone. Use a clean cloth with warm water and mild hand soap to gently clean the iPhone case. You can also use a mild cleaner along with a dry clean cloth. Leather cleaners and conditioners can change the color of leather.
Keep your iPhone case away from prolonged intense sunlight, heat, and humidity. Exposure to water, oil, makeup, and dyed materials (such as denim) can stain tanned leathers.
iPhone case—clear
To clean your clear iPhone case, remove your iPhone from the case. Use a soft, dry, lint-free cloth to wipe the outside and inside of the case. Don't use window cleaners, household cleaners, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean the case.
iPhone Smart Battery Case
To clean your Smart Battery Case, remove your iPhone from the case. Use a soft, slightly damp, lint-free cloth to wipe the outside of the case. Don't use window cleaners, household cleaners, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean the case.
When cleaning the internal Lightning connector, use a soft, dry, lint-free cloth, and don’t use liquids or cleaning products.
Learn how to clean your iPhone.
Back to top.
iPad accessories
Apple Pencil
To clean your Apple Pencil, use a soft, slightly damp, lint-free cloth. With the damp cloth, wipe your Apple Pencil from the tip end—but not the tip itself—toward the other end of your Apple Pencil. Don’t allow moisture to get inside the seam between the tip and the body of your Apple Pencil.
iPad Smart Keyboard, Smart Keyboard Folio, Smart Cover, and Smart Case—polyurethane
To clean your polyurethane Smart Keyboard, Smart Keyboard Folio, Smart Cover, or Smart Case, first remove it from the iPad. Use a soft, slightly damp, lint-free cloth. Wipe the front and the inside with a soft, lint-free cloth.
Don't use window cleaners, household cleaners, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean this product.
iPad Smart Cover and Smart Case—leather
The iPad leather cover/case is made from natural leather. Its appearance will change as you use it. It might acquire a patina and might change color due to the oils from your skin and direct sunlight, further enhancing the natural look.
Cleaning the leather might affect its color. If you choose to clean the leather, first remove the cover/case from your iPad. Use a clean cloth with warm water and mild hand soap to gently clean the leather. Wipe the outside and the inside with a soft, lint-free cloth to remove any dirt. You can also use a mild cleaner along with a dry clean cloth. Mild cleaners or conditioners might help remove some stains but might also change the color of the leather.
Keep your iPad leather cover/case away from prolonged intense sunlight, heat, and humidity. Exposure to water, oil, makeup, and dyed materials (such as denim) can stain tanned leathers.
iPad Silicone Case
To clean your iPad Silicone Case, remove your iPad from the case. Use a soft, slightly damp, lint-free cloth to wipe the outside and the inside of the case. Don't use window cleaners, household cleaners, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean the iPad case.
Back to top.
iPad
Handle your iPad with care to maintain its appearance. If you're concerned about scratching or abrasion, you can use one of the many cases sold separately. To clean iPad, unplug all cables and turn off iPad (press and hold the Sleep/Wake button, and then slide the onscreen slider). Use a soft, slightly damp, lint-free cloth. Avoid getting moisture in openings. Don't use window cleaners, household cleaners, compressed air, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean iPad. iPad has an oleophobic coating on the screen; simply wipe iPad's screen with a soft, lint-free cloth to remove oil left by your hands. The ability of this coating to repel oil will diminish over time with normal usage, and rubbing the screen with an abrasive material will further diminish its effect and might scratch your screen.
Back to top.
iPod
iPod touch
To clean iPod touch, unplug all cables and turn off iPod touch (press and hold the Sleep/Wake button, and then slide the onscreen slider). Then use a soft, slightly damp, lint-free cloth. Avoid getting moisture in openings. Don't use window cleaners, household cleaners, compressed air, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean iPod touch.
iPod classic
To clean iPod classic, unplug all cables, turn iPod classic off, and slide the Hold switch to HOLD. Then use a soft, slightly damp, lint-free cloth. Avoid getting moisture in openings. Don't use window cleaners, household cleaners, compressed air, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean iPod classic.
iPod nano
To clean iPod nano, unplug all cables, turn iPod nano off, and slide the Hold switch to HOLD. Then use a soft, slightly damp, lint-free cloth. Avoid getting moisture in openings. Don't use window cleaners, household cleaners, compressed air, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean iPod nano.
On iPod nano 6th generation, which has no hold switch, you need to press only the Sleep/Wake button to turn the device off before cleaning.
iPod shuffle
To clean iPod shuffle, unplug all cables, turn it off (slide the switch to OFF), and use a soft, slightly damp, lint-free cloth. Avoid getting moisture in openings. Don't use window cleaners, household cleaners, compressed air, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean iPod shuffle.
iPod mini
To clean iPod mini, unplug all cables, turn iPod mini off, and slide the Hold switch to HOLD. Then use a soft, slightly damp, lint-free cloth. Avoid getting moisture in openings. Don't use window cleaners, household cleaners, compressed air, aerosol sprays, solvents, ammonia, abrasives, or cleaners containing hydrogen peroxide to clean iPod mini.
Back to top.
Learn more
- Learn how to disinfect the Apple internal or external keyboard, trackpad, and mouse.
- For more information on cleaning, handling, and working with your Apple Product, please refer to the User Guide that came with your product or download a copy.
Spring comes with its own rituals. Here at Macworld, we like to throw open the windows, beat the dust out of the rugs, and straighten up our Mac desktops. Don’t stop at cleaning your home this season. Clean up your Mac.
If you're using macOS Sierra, it has a feature that will help tremendously with your Spring cleaning: Optimize Storage. You can use Optimize Storage to activate the Store in iCloud option, remove iTunes videos you've watched (they can be re-downloaded), set it to empty the Trash automatically, reduce clutter caused by large files and downloads, and a lot more. Optimize Storage is especially handy if you're using a Mac laptop with flash storage. You usually don't get the same amount of space as you would with a hard drive, so managing your space becomes more important.
Learn more about Optimized Storage in macOS Sierra
Beside Optimize Storage, there are other way to keep your Mac digitally clean. These tips from our editors will help you keep your Mac fresh and organized, whether you're using macOS Sierra or an older version of OS X.
Tidy up your desktop
Light Pillar’s wonderful app Desktop Tidy ($8; available on the App Store; requires OS X 10.8 or later) is a handy utility that cleans up your Mac’s desktop, keeping it free of clutter. It stores all desktop files and folders in a hidden Shadow Desktop, which you can access from the menu bar or in the Finder. That way, every file I download, each screenshot I capture, and every image I drag and drop to my desktop is stored and filed in an easy-to-reach location.
The utility quietly works its magic at scheduled intervals—as often as every minute or as infrequently as every seven days. It even organizes desktop items by file type, which makes finding and renaming files easy.—Leah Yamshon
Read our full review of Desktop Tidy ()
Delete unnecessary disk images
For most people, the Downloads folder is a dumping ground where files pile up in forgotten heaps. Go to the Downloads folder in the Finder and type disk image
into the search box. Select Disk Image under the Kinds header. Now, delete all of those downloaded DMG files that are just taking up space!—Jason Snell
In macOS Sierra, there's another way to delete disk images. Go to the Apple menu and select About This Mac, then select Storage and click on the Manage button. In the Reduce Clutter section, click on the Review Files button. In the main window, click on Downloads and the click on the Kind header to sort by that particular type. To delete a disk image. click on it, and then click on the X button that appears.
Empty out space-hogging Mail Downloads
I get quite a few attachments via email—PDFs, ePub ebooks, Word documents, images, you name it. Most of the time I save those files to my desktop or my Downloads folder, but on occasion I make the mistake of double-clicking a file. When you do that, the document saves itself to your Mail Downloads folder, hidden away in your Library file. Double-click enough files, and that folder can balloon in size. That’s why I make sure to check it and empty it every year or so.
The easiest way I find to do this is to use Spotlight—press Command-Space to see a search field appear—and then type Mail Downloads.
In the Folders section, you should see the Mail Downloads Data folder.
If this isn’t working for you, try getting to it the long way. In the Finder, select Go > Go to Folder. Type ~/Library/Containers/com.apple.mail/Data/Library/Mail Downloads
in the text field. Click Go, and a Finder window will open showing the Mail Downloads folder.
Once you get to the folder, you can select all files and delete, or rescue the few files you want to keep awhile in a more permanent location—say, the regular old Downloads folder.—Serenity Caldwell
Keep a clean cache
We’ve all heard “Empty your cache” as a web browser troubleshooting tip. As it turns out, a Mac stores a lot of information—not just browser-related details—in files called caches, allowing quick access to that data and reducing the need to fetch it from the original source again. Unfortunately, that information can sometimes become corrupted, or otherwise problematic. For example, you might end up looking at old data instead of the most current version of a website, or you may notice that a file’s icon doesn’t look quite right in the Finder.
Although you can manually go in and find some of OS X’s most commonly used cache directories (~/Library/Caches
is a good place to start), plenty of tools will handle this job for you. Cocktail, from Maintain, is among the longest-running and best of these. Not only can it clear your caches, but it can also perform assorted other maintenance tasks, such as deleting your browser’s cookies, looking for corrupted preference files, rebuilding certain databases, and way more. You can download it and use it for free for up to ten launches, but at $19, it’s a pretty good buy.—Dan Moren
Purge unwanted apps
As someone who reviews products for Macworld, I regularly try new apps and then delete them. For the most part, you can drag an app from the Applications folder to the Trash, but often an app creates folders and files outside of the app package and in various locations on the drive, which makes those files and folders difficult to find and toss out. For this reason, I use AppTrap, a free utility that installs as a System Preference pane and runs in the background.
When you Trash an app, AppTrap finds all the associated files and folders and moves them to the Trash—there’s no need for you to find those files on your hard drive yourself. Sometimes, however, when your Mac is updating an app, you want to keep the associated files but discard the old app; AppTrap will ask if you want to leave the files (which you want to do) or move them to the Trash. You can find other, just-as-capable utilities that do the same thing, but I’ve used AppTrap for years, and it has never given me problems or affected my Mac’s performance.
In macOS Sierra, you can also remove apps through the Optimize Storage feature. In the Apple menu, select About This Mac. Select Storage and click on the Manage button. In the left section, select Applications. The main section of the window will show a list of your applications. Select the app you want to remove, and then click on the X button to remove it. One caveat with this method: Only apps downloaded from the App Store will have all its components removed. If you got an app outside of the App Store and use this method to uninstall it, all the components may not be removed. Under the Kind header, you can see if an app was from the App Store or not.—Roman Loyola
Disinfect your grubby keyboard
My ergonomic keyboard accumulates so much dust and crumbs that occasionally I have to turn it upside down and shake it just to get the keys to work. But a thorough cleaning, even just once a year, can knock away the grime and germs. Unplug your keyboard or, if it is wireless, remove its batteries. If you’re cleaning a laptop, shut it down and unplug it. Blow the dust out from between the keys with a can of compressed air.
Clean Mac Cache Manually
To finish the job, all you need is a package of disinfecting wipes. Apple recommends Lysol Wipes or Clorox Kitchen Disinfecting wipes by brand name. The basic idea, however, is to wipe your keys gently with something alcohol-based. (Before you use a wipe, squeeze out any excess liquid.) As tempting as it might be when you’re feeling germophobic, do not use wipes with bleach, or spray everything with Lysol; you might damage the keyboard.—Scholle Sawyer McFarland
Clean Mac 10.4
Editor’s note: This article originally posted on March 21, 2013. It has been updated to reflect macOS Sierra.