
If you recently deleted a file, you can usually recover it by opening Trash, selecting the file, and choosing File > Put Back. The file returns to its original folder. You can also drag it from Trash to another location, such as the Desktop.
If you emptied Trash, recovery becomes more difficult. Check Time Machine, iCloud Drive’s recovery options, or a reputable data-recovery service. Avoid using the affected disk until you decide how to proceed, especially if the Mac uses an SSD.
Quick Answer
To restore a file from Trash on a Mac:
- Click Trash in the Dock.
- Find and select the deleted file.
- Control-click the file, then choose Put Back.
- If Put Back is unavailable, drag the file to a folder such as Documents or the Desktop.
If you cannot find the file in Trash, search Trash carefully. If Trash was emptied, use a backup or cloud recovery option instead of continuing to use the disk.
Restore a Deleted File from Trash with Put Back
The Put Back command restores an item to the folder where it was located before deletion. This is usually the simplest way to recover a deleted file on a Mac.
- Click the Trash icon in the Dock.
- Browse the contents of Trash.
- Select the file or folder you want to recover.
- Control-click the selected item. If you use a mouse with a right button, right-click it instead.
- Choose Put Back.
You can also select the item and choose File > Put Back from the Finder menu bar.
After you choose Put Back, open the original folder to confirm that the file has returned. If the original folder no longer exists, macOS may restore the item to a related location, such as your home folder. Search for it if you do not immediately see it.
Restore several files at once
To recover multiple items:
- Open Trash.
- Hold the Command key while selecting individual files, or hold Shift to select a range.
- Control-click one of the selected items.
- Choose Put Back.
The selected items return to their previous locations when possible.
Drag a File Out of Trash
If Put Back does not appear or does not work as expected, you can move the item manually.
- Open Trash.
- Select the file.
- Drag it to the Desktop or an open Finder window.
- Wait for the copy or move to finish before closing the window.
You can then move the file to its desired folder.
Dragging an item out of Trash may not restore it to its original location. It simply places the file where you drop it. This method is useful when you remember where you want the file to go or when its previous folder has been deleted.
Search Trash for a Deleted File
Trash can contain many files, making manual browsing difficult. Finder can help you search it.
- Open Trash from the Dock.
- Click the search field in the upper-right corner of the Finder window.
- Enter the file name, part of the name, or a file type such as
PDForJPEG. - Review the results.
- Select the correct item and choose File > Put Back, or drag it out of Trash.
If the search produces no results, check the search scope shown in the Finder window. Finder may search the Mac instead of only the current Trash window. Searching from inside the open Trash window is the best starting point.
Search by file type or name
If you do not remember the exact name, try:
- A distinctive word from the file name
- The file extension, such as
.docx,.pages, or.jpg - A folder name associated with the file
- A broad term such as
report,photo, orinvoice
You can also switch Finder to List view using View > as List. This may make names, dates, and file types easier to compare.
Check iCloud Drive Recovery Options
Files stored in iCloud Drive require additional consideration. iCloud can synchronize deletions across devices, so deleting a file on one Mac may also remove it from iCloud Drive and other devices using the same Apple Account.
First, check the Trash on the Mac where the file was deleted. If it is not there, sign in to iCloud.com with the Apple Account used for the files and look for iCloud Drive recovery options.
The exact layout and available options can vary, but iCloud may offer a way to recover recently deleted files or restore an earlier state of iCloud Drive. Follow the recovery instructions shown on Apple’s website.
Before restoring anything:
- Confirm that you are using the correct Apple Account.
- Check whether the file is still available on another device that has not synchronized.
- Copy or export any currently available versions before starting a broader restoration.
- Understand whether the recovery action affects one file, multiple files, or the entire iCloud Drive.
If the file is still visible on another Mac, iPhone, or iPad, disconnect that device from the internet before opening or moving the file. This may prevent it from synchronizing a deletion, although it is not a guarantee. Save a separate copy as soon as possible.
Recover an Emptied Trash with Time Machine
If you emptied Trash, Time Machine may let you restore the deleted file from an earlier backup. This works only if Time Machine was enabled and the file existed in a backup made before deletion.
Warning: Restoring or copying files can overwrite an existing item if you use the same name and destination. If you are unsure, restore the file to the Desktop or another temporary folder first.
- Open the folder where the file was originally stored.
- Connect your Time Machine backup disk if necessary.
- Click the Time Machine icon in the menu bar and choose Browse Time Machine Backups. If the icon is not visible, open System Settings, choose Control Center, and review the settings for Time Machine.
- Use the timeline or on-screen arrows to move to a date when the file existed.
- Select the file.
- Click Restore.
Time Machine normally restores the item to its original location. If that folder has changed, look for the restored file there or search for it with Finder.
If the file was on an external disk
Time Machine may not have backed up every external volume. Check the Time Machine backup settings and browse the relevant location. If the external disk was excluded, Time Machine will not contain a copy of the deleted file.
If you use another backup service
A third-party backup service may have its own recovery website or application. Look for a deleted-files, archive, version-history, or restore feature. Restore to a new folder when possible so you do not overwrite newer files.
What Happens After You Empty Trash?
When you choose Empty Trash, macOS removes the items from the normal Trash interface. The space they occupied may later become available for new data. Emptying Trash is not the same as moving files to another folder, and Finder normally does not provide a simple undo command after the Trash has been emptied.
Recovery may still be possible if:
- You have a Time Machine or other backup.
- The files were synchronized with a cloud service that offers recovery or version history.
- A data-recovery tool can locate remaining file information.
- A professional recovery service can work with the storage device.
The longer you use the Mac, the greater the chance that new data will replace portions of deleted files. This is called overwriting: new information is written into storage space that previously belonged to the deleted file.
SSD Limitations and Deleted File Recovery
Recovering deleted files from an SSD is often harder than recovering them from a traditional hard disk. Many SSDs use a process called TRIM, which helps the drive manage unused storage blocks. After deletion, TRIM may tell the SSD that those blocks no longer contain needed data. The drive may then clear or reuse them, leaving little recoverable information.
For this reason, data-recovery software cannot guarantee that it will restore a file from an emptied Trash, particularly on a Mac with internal flash storage.
Do not rely on repeatedly installing recovery tools, restarting the Mac, or scanning the affected disk. Those actions may write additional data or make the situation more complicated.
Stop Using the Disk If the File Is Important
If the deleted file is valuable, stop using the affected storage as soon as you notice the loss.
Avoid:
- Downloading or installing applications on the affected disk
- Saving new documents, photos, or videos there
- Emptying Trash again
- Running system-cleaning or disk-optimization utilities
- Copying large files onto the disk
- Continuing normal work while hoping recovery will succeed
If the deleted file was on an external drive, eject it and disconnect it safely. If it was on the Mac’s internal storage and you need professional recovery, shut down the Mac if practical and contact a qualified data-recovery service.
Professional recovery can be expensive, and success is not guaranteed. It is most appropriate for irreplaceable business files, original photos, legal records, or other data that cannot be recreated.
Use Data-Recovery Software Carefully
Data-recovery software may help locate deleted files after Trash has been emptied, but results depend on the storage device, file system, how long ago the deletion occurred, and whether the data has been overwritten.
Before using any recovery application:
- Stop normal use of the affected disk.
- Research the application and its recovery limitations.
- Install it on a different disk when possible.
- Save recovered files to a different disk, not the original location.
- Avoid paying for a license until the software shows that it can locate the files you need.
Do not restore recovered files to the same disk. Doing so can overwrite other deleted data that the software has not yet recovered.
Troubleshooting
“Put Back” is missing
Make sure you opened the actual Trash folder from the Dock and selected an item inside it. The command may not appear for files that are no longer in Trash or for items managed by a different storage system.
Try dragging the item to the Desktop instead.
The file is not in Trash
Search by part of the name or file type. Also check:
- The original folder
- Downloads
- Documents
- The Desktop
- iCloud Drive
- Other user accounts on the Mac
- External disks
- The application’s Open Recent list
The file may have been moved rather than deleted, or it may have been deleted from a different Mac or device.
The file reappeared but will not open
The recovered item may be damaged, incomplete, or associated with an application that is no longer installed. Try opening it with another compatible application. For documents, check whether the application has an autosave, recovery, or version-history feature.
If you restored the file from a backup, try an earlier or later backup version.
Time Machine does not show the file
Confirm that you are browsing the correct folder and date. The file may have been excluded from backups, created after the last backup, or stored on a volume that Time Machine did not include.
iCloud Drive keeps removing the file
Pause your troubleshooting and check every device using the same Apple Account. If one device still contains the file, copy it to a local folder or external drive before reconnecting it to iCloud. Then review iCloud Drive recovery and synchronization settings.
Trash will not open or empty
Restarting Finder may resolve a temporary problem, but be careful: do not choose Empty Trash if you are trying to recover files. Control-click the Finder icon in the Dock while holding the Option key, then choose Relaunch.
If files are important, copy or recover them before attempting additional repairs.
Frequently Asked Questions
Can I recover a file after emptying Trash on a Mac?
Sometimes, but there is no guaranteed method. Check Time Machine, cloud-service recovery, other backups, and data-recovery options. Stop using the affected disk first, especially if the Mac has an SSD.
Where do deleted files go on a Mac?
Normally, deleted files move to Trash. They remain there until you restore them or choose Empty Trash. Files deleted from some external drives, network locations, or applications may not use the Mac’s regular Trash.
Does Put Back restore the original folder?
Usually, Put Back attempts to return the item to its previous location. If that folder no longer exists or is unavailable, search the Mac for the restored item.
Can I recover a permanently deleted file without a backup?
Possibly, but success is uncertain. Recovery depends on whether the file’s data remains on the storage device. SSDs and TRIM can make recovery particularly difficult.
Does restarting a Mac delete Trash files?
Restarting normally does not empty Trash. However, restarting is not a recovery method after Trash has been emptied, and continued use can increase the chance that deleted data will be overwritten.
Can I recover files deleted from iCloud Drive?
You may be able to recover them through iCloud Drive’s recently deleted or recovery features. Check iCloud.com and other devices before making changes, because synchronization can spread deletions.
Should I install recovery software on the same Mac?
If possible, do not install it on the affected disk. Installation and normal computer use can overwrite deleted data. Use another Mac or storage device when practical, and save recovered files somewhere other than the source disk.
Final Thoughts
For a recently deleted file, open Trash and use File > Put Back. If you cannot find it, search Trash and check iCloud Drive. After Trash has been emptied, rely first on Time Machine or another backup, then consider professional recovery or carefully chosen recovery software.
The most important step after accidental deletion is to stop using the affected disk. That gives any remaining recoverable data the best chance of surviving until you can restore it safely.