Forum Discussion
Why deleting files does not free up space on mac
I'm a bit of a Mac beginner and run into a confusing storage issue. I spent the morning deleting about 10GB of old video projects and downloads because my disk was almost full. I made sure to empty the Trash, but when I go to About This Mac , the available space is exactly the same as it was before I started. Why deleting files does not free up space on mac?
I already tried restarting my computer, but the storage bar is still showing the same full status. It feels like I'm deleting files into a void and the Mac isn't freeing up space. Is there a hidden step I'm missing, or does macOS just take a long time to realize the files are gone?
Is there any better way to free up more space on Mac?
8 Replies
- DavdIron Contributor
You need to clear junk files and app caches in order to free up massive space on mac.
- euincyCopper Contributor
If you're experiencing the issue where deleting files does not free up space on Mac, a possible solution is to reboot your computer in Safe Mode. This mode can help macOS clean up and update the available space more efficiently.
To reboot in Safe Mode if deleting files does not free up space on Mac, follow these steps:
- Shut down your Mac completely by going to Apple Menu > Shut Down.
- Wait for 30 seconds to ensure all power is off.
- Press the Power button to turn on your Mac.
- Immediately hold down the Shift key while it boots up.
- Release the Shift key when you see the login screen.
When your Mac boots up in Safe Mode, it will start with a minimal set of kernel extensions and other system resources. This can help macOS focus on cleaning up the allocated space and updating the available space on your disk.
In Safe Mode, macOS will:
- Rebuild the Launch Services database, which can help resolve issues with apps and services.
- Update the available space on your disk by reclaiming any allocated space that's no longer needed.
- Run disk checks and repair any file system issues that might be causing the problem.
After your Mac has booted up in Safe Mode, you can try deleting files again to see if the available space is updated correctly. If the issue persists, you may want to consider using the Disk Cleanup tool or checking for any disk corruption using the Disk Utility app.
- wuaylenCopper Contributor
The command diskutil secureErase freespace 0 /dev/disk1 is designed to overwrite the empty areas of your drive with zeros. It does not delete files you've already removed — it works on the space that macOS already thinks is free.
But here's the key twist: when deleting files does not free up space on Mac, that "free space" often isn't truly recognized as free by the system. The space is being held hostage by:
- APFS snapshots
- Purgeable files
- Stale file system metadata
secureErase freespace forces the disk to physically write zeros to every block marked as "available." In doing so, it triggers macOS to re-evaluate what's actually free.
Normally, when you delete a file, macOS just removes the pointer to that data. The actual data remains until overwritten. But when deleting files does not free up space on Mac, the problem is rarely leftover data — it's that macOS has "reserved" that space for snapshots or caching.
Running diskutil secureErase freespace accomplishes two things:
1. It forces macOS to release purgeable space – Because overwriting free space requires the system to first decide which blocks are truly free versus which are held by snapshots.
2. It updates the free space counters – After the secure erase completes, the operating system must recalculate available space from scratch, often revealing the gigabytes you thought you deleted hours ago. - NerfftCopper Contributor
Deleting files does not free up space on Mac! You're not alone in this frustration. There are several reasons why deleting files might not free up space on your Mac, especially if you're new to macOS.
- HFS+ and APFS: If you're using a Mac with an APFS (Apple File System) disk, you might see that the available space is not immediately updated after deleting files. This is because APFS uses a more efficient disk format that can cause delays in updating the available space.
- Space is allocated to files, not occupied: macOS uses a concept called "allocated space," which means that space is reserved on the disk for files, even if they're not currently being used. This is because the operating system needs to keep track of where files are stored on the disk. When you delete files, the allocated space is not immediately released.
- Journaling and disk caching: macOS uses a journaling system to keep track of where files are stored on the disk. This means that every time you write data to the disk, the operating system creates a journal entry that updates the disk's metadata. When you delete files, the journal entries are not immediately updated, which can cause the available space to remain the same.
- Blocks allocation: When you delete files, the space is not immediately released, because the disk's blocks are not immediately deallocated. This is because the operating system needs to ensure that the disk's metadata is updated correctly.
- Disk Repair: Sometimes, your Mac's disk might be in a bad state, causing issues with disk space. You might want to run a disk repair utility to check and fix any issues with your disk.
To resolve the "deleting files does not free up space on Mac" issue, you can try the following:
- Run a disk repair: Use the built-in Disk Utility app to check and repair your disk.
- Check for background processes: Use Activity Monitor to check for any background processes that might be consuming disk space.
- Check system files and logs: Look for system files and logs that might be taking up a significant amount of disk space.
- Format your drive: If you're still experiencing issues, you might want to consider formatting your drive and starting fresh.
- goonRainSteel Contributor
This is a common issue that deleting files does not free up space on Mac. You need additional steps to clear space on Mac.
To free up a massive amount of storage space on your Mac, you'll need to look beyond just deleting large files. The operating system often holds onto huge chunks of "hidden" data, like old backups and mail caches, that can remain even after you clean up your documents. A systematic approach is the best way to reclaim those tens of gigabytes.
A special mention goes to the "System Data" or "Other" category in your storage view. This is a catch-all for cache files, logs, and local backups that can easily grow out of control. If you are not comfortable using Terminal to delete Time Machine snapshots manually, a safer alternative is a dedicated Mac cleaning tool. An app like CleanMate can automate the process by scanning for system junk, mail attachments, and old iOS files in one go, removing the risk of deleting something critical.
For a quick win that doesn't require navigating system folders, you can also simply delete old media and app installers from your Downloads folder, and move large photo or video libraries to an external drive.
- bonirlBronze Contributor
Clear System Logs is an effective way to resolve the issue where deleting files does not free up space mac, as system logs can grow to multiple gigabytes over time and silently occupy disk space.
It allows you to safely remove old and rotated logs, reclaiming storage without affecting system stability.
First, view the size of your log folder with this command in Terminal:
du -sh /private/var/log/
Next, clear old compressed and rotated logs using:
sudo rm -rf /private/var/log/*.gz
sudo rm -rf /private/var/log/.log.
Then, clear installation logs with:
sudo rm -rf /private/var/log/install.log
This usually frees up between 500 MB and 5 GB of disk space. These commands only delete old logs; they do not delete system files currently in use, so you can rest assured.
This is a practical, built-in way to address deleting files does not free up space mac by removing accumulated log data, making it suitable for users comfortable with Terminal commands who want to reclaim significant space without third-party tools.
- JacksonRobinsonCopper Contributor
Force "Purgeable Space" to Be Released is a terminal-based method to resolve the issue where deleting files does not free up space mac.
macOS sometimes marks space as "purgeable" — meaning it’s available but not yet reported as free. You can force it to release this space using a simple two-step process in Terminal:
# Step 1: Create a large temporary file to fill space, triggering purge dd if=/dev/zero of=~/Desktop/tempfile bs=1m count=5000 # Step 2: Delete the temporary file rm ~/Desktop/tempfileThis action pressures macOS to immediately free up all purgeable space.
Notes
- Use this command with caution: If used improperly, `dd` may overwrite data, so be sure to use the exact path `~/Desktop/tempfile`.
- Ensure you have at least 5GB of available space to avoid running out of disk space during the process.
- Close other applications before running the command to prevent system crashes or data loss due to insufficient disk space.
- The temporary file will occupy approximately 5GB of space during the process; it will be deleted immediately after completion.
- This method only frees up cleanable space and does not affect other types of occupied storage space.
This terminal trick is a quick, no-extra-tools way to resolve the common macOS problem of deleting files does not free up space mac, and it works without needing to use external drives or system utilities.
- AustinClarkCopper Contributor
Force macOS to Free Space Immediately is a direct way to resolve the issue where deleting files does not free up space mac, targeting the hidden local snapshots created by Time Machine that often continue to occupy disk space even after you delete files.
How to Fix deleting files does not free up space mac
- Connect your Time Machine backup disk
- Click the Time Machine icon in the menu bar, then select Back Up Now
- Wait for the backup to complete.
- Check your available disk space—as macOS clears old local snapshots, the available space should increase.
This simple process forces macOS to commit its pending snapshots to the external drive, allowing it to remove the local versions that were keeping space tied up, making using Time Machine to trigger a backup a reliable way to address deleting files does not free up space mac without third-party tools, as a safe and built-in solution.
Cons
- Requires an external Time Machine backup drive to work.
- May take a long time to complete a full backup depending on the amount of data.
- Only addresses space issues caused by local snapshots, not other storage hogs.
- Won’t free up additional space if you don’t have pending snapshots.