Apple's macOS has gained many users because of its smooth performance, reliability, and interactive interface. If you are one of those users and accidentally deleted important data, don't worry. We provide several methods to help you recover deleted files on Mac, even if they were permanently removed.
Essential Knowledge You Should Know About Deletion
Before we move on to undelete Mac, let's understand the types of file deletion
🗑️ Normal delete refers to removing files from the storage location by the user clicking the Delete key, through the menu, etc. Except for external drives, they will be put into the trash. You can easily find recently deleted files on Mac when you need them again.
❌ Permanently delete refers to removing files through the Command + Delete keys, emptying the trash, or third-party erasure tools. In this case, the risk of data loss is high, but it is not impossible to recover.
Can I Recover a File on Mac after Deleting?
So, yes, even after permanent deletion. Here, you can learn what happens behind the scenes when you delete files, which is quite interesting.
The Mac operating system (OS) removes the file pointers. Without the pointers, the system doesn't know where the data is. However, the actual file is still in place—until new operations or processes overwrite it.
For that reason, you should act quickly when you realize that you deleted a file. But more importantly, you should avoid adding new files to that disk where the file was.
How to Recover Permanently Deleted Files on MacBook Pro/Air, iMac and More
It is difficult but not impossible to retrieve such deleted file events. To do this, you can check out the following methods.
Way 1. From Time Machine
You may already know about Time Machine, a built-in backup feature exclusive to MacOS. If you enable it in advance, it will create a backup of your selected data in snapshot form. Even if you delete files permanently, you can use the backup to get those files back.
Connect your Time Machine backup drive to your Mac.
Open the folder where you deleted the file (i.e., the original location)
Go to the Menu Bar and click on the "Time Machine" icon. Then select "Enter Time Machine."
Use the timeline on the screen's right side to go to a version (time) before permanently deleting the file.
Choose the files that you want to restore.
Click "Restore" at the bottom of the screen to complete the process.
Tip: In addition to macOS recover deleted files, Time Machine can also restore your system to an earlier version if it encounters a serious failure.
Best for
This method is 100% effective if the backup contains the files you permanently deleted.
limitation
Time Machine only works if you have previously configured it to back up your data. Moreover, it will not get the files that were excluded from backups or removed in earlier snapshots.
Way 2. Use File Recovery Freeware
I don't have Time Machine set up. Can I still recover permanently deleted files on Mac? Of course, but you have to rely on a third-party tool in this case. Here, we will use two effective and free data recovery software for Mac to guide you through the process.
It is one of the most helpful tools out there that can help you quickly recover lost files on Mac no matter the reason.
Best Recovery Software for Mac
★★★★★ (Rating 4.8 by 693 Users)
Whether it is permanent deletion, emptying the trash, formatting, or other reasons for data loss, it is up to the task.
Supports internal and external hard disks, USB flash drives, memory cards, etc.
Restore documents, photos, videos, audio files, emails, archives, and more files on Mac.
Free Download
Video Tutorial on How to Recover Deleted Files on Mac
Step-by-Step Guide to Recover Permanently Deleted Files on Mac
First of all, Download and Install the FileRescuer on your Mac Device.
Launch the software. You will see the Data Recovery option with the Storage Devices and Carshed Mac Recovery sub-options. Please make sure Storage Devices is in focus.
Afterward, please select the hard drive where the lost files are located and click the "Search for lost files" option at the bottom right corner.
Wait for the scan to complete.
Now, Check the list of recoverable files and find the one you need.
Finally, Click "Recover" to save your files to a safe location.
#2. PhotoRec
This is a very popular open-source undelete or unformat hard drive software. Even though it does not have a user interface, you can use the following steps to recover deleted files on Mac.
First, download PhotoRec from the official TestDisk website. Extract the files from the archive.
Open Terminal and navigate to the directory where PhotoRec is located. Run the command sudo ./photorec to start the program. You may need to enter your Mac password.
Use the arrow keys to choose the hard disk and volume of the lost files and press Enter.
Select the hard drive's file system type. In most cases, choose "Other" unless the filesystem is an ext2/ext3/ext4.
Select scan the entire storage device.
Choose a location where the recovered files will be saved.
Start to undelete items. After the process is finished, you will see a summary.
Best for
It is very effective at recovering permanently deleted files on Mac in the absence of backup, but you have to start the process as soon as possible.
limitation
Not 100% guaranteed
How to Find Recently Delete Files on Mac
It might happen that you accidentally deleted the file, but it wasn't a permanent deletion. This is what we mean by normal deletion, and it's easier to get them back here. Here's what you can do:
Way 1. Use Undo Option
When you realize you accidentally deleted a file, please immediately press "Cmd + Z" to undo the action. The item will then reappear on your screen. It's that simple.
Best for
Best for quick mistakes where you have just deleted a file and realize it right away.
limitation
If you perform other operations, this will become invalid.
Way 2. From Trash Bin
This is going to be the first place you check after you recently deleted a file, or files. The deleted stuff ends up in the "Trash" - the "Recycle Bin" of Windows. You can use it to undelete Mac files, here's how:
Open the Trash on the dock.
Search for the file you recently deleted.
Right-click the file and select "Put Back."
Note that the deleted file will be restored to its original location.
Best for
If you have not emptied the Trash yet, this method is simple and the first line of recovery.
limitation
If the files are beyond the time limit or deleted from external drive then recently deleted files cannot be found by this method.
Way 3. From iCloud
For Mac users with iCloud Drive, accidentally deleting files is no big deal. To undelete Mac files, follow the steps below. However, iCloud Drive only stores files for 30 days. If this limit is exceeded, they will disappear forever.
Go to iCloud.com and sign in with your Apple ID.
After signing in, click the "iCloud Drive" option to open it.
Choose the "Recently Deleted" option at the bottom of the page. This will show all the data that was recently removed.
You can manually select the files and click the "Recover" option to get them back.
Best for
Your Mac has iCloud sync turned on.
limitation
Files never synced or deleted outside the synchronization window will not be recoverable through iCloud.
Bonus tip: How to set up iCloud Drive on your Mac to avoid losing important files
Click the Apple menu on the top of the screen and select System Preferences.
Click your username in the sidebar.
Select iCloud and click Drive.
Turn on Sync This Mac. (For macOS 13 - 13.2, click Open > Options)
Way 4. Utilize the Recently Deleted Option from the Photos App
Good news for Mac users who accidentally deleted photos and videos from their photo albums: there is now one more way to retrieve them. You can check the "Recently Deleted" option, which is a unique feature of the Photos app.
Open the Photos app.
Check the Recently Deleted album.
Find the photos or videos you wanted.
Restore them to their original location by clicking "Recover."
Helpful Tip: To recover deleted photos or videos on a Mac, you must do so within 30 days of the deletion, just like with iCloud.
Best for
You have already imported them into the Photos App.
limitation
Only for pictures and videos.
Way 5. Use Terminal
Finally, you can find accidentally deleted files on Mac using Terminal, but it might require some advanced skills. Here’s what to do:
Open the "Finder" on your Mac, go to "Applications," then "Utilities," and click on "Terminal."
The next step is to type "cd. Trash" and then click "Return."
Now, Type "ls -al ~/.Trash" and click "Return" again.
Type "mv filename ../" (You must enter the file name + extension such as "Screenshot .png").
Press "Return" and type "Quit" and leave the Terminal.
This method will move the file you accidentally sent to Trash back to its original location.
Best for
Users who prefer to use the command line or dock without showing the Trash.
limitation
It is ineffective for permanently deleting files or emptying the Trash. Furthermore, if you enter the wrong command, it may lead to further data loss.
Tips on Preventing Future Data Loss in macOS
📤 You can use Time Machine or the cloud (iCloud) to back up your files every day (or hour, if you prefer).
💽 If you work with highly sensitive or valuable files, you can use external drives to keep a copy of the latest files. Sometimes, the cloud also works as an external drive.
💾 Fully utilize large applications such as Office 365 and Adobe's auto-save feature to prevent your documents from being unsaved due to unexpected crashes or power outages.
🎏 Before renaming or editing any important file, make a copy of the original file. This helps if anything goes wrong or you accidentally lose it.
🔍 Double-check the files before you delete them. Is it the right version to delete? Does it contain useful information that is not in other files?
🗑️ Take your time and empty it when you feel the deleted files are no longer worth it.
Recap of Key Points
No matter the situation, the methods we provided can help you successfully recover deleted files on Mac. Each recovery method has some limitations that you must understand clearly to complete the work quickly. However, it is important to handle your files carefully and always back them up to prevent this issue from happening again.
FAQs
If you have backed up the deleted files using Time Machine, then this is a quick way to get them back.
When your Mac is set up with iCloud Drive sync, you can find them in Recently Deleted.
For users who have deleted them normally and have not emptied the Trash, you can open it to get them back. In addition, naming using Terminal is also effective.
If the file is permanently removed, you can only use third-party free data recovery program. Here, you can try the FileRescuer Mac version, which can recover permanently deleted files on Mac free.
Finally, you can also try data recovery services.
Without a Time Machine backup, you can use third-party tools like FileRescuer, Disk Drill, or Recoverit to scan your disk for recoverable files.
No problem. Once you have emptied the Trash, use FileRescuer for Mac immediately, and you will still have a high chance of finding them.
Yes, like FileRescuer, PhotoRec, and TestDisk, all of which have a high chance of helping you recover deleted files on Mac free.
Please stop using this storage device immediately to prevent them from being overwritten. In the absence of backup and iCloud Drive synchronization, please use FileRescuer to retrieve them.
It is much easier to retrieve files lost from external drives than from a complicated Mac internal disk. For this, try FileRescuer, which supports almost all storage devices.
Do not save new data and do not save recoverable files to the original location. This will effectively prevent permanent loss due to overwriting problems.
Although they are expensive, their effectiveness is unquestionable. Of course, there is no 100% guarantee that they can recover deleted files from a Mac. If the data you lost is critical, consider it a last resort.