Secure Empty Trash in Mac OS X

Feb 3, 2012 - 14 Comments

The Trash can of OS X

If you need to delete sensitive information and have it completely inaccessible, you’ll want to use the “Secure Empty Trash” feature. This works by writing random patterns of data over a trashed file immediately after it has been emptied, or removed from the filesystem, such a process which otherwise takes place over time throughout normal computer usage as more files are created and deleted.

There are two easy ways to secure empty the Trash on the Mac. In order for either option to be visible to you, you must have some file or folder within the Trash can, otherwise the option will not be visible since there is nothing to trash.

1: How to Secure Empty Trash Quickly in Mac OS X with a Right-Click

Mac OS X makes it easier than ever to access secure file removal:

  • Command+Right Click the Trash can
  • Select “Secure Empty Trash

Secure Empty Trash on a Mac

You must hold the “Command” key while right-clicking the Trash icon in the Dock, or else the Secure option will not be visible.

2: How to Secure Empty Trash from the Finder Menu

The “Secure Empty” option is also accessible from the Finder menu, and the resulting behavior is identical in that it overwrites the removed data:

  • With anything in the Trash, pull down “Finder” menu and choose “Secure Empty Trash”

Secure Empty the Trash in Mac OS X

Using secure empty will take a bit longer than emptying the Trash as normal, this is because the aforementioned overwriting process is taking place. The more files you are secure deleting, the longer this process will take.

Get in the habit of using Secure Empty Trash anytime you are removing something that is truly sensitive and that you don’t want others to regain access to. Things like financial statements, credit card information, personal files and diaries, or deleting the source files and finished documents from openssl file encryption.

Enable Secure Empty as Default Method of Trashing

For nearly every version of Mac OS X, there is also an option to always securely empty the Trash, enabled within the Advanced Finder preferences. If you regularly work with private data this is a good feature to turn on.

Always Use Secure Empty Trash

While the Secure Empty Trash feature makes recovering data significantly more difficult even by professional data recovery services, if you want true data removal without any traces, performing a secure format of a hard drive is the safest bet and is always recommended when transferring ownership of a Mac or it’s hard drive.


Related articles:

Posted by: William Pearson in Mac OS, Tips & Tricks


» Comments RSS Feed

  1. tony says:

    Empty trash: SECURE EMPTY – – – WILL NOT SHOW!

    Here it is 04/2017. Did Apple remove the “Secure Empty” option? I know I USED to use Secure Empty, but hardly ever. Now I had something come into my computer, but I finally removed it to trash. Now I want to “SECURE” empty it but can’t. Why not?

  2. Use the command “srm” in terminal, works in recent versions of OSX :

    srm –help
    Usage: srm [OPTION]… [FILE]…
    Overwrite and remove (unlink) the files.

  3. Lance says:

    I would caution against using Secure for “item is in use”. Restart in Safe Boot instead. If you force delete an item in use, it has a small chance if causing file system glitch. Same goes for enabling Finder to always secure empty trash.

    “Then why does Apple allow it?”
    Because it is a very small chance, and possibly for the same reason they allow (through hidden contextual menu command) to rename a user account folder. It only causes pain and anguish 1 or 2% of the time.

  4. Orin Dutton says:

    “Secure Empty Trash” does not work on locked files.

    This is not a desirable feature especially since locked files can’t be removed (at least in finder) from trash to another folder.

  5. […] with the command line but who want to retain secure file removal options should consider using a simple method of secure deletion, or by using the “Always Secure Empty Trash” option that is […]

  6. Chan says:

    Thanks for sharing this. In addition to Secure Empty, you can also run the Erase Free Space tool in Disk Utility, slider on ‘most secure’. It takes a while, so it’s best run overnight after you’ve emptied huge blocks of files, and you want more than a once-over wipe.

  7. […] can have “Secure Empty Trash” be the default setting by changing the Advanced Finder preferences, found under the Finder […]

  8. […] Try quitting all apps to release the file lock or permissions, then attempt to Secure Empty Trash by holding down the Command key and right-clicking the Trash icon. If that doesn’t work, […]

  9. Jackberger says:

    To enable “Secure Empty” you can just right click the Trash and when the menu is displayed and you hit Command “secure” will be added.

  10. Joseph says:

    Secure empty will empty the trash even if the “item is in use” or whatever it says. Happens to me a lot for some reason.

  11. Jetster735180 says:

    It should be said, this is not recommended for SSDs with Sandforce controllers or SSD`s with trim enabled.

  12. Prabhjeet says:

    Great, this is what I want, thanks

Leave a Reply


Shop on and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks


iPhone / iPad



Shop on Amazon to help support this site