Mac Performance

How to Empty Trash on Mac

Deleting a file on your Mac moves it to the Trash folder. This way, if you accidentally delete something, you can find it in the Trash and restore it without needing to worry. But it’s also important to empty the Trash occasionally to avoid it taking up too much storage on your Mac.

 

When you empty Trash on Mac, it permanently deletes all those files, creating free space for you to use with new files instead.

Before we start:

 

You can quickly delete junk, including unwanted files in the Trash, from your Mac using MacKeeper’s Safe Cleanup. It can empty your Trash automatically so that you don’t have to remember to do it. Plus, our app also removes other unnecessary files to free up space and improve performance.

 

Here’s how to use MacKeeper’s Safe Cleanup:

  1. Download and install MacKeeper.
  2. When MacKeeper starts, select the Safe Cleanup utility.
  3. Click Start Scan to find all junk on your system.
  4. Choose the files you want to delete, ensuring you select Trash.
  5. Click Clean Junk Files.

Check the size of the Trash folder

If you tend to hold onto deleted files in the Trash folder (in case you want to recover them later), you’ll find the Trash starts to take up a lot of space over time. Here’s how you can check the size of the Trash to see exactly how much storage space it’s using:

  1. Open the Trash on your Mac.
  2. In the menu bar, click File > Get Info.
  3. A small window will appear that shows details on the Trash folder. You’ll see its size in the top-right corner.
The Trash icon at the end of the dock on Mac. To check the size of the Trash on Mac, first click this icon to open the Trash folder.
Step 1. Open the Trash folder
Finder on Mac displaying the File window. Select Get Info while the Trash folder is open to see more information, including its size.
Step 2. Select File > Get Info
The Trash Info window in macOS showing stats for the Trash folder. You can check the size of the Trash in the top-right corner.
Step 3. Check the size of the Trash

How to automatically empty Trash on a Mac

You might run out of free space if you don’t clear Trash on Mac regularly. To stop this from happening, tell your Mac to empty the Trash automatically instead, like so:

  1. Open Finder and go to Finder > Settings from the menu bar.
  2. Go to the Advanced tab.
  3. Enable the option to Remove items from the Trash after 30 days.
The macOS menu bar showing a list of Finder options. Click Settings to automatically empty Trash on Mac.
Step 1. In Finder, select Finder > Settings
The Finder Settings window on Mac with the Advanced tab selected. Check Remove items from the Trash after 30 days to automatically empty the Trash folder.
Step 2. Click Advanced > Remove Items from the Trash after 30 days

Note from our experts: When you enable this option, your MacBook Air (or other Apple computer) only keeps files in the Trash for 30 days, after which it automatically removes them. Of course, you should only use this option if you’re certain you won’t need to recover anything from the Trash after 30 days have passed.

How to manually clear Trash on a Mac

To manually clear Trash on a Mac, it takes just a few clicks. Here’s the simplest method:

  1. Right-click the Trash icon in your Mac’s dock.
  2. Click Empty Trash.
  3. Select Empty Trash again to confirm.
The Trash icon at the end of the dock on Mac with the right-click menu displayed above it. Select Empty Trash to manually clear your Mac's Trash folder.
Right-click the Trash > Empty Trash

Alternatively, you can use one of these options:

  • Right-click anywhere inside the Trash folder, then select Empty Trash.
  • Open the Trash, then click Empty Trash in the top-right corner of the window.
  • In any Finder window, select Finder > Empty Trash in the menu bar.
  • While Finder is active, press Command + Shift + Backspace on your keyboard.

How to delete specific items from Trash

If you don’t want to remove everything from the Trash in one go, you can choose to selectively delete specific items from the Trash instead. Here’s how:

  1. Open the Trash folder.
  2. Click the file you want to delete to select it. If you want to select multiple files, hold down the Command key on your keyboard, then click each one.
  3. Right-click one of the files you’ve selected, then choose Delete Immediately.
The Trash folder on Mac containing a bunch of deleted files. Right-click a file, then select Delete Immediately, to delete specific files individually.
Right-click a file in Trash, then select Delete Immediately

Just like emptying the entire Trash, deleting individual files from your Mac permanently removes them from your computer, so make sure you definitely don’t need them first.

How to force empty the Trash on a Mac

If you can’t empty Trash on Mac for some reason, you can use a simple Terminal command to force files to be deleted:

  1. Open the Applications folder on your Mac, then double-click Utilities.
  2. Run Terminal.
  3. Type the sudo rm -R command, then press space. Don’t press enter yet.
  4. Open the Trash folder, then drag and drop all the files you want to delete into Terminal.
  5. Now press enter in Terminal.
  6. Enter your Mac’s password and press enter again if prompted.
Finder on Mac showing the Utilities folder. To force empty the Trash, first open the Utilities folder, then run Terminal.
Step 1. In Applications, open the Utilities folder
Finder on Mac showing the Utilities folder. To force empty the Trash, first double click Terminal to run it.
Step 2. Run Terminal
Terminal on Mac displaying the sudo rm -R command. Type this command, then press space before dragging in files that you want to force delete.
Step 3. Type sudo rm -R and press space
The Terminal window open alongside a Trash window on Mac. To force empty the Trash, drag files from the Trash window into Terminal after typing the sudo rm -R command.
Step 4. Drag files from Trash into Terminal
Terminal on Mac displaying the sudo rm -R command, followed by a number of file locations. To force empty these files from the Trash, press enter, then enter your Mac's password.
Step 5. Press enter

Hint from our team: The most common reason the Trash won’t empty on a Mac is because some of the files are currently in use. With that being the case, it’s a good idea to ensure all applications are closed before you force delete any files so that you don’t cause any of your software to crash.

If you still have trouble when you try to permanently delete trash on your Mac, it may be because of an issue with your disk drive. Try repairing your drive using the First Aid feature in Disk Utility:

  1. Open the Applications folder on your Mac, then double-click Utilities.
  2. Run Disk Utility.
  3. In the menu bar, click View > Show All Devices.
  4. Select your Mac’s startup disk in the sidebar. It should be called Macintosh HD if you haven’t changed it.
  5. Click the First Aid button.
  6. Select Run to proceed.
The Utilities folder in Finder on Mac. To force empty the Trash on Mac when it won't delete files, first open Utilities, then run Disk Utility to perform First Aid on your Mac's drive.
Step 1. In Applications, open the Utilities folder
The Utilities folder in Finder on Mac, showing Disk Utility. Double-click Disk Utility to run it.
Step 2. Run Disk Utility
Disk Utility on Mac shows the View menu. Click Show All Devices to see your Mac's startup disk so that you can repair it.
Step 3. Click View > Show All Devices
Disk Utility on Mac with the Mac startup disk selected. Click First Aid to check the drive for errors that may stop you from emptying the trash on Mac
Step 4. Select your startup disk, then click First Aid
The First Aid prompt in Disk Utility on Mac. Click Run to proceed with checking your Mac's startup drive for errors that may stop you from emptying the trash.
Step 5. Select Run to proceed

This process will look for any errors on your disk and then repair them. Once it’s complete, it’s a good idea to restart your machine. You can then try to delete Trash on Mac again.

Disable System Integrity Protection to remove certain files

Certain files, such as Time Machine backups, are protected by System Integrity Protection (SIP), a feature built into macOS. To delete them, you first need to disable SIP like so:

  1. Shut down your Mac from the desktop.
  2. Press your Mac’s power button, then immediately hold down the Command + R keys to enter Recovery mode.
  3. In the menu bar, select Utilities > Terminal.
  4. Type the csrutil disable command, then press enter.
  5. Enter your Mac’s password, then press enter again.
  6. Click the Apple logo in the menu bar, then select Restart.
The Utilities menu inside Recovery mode on Mac. Select Terminal to open it, then enter the csrutil disable command to disable System Integrity Protection (SIP).
Step 1. In Recovery, select Utilities > Terminal
Terminal on Mac showing the csrutil disable command. Type this, then press enter to disable System Integrity Protection (SIP).
Step 2. Type csrutil disable and press enter

Important: 

 

SIP is part of your Mac’s security system, so you must enable SIP again after emptying the Trash. To do this, repeat the steps above, but enter the csrutil enable command into Terminal at step four.

How to recover files from Trash

If you’ve accidentally deleted a file on your Mac and you need to recover it, it’s a simple process if you haven’t emptied the Trash folder yet. Do this to remove items from Trash on Mac:

  1. Open the Trash on your Mac.
  2. Right-click the file you want to recover, then select Put Back.
The Trash folder on Mac containing deleted files. Right-click a file you want to recover from the Trash, then select Put Back.
In Trash, right-click a file, then select Put Back

This will send the file back to its original location—where you deleted it from—and a new Finder window will open to show you where it is. If you want to know how to recover emptied Trash on Mac, that’s when things get more complicated, since emptying the folder will permanently delete trash on Mac.

 

In this case, you’ll need to turn to data recovery software or take your Mac to a data recovery professional. It’s best to do this as soon as possible, as deleted files get overwritten as you use your computer. The longer you leave it, the lower the chance of recovering them.

Conclusion

There are a number of ways to quickly clear Trash files on your Mac laptop. You can also recover deleted files from the Trash folder if you decide you need them again later, though you’ll need to use professional data recovery software to retrieve files after the Trash can has been emptied.

 

A simple way to stay on top of your Trash is to use MacKeeper’s Safe Cleanup to delete Trash files automatically. When you run the tool, it finds all hidden junk on your system, including deleted files, and allows you to erase them all in just a few clicks safely.

FAQ

1. Why you can’t empty the Trash on your Mac?

If you can’t empty the Trash, it’s usually because you’re trying to delete files that are in use, or you don’t have permission. Try closing any apps you’ve opened, then empty the Trash again. For certain files, you’ll need to disable System Integrity Protection (SIP), as explained in the guide above.

2. Can you use Terminal to clear the Trash folder?

Yes, you can use the sudo rm -R command to delete files with Terminal. Simply type this command followed by a space, drag the files you want to delete into the Terminal window, and then press enter.

3. What happens when you empty Trash on Mac?

Emptying the Trash on Mac permanently deletes all the files contained within it. Although they technically stay on your system until they’re overwritten, they can’t be recovered without professional software.

4. How to empty Trash on Mac when a disk is full?

If the Trash folder doesn't empty because your Mac’s startup disk is full, you’ll need to free up some space. You can use MacKeeper’s Safe Cleanup to clear all the hidden junk on your system quickly.

5. How to empty Trash external hard drive on Mac?

If you’re deleting files from an external hard drive on Mac, these usually go to the Trash folder, too, if they aren’t too big. To get rid of them completely, you can use any of the regular Trash removal methods, such as right-clicking the Trash icon and selecting Empty Trash.

Use your Mac to the fullest! Sign up and get:
Effective tips on how to fix Mac issues
Reliable advice on how to stay safe online
Mac-world news and updates

Thank you!

You’ll love exploring your Mac with us.

Oops, something went wrong.

Try again or reload a page.

Here’s another sign you need to upgrade your macOS ASAP:

30% off your MacKeeper subscription

Сopy the code now and use it in the MacKeeper checkout after the upgrade.

Copy Code

Please be aware that this code cannot be combined with any other discounts, offers, or promotions.

Contents

Unlocked

Mac working slowly? Feel the benefit of removing digital junk.

Start Now
PC

MacKeeper - your all-in-one solution for more space and maximum security.

Try Now

Read more

How to Remove MegaBackup from Mac
How to Remove MegaBackup from Mac
How to Find Large Files on Mac
How to Find Large Files on Mac
arrow

Run Application

step_1

Click Continue

step_2

Click Install

step_1

Your macOS version is lower than OS 10.11. We’d like to offer you MacKeeper 4 to solve the cleaning, privacy, and security issues of your macOS.