Smart Systems for Home

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

How to Recover Lost or Deleted Files on a Mac

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can often recover deleted files on a Mac—the key is to act quickly and use the right tool for the situation. Start by checking the Trash, then Time Machine backups, and if those fail, use a data recovery app. The sooner you stop using the Mac, the better your chances, because new data can overwrite the deleted file’s space on the drive.

What You'll Need

  • Your Mac (any model running macOS)
  • If using Time Machine: the external drive or network location where backups are stored
  • If using a recovery app: a second external drive to save recovered files to (not the same drive you're recovering from)
  • An internet connection if you need to download a recovery app

Step-by-Step

1. Check the Trash

  1. Click the Trash icon in the Dock (usually at the end of the Dock).
  2. Look for your file. If you see it, right-click (or Control-click) the file and select Put Back. It will return to its original location.
  3. If the Trash is empty or the file isn't there, move to the next step.

2. Check Time Machine Backups

  1. Make sure your Time Machine backup drive is connected and turned on.
  2. Open the folder where the file was originally located (for example, if it was in Documents, open Documents in Finder).
  3. Click the Time Machine icon in the menu bar (the clock with a counter-clockwise arrow) and choose Enter Time Machine. If you don't see the icon, go to System Settings > General > Time Machine and make sure it's enabled.
  4. Use the timeline on the right side of the screen or the arrows to go back to a date when the file existed.
  5. Select the file, then click Restore. It will be copied back to its original location.

3. Use a Data Recovery App

If the Trash and Time Machine don't have the file, you can try a third-party recovery app. These apps scan the drive for remnants of deleted files. Popular options include Disk Drill, Data Rescue, and PhotoRec (free). Important: Install the app on a different drive if possible, and save recovered files to a different drive to avoid overwriting the data you're trying to recover.

  1. Download and install a reputable recovery app from the official website or the Mac App Store.
  2. Open the app and select the drive where the file was stored (for example, your Macintosh HD or an external drive).
  3. Start the scan. This can take from a few minutes to several hours, depending on drive size and speed.
  4. When the scan finishes, browse the results. Many apps let you filter by file type or name.
  5. Select the file(s) you want and click Recover or Restore. Choose a different drive as the destination (e.g., an external USB drive).

4. Check iCloud Drive (if applicable)

  1. Go to iCloud.com in a web browser and sign in with your Apple ID.
  2. Click iCloud Drive.
  3. Look in the main folder and also check the Recently Deleted folder (if available) on the left sidebar. You can recover files from there within 30 days of deletion.
  4. If you find the file, select it and click Download.

Common Mistakes

  • Continuing to use the Mac after deletion. Every new file you create, download, or even open can overwrite the space where your deleted file was stored, making recovery impossible.
  • Emptying the Trash without checking. Once the Trash is emptied, the file is no longer listed, but it may still be recoverable with software—but only if you haven't overwritten it.
  • Saving recovered files back to the same drive. This can overwrite the very data you're trying to recover. Always save to a different drive.
  • Not checking Time Machine because you think it's not set up. Some Macs have automatic backups to iCloud or an external drive that you might have forgotten about. Check System Settings > General > Time Machine to see if backups exist.

Tips

  • Act fast. The sooner you attempt recovery, the higher the chance of success.
  • Use a read-only recovery tool. Some apps have a “read-only” mode that doesn't write anything to the drive, which is safer.
  • Enable Time Machine now. If you don't have it, set it up with an external drive or a network drive. It's the most reliable way to recover files in the future.
  • Consider a backup service. Cloud backup services (like Backblaze or iCloud) can also help, but they have their own retention policies, so check those.
  • If the file was on an external drive or USB stick, stop using that drive immediately and remove it if possible.

Troubleshooting

If the recovery app doesn't find the file: The file may have been overwritten. Try a deeper scan (if the app offers one) or a different app. Some apps have a “deep scan” that looks for more traces, but it takes longer.

If Time Machine restore fails: Make sure the backup drive is connected and recognized. Restart your Mac, then try again. If the backup is corrupted, you may need to use the recovery app on the Time Machine drive itself, but that's complex and often not worth it.

If the file is not in iCloud Recently Deleted: Check if you have iCloud Drive enabled in System Settings > Apple ID > iCloud > iCloud Drive. If it's off, the file was never synced to iCloud, so it won't be there.

If you can't install a recovery app because the Mac won't boot: You can boot into macOS Recovery (restart and hold Command+R) and use Disk Utility to check the drive, but recovery of individual files from a non-booting Mac usually requires professional help or using the recovery app from another Mac in target disk mode (if your Mac supports it).

Frequently Asked Questions

Can I recover files after emptying the Trash?

Yes, but only if the data hasn't been overwritten. Use a recovery app immediately and avoid using the Mac for anything else.

How long do files stay in Time Machine backups?

Time Machine keeps hourly backups for the past 24 hours, daily backups for the past month, and weekly backups for all previous months—until the backup drive is full, at which point the oldest backups are deleted.

Does iCloud keep deleted files?

Yes, iCloud Drive keeps deleted files in the Recently Deleted folder for 30 days. After that, they're permanently removed.

Is it safe to use a free recovery app?

Some free apps are safe, but always download from the official website or the Mac App Store. Avoid apps that ask for unnecessary permissions or that seem to install additional software.

Can I recover files from a formatted drive?

Yes, but it's harder. A quick format (not secure erase) leaves the data on the drive, and a recovery app can often find it. A full secure erase makes recovery nearly impossible.

What if the file was on an external drive that's not mounting?

Try a different USB port or cable. If it still doesn't mount, try Disk Utility (in Applications > Utilities) to see if it appears. If the drive is physically damaged, professional recovery may be needed.