Forum Discussion
How to remove junk files on mac and free up storage space?
Hi everyone,
My Mac has been getting slower recently and I noticed the storage is almost full. I think a lot of junk files, caches, old app data, and temporary files are taking up space, but I’m not sure what is safe to clear out.
What is the best way to remove junk files on mac without damaging the system? Are there any built-in tools or reliable apps you would recommend for cleaning up storage and improving performance?
Thanks in advance for any help!
9 Replies
- HenryRobinsonIron Contributor
A dedicated cleaner app such as cleanmate. That's all you need to get!
- ZacharyRobinsonIron Contributor
Adobe Application Manager Cache cleanup is a targeted way to remove junk files on mac, focusing on leftover cache files from Adobe apps like Premiere Pro, After Effects, and Photoshop.
How to remove junk files on mac:
1. Open Finder.
2. Click Go → Go to Folder
3. Enter the first path, open the folder, and delete all contents:
~/Library/Application Support/Adobe/Common/Media Cache/
4. Repeat for the second path, deleting all contents inside:
~/Library/Caches/Adobe/
Frees up: 1–10GB of disk space.
If you use Adobe, this is one of the most effective targeted cleaning methods for removing junk files from your Mac, helping you keep your system running smoothly and manage your storage space efficiently.
Cosn
- Deleting the media cache will cause Adobe applications to regenerate preview files the next time you open a project, which may take some time.
- Clearing the cache will not affect your original project files, but some application preferences or cached data may be reset.
- MateoJohnsonBronze Contributor
This is a great way to clear junk file for mac using only built-in Terminal commands, no extra software required. It essentially lets you remove outdated system logs that accumulate over time, allowing you to free up hundreds of megabytes to gigabytes of storage space safely.
Usage Guide: Open the Terminal app on your Mac.
First, run this command to check the total size of the system log folder:
du -sh /private/var/log/
Next, execute these commands to clear old compressed logs and expired log archives:
sudo rm -rf /private/var/log/*.gz sudo rm -rf /private/var/log/*.log.*This method requires no third-party software installation and swiftly helps you clear junk file for mac by removing unnecessary system log files, effectively reclaiming disk space.
It is particularly useful for users comfortable with Terminal commands, performing quick system maintenance, or freeing up space after long-term use of macOS.
- ChristopherCarterIron Contributor
Delete Mail Downloads is an easy way to clear junk file for mac, targeting leftover email attachment cache files.
How to clear junk file for mac
Step 1: Open Finder.
Step 2: Click Go → Go to Folder, or use the keyboard shortcut Cmd + Shift + G.
Step 3: Enter the following path:
~/Library/Mail Downloads/
Finally, delete all contents within this folder to clear out old email attachments.
Pros
- Quickly frees up 1–5 GB of local storage space.
- Only clears cached attachments; does not affect your email account data.
Cons
- If you want to view deleted local attachments again, you’ll need to download them again.
- Since new attachments accumulate over time, you’ll need to clean them up manually on a regular basis.
This is one of the most convenient built-in methods for clearing junk files on a Mac; it’s perfect for quickly freeing up disk space without posing any risk to the system.
- NoahPetersonIron Contributor
Remove Old GarageBand & iMovie Libraries is an effective way to remove junk files on mac, especially for users who never use these two apps.
It helps you delete bulky unused sound and resource libraries left by GarageBand and iMovie, and can free up massive storage space.
First, close GarageBand and iMovie completely.For GarageBand, delete this folder:~/Library/Application Support/GarageBand/For iMovie, delete this library file:~/Movies/iMovie Library.imovielibrary/
Its advantages include easily freeing up 2–10GB of storage, clearing useless cached resource files, and not affecting system stability.
Its drawbacks include deleting the libraries will reset app resources if you reinstall the apps later, and you cannot recover the library files once deleted.
This simple cleanup method lets you safely remove junk files on mac and reclaim large amounts of disk space effortlessly.
- AmbrosenbIron Contributor
Yes, deleting temporary files is an excellent, completely free way to remove junk files on Mac and free up storage space.
Temporary files (also called "temp files" or "cache files") are created by apps and macOS itself to help things run faster. For example, when you visit a website, your browser saves images and data locally so the next visit loads quicker.
Here's the problem: Over time, these files pile up—sometimes taking up dozens of gigabytes—and your Mac may slow down because the storage is nearly full.
Before you remove junk files on Mac, back up your Mac with Time Machine or another method . While these deletions are generally safe, a backup gives you peace of mind. How to Delete Temporary System Files from /private/var/folders/:
This is where macOS stores temporary data that apps are actively using. This folder can grow surprisingly large.
- Go to /private/var/folders/
- You'll see folders with random-looking names
- You can delete the contents inside the C and T subfolders
It's better to delete only the dated folders, not everything at once
The safest approach: Instead of manual deletion here, simply restart your Mac. macOS automatically clears out many temporary files during a reboot. One user reported that a simple restart freed up 50GB from this location!
- ChandlereCopper Contributor
If you're trying to clear junk file for Mac and you've noticed that your "System Data" is mysteriously huge, there's a good chance the culprit is something you've never heard of: Time Machine local snapshots. These are hidden backups stored directly on your Mac's internal drive, and they can take up a significant amount of space—in some cases, dozens of gigabytes.
Because these are backups of your recent changes, deleting them means you temporarily lose the ability to restore a file you might have accidentally changed or deleted in the last 24 hours. It's highly recommended that you connect your external Time Machine drive and run a fresh backup before proceeding. This ensures your data is safely stored elsewhere.
How to Manually Delete Snapshots:
Step 1: Open Terminal
Step 2: List Your Hidden Snapshots
Step 3: Delete a Snapshot
Step 4: The Nuclear Option (Disable Completely)
After deleting the snapshots, check your storage again (Apple Menu > System Settings > General > Storage). You should see the "System Data" or "purgeable space" has significantly decreased, meaning you've successfully used this method to clear junk file for Mac.
- AhmadomCopper Contributor
If you're looking for a powerful, completely free way to remove junk files on Mac, the open-source command-line tool Mole is an excellent choice. Think of Mole as a digital Swiss Army knife for your Mac. It's a free utility that you run directly from the Terminal (your Mac's command-line interface).
It's called "Mole" because it digs deep into your system to find and clear out hidden junk files that you might not even know exist.
Step 1: Install Mole
The easiest method is by using Homebrew (a package manager for Mac). If you don't have Homebrew, you can install it first, but it's a quick process . Open your Terminal app (found in Applications > Utilities) and run:
bash
brew install mole
Step 2: Run a Safe "Dry Run"
Before you actually delete anything, it's wise to see what Mole plans to do. To preview exactly which files the cleaner will target, use the -- dry- run option:
bash
mo clean -- dry- run
Step 3: Perform the Cleanup
Once you've reviewed the preview and are ready to proceed, simply run:
bash
mo clean
You might be prompted for your system password (using sudo), as the tool needs permission to access certain system files. Mole will then scan your system and remove junk files on Mac.
- HassaniyCopper Contributor
How about using the built-in storage management tool. The tool is hidden in your System Settings, but it's easy to find. Follow these steps to start clear junk file for Mac:
1. Open Storage Settings
Click the Apple logo in the top-left corner of your screen. Select System Settings (or System Preferences on older macOS versions). Then, click General and choose Storage. You will see a colorful bar chart showing what is taking up space on your Mac.
2. Follow the Recommendations
Once the Storage page loads, look for the Recommendations section . This is the most beginner-friendly part of the tool. You will see a list of quick actions you can take with just one click. For example, it can help you:
- Empty Trash Automatically: Automatically erase items that have been in the Trash for over 30 days.
- Optimize Storage: Remove movies and TV shows you have already watched.
- Reduce Clutter: A button that helps you find large files and old documents you may have forgotten about.
This method is the safest way to clear junk file for Mac if you are a self-described newbie. Apple designed the "Recommendations" section specifically to prevent you from accidentally deleting important system files. It only suggests removing items like cache files and old Trash items that are safe to erase, giving you peace of mind while you learn how to maintain your computer.