Mac data recovery: built-in options before you pay for software
For Mac data recovery, start with the free tools already on your Mac. Check the Trash and Put Back. Then look at Recently Deleted in iCloud, Photos and Notes, and then Time Machine and its local snapshots (hourly copies Time Machine keeps on the Mac itself). While you look, don't save, download or install anything, because that risks overwriting what you lost. Opening these places to look is fine. Items emptied from the Trash are permanently deleted.
Paid software is the last resort in Mac data recovery, not the first move. The built-in options look for copies that already exist, and they cost nothing. This page puts them in the order worth trying and explains what limits you when the Trash is already empty.
01What decides whether Mac data recovery works
Three things decide it. First, whether a copy exists: a backup, a snapshot or an iCloud copy. Second, whether anything has been written over the original since, meaning the space your file used on the drive. Third, time, because some copies expire. Local snapshots, the copies Time Machine keeps on the Mac itself, last up to 24 hours or until space is needed. iCloud Drive copies last 30 days. Photos you removed are gone for good after 30 days.
That is why the first rule is the same for every case. Stop saving new files to the Mac, and put off downloads and installs, because every moment you keep using the drive risks overwriting the deleted data permanently.
02The options in order
| Option | What it can bring back | Limit |
|---|---|---|
| Trash and Put Back | Items you trashed and have not emptied | Gone once emptied; Finder can empty it after 30 days if you chose that setting |
| iCloud Recently Deleted | Files from iCloud Drive | Removed after 30 days; permanently removed files can't be recovered |
| Photos and Notes Recently Deleted | Photos, videos and notes | 30 days for Photos; up to 30 days for Notes |
| File > Revert To | Earlier versions of a document | Only in apps that support it |
| Time Machine backup | Files and folders from earlier backups | Needs a backup that existed before the loss |
| Local snapshots | Previous versions of files, even with no backup disk attached | Up to 24 hours or until space is needed |
For files kept in iCloud Drive, the website route is quick. Go to icloud.com/iclouddrive, select Recently Deleted in the sidebar, select the files, then select Recover. If the file is not there, go to icloud.com/recovery and click Restore Files. Photos and Notes each have their own Recently Deleted place, and both keep items for up to 30 days.
The steps for each of these are on recover deleted files on Mac. If the Trash is already empty, go to recover emptied Trash. For the Time Machine route in full, including how to pick a date, see restore from Time Machine.
03Time Machine, in one paragraph
Time Machine is the Mac's built-in backup, and if it was turned on before the loss, it keeps copies from before it. To look for a file, open the folder where it lived, then use Spotlight, the Mac's search, to open Time Machine, which is in the Other folder. Select the item and click Restore. Apple also recommends backing up to a location other than the internal disk.
04What macOS Recovery is for
macOS Recovery is a special startup mode of the Mac. It is not a file finder. It is the way in when you restore a whole Mac. Its window offers three things: Restore from Time Machine, Reinstall macOS, and Disk Utility, which you can use to repair or erase your startup disk. Leave Disk Utility alone unless you mean to wipe the disk, because erasing the startup disk removes what is on it.
People worry that reinstalling macOS wipes their files. Apple says it doesn't remove your apps or personal data, but it is still a good idea to make a backup first. It does install new system files on the drive, and any use of the drive risks overwriting deleted data. So reinstall to restore from a backup, not while you still hope to get a file back from the drive itself. To restore all your files from a Time Machine backup, Apple says you must first reinstall macOS. Afterwards, Migration Assistant, the Mac's tool for moving your information from another Mac or a backup, can restore your personal files, including your apps. How to start Recovery on an Apple silicon Mac and on an Intel Mac is on the Time Machine restore page.
05Before you pay for recovery software
If your Mac uses an SSD, a solid-state drive, recovery becomes significantly more difficult because of TRIM. TRIM lets the operating system tell the drive which blocks of data are no longer in use, so the drive can erase them internally. It is mostly used on SSDs. Terminal cannot recover an emptied Trash either, so there is no free shortcut after that point.
Ask three questions before you spend money on Mac data recovery:
- Is there a copy in Time Machine, iCloud or a local snapshot that you have not checked? If the file is not in the newest backup, use the arrows and the timeline to look through older ones too.
- Have you stopped writing to the drive since the loss?
- Is the file worth the cost if the result is uncertain on an SSD?
If you do try a tool, remember that installing and running it is also use of the drive, and use risks overwriting what you want back.
06If nothing here found the file
Then the built-in options are used up. What is left is recovery software, and on an SSD the result is uncertain. If a coding agent deleted the files, read Claude Code deleted files or Cursor deleted files. If the project used Git, restore a deleted file in Git may be enough.
07Mac data recovery: what to remember
Check the built-in options first: the Trash, iCloud, Time Machine and local snapshots. Don't save, download or install anything while you search. After the Trash is emptied, an SSD makes recovery harder, so a backup is what makes Mac data recovery reliable. Back up to a location other than the internal disk.
FAQ
Can Mac data be recovered?
Often, if a copy exists somewhere: in the Trash, in iCloud Recently Deleted, in a Time Machine backup or in a local snapshot. Items emptied from the Trash are permanently deleted, and on an SSD recovery after that is significantly more difficult.
How to do data recovery on Mac?
Work from the cheapest, fastest place to the slowest. Check the Trash first, then Recently Deleted in iCloud, Photos or Notes, then Time Machine and its local snapshots. Do not save or install anything while you do.
Does reinstalling macOS delete my files?
No. Apple says reinstalling macOS doesn't remove your apps or personal data, but it is still a good idea to make a backup first. It does install new system files, which is use of the drive, so look everywhere else for a lost file first.
Is there a free data recovery software for Mac?
Several free tools are already on your Mac: the Trash with Put Back, File > Revert To, Time Machine and its local snapshots. Installing and running anything else is use of the drive, which risks overwriting what you lost.
Can Terminal recover deleted files on a Mac?
It cannot recover an emptied Trash, or files that bypassed the Trash.
How long do I have?
Local snapshots last up to 24 hours or until space is needed on the disk. iCloud Drive and Photos keep removed items 30 days.
Related guides
Sources
- Apple Support, empty the Trash
- Apple Support, back up with Time Machine
- Apple Support, restore files from Time Machine
- Apple Support, recover all your files
- Apple Support, macOS Recovery
- Apple Support, reinstall macOS
- Apple Support, recover deleted files in iCloud Drive
- Apple Support, recover deleted files on iCloud.com
- Apple Support, Photos Recently Deleted
- Apple Support, Notes Recently Deleted
- Wikipedia, Trim (computing)
- Disk Drill guide, Terminal and recovery