How to Recover Permanently Deleted Files on a Mac: Working Methods

Avatar photo
Written by

recover pemanently deleted files on macDid you mistakenly delete a file from your Mac and are pretty sure that it’s gone forever? Well, you might be wrong. Even if you think that you’ve permanently deleted data on your computer, it might still be possible to bring it back.

In this article, you’ll find out how to recover permanently deleted files on a Mac and learn about the ways to increase your chances of successful data recovery.

Make Sure That Files are Deleted Permanently

Before attempting a recovery, it’s best to make sure that you actually permanently deleted the files that you are looking for and not just moved or hid them by mistake or due to a bug. For optimum results, try all of the options below, one after the other.

Option 1:Search in Finder

Since Finder is the native search tool on Macs, you can use it to make an attempt at locating the missing file. Here’s how to use Finder to search for a lost file on your Mac:

  1. Launch Finder on your MacBook (click the first icon from the left on the Dock).
  2. If you remember in which folder exactly the file was located, click Go from the top menu and choose Go to Folder. Then type in the folder’s name and click Go.​
  3. To search for the file using its name, click the search icon at the top-right of the screen and type in the name. If you’re not sure about the file name, you can type its date (e.g., January 2022) or the file’s extension (e.g., .pages) in the search field to narrow down the options.finder search bar

Option 2:Check Trash Bin

It’s possible that a file went missing on your Mac because you’ve accidentally deleted it. But the good thing is that if not much time has passed since, that file should still be on your computer but only in a special folder called the Trash.

There are two ways to access the Trash folder on your MacBook: using GUI (you can open Trash from the Dock by clicking the trash bin icon) or by using Terminal.

Note: While you can’t recover permanently deleted files using either of these options, Terminal is still a great tool for moving deleted files from the Trash folder once you get used to it.

Since the second option is more complex, here’s an explanation of how to open the Trash folder using Terminal and transfer a file back to its previous location:

  1. Launch Terminal (go to Launchpad and type Terminal in the search field at the top).
  2. Enter cd .Trash to navigate to the Trash folder.
  3. Type in ls -al ~/.Trash to view the content of the Trash folder.
  4. Type in mv filename ../ to move a specific file to your home folder (replace filename with the name of the file you want to recover).

Option 3:Check Hidden Files

It’s possible that you’ve hidden a file on your MacBook by yourself and, because of that, are having a hard time finding it. If that’s the case, there are two ways to unhide a file on a Mac:

  • By using a special key combination (simply open the folder where the missing file was located and press Command+Shift+. (period))
  • With the help of a special Terminal command

If you want to permanently show the hidden files on your Mac, then you should use Terminal. Here’s how to unhide files on your computer using the Terminal app:

  1. Open the Terminal application (go to Launchpad and type Terminal in the search field at the top).
  2. Copy-paste the following command:
    defaults write AppleShowAllFiles true
  3. Press the Return key.
  4. Type in killall Finder and hit the Return key again.

Note: To hide back the files on your Mac, you can use the same command that you used to unhide them, only replace true in the command with false.

How to Recover Permanently Deleted Files on Mac

If you’ve realized that you’ve permanently deleted the wrong folder or file by mistake, the methods described below should help you get back the deleted files on your Mac.

Method 1:Use Data Recovery Software

Probably the easiest and quickest way to recover permanently deleted files on a MacBook is with the help of a specialized data recovery tool. While there aren’t many options to choose from, it’s still possible to find a few effective data recovery applications on the market, one of them being Disk Drill.

This tool is pretty versatile since it’s compatible with macOS and Windows-based computers, supports various drives and devices (digital cameras, external HDD, flash drives, SD cards, etc.), and can recover almost any file format. Moreover, there’s both a Disk Drill free trial version and a paid one.

Here’s how to restore permanently deleted files on a Mac via Disk Drill:

  1. Download Disk Drill and follow the onscreen instructions to install it.
  2. Launch the application.
  3. Select the Storage devices tab from the sidebar on the left, and then click the drive that you wish to recover from.disk drill storage devices mac
  4. Initiate a scan by clicking the Search for lost data button on the bottom-right of the screen.
  5. Once the app finishes scanning your device, click Review found items.preview found items disk drill
  6. To navigate to the needed data quicker, choose a tab corresponding to the file type from the sidebar on the left. Or if you know the exact file extension or the name of the deleted file, type it in the search field on the top-right of the screen.
  7. Click the eye icon near a file to preview it and ensure that it’s the one that you were looking for.restore screenshot on mac via disk drill
  8. Click the box on the left side of the file that you wish to restore to select it, and then click the Recover button.
  9. Choose a destination folder for the recovered file and click Next to confirm.

A pop-up window will appear saying that you’ve successfully recovered your file. Once that happens, quit the Disk Drill app. Then all you need to do to access the recovered data is go to the previously chosen location.

Method 2:Restore From a Time Machine Backup

Another effective solution is to restore the permanently deleted file from a Time Machine backup. Using this app is easy, and recovering files with it won’t take up much of your time.

However, this method has one huge limitation: you will be able to recover an accidentally deleted file on your Mac with Time Machine only if you’ve used this tool to backup your computer prior to losing the files.

Here’s how to retrieve permanently deleted files on your Mac with Time Machine:

  1. Connect the drive containing your Time Machine backups to your computer. Skip this step if you used an internal drive to create the backups.
  2. Launch Time Machine (go to Launchpad > Time Machine or open the app from the menu bar at the top of your screen).how to launch Time Machine from top menu on Mac
  3. Navigate to the folder where the deleted file used to be located or if you remember the name of the file, type it in the search field.time machine recover photo mac
  4. Use the timeline on the right to choose the needed backup version.
  5. Choose the file or files that you wish to recover and click the Restore button.

The file will be returned back to its original location. So to open the recovered file, navigate to the folder where the file used to be stored before deletion.

Method 3:Resort for Help From a Data Recovery Service

If the previous methods didn’t work in your situation and you’re searching for a way to recover deleted files on a Mac without software, the only other option that you have left is to let data recovery professionals take care of the issue. A data recovery center like CleverFiles is capable of restoring single files or data in bulk and retrieving data from damaged drives.

And even though the results depend on whether the deleted file was already overwritten with new data or not, this method still offers a high chance of successful data recovery.

Here’s how to recover a permanently deleted file with the help of a data recovery service:

  1. Find a reliable data recovery center and contact them to go over the details of your issue.
  2. Ship the device containing the deleted data to the center.
  3. Wait for the experts to inspect your device and provide you with a price quote.
  4. If the recovery price is acceptable to you, the professional will start working on restoring the lost data.

As soon as the data recovery center finishes the job, the recovered data and your drive will be returned to you.

How to Increase Chances for Successful Data Recovery

Unfortunately, no data recovery method can guarantee a 100 percent successful outcome. But the good news is that there are ways to maximize the chances of effectively retrieving lost data:

Method Description
✍🏻 Don’t let your computer overwrite the data You can never know for sure how long it might take your Mac to overwrite the deleted file with new data. So to prevent that from happening, it’s best to stop using your device as soon as you notice that a file is missing.
📁 Use a new destination for the recovered file Never restore a deleted file to the same drive where it used to be located before deletion. This will also keep it from getting overwritten.
💾 Regularly back up your Mac It’s impossible to emphasize enough the importance of backing up your files. The more often you create backups, the more chances you’ll have for quick and effective data recovery.
⚙️ Be careful when choosing data recovery software Sometimes, you have only one chance of successfully recovering a deleted file, which is why it’s important to choose a reliable tool.


We hope this article has helped you locate or recover the missing files on your Mac since having to deal with such an issue can put a lot of pressure on anyone. Keep in mind, the best way to protect yourself from this happening again is by regularly backing up your computer. This way, even if you lose or delete a file from your Mac again, you’ll have an easy and effective solution.


The best way to recover a permanently deleted photo on your Mac is with the help of a backup. But if you haven’t been backing up your Mac before you deleted the photo, you should try to use a specialized data recovery tool to recover the permanently deleted file:
  1. Download and install Disk Drill on your Mac.
  2. Launch the application.
  3. Choose Storage devices from the left and click your Mac’s drive from the list of devices.
  4. Click the Search for lost data button to initiate the scan.
  5. Wait for the scan to finish and click Pictures to view the discovered photos.
  6. Click the eye icon near a file to preview it.
  7. Choose the photos you wish to recover and click Recover.
If not much time has passed since you’ve deleted a file on your Mac, you should be able to easily recover it without the help of specialized software. Here’s what you should do:
  1. Click the Trash bin icon on the Dock to open the folder.
  2. Locate the deleted file and right-click it.
  3. Choose Put Back from the drop-down menu to move the file back to its original folder.
Yes, it is possible to recover permanently deleted files on a Mac. However, the data recovery results largely depend on whether the needed file has already been overwritten by the macOS.
To bypass the Trash when deleting a file on your Mac and permanently remove it, you can use a special key combination: Option + Command + Delete
If you've just deleted a folder, you can either use the Undo command to immediately restore it or recover it from the Trash folder. But if that doesn't work, you can try to restore the folder from a Time Machine backup or use a specialized data recovery tool similar to Disk Drill.
Avatar photo
Romana Levko is a professional content writer with a strong interest in tech-related topics. Her main focus is on data recovery, Apple products, and cybersecurity. She spends her free time tinkering with her Mac and burning through her favorite music albums.
Approved by
12 years experience in software development, database administration and hardware repair.
This field is required
This field is required
We respect your privacy; your email address will not be published.

We respect your privacy; your email address will not be published.

You have entered an incorrect email address!
This field is required