As long as you have got a Mac computer, you must know how to empty trash on Mac. This is quite a simple task. However, things could be tricky when something goes wrong, and the trash just won’t empty on your Mac.
Why can’t you delete some of the file from your Trash? Here are 4 common reasons:
Some files are in use;
Some files are locked or corrupted and need to be repaired;
A file is named with a special character that makes your Mac think it's too important to be deleted;
Some items in the trash cannot be deleted because of system integrity protection.
Now that you are aware of the reasons, how to solve the problem? Read on and here’s 7 fixes for you to force empty Trash on Mac fast when your Trash cannot empty.
The issue that the file is in use is the most common reason why you cannot empty Trash on Mac. Sometimes, you thought you have closed all app that are possibly using the file while your Mac thought otherwise.
How to fix this dilemma?
Restart your Mac
Firstly, restart your Mac and then try to empty the Trash again. Although you think that you have quit all apps that could possibly be using the file, maybe there is an app with one or more background processes that are still using the file. A restart can terminate the background processes.
Empty the Trash in Safe mode
The Mac will say that the files is in use when the file is using by a startup item or login item. Therefore, you'll need to start up the Mac in safe mode, which won't load any third-party hardware drivers or startup programs. To enter safe mode:
Hold down the Shift key when your Mac boots.
Release the key when you see the Apple logo with progress bar.
Then you can empty the Trash on Mac and restart your computer to exit safe mode.
Use Mac Cleanup Software - Macube Cleaner
If the above methods don't work, using a professional cleanup tool for Mac is also a good way, for example, Macube Cleaner, which specializes in efficiently clearing junk files from your Mac. With Macue Cleaner, you can safely clear Trash in one click.
What's better about using Macube Cleaner is that you can free up more space by performing a whole cleanup on your Mac, clearing caches data, logs, mail/photos junks, unneeded iTunes backups, apps, large and old files and more. Here’s how to delete the trash with Macube Cleaner:
Download and install Macube Cleaner on your Mac. It’s free to use for up to 7 days with full function.
Launch the program and choose Smart Scan to clear junk files. The program will scan out all junk files on your Mac in seconds.
Tick certain items in the Trash option and click Clean button.
The Trash will be emptied on your Mac.
If the Mac says that the operation could not be completed because the item is locked or named with a special character, what you need to do is to unlock or rename the file.
Firstly, make sure the file or folder is not stuck. Then right-click on the file and choose "Get Info". If the locked option is checked. Uncheck the option and empty the Trash.
Also, if the file is named with weird characters, just rename the file, and usually you will be able to delete it normally.
If it’s the corrupted file that results in the Trash won’t empty problem, you need extra effort to delete it permanently from the Trash - repair the disk with Disk Utility, and then delete the file.
Start up your Mac in Recovery mode: hold down Command + R keys when the Mac starts up.
When you see the Apple logo with progress bar, release the keys.
You will see the macOS Utilities window, select Disk Utility > Continue.
Choose the disk that contains the file that you want to delete. Then click First Aid to repair the disk.
After the repairing is done, quit Disk Utility and restart your Mac. You can empty the Trash now.
System Integrity Protection(SIP), also called rootless feature, was introduced to Mac since Mac 10.11 to prevent malicious software from modifying protected files and folders on your Mac. To remove files protected by SIP, you need to disable SIP temporally. To turn off System Integrity Protection in OS X El Capitan or Later:
Reboot your Mac in Recovery mode by pressing Command + R keys when the Mac reboots.
On macOS Utilities window, choose Terminal.
csrutil disable; then reboot.Enter the command into the terminal:
Hit Enter button. A message will appear saying that System Integrity Protection has been disabled and the Mac needs to restart. Let the Mac reboot itself automatically.
Now the Mac boots up, empty the Trash. After you have done clearing the Trash, you're recommend to enable SIP again. You need to put the Mac into Recovery mode again, and this time use the command line: csrutil enable. Then reboot your Mac to make the command to take effect.
If the methods above don’t work, you can also try an ultimate method – force empty Trash on Mac with Terminal. Using Terminal to perform command is very effective to force empty the Trash. However, you should follow the steps very carefully, otherwise, it will erase all your data.
In Mac OS X, we used to use sudo rm -rf ~/.Trash/ command to force empty Trash. In macOS Sierra, we need to use the command: sudo rm –R . Now, you can follow the specific steps below to force the trash to empty on a Mac using Terminal:
sudo rm –R followed by a space. DO NOT leave out the space. And DO NOT hit Enter in this step.Open Terminal and type:
Open Trash from the Dock, select all the files and folders from the Trash. Then Drag and drop them in Terminal window. The path of each file and folder will appear on the Terminal window.
Now hit Enter button, the Mac will begin to empty the files and folders on the Trash.
Here’s all the 7 fixes to the Mac trash won’t empty problem. I am sure that you can empty the Trash on your Mac now. If you have other question, leave your comment below.