Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Permanently Delete Files from External Hard Drive Mac

· 6 min read · Home Tech

In this article
  1. How macOS Handles Deletion on External Drives
  2. Method 1: Standard Delete and Empty Trash
  3. Method 2: Secure Erase with Disk Utility
  4. Method 3: Use Terminal for Targeted Secure Deletion
  5. Common Issues and Misconceptions
  6. How to Choose the Right Method
  7. Alternatives to Built-in Tools
  8. Frequently Asked Questions

Yes, you can permanently delete files from an external hard drive on a Mac, but the method depends on whether you want the files to be unrecoverable or just removed from view. For most users, moving files to the Trash and then emptying it is sufficient, but for sensitive data, you need to use secure erase options or disk utility features. This guide walks through every method, explains why files sometimes reappear, and answers common questions about permanent deletion on macOS.

How macOS Handles Deletion on External Drives

When you delete a file from an external drive on a Mac, macOS does not immediately erase the data. Instead, it marks the space as available for overwriting. The file’s directory entry is removed, but the actual data remains on the disk until new files overwrite it. This is why deleted files can often be recovered with third-party software.

External drives are treated slightly differently than internal drives. If you drag a file from an external drive to the Trash, macOS may either move the file to the drive’s own hidden .Trashes folder (if the drive is formatted as Mac OS Extended or APFS) or delete it immediately (if the drive is formatted as FAT32 or exFAT). For drives using the latter formats, the file is often gone from view right away, but the data still lingers until overwritten.

Method 1: Standard Delete and Empty Trash

The simplest way to delete files from an external drive is to drag them to the Trash or press Command + Delete. Then, empty the Trash by right-clicking the Trash icon and selecting “Empty Trash,” or by pressing Shift + Command + Delete. This removes the files from the drive’s visible structure, but as noted, the data remains recoverable.

  • For drives formatted as APFS or Mac OS Extended, files are moved to a hidden .Trashes folder on the drive. Emptying the Trash clears that folder.
  • For drives formatted as FAT32 or exFAT, files are deleted directly without a Trash step—they are simply unlinked.

If you want to bypass the Trash entirely, you can press Option + Command + Delete after selecting the files. This permanently deletes them without sending them to the Trash, but again, the data is not securely erased.

Method 2: Secure Erase with Disk Utility

If you need to ensure that deleted files cannot be recovered, you can use Disk Utility to securely erase the entire drive. This is the only built-in method that overwrites the data with random patterns, making recovery practically impossible.

  1. Connect the external drive to your Mac.
  2. Open Disk Utility (found in Applications → Utilities).
  3. Select the external drive in the sidebar (not the volume below it).
  4. Click the Erase button in the toolbar.
  5. Choose a format (e.g., APFS or Mac OS Extended) and a scheme (GUID Partition Map for Intel Macs or Apple Silicon).
  6. Click Security Options... and choose how many times to overwrite the data. The options range from “Fastest” (no overwrite) to “Most Secure” (7 passes).
  7. Click Erase to begin. This wipes the entire drive, so back up anything you need first.

Note that Disk Utility’s secure erase is only available for traditional spinning hard drives (HDDs). For solid-state drives (SSDs), the option is often grayed out because SSDs use wear leveling and TRIM, making secure erase less effective. For SSDs, the best approach is to use FileVault encryption before deleting files, or to use a third-party tool that supports SSD secure erase.

Method 3: Use Terminal for Targeted Secure Deletion

If you want to securely delete specific files without wiping the entire drive, you can use the srm command in Terminal. However, note that srm was removed from macOS in version 10.11 (El Capitan) and later. On current macOS versions, you can use the rm command with the -P flag, which overwrites the file three times before deleting it.

  1. Open Terminal (Applications → Utilities).
  2. Type rm -P followed by a space.
  3. Drag the file or folder from Finder into the Terminal window to insert its path.
  4. Press Return. The file will be overwritten three times and then deleted.

This method works on both HDDs and SSDs, but on SSDs, the overwrite may not be effective due to wear leveling. For maximum security on SSDs, consider encrypting the drive with FileVault before storing sensitive files.

Common Issues and Misconceptions

One common issue is that files deleted from an external drive still appear after reconnecting the drive. This usually happens because the drive has a hidden .Trashes folder that wasn’t emptied. To fix this, show hidden files by pressing Shift + Command + Period in Finder, then look for the .Trashes folder on the drive and delete its contents.

Another misconception is that emptying the Trash permanently deletes files. In reality, data recovery tools like Disk Drill or PhotoRec can often recover files from external drives after a standard delete. If you’re selling or giving away the drive, a secure erase is essential.

Also, be aware that if the external drive is formatted as FAT32 or exFAT, macOS may not move files to the Trash at all—they are deleted immediately. This can lead to accidental permanent deletion if you’re not careful.

How to Choose the Right Method

Your choice of deletion method depends on your needs:

  • Everyday deletion: Standard Trash deletion is fine for non-sensitive files.
  • Freeing up space: Empty the Trash to reclaim space, but don’t worry about recoverability.
  • Sensitive data: Use Disk Utility’s secure erase for the entire drive, or use rm -P for individual files.
  • Selling or disposing of the drive: Perform a secure erase with multiple passes, or physically destroy the drive if the data is extremely sensitive.

For drives that will be reused, a single-pass overwrite is usually sufficient for most users. Government-grade security might require multiple passes, but for personal data, one pass is often enough.

Alternatives to Built-in Tools

While macOS provides built-in options, third-party tools offer more flexibility. For example, applications like Permanent Eraser or CleanMyMac X can securely delete files with a right-click. These tools often provide more control over overwrite passes and can handle SSDs better than Disk Utility.

However, for most users, the built-in methods are sufficient. If you need to securely erase an SSD, consider enabling FileVault before storing sensitive data. Once encrypted, even if the data is deleted, it cannot be recovered without the encryption key.

Frequently Asked Questions

Does emptying the Trash permanently delete files from an external drive?

No. Emptying the Trash removes the file’s directory entry, but the data remains on the drive until overwritten. Recovery software can often restore it. For permanent deletion, use secure erase methods.

Why do deleted files reappear on my external drive?

This usually happens because the files are in the hidden .Trashes folder on the drive. Show hidden files with Shift + Command + Period, then delete the contents of that folder.

Can I securely delete files from an SSD external drive?

Yes, but the built-in secure erase in Disk Utility may not work on SSDs. Use FileVault encryption before storing sensitive data, or use a third-party tool that supports SSD secure erase.

What is the difference between deleting and erasing a drive?

Deleting removes the file’s reference, making it invisible. Erasing overwrites the data with patterns, making it unrecoverable. Erasing takes longer but is more secure.

Is there a way to delete files without sending them to the Trash?

Yes, select the files and press Option + Command + Delete. This deletes them immediately without the Trash step, but the data remains recoverable.

How many overwrite passes do I need?

For most personal data, one pass is sufficient. Multiple passes (up to 7) are used for higher security, but they take significantly longer and are unnecessary for most users.