You have dragged a massive, 50GB video file into the Trash. You right-click the Trash icon on the dock and select “Empty Trash” to free up the space on your hard drive. Suddenly, macOS halts the process and throws a frustrating error message: “The operation can’t be completed because the item is in use.”
The problem is that macOS is highly protective of your data. If it believes that a background application, a stalled script, or even a corrupted QuickLook preview thumbnail is currently “looking” at that file, it will refuse to delete it, assuming the deletion would crash the active application. But what if you know for a fact the file is safe to delete, and macOS is just confused?
This guide explains several methods to bypass this error and force your Mac to empty the Trash.
Method 1: The Simple Restart
Before attempting any advanced terminal commands, try the simplest solution first. In 90% of cases, the “app” holding the file hostage is simply a frozen background process that you cannot see.
- Click the Apple menu () and select Restart.
- Uncheck the box that says “Reopen windows when logging back in.”
- Click Restart.
When the Mac reboots, all background applications are killed. Before opening any other software, immediately right-click the Trash icon and select Empty Trash. It will almost always work.
Method 2: Force Empty via the Option Key
If a restart did not work, or if the file is locked rather than “in use,” you can use a keyboard modifier to force the Finder to override standard permissions.
- Open the Trash so you can see the file sitting inside the window.
- Hold down the Option (⌥) key on your keyboard.
- While holding the Option key, click the Empty button in the top right corner of the Trash window.
Holding the Option key tells macOS to bypass any “Locked” file attributes and forcefully delete the contents.
Method 3: Delete Immediately (Bypass the Trash)
Sometimes the issue is not the file itself, but a corruption within the invisible .Trash folder structure on your hard drive. You can bypass the Trash mechanism entirely using a specific menu command.
- Open the Trash and select the stubborn file (click it once so it is highlighted).
- Hold down the Option (⌥) key.
- While holding Option, go to the File menu in the top menu bar.
- You will notice that the normal “Empty Trash” option has magically changed to Delete Immediately…. Select it.
- Click Delete on the confirmation pop-up. This deletes the file directly from the file system, bypassing the Trash queue entirely.
Method 4: Safe Mode
If third-party software (like a stubborn antivirus scan or a cloud backup tool like Dropbox) refuses to let go of the file, you need to boot into Safe Mode. Safe Mode prevents all third-party software and non-essential system extensions from loading at startup.
- Shut down your Mac completely.
- Turn on your Mac and immediately press and hold the Shift key.
- Keep holding the Shift key until you see the login screen. (You should see “Safe Boot” written in red letters in the corner).
- Log in, open the Trash, and empty it.
- Restart the Mac normally to exit Safe Mode.