Mac Data Recovery

How to Recover Data from an Encrypted Mac?

info-icon  Our content follows trusted Editorial Standards - accurate & unbiased.

Table of Contents

Losing files on a Mac that has FileVault enabled raises an immediate question – can you still recover them? Generally speaking, yes. Most often, it’s not encryption that stops recovery. With a Mac that is operational (and where you can sign in), what you can recover depends on where the files lived: data in backups, local snapshots, and iCloud is usually safe, but files deleted from the internal SSD are often cleared within seconds and can’t reliably be recovered by software. Even if you’re dealing with an encrypted external drive, recovery is usually possible as long as you know the password.

The real challenge is knowing what to do next – and acting quickly. This guide explains how to recover data from an encrypted Mac, whether you need to recover deleted files from an encrypted Mac, regain access to a locked system, or restore files from backups and snapshots. There are two situations this guide covers. If your Mac is running and you can sign in, jump straight to the recovery methods for deleted or missing files. If you’re locked out of the Mac entirely, start with the unlock methods first then return to recovery.                                                                                

Does FileVault Affect Data Recovery?

Yes, if you can still sign in, FileVault doesn’t block recovery, because macOS decrypts the drive for your session. The real limit on a modern Mac is its SSD: deleted files on the internal drive are often wiped within seconds by TRIM, so local snapshots and Time Machine backups are usually more reliable than recovery software. An external encrypted drive is recoverable as long as you have its password.

A feature of macOS is that you must allow Full Disk Access (System Settings > Privacy & Security > Full Disk Access) to the software before it can even scan the drive.

The situation changes if the Mac is locked. If you cannot sign in, recovery software cannot access the encrypted startup volume because the data remains locked behind FileVault encryption. In that case, the first step is not recovery, it is regaining access to the Mac. You’ll need to unlock the system using your FileVault recovery key or an Apple Account recovery option if it was configured when FileVault was enabled.

How to Recover Data from a FileVault Encrypted Mac?

Before you send your Mac to a recovery lab, try these solutions first. Many FileVault data loss cases are actually caused by macOS failing to load properly, even if the data itself is still safe on the drive.

 Mac is accessible (you can sign in)Mac is locked (you can’t sign in)
First stepStop using the Mac, then start recovery right awayRegain access first using your FileVault recovery key or Apple Account
Does FileVault block recovery?No. macOS decrypts the drive for your sessionYes. The startup volume stays locked until you unlock it
Deleted files on the internal SSDOften already cleared by TRIM, so act within minutesNot reachable by any software until the Mac is unlocked
Unlocked external driveRecoverable with the correct passwordRecoverable with the password (no Mac sign-in needed)
Backups, snapshots & iCloudRestore from Time Machine, APFS snapshots, or iCloudiCloud works in a browser; local backups need the Mac unlocked
Where to startMethods 1–5Unlock methods, then Methods 1–5

Case 1: Your Mac is Accessible

When your Mac works as normal and you are able to log into it, you are in the best possible position for data recovery. At this point, FileVault isn’t the issue. First, find out what happened to those missing files before doing anything else that could lower the chance of recovery.

If the files were deleted, disappeared after an update or computer crash, and you don’t have a backup – follow Method 1. If none of these conditions apply, the other methods listed below can help recover files from backup systems, snapshot locations, cloud storage, and application specific recovery folders.

1.      Use Data Recovery Software

This method is best for files deleted from Finder, data lost after a macOS crash or update, emptied Trash folders – or any situation where files are missing and no usable backup exists. For most readers trying to recover deleted files from an encrypted Mac, this is the place to start. The method also applies if you want to recover data from an encrypted external drive, all you’d need is the correct password.

The good news is that when your Mac is running and you’re signed in, FileVault data recovery works much the same way as recovery on an unencrypted drive. macOS has already decrypted the startup volume for your session, so Stellar Data Recovery for Mac can read the drive normally. The only extra requirement is granting Full Disk Access so macOS allows the software to perform a complete scan.

  • Download, install, and run the software on your Mac.
  • On the What to Recover screen, choose the file type you wish to recover and click Next.
Choose what to recover
  • Then choose the drive to recover from and click Scan.
Click scan
  • The recovered files will be shown for you to Preview.
Click preview
  • Choose the files you need and click on Recover to transfer them back to your preferred destination.

2.      Restore from Time Machine Backups

This method is the most reliable way to recover your files if you have already enabled Time Machine backup on your system. Unlike recovery software which depends on whether the original data still exists on the drive, Time Machine restores files from a copy that was already saved before the deletion occurred.

  • Connect the Time Machine backup drive to your system.
  • Click the Time Machine icon in the menu bar.
  • Select Browse Time Machine Backups.
  • Use the timeline to navigate back to a date before the file was deleted.
  • Select the backup files/folders you want and click Restore.
Click restore
  • The file will return to its original location.

One of the most common misconceptions about FileVault –  It does not back-up or encrypt Time Machine backups. Separate choices are made to enable encryption for each backup. In addition, if your Time Machine backup is in an un-encrypted state, then it may be accessed from any mac by simply opening the backup. However, if you have enabled encryption for your Time Machine backup, you will require the backup password (and not your login information) to open it.

3.      Recover from iCloud Recently Deleted

If your missing files were stored in iCloud Drive and synced before the deletion – you may be able to restore them in just a few minutes. This method works entirely through a web browser, which means it can help even if you’re trying to recover data from a locked encrypted Mac.

  • Go to iCloud.com and sign in using your Apple ID.
  • Click Drive and open the Recently Deleted folder.
  • Select the files you want to restore and click Recover.
Click recover

iCloud keeps deleted files for 30 days before clearing them permanently, which gives you a reasonable enough window to act. Similarly, other cloud storage providers like Google Drive, Dropbox, and OneDrive have their own “deleted items” folder with comparable retention periods that you can check.

4.      Restore from APFS Local Snapshots

Many of those who use Macs are not aware that Time Machine can store local snapshots on an internal drive with no connection to an external (backup) drive. The snapshots are used for short term restore points and may allow you to quickly recover data that was lost or deleted in the last 24 hours. Hourly snapshots will be saved locally to the internal drive by default while Time Machine is enabled.

  • Open terminal on your Mac.
  • Type the following command and press Return:

tmutil listlocalsnapshots /

  • A list of snapshots with timestamps will be displayed. For example: com.apple.TimeMachine.2026-05-28-155033
  • Identify the one from before deletion.
  • Open Finder and navigate to the folder that originally contained the deleted file.
  • Click the Time Machine icon in the menu bar.
  • Select Browse Time Machine Backups.
  • Use the timeline to navigate to the snapshot timestamp you just identified.
  • Select the file and click Restore.
Click restore

5.      Check App-Specific Recently Deleted Folders

Not every deleted file ends up in the macOS Trash. Photos, Notes, Mail, and Messages each maintain their own Recently Deleted folders – completely separate from Trash.

Photos

Deleted photos & videos are moved to the Recently Deleted album which stores them for 30 days before permanently removing them.

  • Open the Photos app.
  • Select the Recently Deleted folder.
  • Select the photo or video you want.
  • Click Recover.

Notes

Deleted notes are kept for 30 days in a dedicated Recently Deleted folder.

  • Open the Notes app.
  • Go to the Recently Deleted folder.
  • Right-click the note you want to recover and select Move To.
  • Choose a folder to restore it.

Mail

Deleted emails are moved to the Trash mailbox within Mail – separate from the macOS system Trash entirely.

  • Open the Mail app.
  • Find and click Trash.
  • Right-click on the email you want to recover and select Move To.
  • Choose the destination folder.

Messages

Messages keeps deleted conversations in a Recently Deleted folder for up to 30 days (Apple added it in macOS Ventura), so you can usually restore them in a few clicks. .

  • Open the Messages app.
  • Go to Edit > Undo immediately after deletion (this only works within the same session).
  • If that window has passed, check your most recent Time Machine or iCloud backup.

Case 2: Your Mac is Locked

The challenge is completely different when your Mac doesn’t let you sign in. When the encrypted volume remains locked, it means that no recovery software can access the data yet. You must regain access to your Mac before you can recover anything.

The next two methods focus on exactly that: using a FileVault recovery key or an Apple Account recovery option to unlock the Mac and reset the password. Once you’re back in, return to Methods 1-5 to recover your files.

1.      Unlock the Mac with a FileVault Recovery Key

If you’ve been locked out of your Mac, the FileVault recovery key is usually the fastest way back in. Once the Mac is unlocked, you can return to Methods 1–5 and recover any deleted or missing files. If you’re looking for the key, check your password manager, any printed records created when FileVault was set up, or your IT administrator if the Mac is managed by an organization. On macOS Tahoe 26 and later, it may also appear in the Passwords app on another device signed in to the same Apple Account. Search for “recovery key” there.

If You Can Reach the Login Screen

The exact screens vary very slightly depending on the Mac model and macOS version, but the process is generally the same.

  • Restart your Mac.
  • Enter an incorrect password three times or click the question mark in the password field.
  • Follow the prompts to reset the password.

On recent Apple Silicon Macs, you’ll usually see Restart and show password reset options, which reboots the Mac into Recovery. On some older Intel Macs, the recovery key field may appear directly at the login screen.

  • When prompted, enter the FileVault recovery key.
  • Create a new password.
  • Sign in normally.

If the Mac Will Not Reach the Login Screen

If the Mac never gets to the sign-in window, you’ll need to start macOS Recovery manually.

Intel Mac: Restart and immediately hold Command + R

Apple Silicon Mac: Shut down your Mac. Press the Power button until Startup Options appear. Select Options and continue

A common point of confusion on Apple Silicon Macs is that Recovery may ask for a user password. If you don’t know the password, click Forgot all passwords? That is where the FileVault recovery key is used. If you reach the Recovery desktop:

  • Open Utilities > Terminal.
  • Type resetpassword and press Return.
  • Select the startup volume.
  • Choose I forgot my password.
  • Enter the FileVault recovery key.
  • Create a new password and restart the Mac.

Once unlocked, go back to Methods 1-5 to recover your files.

2.      Unlock the Mac with Your Apple Account

If you don’t have the FileVault recovery key, you may still be able to regain access using your Apple Account. This works only if the iCloud unlock option was configured when FileVault was originally set up.

That requirement is important: Apple Account unlock cannot be added later without reconfiguring FileVault. If it was never enabled and you don’t have a recovery key or backup, skip ahead to When Recovery Is Not Possible.

  • Restart the Mac and connect to the internet.
  • Enter an incorrect password three times or click the question mark in the password field.        
  • Select “If you forgot your password, you can reset it using your Apple ID.”
  • Follow the prompts to reset the password.
  • Restart your Mac.
  • Log in using the new password.
  • Once access is restored, return to Methods 1-5 to recover your files.

How to Prevent Encrypted Mac Data Loss?

Recovering lost files can be stressful for the average user. A few simple habits can save hours of stress and dramatically improve your chances of getting data back if something goes wrong.

  • Store your FileVault recovery key in a password manager and keep a printed copy in a secure location.
  • When setting up FileVault, choose the option to allow password recovery using your Apple account.
  • Set up Time Machine and let it run automatically to recover files in instances of accidental deletion, hardware failure, or software problems.
  • Unexpected shutdowns during macOS updates can leave startup volumes in an inconsistent state and trigger errors like “Macintosh HD Can’t Be Unlocked.” So, make sure the updates don’t get interrupted.

Wrapping Up

Losing files from an encrypted Mac can be alarming, but in most cases, encryption is not what prevents recovery. If your Mac is accessible, stop using it immediately and start the recovery process as soon as possible – the best recovery results are usually achieved in the first hours after data loss.

If you’re locked out of the Mac, try getting back in with either a FileVault Recovery Key or Apple Account Recovery Option. You may also be able to restore files from iCloud or an existing Time Machine backup without unlocking the Mac at all.

For deleted files, emptied Trash folders, and data loss without a backup, Stellar Data Recovery for Mac provides one of the most effective ways to scan an encrypted Mac and recover missing data before it’s permanently lost.

FAQs

Yes, but the outcome depends on what happened to the drive during reinstallation. If macOS was reinstalled without erasing the startup volume, deleted files may still be recoverable. However, if the drive was erased before reinstalling macOS, recovery becomes significantly more difficult, especially on modern SSD-equipped Macs where freed storage blocks may be cleared automatically over time.
Yes. When you are logged into the Mac, macOS automatically decrypts the FileVault-protected volume for your session. Recovery software scans the accessible volume without requiring FileVault to be disabled. To maximize recovery chances, avoid installing software on the drive being recovered and save recovered files to a different storage device.
Possibly. Emptying the Trash removes the file system references to the deleted files, but the underlying data may still exist on the drive. Recovery software can often locate these files if they have not been overwritten or cleared. The sooner you stop using the Mac and begin scanning, the better the recovery prospects.
The fastest option is usually dedicated data recovery software. If the Mac is accessible and the files were deleted recently, a recovery scan can often locate recoverable data within minutes. Time Machine, iCloud, and app-specific recovery folders should also be checked if they are available.
Yes, in many cases. The first step is restoring access to the encrypted startup volume using the correct password, FileVault recovery key, or Apple Account recovery option. Once the drive is accessible, recovery software can scan for deleted or missing files. If the issue is caused by firmware corruption, an Apple Configurator Revive may restore access without erasing data.
No. Disabling FileVault does not improve recovery results. In fact, decrypting the drive can take hours and generates additional drive activity that may overwrite recoverable data. If the Mac is already accessible, it is usually better to leave FileVault enabled, grant Full Disk Access, and start the recovery process immediately.
Stop using the Mac as soon as possible. Avoid downloading files, installing applications, or creating new data. Check backups, iCloud storage, and recently deleted folders first. If no backup exists, run a recovery scan immediately to maximize the chances of finding recoverable files before the storage space is reused.

About The Author

Keshav Katyal linkdin

A passionate writer driven by his interest in everything tech, Keshav Katyal has always been captivated by the latest gadgets since childhood. His interest in technology grew when he got his first gam...

79 comments

  1. Hi, My External USB hard drive was accidentally erased by a Bad software without my permission, My hard drive was APFS Encrypted and I have always my password and information in my APPLE Keychain.

    Now my hard drive is in APFS without encryption, if I use Lost volume scanning, and after that use Deep Scan in old APFS Volume I’ll see my file ? do you think I’ll have the option to see my encrypted volume ? and the opportunity to put my password ? I have it.

    Thank you for your help

    1. Hello hh,

      Instead, try to recover the drive via Deep scan feature only (not using can’t find volume). watch this video for more.
      Let me know further.

  2. I accidentally erased a hard drive that was connected to my Mac. I was wondering if this product would help.

    The drive has a GUID partition scheme. On that drive I used Disk Utility to created one large partition which was formatted as a “Mac OS Extended (Journaled, Encrypted)” volume. I know the password that was used and this drive has worked reliably for several years in that configuration.

    (Even though I set it up as one large partition, my understanding is that sometimes the Mac will also create a hidden “Recovery” partition on the same drive as well. I am about 75% certain it had done so in this case.)

    A few days ago, I was using the Disk Utility program and erased that volume by mistake. Disk Utility then created a new “Untitled” partition, formatted as a “Mac OS Extended (Journaled)” volume. That step took only about 5 seconds (so it did not do a low-level erase or format operation).

    I have hardly used the disk at all since this happened a few days ago. I’ve mounted the drive (read the file system) a few times because I wanted to collect info about the drive. However I have not “saved” any files to it (beyond the various invisible files that the Mac OS places on a new disk).

    So in summary:

    – Using Disk Utility I erased the main “Mac OS Extended (Journaled, Encrypted)” volume on a drive (I have the above password used to encrypt that volume)
    – Disk Utility created a new “Mac OS Extended (Journaled)” volume on that partition
    – I haven’t stored any user files on the drives since

    Is there any hope for getting my files (and hopefully the folder structure) a back?

    1. Hello David,

      Thanks for writing your query. Please find my reply below:

      Stellar Data Recovery Professional for Mac recovers data from a formatted APFS, HFS hard drive.

      Download and install the free trial version of the software and scan your formatted Mac hard drive via Deep Scan. Allow the software to complete the scan. Once done, it will show you all the recoverable files. Since the drive was formatted and so the encryption algorithm you may not require the password to unlock the drive before scanning.

      -Good to know that you have taken the precaution after formatting the drive by not writing new data to it. I advise you to scan the disk sooner than later to analyze the recovery.

      Regards
      Vishal

  3. Stellar Mac Data Recovery Software works marvellously on internal and external hard drives, USB flash drives, SSD drives and many other appliances.

  4. hello vishal.. do i really need to buy the mac data recovery for me to get a registration key and activate the product? i really need to recover my files. thank u very much.

    1. Hello Leneth,

      Thanks for contacting Stellar Data Recovery

      Yes, to save the recovered data with Stellar Mac Data Recovery; you need to register the product. Once it is activated, it will save the files to your chosen destination.

  5. Hi Vishal,

    I have a 2TB WD external hard drive. There was an encrypted folder with password and I still remember the password.
    One day, I made a mistake to format the entire WD hard drive by Disk Utility with a different format (EXfat), but I realized my mistake just after the incident and did not save/write any file in it.
    (I can’t remember what was the previous format…)

    Can SDR still search for the formatted encrypted folder for me to insert the password, then start restoring my folder in this situation??

    Your feedback will be much appreciated.

    Thank you.

    1. Hi Justin,

      We recommend you to follow the below steps to recover the data using Stellar Mac Data Recovery:

      1. Select Start New Scan option from main interface screen.
      2. Select the drive from which you want to search the lost /deleted volumes.
      3. Select Search Lost / Deleted Volumes option from listed scanning method.
      4. Click Start Scan button to start scanning process. Software will scan and display all the lost/deleted volumes of your drive.
      5. Now, select the lost volume that you want to scan for data from the list of volumes.
      6. Select ‘Recover Data’ option and start the scan.

  6. Hi, I have a WD My Passport for Mac 500GB Portable External Hard Drive Storage USB 3.0. I used the password protect feature and haven’t changed my password. But all of a sudden, the same password no longer works. I have tried on 3 different computers.
    May I know does the free MAC data recovery tool help to retrieve the files I need given I will continue using the same password?

    Thanks for all the help.

    1. Hi CC,

      Stellar Mac Data Recovery does support data recovery of deleted files from an encrypted hard drive. Though, the first condition to perform recovery is the user must unlock the drive by the password. Once you are through, you can start the scan and recover files. In your case, the drive isn’t accepting your password, though you should at least try once with Stellar and provide the same password. However, chances are low that your drive will get unlocked. Please try once. Download the software from here

  7. I damaged my old Macbook Pro with water. I bought a Macbook Air. I migrated data to it from a WD MyBook drive. It seemed to go smoothly. Then I had second thoughts about the Air and also bought a Macbook Pro, planning to return one of them. I migrated data the same way but not everything came over. I called tech support. The tech, for some reason, had me encrypt my hard drive. I didn’t have that much on it but it took over 37 hours. As it turns out, I prefer the Macbook Pro and want to return the Air. But the Air seems to have my all data while the Pro doesn’t. I really do not need encryption for anything. I want to decrypt the hard drive. I want to transfer all my data to the Pro. The only think I know for sure is that the Air seems to have all my data. I have an appointment with a senior advisor this evening. How do I get my data onto the Macbook Pro and how do I decrypt the external drive without losing anything? Also, will it work to migrate encrypted data to the Pro? I have a bit of a time crunch and am worried whatever process I do will take days again. Thank you.

    1. Hi V Lewin,

      I migrated data to it from a WD MyBook drive. It seemed to go smoothly. Then I had second thoughts about the Air and also bought a Macbook Pro, planning to return one of them. I migrated data the same way, but not everything came over. I called tech support. The tech, for some reason, had me encrypt my hard drive

      Did you transferred the data from My Book to Air with encryption or without the encryption? What were those some reason that tech support encrypted your disk?

      I recommend you clone your MacBook Air hard drive to an external drive since your MBA have complete data on it. Once the backup is done, decrypt the drive (See decryption steps in the article).

  8. I accidentally use the password assisting when encrypting my external drive, so there is no way for me to know what password I chose. I didn’t realize the “password assistant changed my password when moving the Password Assistant slider. This sucks! Why would Apple let the Password Assistant create the password and verify it at the same time. What options do have to recover my files? Should I erase the drive with a low erase setting, then try to recover as much files as I can? Please provide some help! This hard drive had over 4 years of my recordings.

    1. Hi Russell

      Without unlocking the encrypted partition data recovery is not possible using Stellar Mac Data Recovery. Erasing the HDD with low erase setting also data will not show in decrypted from, so recovery is not possible. Please let me know if there are further queries.

      Thanks.

Leave a comment

Your email address will not be published. Required fields are marked *

Google Trust
Related Posts

WHY STELLAR® IS GLOBAL LEADER

Why Choose Stellar?

  • 0M+

    Customers

  • 0+

    Years of Excellence

  • 0+

    R&D Engineers

  • 0+

    Countries

  • 0+

    PARTNERS

  • 0+

    Awards Received

BitRaser With 30 Years of Excellence
Technology You Can Trust
Data Care Experts since 1993
×