OS X: About Disk Utility's erase free space feature

Disk Utility in OS X includes the ability to securely erase the free space on a hard drive, to reduce the chances of deleted files being recoverable.

There are multiple erasure options that offer different levels of security:

"Zero Out Data" option

This is the quickest free space erasure option, and provides good security. It writes zeros over the unused disk space (one pass). This option takes the least amount of time.

"7-Pass Erase" option

Writes data over the free disk space seven times. This provides a highly secure erasure of disk data. A 7-Pass Erase takes seven times longer than a Zero Out Data erase.

Advanced: The 7-Pass Erase option conforms to the DoD 5220.22-M specification. This specification calls for three passes, but Disk Utility performs seven. Click here for more details about the specification.

Data written
In binary notation In hexadecimal notation
1 11110110 0xF6
2 00000000 0x00
3 11111111 0xFF
4 Random Random
5 00000000 0x00
6 11111111 0xFF
7 Random Random

Additional Information

 If you are erasing the free space of your Mac OS X startup volume, you may see this message:

"Your startup disk is almost full.
You need to make more space available on your startup disk by deleting files."

This is a normal, temporary part of the erase free space process.  Once the free space has been erased, the disk space is available again.

Note: With an SSD drive, Secure Erase and Erasing Free Space are not available in Disk Utility. These options are not needed for an SSD drive because a standard erase makes it difficult to recover data from an SSD. For more security, consider turning on FileVault encryption when you start using your SSD drive.

Important: Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. Apple provides this only as a convenience to our users. Apple has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and Apple assumes no responsibility in this regard. Please understand that a third-party site is independent from Apple and that Apple has no control over the content on that website. Please contact the vendor for additional information.
Last Modified: Aug 20, 2014
  • Last Modified: Aug 20, 2014
  • Article: HT3680
  • Views:

  • Rating:
    • 100.0

    (1 Responses)

Additional Product Support Information

Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked