Skip to content

How to permanently delete files on a Mac, and when not to

How to permanently delete files on a Mac with Delete Immediately and Empty Trash, why secure erase doesn't apply to SSDs, and how FileVault and erasing protect you.

Mac storage basics · Published · 21 min read
Office floor with a visible trash bin and crumpled papers scattered around, blurring human figures.
Photo: Tima Miroshnichenko on Pexels

To permanently delete files on a Mac, move them to the Trash and empty it: click the Trash in the Dock, then click Empty.

To skip the Trash for one item, select it in Finder, hold the Option key, and choose File › Delete Immediately, or press Option-Command-Delete. Either way, Finder asks you to confirm, and the file can't be put back.

That's all most people need, and it's also where most regrets start. Permanent deletion gives up the one easy way back, while freeing exactly the same space as emptying the Trash later. It's worth doing only when you're sure.

If you want deleted files to be unreadable, not just gone from view, deleting single files isn't the tool. On a Mac's SSD, Apple's answer is encryption, which Macs with Apple silicon have on by default, plus erasing the whole Mac when you pass it on.

This post covers all of it, and when not to delete for good at all.

How to permanently delete files on a Mac

Finder has three ways to delete for good: empty the whole Trash, delete selected items in the Trash, or delete an item without using the Trash at all. All three are final; they differ in what they cover and whether the item waits in the Trash first.

How do you empty the Trash?

  1. Click the Trash in the Dock.
  2. Click Empty in the upper-right corner of the Trash window.
  3. Click Empty Trash in the warning.

You can also choose Finder › Empty Trash, or press Shift-Command-Delete. Apple's warning is plain: any items emptied from the Trash are permanently deleted and no longer available.

How do you delete a file immediately without the Trash?

Select the file in Finder, then hold the Option key and open the File menu. Move to Trash turns into Delete Immediately…. Choose it, then confirm. The keyboard shortcut is Option-Command-Delete.

This is the right tool for one large file you're certain about, such as a copy of a video you've already moved to another drive. For anything less certain, the Trash costs nothing and keeps a way back.

How do you delete only some items in the Trash?

Open the Trash, select the items you're sure about, Control-click them and choose Delete Immediately. Click Delete in the warning. The rest stay in the Trash, where you can still put them back.

This is often the best of both: the space from your largest, surest items comes back now, and everything else keeps its safety net until you're ready.

Can you turn off the warning?

Yes, though it's worth keeping. To skip it once, hold the Option key while you click Empty or choose Empty Trash; Option-Shift-Command-Delete does the same. To turn it off for good, choose Finder › Settings, click Advanced, and deselect Show warning before emptying the Trash.

Should the Trash empty itself?

It's a sensible middle ground. Choose Finder › Settings, click Advanced, and select Remove items from the Trash after 30 days. Storage settings offers the same thing as Empty Trash automatically.

Items then leave the Trash for good a month after you delete them, without you thinking about it. Thirty days is long enough to notice most mistakes, and you can still empty the Trash yourself sooner.

What about locked files?

A locked file can still go to the Trash. Apple says Finder asks you to click Continue to confirm moving a locked item. To unlock it first, select it, choose File › Get Info, and deselect Locked.

MethodHowCan you undo it?Best for
Move to TrashCommand-DeleteYes, with Put BackAlmost everything
Empty TrashTrash › Empty, or Shift-Command-DeleteNoClearing the Trash once you're sure
Delete Immediately in the TrashControl-click items in the TrashNoFreeing space from a few sure items now
Delete Immediately in FinderOption-Command-DeleteNoOne item you're certain about
Storage settings, DeleteSelect an item, click DeleteNoRarely; use Show in Finder instead

What "permanently" means on a Mac

When Finder says an item is permanently deleted, it means Finder can't bring it back. It doesn't mean every copy everywhere is gone, and it doesn't mean the space shows up straight away.

Is a permanently deleted file gone for good?

From the Finder, yes. There's no Put Back after the Trash is emptied, and macOS has no undelete command.

But other copies may still exist. A Time Machine backup made before you deleted it still has it. So may a copy on another drive, in iCloud Drive, in an email you sent, or on another device you synced with.

That's usually good news, since backups are how you recover from a mistake. If you're deleting a file for privacy, it's the part to think about: the copy on your Mac is only one copy.

Why didn't the free space go up?

Several things can hold on to a deleted file's space for a while. The most common is a Time Machine local snapshot. Apple says local snapshots are made hourly and kept for up to 24 hours, or until space is needed on the disk.

The guide to Time Machine local snapshots explains how to see them and get their space back sooner.

Another is a clone: a copy made in Finder on the same disk shares its space with the original, so deleting one of the two frees little. The full list of causes is in why deleting files doesn't free space.

Does Time Machine keep files you delete?

Yes, in backups made before you deleted them. Time Machine makes hourly, daily and weekly backups, and a file you delete stays in the older backups that already have it.

To remove a file from your backups too, you'd need to remove it from the backup disk itself. For most people that's unnecessary; if the backup disk is encrypted, the copies on it are protected by its password.

What about files in iCloud Drive?

Deleting a file in iCloud Drive deletes it on all your devices that use iCloud Drive, not just this Mac. Apple's iCloud help says deleted files stay in Recently Deleted on iCloud.com for 30 days, and that's where you can recover one.

On the Mac, Apple notes that items from iCloud Drive leave the Trash after 30 days, whatever your Trash setting. If you only want a file off this Mac but kept in iCloud, Control-click it and choose Remove Download instead of deleting it.

What about files on an external drive?

Files you delete from an external drive go to a hidden Trash folder on that drive, not on your Mac. They show up in the Trash while the drive is connected, and the drive's space comes back only when you empty the Trash with the drive still connected.

Some places can't keep a Trash at all, such as many network volumes. Finder then warns that the item will be deleted immediately. The post on why the Trash won't empty covers these cases in detail.

How long Apple's bins keep deleted items
  • Time Machine local snapshots1 days
  • Photos, Recently Deleted30 days
  • Messages, Recently Deleted30 days
  • iCloud Drive, Recently Deleted on iCloud.com30 days
  • Finder Trash, with automatic emptying on30 days
  • Messages in iCloud, before deletion from iCloud40 days

From Apple's support pages for macOS 27. Snapshots last up to 24 hours or until space is needed. The Finder Trash keeps items until you empty it, unless automatic emptying is on.

Spacious co-working office with wooden desks, laptops, and modern chairs.
Emptying the Trash removes the file you can see; other copies may still exist. Photo: Pavel Danilyuk on Pexels

Storage settings' Delete button

Storage settings is the other place macOS lets you delete files, and it's the one that surprises people. Its Delete button doesn't use the Trash.

What does Delete do in Storage settings?

Open Apple menu › System Settings, click General, then Storage, and click the information button next to a category such as Documents or iOS Files. Select an item and click Delete.

macOS asks you to confirm and says the item will be deleted immediately and that you can't undo it. It doesn't go to the Trash. Once you confirm, the item is gone, as if you'd emptied the Trash with it inside.

Which categories have it?

Categories with an information button let you select and remove files: among them Applications, Documents, iOS Files, Messages and Trash. Some open the app that owns the files instead, so you delete inside that app.

System Data, macOS and Other Users & Shared show a size only. Apple says macOS manages System Data, and you can't manage its contents directly.

When is Storage settings' Delete the right choice?

When you're certain and want the space now. Old iPhone software files you can download again are a good example, and so are items in the Trash category, which are already on their way out.

For everything else, click Show in Finder next to the item and move it to the Trash there. You get the same space back once you empty the Trash, and a way back until then.

What changed between macOS versions?

Storage settings has been in System Settings › General › Storage since macOS Ventura, and the steps are the same in macOS 27 Golden Gate and macOS 26 Tahoe. Before Ventura, the same lists were in About This Mac › Storage › Manage.

Apps that keep their own Recently Deleted

Several of Apple's apps don't use the Finder Trash. They keep deleted items in a bin of their own, and the item isn't permanently deleted, nor its space freed, until that bin lets it go.

How do you permanently delete photos?

When you delete photos and videos in Photos, they go to Recently Deleted and are permanently deleted after 30 days. To delete them sooner, click Recently Deleted under Utilities in the sidebar, unlock the album if asked, select the items and click Delete, or click Delete All.

With iCloud Photos on, deleting in Photos deletes on your other devices too. Never delete photos by opening the Photos library in Finder: its files are a database that only Photos should change.

How do you permanently delete messages?

In Messages, choose View › Recently Deleted. Apple says you can view and recover items there for up to 30 days. Select a conversation, click Delete, and follow the instructions to delete it for good.

With Messages in iCloud, Apple says deleted messages are removed from all your devices after 30 days and permanently deleted from iCloud after 40 days.

How do you permanently delete email?

Deleted email goes to the Trash mailbox, where you can still see it until it's erased. To erase it now, choose Mailbox › Erase Deleted Items, then choose an account, or Control-click a Trash mailbox in the sidebar and choose Erase Deleted Items.

To have Mail do it on a schedule, choose Mail › Settings, click Accounts, select an account, click Mailbox Behaviors, and pick an option from the Erase deleted messages menu.

AppWhere deleted items goHow long they stayDelete for good
FinderThe TrashUntil you empty it, or 30 days if setEmpty, or Delete Immediately
PhotosRecently Deleted album30 daysDelete, or Delete All
MessagesView › Recently DeletedUp to 30 daysSelect and click Delete
MailTrash mailboxDepends on Mailbox BehaviorsMailbox › Erase Deleted Items
iCloud DriveRecently Deleted on iCloud.com30 daysDelete it there

Why secure erase of single files doesn't work on SSDs

Older Macs had a Secure Empty Trash command that overwrote files before deleting them. It's gone, and on today's Macs nothing in Finder replaces it. The reason is the kind of storage Macs now use.

Why did Apple remove Secure Empty Trash?

Apple removed it in OS X El Capitan. Its security notes for that release say there was an issue guaranteeing secure deletion of Trash files on some systems, such as those with flash storage, and that the issue was addressed by removing the option.

In other words, Apple couldn't promise the overwrite reached every copy of the data, so it stopped offering a promise it couldn't keep. Every Mac sold today uses flash storage.

Why is flash storage different?

On a spinning hard disk, writing over a file's place on the disk replaced the old data. A solid-state drive manages where data physically goes on its own, so an app asking to write over a file has no guarantee it's touching the cells that held the old version.

Disk Utility reflects the same limit. Apple's Disk Utility guide says that with an SSD, secure erase options aren't available, and suggests turning on FileVault encryption when you start using the SSD instead.

How do you know whether your Mac has an SSD?

Open System Information from the Utilities folder inside Applications, then click Storage under Hardware. Select your startup disk: Medium Type says SSD for flash storage and Rotational for a spinning disk.

Every Mac with Apple silicon has an SSD. Some older Intel-based iMacs and Mac minis had hard disks or Fusion Drives, and for those, Disk Utility may still offer secure erase options when you erase the whole disk.

What about apps that shred files?

Some apps offer to shred or securely delete single files by overwriting them first. On a Mac's SSD they meet the same limit that led Apple to remove Secure Empty Trash, and Apple's own guidance points to encryption, not overwriting.

If an app promises that a shredded file can never be recovered from an SSD, treat the claim with care. Apple chose not to make that promise in its own Finder.

Does any of this matter on a Mac with Apple silicon?

Less than you might think. Apple says a Mac with Apple silicon or an Apple T2 Security Chip encrypts your data automatically. A deleted file's leftover data was encrypted on the disk like everything else.

What protects you from someone who gets hold of the Mac is that encryption and your login password, not overwriting. That's why the next section matters more than any delete command.

Iron gate with a padlock securing a closed entrance in Portland, Oregon.
On a Mac's SSD, encryption is what keeps deleted data private. Photo: Kevin Bidwell on Pexels

FileVault and encryption: the real protection

If your worry is someone reading your files, including ones you've deleted, encryption is the answer Apple gives. It protects everything on the disk at once, deleted or not.

What does FileVault do?

FileVault ties the encryption of your startup disk to your login password. Apple describes it as an extra layer of security that keeps others from accessing your data without your login password.

On a Mac with Apple silicon or a T2 chip, the disk is encrypted even with FileVault off, but the key is protected only by the hardware. Apple's platform security guide says turning on FileVault protects it with your password as well.

How do you turn on FileVault?

  1. Choose Apple menu › System Settings.
  2. Click Privacy & Security in the sidebar.
  3. Scroll down and click FileVault, then turn it on.
  4. Choose how to unlock the disk if you forget your password: with your iCloud account, or with a recovery key you write down.

The steps are the same in macOS 27 Golden Gate and macOS 26 Tahoe. On a Mac with Apple silicon, it's quick, because the data is already encrypted.

What if you lose the password and the recovery key?

Then your data is lost. Apple's warning is direct: if you forget your login password, can't reset it, and also lose the recovery key, your files and settings will be lost forever.

Keep the recovery key somewhere other than the Mac itself, or let your iCloud account unlock the disk. Encryption that works this well also works against you if you lose every key.

How do you protect an external drive?

Encrypt it. In a Finder window, Control-click the drive in the sidebar, choose Encrypt followed by the drive's name, create a password and click Encrypt Disk. Apple notes the drive is converted to APFS first, so Macs with versions of macOS that don't support APFS can't read it afterwards.

You can't get at the data on an encrypted drive without its password, so record it somewhere safe. Disk Utility can also erase a drive into an encrypted format, which removes everything on it first.

StorageEncrypted by default?How to protect itHow to erase it all
Internal SSD, Apple silicon or T2YesTurn on FileVaultErase All Content and Settings
Internal disk, older Intel Mac without T2NoTurn on FileVaultDisk Utility in macOS Recovery
External SSDNoEncrypt in Finder or Disk UtilityDisk Utility; no secure erase options
External hard diskNoEncrypt in Finder or Disk UtilityDisk Utility, with Security Options if offered

Erasing a whole Mac or drive

Erasing everything at once is the one situation where deleting really is complete. It's what to do before you sell, give away or trade in a Mac, and it's very different from deleting files one by one.

How do you erase a Mac with Erase All Content and Settings?

  1. Choose Apple menu › System Settings and click General.
  2. Click Transfer or Reset, then Erase All Content and Settings.
  3. Enter your administrator details in Erase Assistant and click Unlock.
  4. Review what will be removed, click Continue, and follow the instructions.

Apple says it erases all user accounts and their data, not just yours, along with settings and apps. It also signs you out of Apple services such as iCloud, and turns off Find My and Activation Lock, so the Mac is no longer tied to you.

Why is erasing the whole Mac secure when deleting files isn't?

Because it doesn't need to overwrite anything. Apple says the feature can quickly and securely erase all your data, and its platform security guide explains how: erasing the key that protects a volume renders the volume cryptographically inaccessible.

That's the difference: one file's leftovers stay encrypted with a key that still exists, while erasing the Mac throws the key away.

What if your Mac doesn't have Erase All Content and Settings?

It needs a Mac with Apple silicon, or an Intel-based Mac with the Apple T2 Security Chip, running macOS Monterey or later. Older Intel-based Macs don't have it.

For an older Mac, Apple's steps are to start up from macOS Recovery, erase the disk with Disk Utility, and reinstall macOS. Apple also recommends signing out of iCloud and Messages first on those Macs.

How do you erase an external drive?

  1. Copy anything you want to keep to another drive.
  2. Open Disk Utility from the Utilities folder in Applications.
  3. Choose View › Show All Devices, select the drive, and click Erase.
  4. Choose a format and a name, then click Erase.

If Disk Utility shows a Security Options button, the drive supports overwriting the erased data, and a slider sets how many times. Apple says that if the button isn't there, Disk Utility can't perform a secure erase on that device, which is the case for SSDs.

What about a backup disk you're giving away?

Erase it too. A Time Machine disk holds copies of everything it backed up, including files you deleted from your Mac long ago. Erase it in Disk Utility before it leaves your hands, or keep it.

If the backup disk was encrypted when you set it up, its contents are already unreadable without the password. Erasing it still removes the backups, and with them any doubt.

What should you do before you pass on a Mac?

Back it up first, since every step after that is permanent. A Time Machine backup lets you move everything to your next Mac with Migration Assistant.

Then use Erase All Content and Settings. Apple says that if you can use it, you don't have to complete any of the other steps in its checklist for selling or giving away a Mac.

When not to delete permanently

Permanent deletion is rarely necessary to free space, and it's the wrong tool in several common situations. In each of these, the Trash or a different approach is the better choice.

When you aren't sure what a file is

If you can't tell what something is, permanent deletion is the worst way to find out. Move it to the Trash, use your Mac for a few days, and see if anything complains. Apps that need a missing file usually say so quickly.

Files in your Library folder are the usual case. Most of what's there is an app's data or settings, and some of it is your own work kept inside an app.

When it's inside an app's library

The Photos library, the Music library, iMovie and Final Cut libraries all look like single files in Finder but hold databases inside. Deleting things inside them in Finder can damage the library.

Delete inside the app instead. Each of them has its own way to remove items, and Photos and Messages give you 30 days to change your mind.

When it's in iCloud Drive or another synced folder

Deleting a synced file removes it everywhere, not just on this Mac. If your goal is space on this Mac, remove the local copy and keep the file in the cloud: Remove Download in iCloud Drive, or the online-only setting of Dropbox, OneDrive or Google Drive.

When you only want the space back

Permanent deletion frees the same space as moving to the Trash and emptying it later. The only difference is timing, and the cost is losing your way back.

If you need the space today, use Delete Immediately on the few largest items you're sure about and leave the rest in the Trash. You get most of the space now and keep the safety net for everything else.

When you hope it will make the Mac faster

It won't. Deleting files frees space, not speed, and deleting them permanently frees no more than deleting them through the Trash. A Mac with very little free space can struggle to install updates or save large files, so room helps with those tasks, but apps don't run faster.

When a guide tells you to use Terminal

Many guides offer a command that deletes files or folders directly. Commands like that skip the Trash and the warning, can't be undone, and a typo in a path can erase far more than you meant.

Everything in this post works in Finder, System Settings and Disk Utility. A guide that asks you to paste a command to free space or "securely" delete files is worth closing: fake cleanup guides are a known way to install malware.

Dynamic shot of a basketball hoop viewed from below, showcasing the net and backboard.
The Trash is the safety net; permanent deletion takes it away. Photo: Caleb Oquendo on Pexels

If you deleted something by mistake

The way back depends on how far the file got. Work through these in order, and stop at the first one that has it.

Is it still in the Trash?

Open the Trash and look. If the file is there, select it and choose File › Put Back, or drag it out. Put Back returns it to the folder it came from.

If you deleted it in Photos, Messages or Mail, look in that app's Recently Deleted album or Trash mailbox instead. They keep items for up to 30 days, or until the mailbox is erased.

Can you restore it from Time Machine?

If you use Time Machine, open the folder the file was in, then open Time Machine with Spotlight. Use the arrows to step back to a backup from before you deleted it, select the file and click Restore.

A file you created and deleted within the same hour may never have reached a backup. That's one more reason to leave large deletions in the Trash for a day.

Was it in iCloud Drive?

Sign in at iCloud.com, open iCloud Drive, and click Recently Deleted in the sidebar. Apple says files stay there for 30 days. If it isn't there, Apple suggests checking Data Recovery on iCloud.com, which can restore files too.

What about data recovery apps?

Apple's own ways back are the Trash, the apps' Recently Deleted bins, Time Machine and iCloud. It doesn't offer a tool to recover files after the Trash is emptied.

Plan on backups rather than recovery apps. A backup is something you can check works today, while recovering a deleted file from an encrypted SSD isn't something to count on. The post on backing up before a big cleanup shows how to make one and test it.

How the app does it

Wombit is a native Mac app that shows what's using your storage, explains every item in plain language, and clears it safely: Trash first, undoable and logged. It never deletes anything permanently by itself.

When you remove something from the map, the list or a cleanup, it goes to the Trash after a review sheet that lists each item, its size and what happens when it's removed. A log records every step, and Undo, Put Back and Cleanup History bring items back until the Trash is emptied.

Emptying the Trash is the only permanent step, and it happens only when you ask. The confirmation says how many items it will erase and how much space they take, that you can't undo it, and how many of the items were moved there by cleanups. It empties only your own Trash.

The catalog's entry for the Trash is Review first: it may hold the only copy of something, so it's never part of a cleanup run and never selected for you.

When a tool has its own cleanup command, such as npm or uv, the app runs that command instead of deleting the tool's files. The review sheet says plainly that what a command removes can't be put back.

The app doesn't shred files or erase disks. On a Mac's SSD, FileVault and Erase All Content and Settings are the tools that protect deleted data, and they're built into macOS.

Undo, Put Back, Empty Trash and Cleanup History are free, along with the map, explanations and search. Cleanup is PRO: one payment of $4.99 with lifetime access. Every Pro tool's review is free to open, so you see what would go and why before you buy.

Frequently asked questions

What is the shortcut to delete a file without moving it to the Trash on a Mac?

Select the file in Finder and press Option-Command-Delete, then confirm. It's the same as holding Option and choosing File › Delete Immediately. The file can't be put back afterwards.

Can permanently deleted files be recovered on a Mac?

Not from the Finder: once the Trash is emptied, there's no Put Back. A Time Machine backup or another copy made before you deleted it can still bring it back, and Photos, Messages and iCloud Drive keep their own Recently Deleted for up to 30 days.

Where did Secure Empty Trash go?

Apple removed it in OS X El Capitan because it couldn't guarantee secure deletion on systems with flash storage. There's no replacement in Finder. Apple recommends FileVault encryption on SSDs instead.

Is FileVault needed on a Mac with Apple silicon?

The disk is already encrypted, but without FileVault the key is protected only by the hardware. Turning on FileVault ties it to your login password as well, so nobody can read your data without it. Keep your recovery key safe, because losing both the password and the key loses the data.

Does permanently deleting a file free more space than the Trash?

No. A file in the Trash frees exactly the same space once you empty it. Permanent deletion only changes when the space comes back, and it gives up the chance to put the file back.

How do I wipe my Mac before selling it?

Back it up, then choose System Settings › General › Transfer or Reset › Erase All Content and Settings. It erases every user account and its data, signs you out of iCloud and turns off Find My and Activation Lock. Older Intel-based Macs without it are erased with Disk Utility in macOS Recovery.

Why is the Delete button in Storage settings risky?

It deletes the item immediately instead of moving it to the Trash, and macOS says you can't undo it. Click Show in Finder instead and move the item to the Trash, which frees the same space once you empty it.

Sources

  1. Delete files and folders on Mac · Apple
  2. About the security content of OS X El Capitan v10.11 · Apple
  3. Erase and reformat a storage device in Disk Utility on Mac · Apple
  4. Protect data on your Mac with FileVault · Apple
  5. Volume encryption with FileVault in macOS · Apple
  6. Erase your Mac · Apple