No matter how hard you try, it’s virtually impossible to never accidentally delete a file on your Mac or MacBook Pro. When you realize that you have emptied the Trash after the deletion, your situation can appear hopeless. Don’t despair. We are going to show you several methods that can recover your lost data using native operating system functionality or recovery software. Disk Drill can recover lost files on your Mac even if they have been permanently deleted from the Trash. It’s also macOS Sonoma Ready!
Restore Deleted Files on a Mac from the Trash (Not Emptied Yet)
When you discover that some files are missing from your Mac, the first thing you should do is check the Trash Bin. The Trash Bin is a special folder that temporarily stores deleted files until it is emptied.
Follow these steps to recover files from the Trash on Mac:
Open the Trash Bin on Mac.
Locate and select the missing files.
Right-click any of the selected files.
Select the Put Back option to restore deleted files on Mac to its original location.
External devices that are connected to your Mac also have a Trash Bin that can be used to recover lost files in the same way. macOS creates a hidden folder named ".Trashes" that contains the trash for that device. You can choose to show the hidden files after which you can use the ".Trash" folder for the external drive using the same procedure outlined above for your Mac’s main Trash Bin.
Steps to Recover Deleted Files on Mac (from an Emptied Trash)
1. Download and Install Disk Drill for Mac
The first step is to download the free Disk Drill application from our website. It requires Mac OS X 10.8.5 or later. After downloading, find the "diskdrill.dmg" file in your Downloads folder and double-click on it. Drag the Disk Drill icon to your Applications folder when prompted.
2. Launch Disk Drill file recovery software on your Mac
Once Disk Drill is installed, go ahead and launch it. In the first window that pops up, we suggest leaving the first three boxes checked. Next, to give Disk Drill permission to scan your drive, you will need to enter your computer’s administrator password. When you get to the screen that asks if you wish to upgrade, select “No, thanks. Basic edition is OK.” After you reviewed the scan results and confirmed that it has found your deleted files, you can proceed with upgrading to PRO.
If you need to recover deleted files on an external device, connect it to your Mac now. Skip this step if you wish to recover a deleted file on your Mac internal hard drive.
3. Select the Drive To Be Scanned
In the main Disk Drill window, there will be a list of the drives connected to your computer. Select the drive that you need to recover deleted files from and then click the “Recover” button next to it. That’s it. Disk Drill will run through all of its scanning methods without you having to do another thing.
However, if you are an advanced user and have a particular scanning method in mind to recover your Mac files, you can click the drop-down arrow on the Recover button to select the method you prefer.
If you had Disk Drill installed before you deleted your files, then you may have had one of its data protection features turned on – either Recovery Vault or Guaranteed Recovery. These powerful deleted file recovery tools greatly increase the chances that you can recover your data.
When you click the Recover button, this is the first method Disk Drill will try. If it can’t used this method, it will proceed to Quick Scan.
If you can't Undelete Protected Data, Quick Scan is your next best option. The best thing about the Quick Scan method is that it can recover files with its metadata intact (including file names). This method can be used to recover deleted files on HFS/HFS+, FAT and NTFS file systems. However, if Quick Scan fails to turn up your files, Deep scan is the last (and the most powerful) method.
6. Deep Scan for Lost Data
Deep Scan can help you recover deleted files from your Mac when all other methods fail. It scans your entire drive or partition at a binary level. The scan may take several hours, depending on the size of your drive. The only drawback to Deep Scan is that it is unable to recover the metadata for your files, so original file names are lost. Instead, they will have a generic name like file567.doc, or if Disk Drill can retrieve some meta-info, it might be named according to its file type, such 1920x1200.jpg for a photo file. Once the scan is complete, you can sort and preview the files to find the deleted files you were looking for.
7. Select Your Deleted Files
When Disk Drill is done scanning, you will be shown the list of the files it has found. If you are looking for certain files, you can sort the results to narrow down the number of files shown:
You can search for filenames by typing a keyword into the box with the magnifying glass on the upper left. Filenames are not preserved with Deep Scan, so you will need to narrow your results by date and file type;
You can also adjust the time to show only the files deleted within the last few days or weeks;
Click on any of the column headers to sort the list by that value.
When you find a potential file, click the "eye" icon next to the name to preview it. Some files may be corrupted, so previewing is the only way to know if the file is fully recoverable. After you have identified the deleted files on your Mac that you wish to recover, check the boxes next to their names.
8. Recover Deleted Files on Your Mac
Once you have selected your files, select the location where you want to store the recovered files and then click the Recover button in the upper right corner. If you are using Quick Scan or Deep Scan and have not upgraded to the PRO version of Disk Drill yet, you will be prompted to do so. Once you complete your upgrade, click Recover to begin the recovery of your deleted Mac files.
Congratulations! You now know how to recover deleted files on your Mac OS X.
Tips for Increasing the Chances of Successful Data Recovery
Here are some tips that will increase the probability that you can perform a successful data recovery.
Stop using the device
Perhaps the single action that has the most impact on data recovery is to stop using the device as soon as data loss is suspected. Continuing to use a disk or partition risks overwriting the data you want to restore. This includes downloading the recovery software to a different device than the one you are attempting to recover.
Backup your data
One of the methods of recovering lost data is to use previously created backup media. This indicates that you should be backing up your computer regularly so you have a recent backup available when needed. The minor inconvenience of making backups will prove well worth the time when a recovery is required.
Watch for a failing drive
Don’t ignore the signs of a failing hard drive. If you hear strange grinding noises or start experiencing random missing files, it’s probably not your imagination. These issues will not correct themselves and are bound to get worse until the drive fails. Get your data off the device and to safer storage media as soon as possible.
Maintain a virus-free machine
Viruses and malware can be the culprit behind lost and deleted files. They can also be trying to steal sensitive information from your computer. Your best defense is to make sure your Mac is protected by a reliable antivirus package. Ensure you keep it updated with the latest virus definitions to provide maximum protection.
Minimize human errors
A simple mistake can be the cause of substantial data loss. Accidentally deleting the wrong folder or formatting an active partition can result in the deletion of a lot of important information. Taking the time to verify any action that can potentially destroy data can help reduce the number of errors that lead to lost files and folders.
Activate Recovery Vault
Recovery Vault is a free feature included in all versions of Disk Drill that can help you recover lost data quickly and easily. The tool saves metadata on files that have been removed from the Recycle Bin and enables you to recover them if they have not been overwritten without performing a full data recovery procedure.
Ways to Recover Deleted Files on Mac without Software
Here are the procedures to use when attempting to restore your deleted files without software. You might want to try some of these methods before resorting to a software solution.
The macOS keystroke combination of Command-Z will often undo the last action you took with the operating system. Using the keystrokes repeatedly can undo the last several commands that you have entered. This can be extremely helpful if you realize you have just deleted an important file.
This method works when you send something to the Trash or perform a mass delete from within a document. Be warned that it does not undo the emptying of the Trash Can. Once you do that, you’ll need to use Disk Drill to get your files back.
Recover Deleted Files on Mac from Trash via the "Put Back" Option
Here’s how to find and recover recently deleted files that are still in the Trash Can. The macOS saves deleted files temporarily and they are moved to the Trash, making them easily available for recovery.
To Recover Deleted Files from your Mac for free:
Open the Trash Can on your Mac's desktop by clicking on its icon, and you can see all the deleted files there.
Locate the file you want to recover.
Drag deleted files to the desktop or right-click on the files you wish to restore.
Select "Put Back" option to recover deleted files on Mac from the Trash to its original location.
Retrieve Deleted Files on Mac with Terminal
Use the following steps to attempt a deleted file recovery using the Mac Terminal application.
Open the Terminal application on your Mac.
Enter the command cd .Trash and hit Return to go to the Trash folder.
Type this command with the name of the file you want to recover using this format mv xxx.xxx where xxx.xxx is the full filename and extension. Hit Return.
Type Quit to close Terminal.
Open a Finder window and look for the file in its previous location.
Restore Lost Files via Time Machine Backup
Time Machine is a freeware backup tool that comes installed with your Mac’s operating system. Many Mac owners use this valuable tool to protect their data. If you need to recover from a backup file, use the following procedure.
Connect the storage media that contains the Time Machine backup to your Mac.
Open a window displaying the folder which last contained the deleted file. For example, if you deleted something from the Documents folder, open a Finder window of the Documents.
Open Time Machine by clicking on the clock icon on Mac’s menu bar and select Enter Time Machine.
Locate the items you want to restore from within Time Machine. There may be multiple versions of a file that has been modified and you can select the version that you want.
Select an item to recover and press the Spacebar if you would like to preview it.
Click Restore to recover the selected file or folder.
Use a professional - Mac Data Recovery Service
Sometimes your storage device has been physically damaged to the extent that it cannot be recognized by your operating system. In these cases, all the above methods will fail and you will be left wondering what you can do to recover your data. A professional data recovery service may be able to restore your folders and files even if the device is physically damaged. A recovery service’s expert technicians can take apart the drive and clone it so its data can be recovered. This process is done in an environmentally controlled cleanroom to ensure the disks are not contaminated during the recovery. A reputable service like CleverFiles Data Recovery Center will not charge you if they cannot recover your data. It’s worth a shot if other methods fail and you need to get your data back.
Download your deleted files from iCloud
If you’re using iCloud Drive to store important files, then you should be able to easily download them from anywhere and any device by following these steps:
Click the download icon to download the file to your Mac.
Backup Your Mac to Prevent File Deletion
Backing up your files is one of the best ways to ensure your files are never permanently lost. You should make it a regular practice to back up the data on your computer to keep it safe. Here are two methods with which you can make backups and protect your valuable data.
Disk Drill provides you with the ability to create byte-level backups of your Mac’s folders and files. This feature can be used for regular backups or to make special backups of failing disks. The byte-level backup will include deleted files that can be recovered by Disk Drill.
Time Machine is the backup facility that is built into the Mac OS X operating system. It’s a free solution that only requires you to use an external storage device to hold the backup. It allows you to easily recover deleted files as long as they have been backed up.
Situations Leading to Mac Data Loss or Deletion
There are a variety of reasons that you might lose data on your Mac.
This is by far the most common cause of data loss. It’s very easy to mistakenly delete an important file or folder or format the wrong partition as you move around your computer. Be careful!
Viruses and malware
Infection with malware or a virus can lead to unexplained file deletions and data loss. Make sure you always use an updated antivirus tool to protect yourself and your data from this problem.
Faulty software updates
Software vendors can make mistakes with installation packages that lead to data loss. For this reason, its always a good idea to take a backup of your data before performing any major upgrades.
As your hard drive or SSD ages it may start to experience performance issues that result in lost data. You should take strange noises or unexplained missing files seriously and consider moving your data to a new device.
Frequently Asked Questions
Updated on by Disk Drill Team
How to recover deleted files on my Mac?
Steps to recover deleted files on your Mac:
Download, install, and launch Disk Drill for Mac.
Select the disk or partition that contained the lost files.
Click the Recover button to start scanning for deleted files on your Mac.
Preview the recoverable files and choose a new location for them.
Choose the deleted files you want to restore from a Mac and click the Recover button.
How to recover deleted files from the Trash on Mac?
Follow these steps to recover files from the Trash on Mac:
Click on the Trash Bin icon on your Mac to open it up.
Search for the files you want to recover.
Right-click on the selected files and click Put Back to recover deleted files on Mac from the Trash to their original locations.
How to recover deleted files on Mac without software?
The best way to recover recently deleted files on your Mac is by using Time Machine backup. Just follow this simple procedure to recover deleted files from the Time Machine backup on Mac:
Connect the device used to store your Time Machine backups to your Mac.
Start Time Machine from the icon on the menu bar.
Search the backups for previous versions of the files you wish to restore.
Choose your files and click Recover to retrieve them.
Is it possible to recover deleted files on Mac?
Yes, it is possible to restore deleted files on your Mac. You can easily recover them from the Trash if they have been recently deleted. A Time Machine or other type of backup, the Terminal app, and the undo command can all be used to try to get your data back without using software.
How to recover deleted files on a Mac OS X Mojave?
If you’ve just deleted the files, you should check the Trash since they could still be there. To do it, click the Trash icon on the Dock and if the needed file is there, right-click it and choose Put Back. This will return the file to its original location.
But if you’ve already emptied the Trash on your Mac, your best option is to recover the deleted files with data recovery software (Disk Drill, for instance). Here’s how to recover deleted files on macOS Mojave via Disk Drill:
Download and install Disk Drill. Open the app.
Click the Recover button near the drive where the deleted files used to be located.
Wait for the scan to finish and choose the files you want to recover.
Click the Recover button.
Is there a way to recover emptied Trash on macOS?
Yes, there is. Data recovery software enables you to restore deleted files even after you have emptied your macOS Trash. This is because when the Trash is emptied, the files it contained still exist on your computer. They are logically inaccessible and data recovery software can repair the logical links, enabling the OS and applications to access the files again.
Can I recover deleted files using Terminal Command?
Yes, you can recover deleted files using the Terminal command, but you must use it before emptying the Trash. Use this procedure to give it a try:
Open the Terminal Application.
Use the cd .Trash command to navigate to the Trash folder containing recently deleted files.
Use the mv command to move files from the Trash to new locations.
Can I recover permanently deleted files with the "Undo" option?
You can recover files that you have just deleted by using the Undo command by pressing the Command Z key combination. This command restores the files to their original location. It works from within a Finder window as well as many apps that allow you to create and delete files. This will not undo the command to empty the Trash.
How can I recover permanently deleted photos from my Mac?
You have a few different options to recover deleted photos on your Mac.
Here’s how to try using your Mac’s native Photo Application for recovery.
Open the Photos application on your Mac.
Click the Recently Deleted option under Library in the left-hand panel.
Select the photos that you would like to restore.
Click the Recover button in the upper right of the window.
If you use a cloud backup service such as iCloud, Dropbox or Google Photos, you may be able to use their apps to recover deleted photos. Most services keep deleted files for 30 days. In addition to making sharing files easier, the ability to restore from the cloud is one of the main benefits offered by these services. Specific steps will necessarily be based on the platform you use.
The most reliable way to recover permanently deleted photos from your Mac is with Disk Drill data recovery software. Follow these steps to get it done:
Download and install Disk Drill on your Mac.
Launch the app and choose the disk that contained the photos.
Click Recover to start scanning for lost images.
Preview the recoverable photos by filtering on Pictures and make your selections.
Click Recover again to get back your valuable pictures.
How do I recover deleted files on my Mac for free?
This is how you can recover deleted files on your Mac for free:
Open the Trash.
Locate your missing files and select them.
Right-click any of the missing files.
Select the “Put Back” option.
Can you recover files after emptying the Recycle Bin on Mac?
The Mac equivalent of the Recycle Bin is the Trash Can. In both cases, files are temporarily stored in these special folders from where they can be restored quickly with a few clicks. Once the Trash or Windows Recycle Bin have been emptied, you need to use a backup or data recovery software to restore your data.
How do you recover a deleted folder on a Mac?
You can get a deleted folder directly from the Trash Can with the following procedure.
Open the Trash by clicking on its icon.
Drag the items out of the Trash to the desktop or into a Finder window opened to your desired location.
Alternately, right-click on the items and select the Put Back option to return them to their original locations.
Where are deleted files on Mac?
Deleted files are temporarily stored in the Trash Can for a predetermined amount of time or until the Trash is manually emptied. This is a special folder and you can view the files that have been deleted by opening the Trash and searching as you would in any other folder on your Mac. Files can be dragged out of the Trash or Put Back to their original location.
How to recover deleted files from a Mac guest account?
If you’ve enabled Time Machine on your Mac, you should be able to restore deleted files from a Mac guest account using the recent Time Machine backup.
Here’s how to restore deleted files from a Mac guest account via Time Machine:
Connect the drive containing Time Machine backups to your Mac.
Click the Time Machine icon on the menu at the top of the screen and choose Enter Time Machine.
Use the timeline on the right to select the needed backup version.
Once you’ve found the deleted file, choose it, and click Restore.
Disk Drill 5
Recover deleted file on Mac OS X and protect it to never lose again!
The ability to find duplicate files is extremely handy. The recovery also proved very reliable as I accidentally wiped my hard drive and the program was able to recover almost all of my files.
What I like most about Disk Drill is the way the interface is designed to make recovering data an easy three step process of selecting a disk, scanning it, and choosing which files you want to recover. Erica Marceau