sodcalculator

10 Tech How-To

How to Clean Up Your Mac: MacBook & iMac Guide

Guide 10-51353 · Updated · Step by step

This guide walks you through a thorough cleanup of your Mac (MacBook or iMac) to free up storage space, speed up performance, and organize your files. You’ll learn how to remove unnecessary files, manage startup items, and keep your system running smoothly. No special tools are needed—just a bit of time and the built-in macOS utilities.

What You’ll Need

  • About 30-60 minutes of uninterrupted time
  • An external drive (for backing up before major deletions, optional but recommended)
  • Admin access to your Mac (your login password)

Step-by-Step

  1. Back up your Mac (Time Machine or other). Before deleting anything, make sure you have a recent backup. Connect an external drive, go to System Settings > General > Time Machine, and click Back Up Automatically (or manually initiate a backup). This ensures you can recover any file you accidentally delete.
  2. Check storage usage. Click the Apple menu and select System Settings > General > Storage. Wait a moment for the bar to load. This shows you a breakdown by category (Applications, Documents, Photos, etc.). Note which categories are using the most space—those are your priority targets.
  3. Use the built-in Storage Management tools. In the same Storage screen, click the i button next to a category or click Manage (if available). macOS offers suggestions like emptying the Trash, optimizing storage (removing watched movies and TV shows), and reducing clutter. Review and apply the ones that make sense for you.
  4. Empty the Trash. Right-click the Trash icon in the Dock and select Empty Trash. For a deeper clean, go to Finder > Settings > Advanced and enable “Remove items from Trash after 30 days” to automate future cleanup.
  5. Delete large and old files. Open Finder and use Cmd+Shift+G to go to ~/Downloads and ~/Documents. Sort by size (click the “Size” column header; if it’s not there, right-click the header and add “Size”). Delete files you no longer need. Also check ~/Movies, ~/Music, and ~/Pictures for old media.
  6. Uninstall apps you don’t use. In the Storage screen, click Applications and sort by size. For any app you don’t use, delete it by dragging it from the Applications folder to the Trash (or right-click and select Move to Trash). Some apps leave behind support files—use a dedicated uninstaller if the app provides one, or manually delete leftover files in ~/Library/Application Support and ~/Library/Preferences (be careful—only remove files clearly related to the app you deleted).
  7. Clear caches and temporary files. Open Finder and press Cmd+Shift+G, type ~/Library/Caches, and press Enter. You’ll see folders for apps. You can delete the contents of these folders (but not the folders themselves). Be cautious—some apps may slow down briefly after cache deletion, but it’s safe. Also check ~/Library/Logs and delete old log files.
  8. Clean up your desktop. A cluttered desktop slows down your Mac because every icon is rendered. Create folders like “Screenshots” or “Work” and drag related files into them. Or use Desktop & Documents in iCloud to keep files synced and off your local drive.
  9. Manage startup items and background processes. Go to System Settings > General > Login Items. Review the list of apps that open at login and remove any you don’t need by selecting them and clicking the minus button. Also check “Allow in the Background” and disable any apps that don’t need to run continuously.
  10. Empty your Downloads folder. This is often the biggest space hog. Sort by size and delete or move files you want to keep to an external drive or cloud storage.
  11. Review email attachments and downloads. In Mail, go to Mailbox > Take All Accounts Offline (temporarily) and then check Mailbox > Download Attachments—set it to “None” or “Recent” to avoid storing every attachment locally. Also, in Safari, go to Settings > General and set “Remove history items” to a short period, and clear the cache via Develop > Empty Caches (if you have the Develop menu enabled).
  12. Run First Aid on your disk. Open Disk Utility (in /Applications/Utilities), select your startup disk (usually “Macintosh HD”), and click First Aid. This repairs disk permissions and minor file system issues. It’s a good maintenance step.
  13. Restart your Mac. After all the deletions, restart to clear memory and finalize the cleanup. This also applies any system updates that were pending.

Common Mistakes

  • Deleting system files without knowing what they are. Never delete anything in /System or /Library unless you’re absolutely sure. You can break your Mac.
  • Using “cleaner” apps that promise miracles. Many of these apps are unnecessary, can be intrusive, and some are outright scams. Stick with built-in tools.
  • Deleting app support files for apps you still use. This can cause apps to lose preferences or crash.
  • Ignoring the Trash. Deleting files doesn’t free space until you empty the Trash.
  • Not backing up before a big cleanup. You might delete something you later realize you needed.

Tips

  • Use the “Optimize Storage” feature. It automatically removes watched movies and TV shows from Apple TV, and can store only recent versions of documents in iCloud.
  • Store files in iCloud. If you have iCloud storage, enable “Desktop & Documents” to keep your local drive free.
  • Schedule regular cleanups. Set a monthly reminder to review your Downloads folder and Trash.
  • Use the “Storage” screen’s “Reduce Clutter” button. It shows large files, downloads, and supported apps—great for quick wins.
  • Take advantage of “Find Large Files” in Finder. Use Cmd+F in Finder, then select “File Size” and “is greater than” 1 GB to spot big files.

Troubleshooting

  • Storage bar doesn’t load or shows inaccurate data. Wait a few minutes and try again. If it’s stuck, restart your Mac and check again. The calculation can take time.
  • You deleted something and now an app won’t open. Reinstall the app from the App Store or the developer’s website. If you have a Time Machine backup, you can restore the missing files.
  • Your Mac is still slow after cleanup. The cleanup may not be the cause. Check Activity Monitor (in /Applications/Utilities) for high CPU or memory usage. If an app is using excessive resources, quit it or consider updating it.
  • You can’t empty the Trash because a file is “in use.” Quit the app that’s using the file, or restart your Mac and try again.
  • First Aid reports an error. If it’s a minor error, run First Aid again. If it persists, back up your data and consider reinstalling macOS.

Frequently Asked Questions

How often should I clean up my Mac?

It depends on your usage. If you download a lot of files or install many apps, a monthly cleanup is good. Otherwise, every few months is sufficient.

Is it safe to delete cache files?

Yes, cache files are temporary and will be recreated by apps. Deleting them can free up space, but apps may be slower the first time they run after deletion.

What is “Other” in the Storage bar?

“Other” includes system files, caches, logs, temporary files, and app support files. You can’t easily see what’s inside, but you can use Finder to navigate to ~/Library and delete caches/logs manually.

Do I need a third-party cleaner app?

No. macOS has built-in tools that are sufficient for most users. Third-party apps can sometimes cause more harm than good.

Will cleaning up my Mac make it faster?

It can, especially if you’re low on disk space (less than 10% free). Freeing up storage and reducing startup items can improve boot time and overall responsiveness.

How do I free up space without deleting my files?

Use iCloud to store files, move large media to an external drive, and use the “Optimize Storage” feature to remove watched movies and TV shows.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →