How to Recover Deleted Files on a Mac (2026): Trash, Time Machine, and No-Backup Options

You deleted something — a document, a folder of photos, a project you were mid-way through — and now it is gone. Take a breath. On a Mac, "deleted" almost never means "erased instantly." There are several places a file can still be hiding, and your odds are best if you act before you save or install much of anything new. Work through these in order, from easiest to last-resort.

1. Check the Trash first (the 30-second fix)

When you delete a file in Finder, it does not disappear — it moves to the Trash and sits there until you empty it. This is where most "lost" files actually are.

  • Click the Trash icon at the end of the Dock.
  • Find your file. You can sort by Date Added to see the most recent deletions at the top.
  • Right-click it and choose Put Back — this returns the file to the exact folder it was deleted from. (Dragging it out works too, but Put Back is cleaner.)

If the Trash is empty, do not panic and do not empty it again. Move to the next step.

2. Undo, if you just did it

If you deleted the file seconds ago and have not clicked anywhere else, press Command-Z in Finder. macOS treats a delete as an undoable action, so a single Command-Z often puts the file right back where it was — no Trash-diving required.

3. Restore from Time Machine

If you have a Time Machine backup drive, this is the most reliable way to get a deleted file back — even one you emptied from the Trash days or weeks ago.

  • Connect your Time Machine backup drive.
  • Open the folder where the file used to live (for example, your Documents folder).
  • From the menu bar clock or Spotlight, open Time Machine and choose Browse Time Machine Backups.
  • Use the timeline on the right edge of the screen to step back to a date before you deleted the file.
  • Select the file and click Restore. It reappears in its original folder.

New to Time Machine or not sure it is running? Our complete Time Machine backup guide walks through setup and restoring a single file versus a whole Mac.

4. Check iCloud Drive and "Recently Deleted"

If the file lived in iCloud Drive, it has its own 30-day safety net:

  • Open iCloud Drive in Finder (or sign in at iCloud.com).
  • At iCloud.com, open iCloud Drive → Recently Deleted — deleted files stay there for up to 30 days and can be recovered with one click.

Photos work the same way: the Photos app has its own Recently Deleted album (Command-click it in the sidebar; it may require Face/Touch ID) that holds images for 30 days before they are gone for good. Notes, Mail, and Messages each keep their own recently-deleted holding areas as well — always check inside the app the file belonged to.

5. Look inside the app that made it

Many apps keep their own version history independent of Finder. Microsoft Word, Pages, Numbers, Keynote, and others offer File → Revert To → Browse All Versions, which lets you scroll back through earlier saves of a document — useful when the file still exists but you deleted a chunk of its contents. Cloud apps like Google Docs and Dropbox keep server-side version history you can restore from their websites.

6. No backup? Here is the honest truth

If the file was never in the Trash, iCloud, or a backup, macOS itself has no built-in "undelete" that scans the raw disk. What actually matters now:

  • Stop using the drive as much as possible. When you empty the Trash, the space is marked reusable — the data is often still physically on the disk until something overwrites it. Every file you save, app you install, or web page you cache lowers your odds. On modern Macs with fast SSDs and a feature called TRIM, that window is short, so speed matters.
  • Third-party recovery software (tools like Disk Drill and others) can sometimes scan free space and pull back recently deleted files. They work best on external drives and older Macs; on a T2/Apple-silicon Mac's encrypted internal SSD, success is far less likely because of how the storage is encrypted and TRIM-cleaned.
  • For truly critical data — irreplaceable business or family files — a professional data-recovery service is the last resort. It is expensive and not guaranteed, but it is the only option once software scans come up empty.

7. Make sure this is the last time

The single best "recovery tool" is the one you set up before you need it. Turn on Time Machine with any external drive, keep important folders in iCloud Drive (which gives you the 30-day Recently Deleted net automatically), and consider a second offsite copy for anything you cannot replace. Ten minutes of setup beats a stressful afternoon of scanning free space.

If your Mac's storage is failing, making files vanish, or refusing to mount, that is a hardware problem, not a simple delete — and it is worth getting the data off before the drive gets worse. If the machine itself is on its last legs, you can always trade in a broken MacBook toward a reliable replacement once your files are safe.

Frequently asked questions

Where do deleted files go on a Mac?
To the Trash, where they stay until you empty it or 30 days pass if you have "Remove items from the Trash after 30 days" enabled. Right-click and choose Put Back to restore one.

Can I recover files after emptying the Trash?
Yes, if you have a Time Machine or iCloud backup — restore from there. Without a backup, recovery depends on third-party software scanning free space, which is unreliable on Apple-silicon SSDs. Stop using the Mac immediately to improve your odds.

Does macOS have built-in undelete?
Not for emptied files. Command-Z undoes a just-deleted file, and Trash "Put Back" restores un-emptied ones, but there is no built-in raw-disk scanner. Backups are your real safety net.

How long do I have to recover a deleted file?
In the Trash: until you empty it (or 30 days if auto-empty is on). In iCloud/Photos Recently Deleted: 30 days. From free space after emptying: potentially minutes to hours on a fast SSD — act fast and stop saving new data.

Need a healthier Mac to back up in the first place? Browse our lineup of tested, warrantied Macs — a MacBook Air starts around $450 — at LuxuriousComputers, or find a deal on our Apple clearance page.

Ready for a Mac that just works?

Every refurbished Mac from LuxuriousComputers comes with a 1-year warranty, 30-day returns, and saves you up to 55% vs retail.