If the Trash on your Mac will not empty, start with the least destructive explanation: a file is still open, Finder has not released it, the item is locked, or it lives on an external volume with a separate Trash. Quit the app using the file, relaunch Finder or restart the Mac, then try deleting the specific item again.
Do not jump straight to broad Terminal deletion commands. A stuck Trash is usually a file-state or permission problem, and using recursive deletion on the wrong path can permanently remove unrelated data. macOS already provides safer checks through Finder, Get Info and Delete Immediately.
First identify whether one item is blocking the entire Trash
Open the Trash and try removing the problem item individually. Control-click it and choose Delete Immediately. If other items delete normally, you have isolated the issue to one file instead of treating the whole Trash as corrupt.
Read the exact error. “Item is in use,” “You do not have permission,” and a locked item are different problems and should not be solved with the same command.
If macOS says the item is in use
Quit the application that created or last opened the file. If you do not know which app is involved, close likely apps and try again. A Finder preview, media app, archive utility, sync client or background process may still have the item open.
If quitting apps does not release it, relaunch Finder or restart the Mac. A restart clears many temporary file handles without changing permissions or deleting anything else.
Check whether the file is locked
Select the item and choose File > Get Info or press Command-I. In the General section, check the Locked option. Apple documents that locked files can be unlocked from Get Info before deletion.
Do not change a long list of ownership and permission settings just to clear one locked document. Remove the lock first, then test deletion again.
Permission errors: change only what you understand
If the error specifically says you lack permission, inspect Sharing & Permissions in Get Info. Your account may need read and write access to the item or its containing location. Administrator authentication may be required for protected files.
A file in the Trash can originate from another user, an external disk or an app-managed location. Avoid recursively changing permissions across the entire home folder or disk; that can create much larger problems than the original stuck item.
External drives have their own Trash behavior
If the item came from an external drive, connect that drive before troubleshooting. macOS can store trashed items on the originating volume, so disconnecting or changing the volume state can make the situation look inconsistent.
Check whether the drive is writable and mounted normally. If Disk Utility reports filesystem problems, repair the volume before trying repeated forced deletion.
When Safe Mode is worth trying
If the same item immediately becomes “in use” after every normal restart, Safe Mode can help determine whether third-party background software is reopening it. Boot in Safe Mode, empty the specific item, then restart normally.
Safe Mode is a diagnostic step, not a required part of ordinary Trash maintenance. Use it after the simpler checks, not as the first response to every deletion error.
When not to delete the item yet
If the name looks like a system component, application database, virtual machine image, sync placeholder or file you do not recognize, stop and identify it before forcing deletion. The fact that an item is in the Trash does not prove it is safe to erase permanently.
For irreplaceable data, confirm that your backup is current. Emptying the Trash is designed to be permanent; troubleshooting should not turn uncertainty into data loss.
A safe escalation order
Use this order: delete the single item, quit the related app, relaunch Finder, restart the Mac, remove a file lock, check targeted permissions, reconnect or repair an external volume, then try Safe Mode. Only after you understand the exact path and consequences should you consider command-line deletion.
This sequence solves the common causes while keeping the blast radius small.
Related guides
Frequently asked questions
How do I delete just one item from the Trash?
Open the Trash, Control-click the item, choose Delete Immediately, and confirm the warning.
Can a locked file be deleted?
Yes, but if it is causing trouble, select it, open Get Info and clear the Locked checkbox before trying again.
Why does Trash say a file is in use after I closed it?
A background process, Finder preview, sync app or other application may still hold the file open. Relaunch Finder or restart the Mac before using forceful methods.
Should I use sudo rm -rf to empty a stuck Trash?
Not as a first-line fix. Recursive command-line deletion is irreversible and a path mistake can remove unrelated files. Isolate the specific cause first.
