
There are many ways to delete files on Mac, and we, thankfully, also have several methods to recover deleted files. To help you find the most suitable method for your situation, we’ve put together this easy-to-follow guide in which we compare multiple ways of restoring deleted files and provide step-by-step instructions for each one.
Table of Contents
How to Choose the Right Way of Recovering Mac Files?
When faced with the challenge of recovering deleted files on your Mac, you should take into account your own computer skills, the specific limitations of each recovery method, and any time constraints you may be facing.
For example, Disk Drill is do-it-yourself data recovery software for Mac users of all level that can be used to quickly recover files from both internal and external storage devices, making it a great option for most. But if you would like to explore other approaches, then the following comparison table provides an overview of the different paths you can take:
Name | Description | Time | Difficulty | Permanently Deleted | |
---|---|---|---|---|---|
![]() | Undo option | A command that allows you to undo the last action taken. | 10 sec | Easy | No |
![]() | Trash bin | A special folder where Mac computers store deleted files. | 1 min | Easy | No |
![]() | Terminal commands | Special text commands that make it possible to recover deleted files from the command-line. | 10 sec | Hard | No |
![]() | Backup tools | Software solutions that help you create backup copies of your files and recover deleted files from them. | 10 min | Normal | Yes |
![]() | Recovery software | Special software applications capable of recovering even permanently deleted files that other methods can’t recover. | 12 min | Normal | Yes |
![]() | App-Specific Recovery Features | Use the recently deleted feature of macOS apps | 10 sec | Easy | No |
![]() | Data recovery service | Engage data recovery professionals to recovery your data | Days | Easy | Yes |
As you can see, you have quite a few options when it comes to recovering deleted files on Mac. Regardless of which option you pick, you should always make data recovery your top priority and avoid writing new data to the storage device on which the deleted files were located.
Step-by-Step Instructions for Each Recovery Method
Now that you’ve picked the most suitable recovery method, it’s time we take a closer look at each one and provide you with detailed step-by-step instructions that you can easily follow to restore deleted files on Mac.
Method 1: Use Undo Command on Mac
Approximate time to recover a file: 10 seconds
- Difficulty: Easy. You don’t need special knowledge to use this method.
- Limitations: Undo relies on a temporary event history, which is reset when the Mac is restarted. It’s also possible for new actions to cancel the old action in history.
- Bulk recovery: Bulk recovery via Undo is possible in several scenarios, such as if you deleted multiple files at once (one Undo will restore them all) or if you delete multiple files consecutively (you can repeatedly call Undo).
- Location and name of recovered files: Recovered files will appear in their original locations and have their original names.
When you delete the wrong file on Mac and notice your mistake right away, you can instantly recover it using the Undo command. The Undo command uses a temporary event manager to store chains of actions that you can reverse. For example, you can reverse several actions you took in Finder–like deleting folders. There are several ways to invoke the Undo command, which we’ll briefly cover below.
Step 1. Highlight the application that was used to delete the file (such as Finder).
Step 2. Open the Edit menu in the menu bar.
Step 3. Click Undo Move of “filename”.
Alternatively, you can press Command + Z on your keyboard to invoke the Undo command straight away. Just keep in mind that the correct application must be in focus for the Undo command to do what you intend it to do.
- Straightforward
- No learning curve whatsoever
- Works in all Mac applications
- Can recover only the last deleted file
- Must be used before exiting the application from which the file was deleted
- Restarting your Mac clears the entire chain of actions saved to Undo’s event manager
Method 2: Recover Files from Trash on Mac
Approximate time to recover a file: 1 minute
- Difficulty: Easy. You don’t need special knowledge to use this method.
- Limitations: Files can’t be recovered from Trash that has been emptied, which can happen either manually or automatically after 30 days.
- Bulk recovery: Possible. You can recover as many files at the same time as you want.
- Location and name of recovered files: Recovered files will appear in their original locations and have their original names, but you can also recover them to any other location.
When you delete a file on Mac, it usually (not always!) ends up in a special folder called Trash, where it stays until you manually/automatically empty Trash. While the file is in Trash, you can recover it to its original folder with a few simple clicks and know that the recovery will be 100% successful.
Step 1. Click the Trash icon in the Dock.
Step 2. Select your files (you can use the search bar if you remember the name of the file you want to recover).
Step 3. Right-click on any of the selected files and choose the Put Back option.
If you don’t want to recover the deleted files to their original folders, you can drag and drop them to any folder you wish.
- Takes less than a minute
- Lets you recover deleted files on Mac without software
- Makes it easy to find deleted files
- Restores files to the previous place
- Not all deleted files end up in Trash
- The auto-empty feature of Mac removes files from Trash after 30 days
Method 3: Recover Deleted Files Using Terminal
Approximate time to recover a file: A few seconds (once you learn the command).
- Difficulty: Hard. You need to type commands exactly.
- Limitations: You don’t have a graphical interface to click through, and this method only works if you haven’t deleted your files from the Trash folder.
- Bulk recovery: Precise and super efficient, once you learn the appropriate commands. You can bulk-move files by name, file type, a combination of both, and more.
- Location and name of recovered files: Files will retain their original names, and you can move them to any directory you want.
Terminal is the command-line application for macOS. If you use it with the right commands, you can instantly move one or multiple files from your Trash folder to any directory on your Mac. You can also use different types of commands to customize the recovery operation, such as specifying the file names or file formats.
Step 1. Launch Terminal from /Applications/Utilities or using Spotlight.
Step 2. Enter cd .Trash to navigate to the Trash folder.
Step 3. Enter ls -al ~/.Trash to view the content of the Trash folder.
Step 4. Enter mv filename ../ to move a specific file to your home folder (replace filename with the name of the file you want to recover).
Here are several other useful variations of the command you can use:
- If you want to move multiple files, you can chain them together in brackets:
mv {filename1.txt,filename2.txt,filename3.txt} ../
- If you want to move multiple files with a specific identifier in their filenames (e.g., the word “december”), use star wildcards in the command:
mv *december* ../
The * symbol means “zero or more characters” or “include all files with these characters and more”.
- If you want to move multiple files of the same type, add a star wildcard and the extension after the mv command:
mv *.doc ../
Or even something like mv *.doc *.jpg *.txt ../ if you want to include extensions in the filter.
- Using different parameters and flags, you can execute a precise command that can move exactly the files you need, exactly where you want them to go
- If you’re comfortable with Terminal commands, this method is very fast
- Finder can crash or lag if you’re dealing with thousands of files–Terminal doesn’t have that problem
- Commands can override permissions and “force” the files to be moved in case weird permission issues prevent you from doing so through Finder
- This method is completely useless if you have already deleted your files again from the Trash folder
- It feels slow and can be intimidating if you’re learning the commands for the first time
- You can’t preview your files in any way before attempting recovery
Method 4: Recover Files from Backups
Approximate time to recover a file: 10 minutes
- Difficulty: Normal. As long as you use a user-friendly backup tool, you should be able to recover your files without any major issues.
- Limitations: Only works if you have already created a backup before your files were deleted. You also need to remember which snapshots have the files you want. Finally, you need to have access to your backup drive–and if restoring local snapshots, you’ll have a limited time for recovery before they get overwritten by new snapshots.
- Bulk recovery: Possible. Virtually all backup tools can recover multiple deleted files at the same time.
- Location and name of recovered files: Files retain their original names, but you can choose where to save them.
There are multiple categories of backup tools that can be used to reliably recover deleted files on Mac. All Macs with macOS 10.5 or newer are equipped with an incremental backup tool called Time Machine, which allows users to restore the entire operating system or specific files from a local backup stored on a dedicated backup drive.
And since macOS 10.7 Lion, local snapshots were added to Time Machine, which create temporary backups of your data on your Mac (which get overwritten by new snapshots over time). Local snapshots allow you to recover files even without your backup drive.
Step 1. Open the folder that contained the deleted files using Finder.
Step 2. Click the Time Machine icon on your menu bar and select Browse Time Machine Backups.
Step 3. Select the files you want to recover. Use the timeline on the right edge of the screen to find the most recent version of your files.
Step 4. Click Restore to restore the selected files.
Some Mac users may prefer the convenience of cloud backup solutions like Google Drive, iCloud, or Dropbox, whose biggest advantage is the fact that you can access them from anywhere.
Regardless of which backup tool you prefer, you will be able to recover your lost files with it only if you had created a backup beforehand. If you don’t have an up-to-date backup to recover from, you need to try some other method.
- 100% reliable
- All new Macs ship with a great backup tool pre-installed
- Can be used to recover data after physical damage
- Even if you don’t have your backup drive available, you can recover recently deleted files from local snapshots
- Works only if you have an up-to-date backup of your data
- Search takes time
Method 5: Use Mac Data Recovery Software
Approximate time to recover a file: 12 minutes
- Difficulty: Normal. No special knowledge or skills are necessary to recover deleted Trash on Mac with modern data recovery software.
- Limitations: Even data recovery software can’t recover files that have been overwritten by new data.
- Bulk recovery: Possible. Data recovery software solutions typically allow their users to recover multiple files at the same time.
- Location and name of recovered files: In some cases, recovered files will retain their original names. Other times, recovered files will use generic names. Either way, you can manually choose their save location.
If you deleted your files from the Trash folder and you don’t have any backups, the most effective way to restore your files is by using data recovery software. It can restore files that were “permanently deleted” or even formatted by scanning the disk for the physical data fragments left behind by those files.
There are several data recovery apps for Mac that you can choose from. For this guide, we prepared two recommendations that have consistently performed well during our tests: Disk Drill and PhotoRec. We’ll give you brief summaries of each app, along with step-by-step instructions so you can easily follow along.
Option 1: Disk Drill
Disk Drill is a popular data recovery app with a beautiful, beginner-friendly interface and very powerful features. It can recognize all Mac file systems, including HFS, HFS+, and APFS, as well as almost all Mac file signatures across documents, photos, videos, and more. Macs with T2 and M1-M4 chips are supported. It also has unique and helpful tools like Advanced Camera Recovery, which automatically repairs videos that appear unplayable after recovery.
Unfortunately, Disk Drill does not offer free recovery–but you can scan your drives and preview your files as much as you want. This app has one of the best preview tools among the apps we’ve tested (it even works on full-length videos), so you can at least check which files are actually recoverable before committing any more effort.
Here’s a quick guide for using Disk Drill to restore deleted files from your Mac:
Step 1. Download and install Disk Drill for Mac.
Step 2. Launch Disk Drill, select the drive where your files were stored, and click Search for lost data.
Step 3. Once the scan is finished, click Review found items.
Step 4. Browse your files. You can use the filters and search feature to do it faster, as well as toggle preview by clicking the eye button that appears when you hover your pointer on a file.
Step 5. Select the files you want to restore and click Recover.
Step 6. Choose a location other than the drive where you want Disk Drill to save the recovered files. Then, click Next to begin the recovery process.
- Beautiful and easy-to-navigate interface
- Can preview and recover almost all Mac (and Windows) file types
- Consistently good recovery rate for different file systems and file types
- The developers constantly update the app and make it more capable of recovery in different situations
- Buy it once, use it forever (on both Mac and Windows computers)
- You can’t recover data for free (but you can scan your drive and preview files for free)
Option 2: PhotoRec
PhotoRec is freeware data recovery tool for macOS that also supports Windows, Linux, and Unix operating systems. It is a command-line tool that may be difficult for non-technical users to navigate.
Here is an overview of the recovery process using PhotoRec. More detailed step-by-step instructions can be found on the tool’s website.
Step 1:Install Homebrew by pasting the following command in Terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Step 2:Type brew install testdisk and hit Enter to install TestDisk (PhotoRec is included in the TestDisk package).
Step 3:Type sudo photorec and hit Enter to launch PhotoRec.
Step 4:Select your hard drive.
Step 5:Select your partition. Choose the No partition option to scan the whole drive.
Step 6:Select the right file system and press Enter. PhotoRec will automatically suggest what it believes to be the right option.
Step 7:Select a destination to save the recovered files to and press C on your keyboard when done.
- Can recover permanently deleted files
- Completely free and open source
- Can recover Files even from partitions that are beyond repair
- Support for all commonly used storage devices and file types
- Difficult to use
- No graphical user interface
- Can’t recover data from Macs with T2 and M1-M4 chips
Method 6: Use App-Specific Recovery Features
Approximate time to recover a file: 10 seconds
- Difficulty: Very easy
- Limitations: This must be done before the files expire and are permanently deleted.
- Bulk recovery: You can recover as many recently deleted items as you like at one time.
- Location and name of recovered files: Files are named and returned to their original locations.
Some macOS apps, like the Photo app, store recently deleted items in a specially designated folder to enable their quick recovery. Here are the steps you should follow to recover a lost file using this method.
- Open the app.
- Select the Recently Deleted folder.
- Choose the items you want to recover.
- Click the Recover button.
- 100% reliable recovery within 30 days
- Free solution
- The recovery process is self-contained in the app
- Files are only available for 30 days after deletion
- Is only available in selected apps
Method 7: Apply to Data Recovery Services
Approximate time to recover a file: Multiple days for recovery as the device needs to be shipped to the service center
- Difficulty: Very easy and requires no special knowledge
- Limitations: Recovery must be done before data is overwritten on the affected device.
- Bulk recovery: Large amounts of data can be restored at once.
- Location and name of recovered files: The service should be able to recover most file names. Data will be returned on new media from where it can be copied back to its original location.
Using a data recovery service like the CleverFiles data recovery center can help you get back lost data when other options have failed. Professional data recovery experts will employ advanced hardware and software techniques to clone your damaged storage device and recover its files.
Here is an overview describing how to engage a data recovery service.
Step 1:Contact the service for an initial consultation and to obtain instructions on how to ship them your storage device.
Step 2:Ship the storage device to the recovery center.
Step 3:Upon receipt, the service will examine the device and provide the customer with a recovery price. Reliable sites will not charge you if they cannot recover your data.
Step 4:Data will be recovered and shipped back to you on new storage media.
- Reliable recovery method
- Performed by professionals with advanced software and hardware tools
- May succeed when all other recovery options have failed
- More expensive than other solutions
- Can take multiple days for recovery to be completed
How to Increase the Chances of Successful Recovery?
Unfortunately, not all attempts to recover files from Trash and other places have a good ending. Sometimes, the deleted files can’t be recovered because they’ve become overwritten, but there are also other factors that may jeopardize your recovery attempts, such as data corruption, physical damage, or user error.
The good news is that there are certain things that you can do to significantly increase the chances of successful recovery:
- ⏳ Don’t wait: The sooner you start recovering your files, the better. If you notice that an important file is missing within a few seconds after its accidental deletion, you can get it back with a single shortcut. On the other hand, recovering a file that has been deleted for more than a month may not be possible even with the best file recovery software for Mac.
- 📤 Avoid unnecessary data transfer operations: Permanently deleted files that are no longer present in Trash or an existing backup can be recovered only until they become overwritten, which is guaranteed to happen sooner rather than later if you keep writing lots of new files to the storage device. To be extra safe, you should avoid all unnecessary data transfer operations until you recover your files.
- 🛑 Consider disabling TRIM on SSDs: TRIM is a command that helps SSDs manage data efficiently and increase performance but can complicate file recovery efforts. When TRIM is enabled, it can quickly remove data marked for deletion and make recovery impossible. If SSD performance isn’t your top concern, then it’s a good idea to disable TRIM to enhance your recovery chances. Keep in mind that you can only disable TRIM on macOS versions earlier than Big Sur.
- ☣️ Eliminate the root cause of data loss: Not all files disappear because a user makes a mistake. Malware and hard drive issues are just two of many other possible causes of data loss. You should always eliminate the root cause of data loss before you begin the data recovery process, otherwise you might lose your files again as soon as you get them back.
With just these three simple tips, you should be able to get files from Trash or any other folder without much trouble.
Conclusion
With the solutions described in this article, you should be able to recover all deleted files from healthy storage devices, including traditional spinning hard drives, modern solid-state drives, USB flash drives, and memory cards.
However, they can’t reliably recover files from storage devices that have suffered physical damage, which may occur when a storage device is exposed to extremely high or low temperatures, moisture, dust, or simply dropped on the floor.
FAQ
Multiple solutions exist that allow you to recover deleted files on Mac without software. They either make use of previously created backup media or native macOS and application functionality. You can restore lost data without software in the following ways:
- Recover from the Trash;
- Recover with a backup;
- Use the Undo command;
- Recover with app-specific features.
Your Mac’s Trash Bin is the first place you should look for deleted files. If the files are in the Trash, it is a quick and easy recovery process to get your data back. Follow these steps to recover deleted files from the Trash on Mac:
- Open your Mac Trash Bin by clicking on its icon in the Dock.
- Search for the files that you want to recover from Trash.
- Right-click on the items and select the Put Back option.
- The files will be restored to the original location.
You have several options to attempt recovery of recently deleted files on Mac.
- Search for the deleted files in your Mac Trash bin where they can easily be recovered with a few clicks.
- Use the Mac Undo command by performing the Command-Z keystroke combination which undoes the last action such as deleting a file.
- Use app-specific methods like the Photo App’s recently deleted folder. It stores deleted files for 30 days before getting rid of them permanently.
To recover deleted files from your Mac for free, you can:
- Open Trash.
- Select the deleted files.
- Right-click any of the selected files.
- Choose the Put Back option.