how to recover deleted files on mac
to recover deleted files on mac, open the trash in the dock, control-click the file and choose put back, which apple says returns it to its original location. if you already emptied the trash, apple says those items are permanently deleted, icloud drive files included, so a time machine backup is the main way back.
this guide follows apple's mac user guide for macos 27 and apple's icloud guides, as of october 2026, read on october 29, 2026.
download remynd for mac to search the text of files you had open in focus, even after they are gone.
where do deleted files go on a mac?
deleted files go to the trash first. apple's guide to deleting files says items aren't deleted until you empty the trash, and items you move there from your mac remain until you do, unless you turned on automatic removal in finder settings; icloud drive items are emptied on their own either way. where you look next depends on where the file lived:
| where the file was | where it goes when you delete it | how long you can get it back | how to get it back |
|---|---|---|---|
| your mac | the trash | until you empty the trash, or 30 days if you turned on automatic removal | put back, or drag it out |
| icloud drive | the trash on your mac, and recently deleted on icloud.com | 30 days, unless you empty the trash on your mac first | put back on the mac, or recover on icloud.com |
| the photos app | recently deleted in photos | 30 days | click recover |
| any backed up location | your time machine backups | while a backup still has it, in our read | restore in time machine |
the last row only applies if you back up with time machine.
how do you put a file back from the trash?
open the trash, then put the file back. apple gives these steps:
- click the trash icon in the dock.
- select the file, then choose file > put back. apple's missing icloud drive files page adds that control-click, then put back, returns a deleted file to its original location.
- or drag the file out of the trash to the desktop or another folder.
if you deleted it a moment ago, apple's keyboard shortcuts list says command z undoes the previous command. apple adds that in some apps you can undo more than one command, so in our read it is most reliable right after you move the file to the trash.
can you recover files after emptying the trash?
you can't recover files from the trash once it is emptied. apple's warning is plain: once you empty the trash, those items are permanently deleted and no longer available. the same applies if you turned on remove items from the trash after 30 days in finder settings, advanced. apple says items removed that way are permanently deleted too.
what is left after that:
- time machine, if you back up with it.
- the app that made the file, if, in our read, it keeps its own copy or a recently deleted area.
how do you recover deleted icloud drive files?
use icloud.com to recover deleted icloud drive files. apple's icloud recovery guide says you can recover files deleted from icloud drive and other apps within the last 30 days, but you can't recover or restore files you permanently remove.
- go to icloud.com/iclouddrive and sign in to your apple account if asked.
- select recently deleted in the sidebar.
- select each file you want and choose recover, or choose recover all.
for files deleted from other apps, apple points to data recovery at icloud.com/recovery, then restore files. apple warns not to change icloud drive data during recovery, since editing or deleting files might interrupt it.
on the mac itself, apple's icloud drive guide says deleted icloud drive files go to the trash. apple adds that if you empty the trash on your mac, or permanently delete a file from recently deleted, you can't recover it.
how do you restore a file from time machine?
open the folder the file was in, then open time machine and go back to a backup that still has it. apple's time machine restore guide gives these steps:
- open a window for the folder the item was in. for an item missing from the desktop, you don't need to open a window.
- open time machine with spotlight. apple says it is in the other folder.
- use the arrows and the timeline to move through your backups.
- select the items you want, then click restore. apple says restored items return to their original location.
if you don't know the folder, apple's time machine and spotlight guide has you search in a finder window first, then choose browse time machine backups from the time machine menu in the menu bar. for an older version of a file you still have, see how to find recently opened files on mac, which covers apple's versions feature.
what about deleted photos?
they have their own recently deleted areas, so check the app first. apple's photos guide says deleted items are placed temporarily in recently deleted and are permanently deleted after 30 days. click recently deleted below utilities in the sidebar. if recently deleted is locked, click view album and unlock it first. select the items, then click recover.
if a file is missing rather than deleted, try search first. our guide to spotlight not finding files on mac covers why a search can miss it.
how much time goes into searching for information?
a lot, according to microsoft's 2023 work trend index, published may 9, 2023. it surveyed 31,000 people in 31 markets, and 62% said they struggle with too much time spent searching for information. 86% wanted ai to help them find the information and answers they need. in our view, a deleted file is the worst version of that search.
where does remynd fit?
remynd records your screen on a mac, runs ocr locally with apple vision, and keeps the searchable index on your mac. text comes from the focused window only, and video covers windows you have not excluded.
it does not recover files. what it can do is help you find what a file said.
press control space, search in plain language, refine by app, date or source, and jump to the moment the file was open, provided remynd was running then and the window was not excluded. private browser windows are excluded by default, and you can exclude apps and sites. it needs macos 14 or later on an apple silicon mac, and it is free to download.
in our view, it is a way to retype what you lost, not a backup. for that, use time machine. if you are not sure where you saw something, see find something you saw on your screen.
limits of this guide
- it follows apple's guides as published for current macos; menu names can differ on older versions.
- it does not cover third-party recovery software, which apple's pages we used do not mention, so we make no claim about it.
- time machine only helps if a backup ran while the file existed.
- it covers files on a mac and icloud drive, not other cloud services, which apple says to check in that app or service.
download remynd for mac and search the text of files you had open, after the file itself is gone.