How to Recover Deleted Files on Mac

Deleting any type of data in MacOS is very simple, even a permanent deletion. However, what should we do when it contains important photos, videos, documents, etc.? In this post, we will introduce all the available methods to recover deleted files on Mac without/with software. It will save your life; keep reading.

Table of contents
How to Show Files Hidden by macOS
Tips for Preventing Data Loss on Mac
Summary
FAQs

About the Deletion Mechanism and the Possibility of Recovery in macOS

First, you can learn what happens behind the scenes when you delete files, which can help you choose the right solution faster. In a nutshell, file deletions on a Mac don't physically remove the contents but only change its status. It is done in the following two ways, and their chances of recovery are different.

How to Delete Files:

Possibility of Recovery:

Data Loss Details Recovery Chances Recommended Solutions
File deleted from MacBook, iMac, Mac Mini, etc., with the Delete key or drag-n-drop to the Trash. Higth

1. Using the Shortcut Key

2. Check Trash

3. Using Terminal

Permanently delete or wipe data from the Macintosh. Higth

1. Using Time Machine (need a backup)

2. From iCloud (Synchronization needs to be set up)

3. Using Recovery Tools

4. Utilizing Data Recovery Services (Expensive)

Something deleted from an SD card, USB drive, or other storage devices. Higth

1. Using Recovery Tools

2. Utilizing Data Recovery Services (Expensive)

Destroy from Trash or empty Trash Higth

1. Using Time Machine (need a backup)

2. From iCloud (Synchronization needs to be set up)

3. Using Recovery Tools

4. Utilizing Data Recovery Services (Expensive)

Files wiped with a professional safe delete program No -
Images and videos deleted from the Photos app. Higth

1. Using Recently Deleted (Need to have been imported before)

2. Using Time Machine (need a backup)

3. Using Recovery Tools

Items removed by virus or trojan. Moderate

1. Using Time Machine (need a backup)

2. Using Recovery Tools

Files lost due to macOS upgrade, downgrade or reinstallation Low

1. Using Time Machine (need a backup)

2. Using Recovery Tools

3. Utilizing Data Recovery Services (Expensive)

How to Recover Permanently Deleted Files on Mac

Given the above, you should know that after permanently deleting some things, the chances of successful recovery are affected by time and subsequent operations. Therefore, stop using this storage device when you realize the mistake and quickly adopt the following methods.

Method 1: Using the Time Machine

It is a built-in backup tool for MacOS that creates a snapshot of the selected content. So, before deleting an item, you can easily retrieve it if you have already used Time Machine.

  1. Connect the hard disk containing your Time Machine backups to your Mac.
  2. Open Finder and go to the directory where the deleted items are stored.
  3. Click the Time Machine icon on the menu bar at the top of the screen, or open it by searching for "Time Machine" in Spotlight.
  4. Here, you will see all the backup contents. Click the arrows or the timeline on the right side of the page until the accidentally deleted file appears in the window again.
  5. Select it and click "Restore" at the bottom of the page. This file will be saved to its original location.
Application and limitations:
You can use it only when you have used it to create backups that contain permanently deleted data.

Tip: Apart from macOS deleted file recovery, it can also restore the system to an earlier version in case of a serious failure. If you wish to do so, check out this guide on using Time Machine to back up the Mac to an external hard disk.

Method 2: Using Recovery Tools

When there is no proper backup available, using professional data recovery software for Mac is the only feasible DIY method. These programs take advantage of the underlying principle of storing data to dig into the information of files on the hard disk that are marked as deleted, but the actual data still exists, bringing the possibility of recovery. Therefore, we recommend you try the following two efficient options.

#1. iBeesoft Data Recovery for Mac

It is a powerful and free macOS undelete tool with more than 10 years of history, and its success rate is more than 98%.

Best File Recovery for Mac
★★★★★ (Trust Score 4.8 by 1597 Users)
Multiple scanning algorithms for different data loss scenarios, such as permanent deletion, trash emptying, formatting, system/program crashes, drive failures, virus infections, etc.
Support almost all storage devices and file types.
Apart from automatically reorganizing corrupted files, it also has other useful functions, such as video repair, data backup, and so on. Free Trial

Steps to OS X recover deleted files free using iBeesoft:

Video Tutorial:

Step-by-step guide:

  1. Download and Install iBeesoft Data Recovery for Mac

    First of all, please click "Free Trial" to download its installation package. Once the progress is complete, double-click the .dmg file in the download folder and drag its icon into the Applications folder on the right side of the page to complete the installation. It requires Mac OS X 10.10 and higher versions.

  2. Select A Volume to Scan

    After launching iBeesoft Data Recovery for Mac, you will see a list of drives linked to your computer, which requires the "Storage Devices" in the sidebar to be in focus. Please select the one from which you want to retrieve something deleted, and then click the "Search for lost files" button at the bottom right corner.

    Tip: To save time, click on the program name in the top menu bar and select "Preferences" to cancel unwanted file types.

  3. Preview the Data That are Found

    After the scan is finished, you can view all recoverable files by clicking the "Type" and "Path" on the left side of the page. If you want to narrow the scope of the inspection, click on the specific format at the top right of the page. Once you have found the target file, you can also double-click on it to view its contents.

  4. Save Your Accidentally Deleted Files

    Finally, when you have finished selecting the data you want, click "Recover" and choose a location in the dialog box to save it.

Application and limitations:
The best user-controllable solution in the absence of backups.
The longer the time, the lower the chance of recovery.

Tip: iBeesoft still works if you've accidentally overwritten a document, picture, or other type of file. There's more information on how to recover replaced files on Mac.

#2. TestDisk

Although TestDisk is equally powerful for dealing with permanently deleted files, its lack of a user interface causes many users to abandon it. If you try it, please follow these guidelines:

  1. First, download it from the official website and extract all files from the archive.
  2. Find TestDisk, right-click on it, and select "Open With > Terminal."
  3. Select "Create > Storage Device > File System".
  4. Select "Advanced > Undelete."
  5. Select the files to be recovered and press "C."
  6. Select a directory to save and press "C" again.
  7. Press "Q" to exit when the process is complete.
Application and limitations:
In the same way as iBeesoft
Since there is no corrupt file repair function, it may happen that the recovered file cannot be opened.

Method 3: Utilizing Data Recovery Services

It should be the last resort for recovering permanently deleted data on a Mac. If these files are important to you, then this method is worth trying. So, you need to type "Mac data recovery near me" in Google to find a reliable service provider.

Application and limitations:
When using tools is not effective.
It is expensive and time-consuming.

How to Find A Deleted File on Mac

If you are using a general deletion, relying on the macOS's native functions will allow you to regain these files and is almost 100% successful. So, please try the following methods.

Method 1: Using the Shortcut Key

Mac can track your operations and allow you to undo the previous one. So, when you accidentally delete something, immediately press "Command+Z," and it will reappear on your screen.

Application and limitations:
Don't execute any other operations afterward

Method 2. Check Trash

Trash is considered a "safety net" that the Mac OS X gives users. When you delete a file or folder, it is not immediately wiped from the disk but moved here. To macOS recover deleted files, all you have to do is to open Trash, find it, right-click, and select "Put Back." It's easy!

Application and limitations:
Dumpster not yet emptied
Not available for recovering deleted data from external drives

Method 3. From iCloud

iCloud is Apple's cloud service. If your Mac is enabled to synchronize with iCloud, then you can restore files through iCloud when they are accidentally deleted. Here are the following steps.

  1. Go to iCloud.com and sign in with your Apple ID.
  2. After logging in, click on the "iCloud Drive" to open it.
  3. Click "Recently Deleted" at the bottom of the page. This will display all deleted items.
  4. Finally, select the file you want to restore and click "Recover."
Application and limitations:
Synchronized the content and deleted it within 30 days.

Bonus tip: How to set up iCloud sync on a Mac to avoid losing important files.

  1. Click the Apple icon at the top menu of the screen and select System Preferences.
  2. Click the User Name in the sidebar.
  3. Select iCloud and click Drive.
  4. Open "Synchronize this Mac." (For macOS 13 - 13.2, click "Open" > "Options")
  5. Select a location you want to sync.

If you have other Apple devices, click here for more ways to set up iCloud Drive.

Method 4: Utilizing the Recent Deletion Option in the Photos App

For users who want to recover deleted photos and videos on Mac, here comes the good news: you have one more way to find them - check the "Recently Deleted" option of the Photos app.

  1. Open the Photos app and click "Recently Deleted" Albums on the left side of the page.
  2. Find the photos or videos you want and click them one by one. Finally, click "Recover" at the top right corner of the page.
Application and limitations:
Files need to be imported into this tool.
Available for images and videos only and valid for 30 days.

Method 5: Using Terminal

Sometimes, Using Terminal to recover deleted files on Mac is possible, but it requires a basic understanding of the commands. If you are happy to take on the challenge, here are the steps to do it.

  1. Click the Launchpad icon on the Dock and open Utilities, then click Terminal.
  2. Type "cd. Trash" in the Terminal window and press Return.
  3. Then, type "ls -al ~/.Trash" and press Return again.
  4. Type "mv filename ... /" (file name + extension must be typed, e.g. 'Screenshot.png'). After confirming that there is no error, press Return again.

It will move the files you accidentally deleted to "Trash" back to their original location.

Application and limitations:
Users who prefer to use the command line or the Dock without displaying Trash.
An incorrect command may cause the deleted file to disappear permanently.

Extension: How to Show Files Hidden by macOS

Another possibility of losing data is wrong settings that make its status invisible. This may also make many users mistakenly think that the file was accidentally deleted. Therefore, if you clearly know that you have not permanently deleted the file(s), please try the following methods.

Tips for Preventing Data Loss on Mac

Summary

Overall, recovering deleted files on Mac is possible even if they are removed permanently, but the success rate depends on several factors, including the time after deletion, whether there is a backup, and whether new data overwrites it. So, please take action as soon as possible to minimize the risk of data loss.

Frequently Asked Questions

iBeesoft only uses cookies to ensure you have the best browsing experience and does not collect any information.