Have you ever moved a file to the trash in OSX and it just would not delete? Perhaps it was supposedly in use?  Well, here are a few tips and tricks to help remove those pesky files with relative ease.

One thing I have found to always work is to simply Log out (or even reboot) and log back in then attempt to empty the Trash.  This should usually work.  However, if you would prefer to stay logged in and/or not have to reboot, check out the solutions below.

How to force the Trash to empty using the Option key

This technique uses a hidden feature of Mac OS X to force the Trash to empty. It is important you follow these steps very carefully.

1. Press and hold the mouse button (or if you have a two button mouse – right click) on the Trash icon in the Dock. The context menu for Trash will display.
2. Press and hold the Option key.
3. Select Empty Trash from the context menu for Trash.
4. Release the Option key.

How to force the Trash to empty using Terminal

This technique uses a Terminal command to fore the Trash to empty. It is important that you follow these steps very carefully.

1. Launch Terminal, located in the Macintosh HD > Applications > Utilities folder or search Spotlight for Terminal

2. At the Terminal prompt, type the following command exactly as written:

sudo rm -rf ~/.Trash/*

Important Notes:

* There is a single space after each of the terms sudo, rm, and -rf in the command.
* Double check you have typed the command exactly as it written above: incorrectly typing the command can result in serious system issues, including erasing your hard drive.

3. Press Return/Enter
4. Now type your Admin password when prompted, then press Return/Enter. The files in the Trash are now deleted.

Another possibility is to download and try this free application called Trash It! which is an AppleScript that force-empties your Trash and/or removes stubborn items.

How has this worked for you? Leave a comment!

About the author

— Jeff Weisbein

Jeff is the founder & CEO of BestTechie. He has over 10 years of experience working with technology and building businesses. He loves to travel and listen to music.

Just for you

Gear recommendations

Leave a comment


Submit a Comment
  1. thanks, the alt/option method worked great! especially since I’ve read 10 different ways in using the terminal to remove annoying files in the trash.

  2. Thanks but I would not be reading this page if I had not explored all these different options, there are still items in my trash (old windows system files).

  3. I will just point out for those who got confused, that the * at the end of “sudo rm -rf ~/.Trash/*” is supposed to be there, at is not a note reference even though both notes are highlighted with a * as well.

    Maybe the way the article highlights notes should be changed to avoid confusion.

  4. Hi, it worked perfectly!! Do you know any way to make the problem go away? I keep having to go through the entire process whenever I want to clear out the trash items…

  5. yeah – the Option-Key seems to work :)
    Thank you so much.
    (I moved some old TimeMashine-Files into the trash)

    1. hm – almost: I had over 200k files. 50k resisted :(

      I found:
      -> Terminal:

      sudo rm -r
      (be sure to have a space after the “r”)
      then drag the content of the thrash onto the terminal
      hit ENTER and type the admin-password
      – sometimes overriding has to be confirmed with “y” – (?)

Leave a Reply

Your email address will not be published. Required fields are marked *