Accidently deleting folders on your computer can feel like a disaster, but a deleted folder is rarely gone forever. As Macs are one of the most popular computer brands, there are many tried and true ways to recover deleted folders on Mac – no matter how they were lost.

I deleted my folder recently.Recover the deleted folder from your trash bin.
I permanently deleted a folder, and it is not in the trash bin.Recover the deleted folder using data recovery software.
Recover the deleted folder using Time Machine.

3 Best Options To Recover Deleted Folders on Mac

Whether you deleted your folder recently or not, there are many ways to recover a lost folder. In this article, we’ll show you three easy ways to restore deleted folders on Mac – saving you time and a headache.

Solution #1: 🗑️ Recover the deleted folder from the Trash Bin

Although you won’t see deleted files and folders on your computer, your Mac does not immediately erase deleted folders. Instead, deleted folders are automatically stored inside the Trash Bin application for 30 days.

If the folder you are looking to recover was deleted within that period and you haven’t emptied your Trash Bin, you will likely find your folder hidden in the Trash Bin folder. Here’s how you can recover it:

Step 1. Locate the Trash Bin and find your folder
Navigate to the Dock on the bottom of your screen, and click the ‘Trash Bin’ icon. It is usually located on the far right side of the dock.

trash bin

Step 2. Restore your deleted folder 
Hover over the folder you want to restore and right-click. From the menu, select either ‘Put Back’ or ‘Restore’. The folder and its contents will then disappear from your Trash Bin and will be restored to their original location.

restore from trash bin

If you only want to recover a single file from the folder, you can double-click on the folder in Trash Bin, right-click on the file, and select ‘Put Back’ or ‘Restore’ to recover the file individually.

Solution #1.1 Press undo

If you find yourself needing to recover deleted folders on Mac frequently, it might be useful to learn how to use your computer’s ‘undo’ button. The ‘undo’ button will erase the last action you took on your computer, making it a great tool for deleted folder recovery.

There are two ways to use the ‘undo’ button:

  • First, you can simply press the Command + Z keys.
  • Alternatively, you can navigate to the top of your screen, mouse over ‘Edit’, and select ‘Undo Move of XXXX’.

Solution #1.2. Recover from your Trash Bin using Terminal

You can also recover items from your Trash Bin using the app ‘Terminal’. Terminal lets you use a command-line interface to interact with your operating system directly.  This is particularly useful if you are having trouble sorting through your Trash Bin manually, and know the name of your deleted folder.

To recover a deleted folder through Terminal, follow these steps:

  1. Launch Terminal by clicking on ‘Applications’, then ‘Utilities’.
  2. Type in cd .Trash to locate the Trash Bin folder.
  3. Enter ls -al ~/.Trash to view the contents of your Trash Bin.
  4. Once you have located the folder you want to restore, enter the command mv folder ../.
    NOTE: Change ‘folder’ for the name of your deleted folder’.
  5. After you have restored the folder, type quit to exit Terminal.move file from trash via terminal

This will allow you to recover deleted folders on Mac’s instantly.

Solution #2: 💽 Recover the deleted folder using Data Recovery Software

If you are unable to recover your folder from the Trash Bin, you may be able to recover the folder directly from your hard drive. After your Trash Bin is emptied, files and folders are stored on your hard drive until they are overwritten.

Deleted folders that have not been overwritten can often be retrieved with the right data recovery software. While there are many deleted folder recovery programs online, our editorial team prefers to use Disk Drill as our primary recovery tool for articles as it is incredibly effective at recovering deleting folders.

Disk Drill works by scanning your computer and displaying all folders that can be recovered. The program is affordable, and can be tested for free on Windows and Mac.

Here’s how you can recover deleted folders as a first-time Disk Drill user.

Step 1. Check your computer is compatible
Check that your Mac is compatible with Disk Drill ensuring your computer is updated to Mac OS X 10.8.5 or later.

Hint: You can check for software updates by navigating to ‘System Preferences’ and selecting ‘Software Update’.

Step 2. Download Disk Drill for Mac.

Then, navigate to your Downloads Folder, and double-click the file named ‘diskdrill.dmg’. When prompted, drag the Disk Drill icon into your Applications folder to install it.

install disk drill

Step 3. Launch Disk Drill
Launch the Disk Drill application by double-clicking the program’s icon. You will need to give Disk Drill permission to scan your hard drive by entering your administrator password.

Step 4. Scan your hard drive
Select the partition you want to scan and press the ‘Search for lost data’ button. Disk Drill will first perform a Quick Scan of your hard drive and then automatically follow up with a Deep Scan, which can take a while to complete. Once the scan is over, you can click the ‘Scan entire disk’ option to scan remaining partitions on the same storage device.

launch disk drill

Step 5. Find your lost folder

Finally, go through the scan results and locate the folder you want to restore. Add all files contained inside the folder to your recovery queue and click the ‘Recover’ button. If you’ve already upgraded to Disk Drill PRO, you will be asked to specify the recovery location. Make sure your recovery location isn’t on the same hard drive as the folder you want to recover and click OK to proceed.

Step 6. Recover deleted folders
Once you have located your deleted folder, select the file, choose a location to restore it to, and press the ‘Recover’ button. You will then be prompted to upgrade to PRO. Disk Drive will then restore your deleted folder to the location you choose.

restore deleted folder via disk drill

If you were using Disk Drill before your folder was deleted, follow steps 3 – 6, as your folder can likely be recovered using Disk Drill’s data protection tools.

Solution #3: ⏱️ Recover the deleted folder using Time Machine

If you are unable to locate your folder in your Trash Bin and have previously installed Time Machine, you can use the program to restore deleted folders in a few clicks.

Time Machine is an in-built system that automatically backs up data from your apps, books, photos, music, emails, and documents. Time Machine backs up the contents of your Mac to an external hard drive, storing new data locally as it is created. This gives you easy access to deleted folders, even when they have been erased from the Trash Bin.

Here’s how to recover a folder using Time Machine.

Step 1. Open Time Machine
Navigate to ‘System Preferences’ by selecting the apple menu. Double-click the Time Machine icon. Select the checkbox next to ‘Show Time Machine in menu bar’. This will allow you to access Time Machine through the menu bar.

open time machine

Step 2. Enter Time Machine and find your deleted folder
Select the Time Machine icon on your menu bar, and click ‘Enter Time Machine’.

Enter Time Machine

Inside the Time Machine, you can find your folder manually, or use the search bar. Select your deleted folder, and click the ‘Restore’ button at the bottom of the Time Machine window.

restore deleted folder in time machine

Once Time Machine has finished the deleted folder recovery process, your folder will be returned to its original location.

How to ensure you never lose another folder

Recovering a folder you thought was permanently lost can give you feelings of immense relief. Thankfully, there are steps you can take to ensure you never lose another folder.

Set up Time Machine on your Mac

As mentioned above, Time Machine automatically backs up the data on your Mac. This ensures folders that are deleted can be recovered quickly, saving you stress and time.

To set up Time Machine, simply connect an external hard drive to your Mac and select ‘Use as Backup Disk’ when prompted.

Time Machine will then backup your data hourly unless you choose otherwise.

🔐 Lock your folders

If you need to keep an important folder from being deleted, you can always lock the folder. Locking a folder prevents it from being deleted accidentally by giving you a warning when the folder is added to the trash.

You can lock a folder by right-clicking the folder, navigating to ‘Get Info’, and pressing ‘Locked’ under the general settings.

lock folder mac

Once you lock a folder, you will need to unlock it before you can make any changes to the contents of the folder. Unlock the folder by right-clicking the folder, pressing ‘Get Info’, and de-selecting ‘locked’.

☁️ Store your folders with iCloud

If you need to recover deleted folders on Mac often, it may be worth storing backups of your data with iCloud. You can set up iCloud by navigating to ‘System Preferences’ and selecting ‘iCloud’. From there, you can enable ‘iCloud Drive’, which will backup your folders and files.

🛡️ Ensure your device is virus-free

Computer viruses are nasty at the best of times, but many computer viruses are known to delete folders and files. To stop this from happening to your Mac, monitor your internet downloads with an antivirus program.


While it may seem like a deleted folder is gone forever, this is seldom the case. In just a few clicks, lost folders can be retrieved from your Trash Bin and hard drive with a little time and the help of Time Machine and data recovery software.