How to Keep My Mac Clean: Step-by-Step Guide
In this article
This guide walks you through a practical, safe routine to keep your Mac’s storage, memory, and startup speed in good shape. You’ll learn what to clean, what to leave alone, and how to avoid the mistakes that cause more harm than good. No paid apps or risky terminal commands are needed—just built-in tools and a few minutes of your time.
What You'll Need
- Your Mac (any recent macOS version works)
- An admin user account (needed for some steps)
- About 30–60 minutes for the first full cleanup
- An external drive or cloud backup (recommended before deleting anything)
Step-by-Step
- Back up first. Connect a Time Machine drive or ensure iCloud backup is on. This protects you if you accidentally delete something important.
- Check storage usage. Click the Apple menu > System Settings > General > Storage. Wait a few seconds for the colored bar to load. This shows what’s taking up space: apps, documents, photos, system data, etc. Note the biggest categories.
- Empty trash and clear junk files. Right-click the Trash icon in the Dock and choose “Empty Trash.” Then go to Finder > Go > Go to Folder and type
~/Library/Caches. Sort by size (View > Show View Options > Size), and delete the largest folders that you don’t recognize. Be careful—only delete cache files, not the whole Library folder. - Remove unused applications. In the Storage screen, click “Applications” and sort by size. Delete apps you no longer use by dragging them to the Trash. For apps installed from the App Store, use Launchpad and hold the icon until it wiggles, then click the X. After deleting, empty the Trash again.
- Clean up downloads and documents. Open Finder, go to Downloads, and sort by size. Delete old installers (.dmg, .pkg), zip files, and anything you don’t need. Do the same in Documents, moving files you want to keep to an external drive or cloud.
- Clear browser cache and history. In Safari, go to Settings > Privacy > Manage Website Data, and click “Remove All.” In Chrome, go to Settings > Privacy and Security > Clear Browsing Data, select “All time,” and check “Cached images and files.” This frees up space and can speed up browsing.
- Reduce system data. System data (also called “Other”) often includes old backups, logs, and temporary files. To clear it, restart your Mac (which clears temp files), then check Storage again. If it’s still large, use the “Optimize Storage” button in the Storage screen—it removes watched movies and TV shows from Apple TV.
- Manage startup items. Go to System Settings > General > Login Items. Review the list under “Open at Login.” Remove any apps you don’t need at startup by selecting them and clicking the minus button. This speeds up boot time and frees memory.
- Run First Aid on your disk. Open Disk Utility (in Applications/Utilities). Select your main drive (usually “Macintosh HD”), click “First Aid,” then “Run.” This checks for disk errors and repairs them—it doesn’t delete files, but it can fix issues that slow down your Mac.
- Restart your Mac. After all the cleaning, a full restart clears memory caches and gives you a fresh start. This is the simplest way to see the improvements.
Common Mistakes
- Deleting system files you don’t understand. Never remove files from
/System,/Library, or~/Libraryunless you’re certain they’re safe. Deleting the wrong thing can break your Mac. - Using “cleaner” apps that promise miracles. Many are unnecessary and some can delete important caches or cause issues. Stick to built-in tools.
- Ignoring backups. Cleaning without a backup is risky. If you accidentally delete a needed file, you can’t get it back.
- Emptying the trash before checking for files you might need. Always browse the Trash before emptying, especially if you’re in a hurry.
- Forgetting to quit apps. Quit apps you’re not using (Cmd+Q) rather than just closing windows—they still use memory in the background.
Tips
- Set up automatic emptying of trash. In Finder > Settings > Advanced, check “Remove items from Trash after 30 days.” This keeps the trash from accumulating.
- Use “Optimize Storage” features. In System Settings > General > Storage, turn on “Optimize Storage” to automatically remove watched Apple TV content and reduce clutter.
- Keep your desktop tidy. Files on the desktop are stored on your startup disk and can slow down login. Move them into folders or use Stacks (right-click desktop > Use Stacks).
- Uninstall apps properly. For apps not from the App Store, use the app’s own uninstaller if it has one, or drag the app to Trash and also delete its support files in
~/Library/Application Supportand~/Library/Preferences. - Monitor storage monthly. Set a reminder to check Storage once a month. A quick 10-minute cleanup prevents buildup.
Troubleshooting
- Storage still shows “full” after cleaning. Restart your Mac, then check again. If it’s still full, look for large files in
~/Library/Containers(some apps store data there). Use Finder’s search with “File size” to find files over 1GB. If you can’t find them, consider using the built-in “Reduce Clutter” recommendations in Storage settings. - Your Mac is slow even after cleaning. Check Activity Monitor (in Utilities) for high CPU or memory usage. If a specific app uses a lot, quit it or reinstall it. If the system is slow, try resetting NVRAM (Intel Macs) or SMC—but only if you’re comfortable; this is not a first step.
- You accidentally deleted a file. If you emptied the trash, try Time Machine: open the folder where the file was, enter Time Machine, and restore from a backup. If you don’t have a backup, recovery is unlikely—hence the backup advice.
- First Aid reports an error. Run First Aid again—it sometimes fixes issues on the second pass. If it persists, back up your data and consider reinstalling macOS (the system will keep your files if you choose “Reinstall macOS” from Recovery).
- Login items won’t remove. Some apps re-add themselves. Check their settings for a “launch at login” option and disable it there. If that fails, delete the app—it’s likely not essential.
Frequently Asked Questions
- How often should I clean my Mac? A light cleanup (trash, downloads, caches) every 2–4 weeks is fine. A deeper cleanup (startup items, disk first aid) every 3–6 months.
- Is it safe to delete cache files? Yes, caches are temporary. The system recreates them as needed. Just avoid deleting the entire
~/Library/Cachesfolder—only the contents. - Will cleaning my Mac make it faster? If you’re low on storage (less than 10% free) or have too many startup items, yes. Otherwise, the effect is minimal—RAM and CPU matter more.
- Do I need a third-party cleaner app? No. Built-in tools cover most needs. Third-party apps can be useful for finding large files, but they aren’t necessary and can be risky.
- What is “System Data” and why is it huge? It includes logs, caches, temporary files, and sometimes old Time Machine snapshots. Restarting and using the “Optimize Storage” option helps. If it’s over 100GB, check for iOS backups in Finder (when an iPhone is connected).
- Does cleaning delete my personal files? No, if you follow this guide. You’re only removing caches, trash, and apps you choose to delete. Your documents, photos, and music remain untouched.