Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Optimize Storage on Your macOS Device

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To optimize storage on your macOS device, start by opening the Apple menu > System Settings > General > Storage (on older macOS versions, it's Apple menu > About This Mac > Storage). This shows a visual breakdown of what's taking up space. From there, you can use built-in tools to clear caches, remove old files, and offload unused apps. This guide walks you through the most effective steps, from quick wins to deeper cleanup, and covers common mistakes and troubleshooting.

What You'll Need

  • Your Mac with macOS Catalina (10.15) or later (steps may vary slightly on older versions).
  • Administrator access to your user account (to delete some system files).
  • A few minutes of time—some steps involve scanning or waiting for calculations.

Step-by-Step

  1. Check your current storage usage. Click the Apple menu (top-left) > System Settings (or System Preferences on older macOS) > General > Storage. Wait a moment for the bar to fill. This shows how much space is used and by which categories (Apps, Documents, Photos, etc.). Note the total available and used space.
  2. Use Apple's built-in recommendations. In the Storage window, you'll see a list of suggestions like "Optimize Storage" (for iCloud), "Empty Trash Automatically," "Reduce Clutter," and "Review Large Files." Click each one to see details. For example, "Review Large Files" opens a Finder window sorted by file size—you can delete or move files you no longer need.
  3. Clear caches and temporary files. Open Finder, press Cmd+Shift+G, type ~/Library/Caches, and press Enter. You'll see folders for each app. You can delete the contents of these folders (but not the folders themselves) to free up space. Be careful: some apps may recreate caches, and deleting them can slow down first launch after cleanup. It's safe to delete files inside these folders, but not the folder structure itself.
  4. Remove language files and unused apps. In the Storage window, click "Apps" to see a list of installed applications sorted by size. Select any app you no longer use and click the "-" button (or drag it to Trash from the Applications folder). To remove leftover language files, you can use a third-party app like CleanMyMac or do it manually, but manual removal is risky—stick to the built-in method unless you know what you're doing.
  5. Clean up Downloads and Documents. Open Finder and go to your Downloads folder. Sort by size (View > Show View Options > Size) and delete files you no longer need. Do the same for Documents, Desktop, and any other folders where you store large files. Move important files to an external drive or cloud storage if you need them but don't need them locally.
  6. Empty the Trash. Right-click the Trash icon in the Dock and select "Empty Trash." If you want to ensure it's emptied automatically, go to System Settings > General > Storage and click "Empty Trash Automatically" to turn it on. This deletes items older than 30 days.
  7. Optimize iCloud storage (if you use iCloud). In the same Storage window, click "Optimize" next to iCloud. This moves your photos and documents to iCloud and keeps only smaller versions on your Mac. You'll need enough iCloud storage (check your plan). This is a great way to free up space without losing files.
  8. Delete old Time Machine snapshots. If you use Time Machine, local snapshots can accumulate. To delete them, open Terminal (in Utilities) and run tmutil listlocalsnapshots / to see them, then tmutil deletelocalsnapshots (this deletes all local snapshots). Be aware this removes your ability to restore from those snapshots.
  9. Check for large files in Mail. Mail attachments can take up a lot of space. In the Storage window, click "Mail" to see the size. You can delete large attachments from Mail by selecting them and choosing "Remove Attachment" (this keeps the email but removes the file). Or go to Mail > Settings > Accounts > Download Attachments and choose "None" or "Recent" to avoid downloading all attachments.
  10. Rebuild Spotlight index (if storage seems off). If your storage bar doesn't match reality, Spotlight may be indexing. Go to System Settings > Siri & Spotlight, and you can turn off indexing for certain folders, but rebuilding the index can help. To rebuild, add your hard drive to Privacy, then remove it—this forces a reindex. This doesn't free up space but can fix inaccurate storage info.

Common Mistakes

  • Deleting system files you don't understand. Never delete files in /System or /Library unless you're absolutely sure. You can break your Mac.
  • Using "CleanMyMac" or similar tools without caution. These apps can delete important caches or files if misconfigured. Always review what they're about to remove.
  • Ignoring the Trash. Files you delete stay in Trash until you empty it. Make sure to empty it regularly.
  • Deleting caches for apps you use daily. This can make apps slower temporarily and might cause issues if you delete critical data (e.g., browser cache). Stick to caches for apps you rarely use.
  • Not checking for hidden large files. Files like virtual machines, disk images, or old backups can be huge. Use the "Review Large Files" feature to find them.

Tips

  • Use the built-in Storage Management tool first. It's safe and covers most needs.
  • Move photos to iCloud or an external drive. Photos can be the biggest space hogs. Use "Optimize Mac Storage" in Photos settings to keep smaller versions on your Mac.
  • Regularly clean your Downloads folder. Set a reminder to do this monthly.
  • Use a third-party app like DaisyDisk or OmniDiskSweeper to visualize what's taking up space—they're more thorough than Apple's tool, but always review before deleting.
  • Keep your macOS updated. Updates often include storage optimizations and bug fixes.

Troubleshooting

If the Storage bar doesn't show accurate info: Wait a few minutes for it to recalculate. If it's stuck, restart your Mac. If it still shows wrong info, rebuild Spotlight index as described above.

If you can't delete a file because it's "in use": Quit the app that might be using it (check Activity Monitor). If it's a system file, don't force-delete it—it's likely needed.

If you run out of space during cleanup: Free up at least 10-15 GB before doing major updates or installations. If you're critically low, restart your Mac to clear temporary files, then empty Trash.

If you accidentally deleted something important: Stop using your Mac immediately. Check the Trash first. If it's not there, you may need a data recovery tool (like Disk Drill) or a Time Machine backup. If you have Time Machine, you can restore the file from a backup.

If the "Optimize" button for iCloud is grayed out: Make sure you're signed into iCloud and have enough storage. Go to System Settings > Apple ID > iCloud to check your plan.

Frequently Asked Questions

Is it safe to delete files in ~/Library/Caches?

Yes, generally it's safe to delete the contents of cache folders—they're temporary. Apps will recreate them as needed. However, some apps might run slower the first time after clearing.

How do I find the largest files on my Mac?

Go to System Settings > General > Storage, then click "Review Large Files" (or "Review Files" on older macOS). This opens a Finder window sorted by file size.

What does "Optimize Storage" in iCloud do?

It moves your photos and documents to iCloud, keeping only smaller versions on your Mac. You can download the full versions anytime when you have internet access.

Can I delete the "Other" category in Storage?

The "Other" category includes caches, logs, app support files, and more. You can't delete it as a whole, but you can clear caches and logs to reduce it. Use a tool like OmniDiskSweeper to see what's inside.

Will emptying Trash permanently delete files?

Yes, emptying Trash permanently removes files from your Mac. Be sure you don't need them. If you have Time Machine, you might be able to recover them from a backup.

How often should I optimize storage?

It's a good habit to check every few months or when you notice your Mac is running low on space. Regular maintenance (like clearing Downloads and empty Trash) can prevent issues.