macOS

Free Up Space on macOS: Complete Cleanup Guide

In this guide, you'll learn to find and delete hidden files, clear application caches, and free up gigabytes of space on macOS without risking system stability.

Updated at February 16, 2026
15-30 min
Easy
FixPedia Team
Применимо к:macOS Sonoma 14macOS Ventura 13macOS Monterey 12

Introduction / Why This Is Needed

Over time, macOS accumulates a large number of temporary files, cache, unnecessary installers, and duplicates, which can occupy tens of gigabytes. Regular cleanup not only frees up space for new files but can also slightly speed up system performance. This guide will help you safely find and remove hidden "junk" without risking important data.

What You'll Get:

  • Fast space freeing from 5 to 50+ GB depending on how full your drive is.
  • Understanding of macOS storage structure and what can be safely deleted.
  • A skill for regular disk maintenance to sustain performance.

Requirements / Preparation

Before starting, ensure that:

  1. You have a backup of important data (via Time Machine or manually).
  2. You are logged in as an administrator (required to access some system folders).
  3. macOS is updated to the latest stable version (Sonoma, Ventura, or Monterey).
  4. Close all unnecessary applications, especially those actively using the disk (e.g., torrents, video editors).

⚠️ Important: Do not delete files from system folders (/System, /usr, /bin) unless you are 100% sure of their purpose. Follow the instructions below.

Step-by-Step Guide

Step 1: Analyze Disk Usage

First, you need to understand what is occupying space.

  1. Open Apple menu (🍎) → About This Mac → Storage. Here, macOS will show an approximate distribution by categories: "Applications", "Documents", "System", "Other", etc.
  2. Click "Manage..." for a detailed analysis. The system will suggest automatic optimization options:
    • "Store in iCloud" — moves files to the cloud.
    • "Optimize Storage" — removes movies and TV shows you've already watched.
    • "Automatically empty Trash" — deletes files in the Trash older than 30 days.
    • "Reduce Clutter" — converts video to a more efficient format.
  3. Manually check large files:
    • Open Finder.
    • Press Cmd+F to search.
    • In criteria, select "Size" → "is larger than" and enter, for example, 1 GB.
    • Add a criterion "Date Modified" → "is before" and set a date, or choose "All".
    • The system will show the largest files. Review them and delete unnecessary ones.

Step 2: Clearing Application Cache

Cache consists of temporary files to speed up operations. They can be safely deleted.

2.1 Clearing Browser Cache (Safari, Chrome, Firefox)

Safari:

  1. Safari → Settings → Advanced → Check "Show Develop menu in menu bar".
  2. In the Develop menu → Clear Caches.
  3. Or manually: ~/Library/Caches/com.apple.Safari/Cache.db (delete the Cache.db folder).

Google Chrome:

  1. Chrome → Settings → Privacy and security → Clear browsing data.
  2. Select "Cached images and files" → "Clear data".

Firefox:

  1. Settings → Privacy & Protection → Cookies and Site Data → "Clear Data" → check "Cached Web Content".

2.2 Clearing System and User Cache

Caution: Delete only the contents of Caches folders, not the folders themselves.

  1. Open FinderGo (in the menu) → Go to Folder... (Cmd+Shift+G).
  2. Enter ~/Library/Caches and press Enter.
  3. Review application folders (e.g., com.apple.Safari, com.spotify.client, com.adobe.*). You can delete everything inside these folders (files and subfolders), but do not delete the Caches folder itself.
  4. For system cache (requires admin password), go to /Library/Caches (without ~). Delete only files, not folders with names like com.apple.

Example Terminal command for quick user cache cleanup:

# Delete contents of all user cache folders (without deleting the folders themselves)
find ~/Library/Caches -type f -delete
find ~/Library/Caches -type d -empty -delete

💡 Tip: After clearing the cache, applications may take slightly longer to launch the first time — this is normal.

Step 3: Removing Unnecessary Downloads and Duplicates

3.1 "Downloads" Folder

Open the Downloads folder in Finder (~/Downloads). Delete:

  • .dmg installer files for already installed programs.
  • Archives .zip, .dmg, .pkg that are no longer needed.
  • Old documents, screenshots, videos.

3.2 Finding Duplicates and Large Files

Use built-in tools or third-party apps (e.g., Duplicate Cleaner, Gemini 2):

  • Finder: search by file type (e.g., kind:image or kind:video) and sort by size.
  • Photos: if using a library in "Photos", check the "Duplicates" section — duplicates may be there.

Step 4: System and Local Backup Cleanup

4.1 Deleting Old macOS Installers

The /Applications folder often contains Install macOS [Name].app. If you've already updated, delete old installers (typically 6-12 GB each).

4.2 Deleting iOS/iPadOS Backups

  1. System Settings → General → Storage → Manage Storage.
  2. Select "Backups".
  3. Delete old backups of devices you no longer use.

4.3 Cleaning Up Locales and Language Packs (Optional)

If you don't use other languages, you can remove their language packs:

# List installed language packs
ls /System/Library/Frameworks/ | grep -i lproj
# Remove unnecessary ones (e.g., Spanish) - ONLY if you are sure!
# sudo rm -rf /System/Library/Frameworks/Foundation.framework/Versions/C/Resources/es.lproj

⚠️ Caution: Do not delete system locales without understanding the consequences. Skip this step if unsure.

Step 5: iCloud and Photos Optimization

5.1 Photos

  1. Open the Photos app → Settings (or "Photos" → "Settings" in the menu).
  2. Enable "Optimize Mac Storage". This will store low-quality previews on your Mac while keeping originals in iCloud.
  3. Delete unwanted shots in the "Recently Deleted" section (they are stored for 30 days before permanent deletion).

5.2 iCloud Drive

  1. System Settings → your name → iCloud.
  2. Click "Manage" next to "iCloud Drive".
  3. Disable sync for apps you don't use (e.g., "Pages", "Keynote" if you don't work in them).
  4. On Mac: open the ~/Library/Mobile Documents/ folder — iCloud Drive data is stored here. Delete unnecessary app folders.

Verifying Results

  1. Open Apple menu → About This Mac → Storage again and compare the numbers before and after.
  2. Use Disk Utility (/Applications/Utilities/Disk Utility.app):
    • Select your main disk (usually "Macintosh HD").
    • Click "Show Info" — check "Available".
  3. Ensure the system runs stably: launch a few apps, open a browser with multiple tabs.

Potential Issues

Issue: "Insufficient permissions to delete files"

Solution: Some files in /Library or ~/Library may be protected. Use the admin password when prompted. In Terminal, prepend sudo to the rm command (e.g., sudo rm -rf /path/to/file), but be extremely careful.

Issue: "App won't launch after cache cleanup"

Solution: Restart your Mac. The app will recreate its cache automatically. If the problem persists, restore the cache from a Time Machine backup.

Issue: "System shows 'Other' as a huge category, but I don't see large files"

Solution: "Other" includes:

  • Virtual machine files (Parallels, VMware).
  • Mail cache.
  • Databases (e.g., SQLite for apps).
  • Documents in formats unrecognized by Finder (e.g., .ipa, .xcarchive). Use this Terminal command to find large files:
# Find files larger than 500 MB in your home folder
find ~ -type f -size +500M -exec ls -lh {} \; | awk '{ print $5, $9 }' | sort -rh

Issue: "Space fills up again quickly"

Solution: Check:

  • Background processes: Activity Monitor → "Disk" tab — are there processes constantly writing to disk?
  • iCloud sync: if "Optimize Storage" is enabled but you frequently edit videos/photos, originals will re-download.
  • Rogue apps: some applications (e.g., torrent clients, screen recording tools) create temporary files. Configure them to clean up after tasks.

F.A.Q.

Is it safe to delete cache on Mac?
How to verify that space has been freed up?
Why does space get filled again after cleanup?
Can I delete files from the 'Other' folder in storage?

Hints

Analyze Disk Usage
Clear Application Caches
Remove Unnecessary Downloads and Duplicates
Clean System and Local Backups
Optimize iCloud and Photos
FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community