Mac Trash Won’t Empty? 7 Fixes That Work
If your Mac’s Trash won’t empty, the fix is usually to quit the app that’s locking the file, force empty it, or clear a stuck download. This article walks you through those solutions and several more, from the quickest to the most thorough, so you can clear that stubborn Trash and reclaim your disk space.
Why Won’t My Trash Empty?
macOS won’t delete a file that’s currently in use. When you try to empty the Trash, the system checks each item to see if any process (an app, a background service, or the Finder itself) has it open. If a file is locked, macOS will either refuse to delete it or ask for your password. Other common culprits include:
- Files in iCloud Drive: If you deleted an iCloud file, it may still be syncing or marked as “in use” by the sync daemon.
- Corrupted downloads: A partially downloaded file in your Trash can confuse the Finder.
- Permissions issues: The Trash folder itself may have incorrect permissions, preventing deletion.
- Spotlight indexing: The metadata indexer can sometimes hold a file open, especially right after a large delete.
- Third-party apps: Apps that monitor files (like sync tools, antivirus, or backup software) may lock files they’re watching.
Quick Fixes to Try First
Start with these simple steps—they resolve most cases:
- Quit all open apps. Use Cmd+Q for each app, or right-click an app in the Dock and choose Quit. Then try emptying the Trash again.
- Force quit the Finder. If the Finder itself is stuck, click the Apple menu → Force Quit (or press Option+Cmd+Esc), select Finder, and click Relaunch. This often releases file locks.
- Restart your Mac. A reboot clears all temporary file locks and resets the Finder. After restarting, try emptying the Trash immediately.
- Use the keyboard shortcut. Click the desktop (so Finder is active), then press Shift+Cmd+Delete to empty the Trash without confirmation. Or press Option+Shift+Cmd+Delete to empty it immediately without the “Are you sure?” dialog.
Force Empty the Trash
If the normal method fails, you can force the deletion using Terminal. This bypasses some of the checks and is generally safe, but be careful—it will permanently delete everything in the Trash without a second chance.
- Open Terminal (Applications → Utilities → Terminal).
- Type
sudo rm -rf ~/.Trash/*and press Enter. - Enter your admin password when prompted (you won’t see it as you type).
- If you get an error about a file being in use, try
sudo rm -rf ~/.Trash/(note the trailing slash) to remove the entire Trash folder, which macOS will recreate automatically.
This command deletes everything in your user’s Trash. Be absolutely sure you don’t need any of those files. For a safer alternative, you can remove only the specific stubborn file by dragging it out of the Trash to your Desktop first, then deleting it with rm -rf after you’ve verified it’s the right one.
Clear Stuck Downloads and iCloud Files
Files that are still downloading or syncing are common troublemakers. Here’s how to handle them:
- Check Downloads: Open the Downloads folder (Finder → Go → Downloads). If you see a file with a “.download” extension or a progress bar, that’s an incomplete download. Delete it from the Downloads folder first, then empty the Trash.
- Pause iCloud sync: Go to System Settings → Apple ID → iCloud. Turn off iCloud Drive temporarily (or click “Options” next to iCloud Drive and uncheck Desktop & Documents). Wait a few seconds, then turn it back on. This forces the sync daemon to release its locks.
- Delete from iCloud.com: If the file is in iCloud Drive, log into iCloud.com, go to iCloud Drive, and delete it there. Then check your Trash on the Mac.
Repair Permissions and Disk Errors
If the Trash folder’s permissions are wrong, macOS may not let you delete its contents. Here’s how to fix that:
- Open Disk Utility (Applications → Utilities → Disk Utility).
- Select your startup disk (usually “Macintosh HD”).
- Click First Aid and then Run. This checks for disk errors and repairs permissions. It may take a while.
If First Aid finds nothing, you can manually reset the Trash folder’s permissions in Terminal:
sudo chown -R $(whoami) ~/.Trash
sudo chmod -R u+rw ~/.Trash
This gives your user account full read/write access to the Trash folder. Then try emptying it again.
Use Safe Mode to Bypass Conflicting Software
Safe Mode (also called Safe Boot) starts your Mac with only essential system extensions and disables third-party login items. This is a great way to determine if a background app is locking your files.
- On Apple Silicon (M1/M2/M3): Shut down your Mac. Press and hold the power button until you see “Loading startup options.” Select your disk, press and hold Shift, then click Continue in Safe Mode.
- On Intel Macs: Shut down, then press the power button and immediately hold the Shift key until you see the login window. Log in (you may need to log in twice).
- Once in Safe Mode, try emptying the Trash. If it works, the culprit is a third-party app. Restart normally and uninstall recently installed apps that might interfere (like sync tools, cleaners, or antivirus).
Frequently Asked Questions
Why does the Trash say “The operation can’t be completed because the item is in use”?
This means a process on your Mac is holding the file open. The quickest fix is to quit all apps, then relaunch Finder. If that doesn’t work, restart your Mac. For a single stubborn file, you can also try dragging it out of the Trash to your Desktop, then deleting it with rm -rf in Terminal after confirming it’s not needed.
Can I empty the Trash without a password?
Yes, normally you don’t need a password to empty the Trash. If macOS asks for a password, it’s usually because you’re trying to delete a file that requires administrative privileges (like a system file). In that case, you’ll need to enter an admin username and password. If you don’t have admin rights, you can’t empty those files.
What if the Trash won’t empty because a file is locked?
Right-click the file in the Trash and select Get Info. If the “Locked” checkbox is checked, uncheck it. Then try emptying again. If the file is locked by the system (e.g., a system file), you may need to use Terminal with sudo rm -rf as described above.
Is it safe to delete the entire Trash folder in Terminal?
Yes, it’s safe in the sense that macOS will recreate the Trash folder automatically. The command sudo rm -rf ~/.Trash/ deletes the folder and everything in it. However, be absolutely certain you don’t need any of the files in the Trash, as this is permanent and cannot be undone.
Why does my Trash show items but appear empty?
This can happen if the Trash view is stale. Try clicking the desktop to make Finder active, then press Cmd+Option+Shift+Delete to force empty. If that doesn’t work, restart your Mac. If items still show, they may be in a different user’s Trash (if you have multiple accounts) or in the system Trash at /Users/Shared/Trash.
Can I recover files after force emptying the Trash?
Once you force empty via Terminal, the files are permanently deleted and cannot be recovered from the Trash. However, if you have Time Machine or another backup, you can restore them from there. If you don’t have a backup, you might try third-party data recovery software, but success is not guaranteed.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.