Best Way to Permanently Erase Sensitive Files on Mac

Imagine you’ve just finished your taxes, saved everything locally, and now want those financial documents gone. Not in the Trash…. actually gone. Or maybe you’re handing an external drive to a colleague and realized it still contains client files from a previous project. You delete them, empty the Trash, and assume that’s the end of it.

Here’s the problem: it probably isn’t.

Deleting a file on a Mac and permanently erasing its contents are two different things. Understanding that difference is the starting point for anyone who wants to handle sensitive data responsibly…. whether that’s financial records, medical documents, private photos, or confidential work files.

This article explains what actually happens when you delete files on a Mac, which methods offer stronger protection, and when a dedicated tool makes more sense than relying on the Trash alone.

What Happens When You Delete a File on a Mac?

When you drag a file to the Trash and empty it, macOS removes the file’s directory entry…. essentially the pointer that tells the system where that file lives on the storage device. The underlying data isn’t immediately scrubbed from the drive. That space is simply marked as available for future use.

So: can deleted files be recovered on a Mac? Sometimes, yes…. but it depends on several factors.

On a traditional hard disk drive (HDD), that underlying data can remain readable until the storage space is physically overwritten by new data. On a modern SSD…. which is what most current Macs use…. the picture is more complicated. SSDs use a process called TRIM, which signals to the storage controller that deleted blocks can be cleared. Over time, the drive’s internal garbage collection may erase those blocks independently of what macOS does. This makes recovery of deleted data from SSDs less likely in many scenarios, but it isn’t a guaranteed, immediate, or complete process. Timing, usage patterns, and SSD firmware all affect what actually happens.

There’s also the question of where else the data might live. Time Machine backups, iCloud syncing, email attachments, downloads on other devices, and application caches can all hold copies of files you’ve deleted from their original location. Deleting a file from your Mac doesn’t automatically remove it from those places.

The key takeaway: ordinary deletion is fine for routine file management. For genuinely sensitive data…. anything you’d be concerned about if it fell into the wrong hands…. a more deliberate approach is worth taking.

The Best Ways to Permanently Erase Sensitive Files on Mac

The right method depends on what you’re trying to erase and whether your Mac uses an SSD, an HDD, or an external storage device.

Method 1: Delete the Files and Empty Trash

For most everyday files that don’t contain sensitive information, this is perfectly adequate.

  1. Locate the file or folder in Finder.
  2. Move it to Trash (right-click and choose Move to Trash, or press Command + Delete).
  3. Open Trash and confirm the correct items are there before proceeding.
  4. Empty the Trash from the Finder menu or by right-clicking the Trash icon.

This is the right tool for clearing out old downloads, duplicate photos, or unused applications. It’s not a reliable method for sensitive data because it doesn’t overwrite the underlying file contents…. it just removes the reference to them.

Method 2: Use a Dedicated Mac File Shredder for Selected Files

Sometimes you don’t want to reset your entire Mac or wipe a whole drive. You simply need a few specific documents erased more thoroughly than the Trash allows…. tax returns, a confidential contract, private correspondence.

This is where a dedicated tool becomes practical. Stellar File Eraser for Mac offers options for targeted erasure: selected files and folders, multiple items at once, previously deleted data traces via free-space wiping, and supported application and internet activity traces. It’s designed for users who want control over what gets erased without wiping the entire machine.

The general workflow using a tool like this:

  1. Before starting, back up anything you may still need. Erasure is not reversible.
  2. Download and install Stellar File Eraser for Mac from the official product page.
  3. Open the application and choose the appropriate function…. such as Erase Files & Folders for targeted erasure.
  1. Add the files or folders you want to erase.
  2. Review your selection carefully. Once the process runs, those items cannot be recovered through the application.
  3. Start the erasure process and follow the on-screen instructions.
  4. Check the completion status when the process finishes.

An important qualification here: on modern SSDs running APFS…. which describes most current Macs…. file-level overwriting tools face real technical constraints. APFS uses copy-on-write behavior, the SSD controller manages wear leveling independently of the operating system, and filesystem snapshots may preserve copies of data separately from the file being erased. This means a file-erasure tool can address what’s accessible through the filesystem, but it cannot guarantee that every physical copy on the SSD’s NAND storage has been eliminated. How much this matters in practice depends on your specific threat model and storage device. For most users who are concerned about casual recovery by someone with standard tools, dedicated erasure software provides meaningful improvement over simply emptying the Trash.

Method 3: Wipe Free Space to Address Previously Deleted Files

If you’ve already deleted files through ordinary means and are now concerned about remnants, free-space wiping targets the areas of the storage device that the filesystem considers available…. which may still contain data from previously deleted files.

Stellar File Eraser for Mac has a free-space wiping feature for this purpose. The distinction matters: this is different from erasing an existing file before deletion, and different again from sanitizing an entire drive.

One note on older methods: macOS used to include a diskutil secureErase freespace Terminal command. Apple removed its support for SSDs some time ago precisely because the underlying SSD architecture makes traditional overwrite-based approaches unreliable on flash storage. If you encounter guides suggesting this command for modern Macs, treat them with caution.

Free-space wiping also does not remove copies stored in Time Machine backups, iCloud, or other devices. Those need to be handled separately.

Method 4: Erase Files from an External Hard Drive Connected to Your Mac

Sensitive files often end up on external hard drives, USB flash drives, or memory cards…. and those devices have their own erasure considerations.

If you want to remove specific files from an external drive while keeping the rest of its contents, the same selective-erasure approach described in Method 2 applies.

If the drive contains only material you want to eliminate entirely, erasing and reformatting the whole device is more straightforward. Here’s the general process using Disk Utility:

  1. Back up anything on the drive you still need.
  2. Open Disk Utility (Applications > Utilities).
  3. Choose View > Show All Devices if you need to see the full drive structure.
  4. Select the correct external device…. confirm this carefully before proceeding.
  5. Click Erase, choose an appropriate format and scheme, and confirm.

Apple’s official guidance for this process is available at support.apple.com.

Worth stating clearly: reformatting a drive is not automatically equivalent to secure sanitization. For traditional HDDs, Disk Utility previously offered secure-erase options that overwrote data multiple times. For SSDs, those options are not available because the overwrite model doesn’t map reliably to how flash storage works. If the external drive held highly sensitive data and you need confidence beyond a standard reformat, the appropriate path depends on the drive type, your specific situation, and potentially professional data destruction services.

Which Method Should You Choose?

Situation Suitable approach Important limitation
Routine deletion of unneeded files Move to Trash and empty No overwriting; data may remain until overwritten by new files
Selectively erasing specific sensitive documents Dedicated erasure tool (e.g. Stellar File Eraser for Mac) File-level overwriting has limits on SSDs and APFS
Addressing remnants of previously deleted files Free-space wiping Does not affect backups, cloud storage, or snapshots
Removing sensitive files from an external drive Selective erasure or full reformat via Disk Utility Reformat is not guaranteed sanitization on SSDs
Preparing an entire Mac for sale or transfer Apple’s Erase All Content and Settings (macOS Monterey and later) File-erasure utilities alone are not a substitute for this

That last row deserves emphasis. If you’re selling a Mac or giving it to someone else, erasing individual files is not the right approach. macOS Monterey and later include Erase All Content and Settings in System Settings, which is Apple’s supported procedure for returning a Mac to factory condition before transfer. Use that instead of relying on file-erasure tools for the whole-device scenario. Apple’s guidance is available at support.apple.com.

A Few Things to Check Before You Finish

Secure deletion only works on what the chosen method can actually reach. Before considering the job done:

  • Confirm you’ve selected the right files. Erasure is not reversible. Double-check before starting any operation.
  • Back up anything you still need. There is no undo.
  • Check iCloud and other cloud storage. Files synced to the cloud remain there until deleted from the cloud separately.
  • Check Time Machine. If Time Machine has been running, backups of the files you’re erasing may still exist. Manage those through Time Machine’s backup browser.
  • Check email and messaging apps. Attachments you sent or received may remain in those applications independently of the original file.
  • Check external drives and other devices. Copies you transferred earlier don’t disappear because the original was erased.

If ownership of the Mac is changing hands, run Apple’s full erase procedure…. not just a file-erasure pass.

FAQs

Can deleted files be recovered on a Mac?
It depends. On an HDD, recovery is often possible until the space is overwritten. On an SSD, TRIM and garbage collection reduce recovery likelihood, but don’t provide an immediate or universal guarantee. Backups, cloud storage, and application caches may preserve copies regardless of what happened to the original file.

How do I permanently delete multiple files on Mac?
Select multiple files in Finder, move them to Trash together, and empty the Trash. For sensitive material, a dedicated erasure tool that lets you add multiple files and folders to a single erasure operation…. such as Stellar File Eraser for Mac…. provides a more deliberate approach than Trash alone.

Is emptying the Trash enough to securely delete sensitive files?
For most everyday use, yes. For genuinely sensitive data, no. Emptying the Trash removes the filesystem reference to the file, but the underlying data isn’t immediately overwritten. Whether it can be recovered depends on the storage device, subsequent disk activity, and where else copies of the data exist.

What is a Mac file shredder?
A Mac file shredder is an application designed to erase selected files and folders more thoroughly than standard deletion. It typically targets the data itself rather than just removing the filesystem reference. On modern SSDs, the effectiveness of file-level shredding is limited by how SSDs manage storage internally…. a factor worth understanding before relying on any tool for high-stakes erasure.

Can I permanently erase files from an external hard drive connected to my Mac?
Yes, with some caveats. For individual files, a dedicated erasure tool can target specific items. For an entire drive you want to clear completely, reformatting via Disk Utility is the more practical path…. though this is not equivalent to secure sanitization for SSDs, where the standard overwrite model doesn’t apply in the same way as it does for HDDs.

 

Photo of author

Author

Dom

A late Apple convert, Dom has spent countless hours determining the best way to increase productivity using apps and shortcuts. When he's not on his Macbook, you can find him serving as Dungeon Master in local D&D meetups.

Read more from Dom

appsuk-symbol-cropped-color-bg-purple@2x

Apps UK
International House
12 Constance Street
London, E16 2DQ