Table of Contents

Quick Navigation:

Data privacy and security are very important in this modern world. Knowing how to properly shred files and wipe an APFS (Apple File System) drive is important to delete private files safely or get your Mac ready to sell. When you shred files, they are erased and can't be recovered. It keeps your private information safe from possible risks.

permanently delete files and erase hard drive in APFS

If you wipe an APFS drive, you delete all the data and format it, which is important for keeping your Mac safe and running smoothly. This detailed guide will show you how to safely delete files and wipe an APFS drive using built-in macOS tools and third-party data wiping programs. It will keep your data safe and ensure your Mac works at its best.

Why Are Shredding Files and Wiping Drives Important?

Before getting into the how-to, it's important to know why it's important to delete files and wipe drives permanently:

  • 🛡️ Data Security: With the right tools, you can often recover files you accidentally deleted. By shredding files, you ensure no one can recover them.
  • 👤 Privacy: If you sell or give away your Mac, wiping the drive will ensure the new owner can't access your files.
  • ✈️ Performance: Over time, the amount of info on your Mac may slow it down. Wiping the drive can help it work as well as it did before.

What happens when erasing APFS volume?

On the APFS disk, you store your pictures, files, videos, movies, and other things. When you press the "Erase" button and accept the action, all the files on the APFS volume will be erased. After that, the container will have an empty APFS volume.

When you erase an APFS volume, the contents on the volume are deleted from the drive. Erase an AFPS volume, on the other hand, only deletes the contents; you can still add new content to an erased APFS volume inside an APFS container.

Please note that if you use the default settings in Disk Utility to erase the APFS drive, it will just reformat it and the data on the drive is not gone forever until the drive is overwritten or reused by new data. Which means the data on the formatted drive is still recoverable by data recovery software.

recover formatted data

How to recover reformatted drive on Mac?

After formatting a hard drive on Mac, there is still a great chance to get back the lost data with recovery tool.

If you want to securely wiped the data permanently from APFS drive, you need to change the security settings when erasing drive in Disk Utility. Or you can use other professional methods or software to permanently destroy the sensitive data on APFS drive.

Shred Files and Wipe APFS Drive with DoYourData Super Eraser?

Let's begin with the easy-to-use and professional solution. You can use third-party data wiping tool to shred files or wipe entire drive. Mostly, the third-party applications offers more features and advanced data sanitation algorithms.

To wipe data permanently on Mac, we recommend DoYourData Super Eraser for Mac. With this software, you can delete files permanently on your own easily.With trusted data erasure algorithms, the software can guarantee the data be wiped permanently and no recovery method can get back the wiped files successfully.

DoYourData Super Eraser for Mac

  • Best data erasure software for APFS and other files systems.
  • Most reliable and secure data wiping tool for macOS.
  • Wipe data permanently and avoid data recovery.

There are three ways to erase data: Shred individual files or folder, wipe all data from a drive, only wipe deleted files on free space of the APFS drive.

Mode 1: Shred only certain files and folders

Start DoYourData Super Eraser for Mac and choose the "Erase Files/Folders" mode for file shredding. Select the files or folders you want to delete for good. Then

click the "Erase Now" button to remove the files and folders permanently from your drive.

permanently delete files from APFS

Mode 2: APFS disk wipe.

The whole APFS hard drive will be erased in the mode "Wipe Hard Drive." On the APFS hard drive, all the data will be erased for good by erasing the drive.

permanently delete files from APFS

Mode 3: Wipe deleted files from an APFS hard drive.

The lost info can still be found with data recovery software. To remove deleted files, you must delete the free room on the hard drive with "Wipe Free Space" mode. Then, the lost or removed data on the hard drive will be gone permanently.

permanently delete files from APFS

📌 Note: As the wiped data is gone forever and can't be recovered in any way, ensure to select the right files/folders or drives to wipe. Otherwise, you will lost important data for good.

Erase an APFS Drive with Disk Utility

macOS has a built-in disk tool called Disk Utility. Mac users can use Disk Utility manage internal and external hard drives, including erase data permanently from APFS drive. Here are the steps to erase an APFS drive in Disk Utility:

1. In Finder, go to "Applications", "Utilities", and "Disk Utility". The Disk Utility tool will open when you double-click it.

permanently delete files and erase hard drive in APFS

2. When you open the tool, a list of all the internal and external drives found will appear on the left sidebar. Find and click on the AFPS drive you want to wipe, click the Erase button at the top of the window.

permanently delete files and erase hard drive in APFS

3. If you need to, select an APFS file, such as APFS, APFS(Encrypted), APFS(Case-sensitive), or APFS(Case-sensitive, Encrypted).

permanently delete files and erase hard drive in APFS

4. To add more safety and wipe the data from the APFS drive, click Security Options button to continue.

permanently delete files and erase hard drive in APFS

5. Pick the amount of secure erasure you want:

  • Fastest: Fastest, but not as safe as it only format the drive without wiping data.
  • Most Secure: It takes longer but is very safe (seven passes).

permanently delete files and erase hard drive in APFS

6. Click Erase button and then the APFS drive will be reformatted and all data on the drive will be wiped based on the security options you configured.

permanently delete files and erase hard drive in APFS

📌 Tips: It's better to disconnect all the other external drives when you trying to wipe an APFS drive. It can help avoid selecting the wrong drive to wipe and causing data loss.

Wipe an APFS Drive Using Terminal

If you are familiar with Terminal and commands, when you wipe a drive, you can also use Terminal to do this. Here are the steps:

1. Open Terminal from "Utilities" folder under "Applications."

permanently delete files and erase hard drive in APFS

2. Securely erase data from the APFS drive with the following commands:

  • diskutil list (List all the drives on the Mac machine, locate the right APFS drive you want to erase data.)
  • diskutil unmoutDisk /device/diskX (Replcace X with the correct disk number for your drive.)
  • diskutil secureErase 0 /device/diskX (0 can also be changed to 1, 2, 3, 4 for better security.)

permanently delete files and erase hard drive in APFS

If you only want to free space of the drive to erase deleted data, you can use the command: diskutil secureErase freespace 4 /device/diskX (ensure to add the parameter freespace, otherwise, all data on the drive will be wiped.)

permanently delete files and erase hard drive in APFS

📌 Note: Be careful to locate the right drive by the size or other drive information. Type the commands correctly to wipe data smoothly. If you find it's hard to use this method, it's highly suggested to use other easily methods.

Additional Tips and Considerations

  • 🔒 Encryption: To make things safer, use FileVault to protect your whole disk. It ensures that even if someone tries to get back files that have been shredded, they will still be secured.
  • 🛠️ Regular Maintenance: Wiping drives and shredding private files keep your Mac running smoothly and safely.
  • 🧰 Third-Party Tools: Reputable third-party tools can help you find answers more easily and quickly. Always check the software's trustworthiness to avoid possible security risks.
  • 👨‍🔧 Professional Help: If you're unsure how to do something, get help from a professional. If you erase or format drives incorrectly, you could lose info.
  • Conclusion

    It is very important to keep your Mac info safe and private. You can keep your device running at its best and protect private information by learning how to shred files and wipe APFS drives. If you use these ways, whether you use macOS's built-in tools or trusted third-party data destruction app, your data will be deleted forever.

    Regularly Doing these things makes your Mac safer and more efficient. Following this guide, you can feel good about managing your data, keeping your information safe, and keeping your Mac running smoothly. Put data security first to keep your digital record safe and stop people from getting in without permission.

    DoYourData Super Eraser for Mac

    DoYourData Super Eraser for Mac

    DoYourData Super Eraser for Mac is a 100% safe, powerful and easy-to-use data erasure program. It offers certified data erasure standards including Peter Gutmann, U.S. Army AR380-19, DoD 5220.22-M ECE to permanently erase data from Macs and external devices, making data recovery be impossible.

DoYourData Author

Written & Updated by Shirly Chen

Shirly Chen has been writing data recovery, data erasure articles for DoYourData over 4 years. She has been working as a professional website content writer & editor for quite a long time. She also writes articles about disk clone, Mac optimization, disk backup, etc.

Read full bio