Recover Deleted Files After 30 Days on Mac
In this article
- Where Do Deleted Files Go on a Mac?
- Time Machine Backups: Your Best Bet for Old Files
- Local Snapshots: Hidden Backups on Your Startup Disk
- Third-Party Recovery Software: When Backups Fail
- What About iCloud and Other Cloud Services?
- Common Mistakes and Misconceptions
- How to Prevent This in the Future
- Frequently Asked Questions
Yes, you can often recover files deleted more than 30 days ago on a Mac, but the method depends on where the file was stored and whether the space has been overwritten. Files in the Trash are permanently purged after 30 days, but Time Machine backups, local snapshots, and third-party recovery tools can still retrieve older data in many cases.
Where Do Deleted Files Go on a Mac?
When you delete a file on macOS, it typically moves to the Trash. The Trash retains files until you empty it manually or until 30 days pass, at which point macOS automatically purges items. However, “purging” does not immediately erase the data from the disk—it only marks the space as available. Until new data overwrites those sectors, the original file content remains recoverable with specialized software.
Files deleted from external drives, network volumes, or certain apps (like some cloud-synced folders) may bypass the Trash entirely. In those cases, the data is marked as free immediately, but the same overwrite principle applies.
Time Machine Backups: Your Best Bet for Old Files
If you had Time Machine enabled before the deletion, you can restore files from any backup that predates the 30-day window. Time Machine keeps hourly backups for the past 24 hours, daily backups for the past month, and weekly backups for all older history—until the backup drive runs out of space.
- Connect your Time Machine backup drive (if it’s not already attached).
- Open the folder where the file used to live in Finder.
- Click the Time Machine icon in the menu bar and choose “Enter Time Machine.”
- Use the timeline on the right or the arrows to navigate to a date before the file was deleted.
- Select the file and click “Restore.”
If the file was in a folder that no longer exists, you can search for it by name in Time Machine’s search field. Note that Time Machine does not back up everything by default—it excludes system files, apps, and some caches—so a file that was never backed up won’t appear.
Local Snapshots: Hidden Backups on Your Startup Disk
macOS also creates local snapshots (also called “local Time Machine snapshots”) on your startup disk when Time Machine is enabled, even if no backup drive is connected. These snapshots are stored on the same drive and can contain versions of files from the past 24 hours to several weeks, depending on available space.
To access them:
- Open Time Machine as described above; local snapshots appear in the timeline even without a backup drive.
- If you don’t see them, ensure Time Machine is enabled in System Settings > General > Time Machine.
- Snapshots are deleted automatically when disk space is low, so they may not survive 30 days if you’ve been using your Mac heavily.
Third-Party Recovery Software: When Backups Fail
If you have no backup, data recovery software can scan the raw disk for remnants of deleted files. Tools like Disk Drill, PhotoRec, or Data Rescue (all available for macOS) read the drive’s file system and look for file signatures that were not yet overwritten.
Success depends on several factors:
- Time since deletion: The longer you wait, the higher the chance that new data has overwritten the old file.
- Disk activity: Every write—installing apps, downloading files, even browsing the web (caches)—can overwrite deleted data.
- File type: Some formats (like JPEG or PDF) are easier to recover because they have distinctive headers.
- SSD vs. HDD: Solid-state drives use TRIM, which actively erases deleted data blocks, making recovery much harder—often impossible.
For best results, stop using the Mac immediately after realizing you need a file. Download the recovery tool on another computer and install it on a USB drive, then run it from there to avoid writing new data to the affected disk.
What About iCloud and Other Cloud Services?
If the file was stored in iCloud Drive, it may still be recoverable from iCloud.com. Apple keeps deleted files for 30 days in the “Recently Deleted” folder on iCloud.com. After that, they are permanently removed from Apple’s servers. However, if you had a Mac with “Optimize Mac Storage” enabled, the local copy might be just a placeholder, so the only version is in iCloud—once it’s gone from iCloud, it’s gone unless you have another backup.
For other cloud services like Dropbox or Google Drive, check their respective trash or version history features. Many keep deleted files for 30–180 days, and some offer version history that lets you revert to an older version even if the file was overwritten, not just deleted.
Common Mistakes and Misconceptions
One common misconception is that emptying the Trash makes files unrecoverable. In reality, it just frees the space. Another is that Time Machine only keeps backups for 30 days—that’s true for hourly and daily backups, but weekly backups can go back months or years until the backup drive fills.
A frequent mistake is trying to recover a file on an SSD by using the same Mac to download and run recovery software. Because SSDs automatically erase freed blocks via TRIM, even a few minutes of continued use can destroy the data. Also, don’t rely on the “Put Back” option in Trash after 30 days—once purged, it won’t appear there.
How to Prevent This in the Future
The best recovery method is prevention. Enable Time Machine with an external drive, and consider a cloud backup service for off-site redundancy. For critical files, use a versioning system like Dropbox’s version history or Git for documents. Also, periodically check your Time Machine backups to ensure they’re running.
If you’re dealing with an SSD, treat any deletion as urgent—recovery success drops dramatically within hours. For HDDs, you have more time, but still act quickly.
Frequently Asked Questions
Can I recover files from the Trash after 30 days?
No. The Trash automatically empties items older than 30 days, and they are no longer visible in the Trash. However, the underlying data may still exist on the disk until overwritten, so recovery software might find it.
Does Time Machine keep backups older than 30 days?
Yes. Time Machine keeps hourly backups for 24 hours, daily backups for the past month, and weekly backups for all previous months, limited only by the backup drive’s capacity. You can restore files from months or even years ago as long as the backup drive has space.
Are files permanently deleted when I empty the Trash?
No. Emptying the Trash only marks the space as free. The data remains until overwritten. On SSDs, TRIM may erase it quickly, but on HDDs, recovery is often possible with the right tools.
Can I recover a file from an external drive that was deleted 30 days ago?
Possibly, if the external drive is an HDD and hasn’t been used much since. If it’s an SSD, TRIM may have already erased the data. Connect the drive to a Mac and run recovery software, but stop using the drive immediately.
Does iCloud keep deleted files after 30 days?
No. iCloud Drive keeps deleted files in “Recently Deleted” for 30 days, then permanently removes them. However, if you have a Mac with Time Machine, you might have a local copy that can be restored.
What should I do first if I need to recover an old file?
Stop using the Mac or the drive where the file was stored. Then check Time Machine and cloud trash. If those fail, use recovery software from an external device. The sooner you act, the better your chances.