Sometimes it feels like no matter what you do some items in the Trash bin on your Mac just wonβt delete, no matter how many times you try to click empty trash the system never actually gets rid of everything and youβre let with a full trash icon sitting on your desktop.
When this happens itβs normally because one or more of three different things areΒ occurring. The items in your Mac may be locked, in which case youβre going to have to use a keyboard command to force your Mac to delete them. The stuff in your trash might be another users and your account may not have permission to delete these files, in which case youβll need to change these permissions. Or the offending item might be being used by another program.
Regardless of what the problem may be if you follow these three solutions you should be able to finally get rid of that pesky trash.
1. Item is locked
If youβve got locked items in your trash youβre going to need to delete them using the force delete command. Just hold down the command () key and the ctrl (control) key and click the bin. Youβll notice option to empty trashΒ now actually reads secure empty trash. Click it and see if the locked files are now deleted.
2. You donβt have permission to delete the file
Open up the trash and select the items you donβt have permission to delete. Control-Click them and select Get Info for them and then scroll down the window that opens to the section headed βSharing and Permissionsβ. In this menu make sure that the user youβre currently signed in as has permission to read and write these files. If you donβt have Read & WriteΒ privilegesΒ select the option from the drop-down menu and be ready to input yourΒ administrator password to enact this change.
3. A program is still using the file
It may be that the real issue is that youβve got a program opened that is still using one of the files youβre trying to delete. Try closing down any apps that are unessential and then try delete the file again. If this still doesnβt do the trick as a last resort try logging out of your Mac and logging back in again, then close down any unessential programs and then securely delete the contents of your trash using the steps outlined above.
Before you go
After spending over 20 years working with Macs, both old and new, theres a tool I think would be useful to every Mac owner who is experiencing performance issues.
CleanMyMac is highest rated all-round cleaning app for the Mac, it can quickly diagnose and solve a whole plethora of common (but sometimes tedious to fix) issues at the click of a button. It also just happens to resolve many of the issues covered in the speed up section of this site, so Download CleanMyMac to get your Mac back up to speed today.

OMG, I have spent the last 5 hours trying to delete my Mac trashβ¦.trash that I deleted from my USB drive and that disappears when I remove my USB drive but reappears once I insert the USB. I tried to delete it by emptying the trash securely and it keeps telling me files are locked and connect be deleted. I have spent the last 5 hours reading all kinds of nonsense on the internet with solutions and only yours workedβ¦thanks a million.