Mac Trash Won’t Empty? Fix It in 8 Steps
In this article
If your Mac’s Trash won’t empty, the usual causes are locked files, items in use, or a corrupted metadata file. The quickest fix is to restart your Mac and try again—if that doesn’t work, follow the steps below. You’ll need your admin password and, for some steps, a moment of patience while macOS rebuilds its Trash index.
What You’ll Need
- Your Mac’s admin username and password
- About 10–15 minutes of free time
- No external drives connected (disconnect them first to avoid confusion)
Step-by-Step
- Close all apps and windows. Items that are open or in use (like a file you’re viewing in Preview) can’t be deleted. Press Command+Q to quit each app, or choose Quit from the app’s menu.
- Try emptying Trash normally. Click the Trash icon in the Dock (or open Finder and choose Trash from the sidebar), then click the Empty button in the upper-right corner. If that fails, go to Finder > Empty Trash from the menu bar, or press Shift+Command+Delete.
- Restart your Mac. Choose Apple menu > Restart. After it boots, try emptying Trash again. This clears any temporary file locks.
- Check for locked files. Open Trash, right-click (or Control-click) any item, and select Get Info. If the Locked checkbox is checked, uncheck it. Do this for every item. Then try emptying again.
- Force empty via Terminal. If locked files persist, open Terminal (in Applications > Utilities) and type the following command, then press Return:
sudo rm -rf ~/.Trash/*
Enter your admin password when prompted. This permanently deletes everything in your user Trash. Be careful—this cannot be undone. - Clear system Trash (if you have multiple volumes). If you have an external drive or a separate system volume, its Trash may be stuck. In Terminal, run:
sudo rm -rf /Volumes/*/.Trashes/*
This clears Trash on all mounted volumes. Again, this is permanent. - Rebuild the Trash metadata. If the above doesn’t work, the hidden
.Trashesfolder may be corrupted. In Terminal, run:sudo rm -rf ~/.Trashes
Then restart your Mac. macOS will recreate the folder automatically. - Use Safe Mode. Restart your Mac and immediately hold the Shift key until the login window appears. In Safe Mode, try emptying Trash. Then restart normally.
Common Mistakes
- Forgetting to quit apps that are using the file. Even if the app is in the background, it can lock the file. Quit all apps before trying to empty.
- Assuming “Empty” is the only way. If you only see the Trash icon in the Dock, you can also right-click it and choose Empty Trash.
- Typing the Terminal command incorrectly. A single space or slash can cause errors. Copy and paste the commands from this guide to avoid typos.
- Not disconnecting external drives. If an external drive has a Trash folder that’s stuck, it can block the whole operation. Disconnect all external storage before troubleshooting.
Tips
- Use Option+Shift+Command+Delete to empty Trash without a confirmation dialog—handy if you’re sure.
- If you often have stuck files, check for apps that keep files open in the background (like cloud sync apps). Quit them before emptying.
- Keep your macOS updated—Apple regularly fixes bugs related to Trash and file permissions.
- If you’re low on disk space, emptying Trash can free up significant storage. You can check how much space you’ll free by selecting items in Trash and pressing Command+I to see total size.
Troubleshooting
If the steps above didn’t solve the problem, try these additional checks:
- Check permissions on the Trash folder. In Finder, press Command+Shift+G, type
~/.Trash, and press Return. Right-click the folder, choose Get Info, and expand Sharing & Permissions. Ensure your username has Read & Write access. If not, click the lock icon, add yourself, and set permission. - Run First Aid on your disk. Open Disk Utility (in Applications > Utilities), select your startup disk, and click First Aid. This repairs disk errors that might prevent deletion. It can take a few minutes.
- Check if the file is in use by a system process. If a file is locked by a background process, you can use Activity Monitor (in Applications > Utilities) to search for the file’s name and quit the process. Be careful—only quit processes you recognize.
- If all else fails, create a new user account. Go to System Settings > Users & Groups, add a new admin user, log into that account, and try emptying Trash from there. If it works, the problem is specific to your user account’s Trash folder.
Frequently Asked Questions
Why does my Trash say “The operation can’t be completed because the item is in use”?
That means a process or app is using the file. Quit all apps, then try again. If it persists, restart your Mac or use the Terminal command to force-delete.
Can I recover a file after force-emptying Trash with Terminal?
No. The rm command permanently deletes files without moving them to a recoverable location. If you think you might need a file, back it up before using Terminal.
Why is there a separate Trash for my external drive?
macOS creates a hidden .Trashes folder on every volume. If that folder is corrupted, it can block emptying. The Terminal command for volumes clears it.
Does Safe Mode really help?
Yes. Safe Mode prevents many background processes from launching, which can remove the lock on files. It also runs a basic disk check.
What if I can’t see the Trash icon in the Dock?
Open Finder and press Command+Shift+G, then type ~/.Trash and press Return. You can empty it from there, or drag items to the desktop and delete them manually.
Is it safe to delete the .Trashes folder?
Yes, macOS recreates it automatically. Deleting it is a standard troubleshooting step for a stuck Trash.