1. Open the Trash and look first
Click the Trash at the right end of the Dock. Switch to list view and sort by name, or type part of the name in the search field and set the scope to the Trash. Deleted items keep their names, so searching is usually quicker than scrolling.
If the file isn’t there, think about how it was deleted. Items removed with Delete Immediately, with rm in Terminal or by some apps’ own delete commands never pass through the Trash. Photos and Mail keep their own deleted items: Recently Deleted in Photos, and the Trash mailbox in Mail.
2. Put Back, or drag it out
Apple documents two ways to restore: select the item and choose File → Put Back, or drag it out of the Trash into any folder. Put Back returns it to the folder it came from, which is the safest choice when you are not sure where it belongs. If Put Back isn’t available for an item, drag it to a folder instead.
For files deleted from an external drive, connect that drive first. Each disk keeps its own Trash, and its items appear in the Dock’s Trash only while the disk is mounted. Restore what you need before emptying anything else.
Where the Trash lives on disk
The Trash in the Dock is a view over several hidden folders. For your startup disk it is .Trash in your home folder, written ~/.Trash. Each other volume has a hidden .Trashes folder at its top level, with a subfolder for each user, and its contents appear only while that disk is connected.
You don’t need these paths to recover anything; the Dock icon shows them all. They matter when Terminal reports “Operation not permitted” for ~/.Trash, which is macOS privacy protection for that folder, and when a disk scan shows the Trash as a large category. Items in the Trash still use their space until it is emptied.
3. After the Trash is emptied: Time Machine
Emptying the Trash is meant to be final, and Put Back goes with it. If Time Machine was backing up, open a Finder window on the folder where the file used to be, then open Time Machine from Applications or Spotlight. Use the arrows or the timeline to reach a backup from before the deletion, select the item and click Restore. Apple notes that restored items return to their original location.
A backup only contains what existed when it ran, so a file created and deleted between backups may not be in any of them. When the backup disk isn’t available, Apple says Time Machine uses local snapshots instead. It keeps those for about 24 hours, so they help only with a recent deletion.
4. iCloud Drive and other synced folders
Files deleted from iCloud Drive have a second route: Recently Deleted in iCloud Drive on iCloud.com keeps eligible files for 30 days. Apple also removes iCloud Drive items from the Mac’s Trash after 30 days regardless of Finder settings. The iCloud Drive recovery guide walks through both.
Google Drive, Dropbox and OneDrive keep their own deleted-files history on their websites. Check there before assuming a synced file is gone, and restore it through the service rather than copying an old version back by hand.
If nothing has a copy
This guide can’t promise more. Recovery apps exist, but none can guarantee results, and installing one or saving new files to the same disk can overwrite what remains. If the data is valuable, stop saving to that disk and contact a professional recovery service before experimenting.
To avoid a repeat, keep Time Machine running and leave the 30-day auto-empty option off if you use the Trash as a safety net. ClearDisk’s review dialog offers Move to Trash for the same reason; its Remove Permanently option skips the Trash and cannot be undone.
Common questions
Can I still recover a file after emptying the Trash on a Mac?
The realistic routes are a Time Machine backup, or Recently Deleted on iCloud.com for iCloud Drive files. Time Machine also keeps local snapshots for about 24 hours when the backup disk isn't connected, which only helps with a very recent deletion.
Why isn't my deleted file showing up in the Trash?
Items removed with Delete Immediately, with rm in Terminal, or by some apps' own delete commands never pass through the Trash at all. Photos and Mail also keep their own separate deleted-items locations instead.
What's the difference between Put Back and dragging a file out of the Trash?
Put Back returns the item to the exact folder it came from, which is the safest choice when you're unsure where it belonged. Dragging it out instead moves it to whatever folder you drop it into.
Can data recovery software get back files that aren't in any backup?
There's no guarantee. Recovery apps exist, but none can guarantee results, and installing one or saving new files to the same disk can overwrite what remains, so stop using that disk and consider a professional service for valuable data.
References & further reading
These guides combine the linked official guidance with ClearDisk’s documented behavior. Your files and app settings determine the right next step.