Force Empty Trash Mac: How to Fix It
If the Trash on your Mac won’t empty, you can usually force it by holding Option while clicking Empty Trash, or by using a Terminal command. This article explains why the Trash gets stuck, the safest ways to force it, and what to do when even those steps fail.
Why Trash Won’t Empty
The Trash on macOS is a protected folder (~/.Trash for your user, and /Volumes/[drive]/.Trashes for external drives). macOS won’t delete files that are:
- In use – an app or background process has the file open.
- Locked – the file has the “locked� flag set in Finder.
- On a locked volume – external drives or disk images with a read-only format.
- Corrupted – the file system metadata is damaged, so the system can’t remove the entry.
- Owned by another user – if you’re not the owner and don’t have write permission to the parent folder.
When any of these happen, the Finder shows “The operation can’t be completed because the item is in use� or similar, and the Trash icon stays full.
First Try: The Option Key Trick
Holding the Option key changes the “Empty Trash� menu item to “Force Empty Trash�. This is the quickest built-in way to force deletion. However, it only works if the file isn’t actually in use by a running app. If a process is holding the file, you’ll still get an error.
To use it:
- Click the Trash icon in the Dock to open it.
- Press and hold the Option key.
- Click “Empty Trash� (which now reads “Force Empty Trash�).
If that fails, move to the Terminal method.
Using Terminal to Force Empty Trash
Terminal gives you direct control over the file system. The standard command is:
rm -rf ~/.Trash/*
This deletes everything inside your user’s Trash folder. It does not ask for confirmation, and it permanently removes the files—there’s no going back. For external drives, the path is different. For a drive named “Backup�, the Trash folder is /Volumes/Backup/.Trashes/<your-uid>/. You can find your user ID by running id -u in Terminal.
If the file is locked, you can add the f flag to force removal:
rm -rf ~/.Trash/*
The -f flag is already in the command above, which tells rm to ignore permissions and locked flags. But if a process is using the file, even rm will fail. In that case, you need to find and quit the process first.
Quit the App That’s Using the File
If a file is “in use�, it’s often because an app has it open. For example, a Word document you closed but the app still has cached, or a video file that Quick Look is previewing. The most reliable way to find the culprit is to use the lsof command:
lsof | grep Trash
This lists all processes that have files open in the Trash. The output shows the process name and its PID (process ID). Then quit that app normally, or if it’s stuck, use kill:
kill -9 [PID]
Replace [PID] with the number from the lsof output. After the process is gone, try emptying the Trash again.
When Trash Won’t Empty on External Drives
External drives, SD cards, and USB sticks often have their own Trash folders. If you can’t empty the Trash on an external drive, first check if the drive is formatted as NTFS (Windows) or exFAT. macOS can read NTFS but not write to it, so you can’t delete files from an NTFS drive without third-party software. If the drive is exFAT or FAT32, it works fine, but the Trash folder might be hidden. You can access it from Terminal:
ls -la /Volumes/DRIVE_NAME/.Trashes
If the drive is read-only (for example, a DVD or a locked SD card), you can’t delete files from it at all. Slide the lock on the SD card or use Disk Utility to remount the drive as read-write.
What to Do If Nothing Works
If you’ve tried the Option key, Terminal, and quitting processes, and the Trash still won’t empty, the file system might be corrupted. In that case:
- Restart your Mac in Safe Mode (hold Shift during startup). Safe Mode performs a disk check and prevents some background processes from running.
- Try emptying the Trash while in Safe Mode.
- If that fails, run First Aid in Disk Utility on your startup disk.
If the file is in the Trash but can’t be deleted because of permissions, you can try resetting the permissions on the Trash folder itself:
sudo chflags -R nouchg ~/.Trash
This removes the “unchanged� flag (which is what “locked� means) from all files in the Trash. You’ll need to enter your admin password. Then try rm -rf ~/.Trash/* again.
Preventing Future Trash Problems
Most Trash issues come from files that are locked or in use. To avoid them:
- Quit apps before deleting files they might be using.
- Don’t delete files from a drive that is still being indexed by Spotlight.
- Eject external drives properly before unplugging.
- If you often have locked files, check the “Locked� checkbox in the File Info (Get Info) window before deleting.
Also, remember that emptying the Trash is permanent. There’s no “undo�. If you’re not 100% sure you want to delete something, move it to a folder instead.
Frequently Asked Questions
Is it safe to use rm -rf on the Trash?
Yes, if you use the correct path. rm -rf ~/.Trash/* only deletes the contents of your user’s Trash. It will not delete anything else. However, it bypasses the Finder’s safety checks, so be sure you really want to delete those files.
Why does the Trash show items but the folder is empty?
This usually happens when the file is on an external drive that isn’t mounted. The Trash icon shows the item, but the drive is gone, so macOS can’t delete it. Connect the drive and try again, or restart your Mac to clear the stale icon.
Can I force empty Trash without Terminal?
Yes. The Option key method is the built-in way. If that fails, you can also use Finder’s “Secure Empty Trash� (in older macOS versions) or simply restart your Mac and try again. In current macOS, “Secure Empty Trash� is removed, so Terminal is the fallback.
What if the file is on an external drive and I don’t have the drive anymore?
You can’t delete a file that isn’t there. The Trash folder on your internal drive may contain a reference to the missing file. You can try rm -rf ~/.Trash/* to clear your user Trash, but if the file is in the external drive’s Trash folder, you’ll need to reconnect the drive or use Disk Utility to erase the drive.
Does emptying the Trash free up space immediately?
Yes, once the file is deleted, the space is available. However, on APFS (the default file system), the space may not be reclaimed until the volume is trimmed or the system runs maintenance. Usually it’s immediate, but for SSDs, the space can be freed gradually.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.