Table of Contents
    Mac Data Recovery

    How to Encrypt, Decrypt, and Recover Data from a Mac Hard Drive?


    Table of Contents

      From pictures to confidential work projects to finances to passwords, your Mac’s hard drive keeps secrets that you can’t possibly afford to lose. That is why encryption has become one of the most reliable means to protect confidential information.

      Encryption is a mighty shield, though. However, it can also prove to be a double sword. If your password is lost, your hardware fails, or you encounter issues due to corruption, then you may find yourself unable to access your own information. That’s where understanding how to not only encrypt and decrypt, but to recover an encrypted mac hard drive is completely indispensable.

      Here in this in-depth guide, we will guide you through the whole process of encryption, decryption, and, when time calls for – the restoration of your Mac hard drive. We will discuss Apple’s built-in solutions, pitfalls to avoid, as well as how software like Stellar Data Recovery for Mac can help when all else is lost.

      Why Encrypt Your Mac Hard Drive?

      Just as you wouldn’t carry with you a notebook filled with your darkest secrets, you wouldn’t leave your hard drive unsecured. The same applies to your Mac’s hard drive.

      Encryption is simply the password on your digital journal. It will keep others from accessing your files even if your laptop gets stolen or your external drive gets swiped. They won’t be able to read one word from your files without your password. To them, your data will appear to be random meaningless characters.

      Some significant reasons behind the need for encryption are as follows:

      • Privacy Protection: If confidential files likeyour tax documents, ID papers, or medical records are lost or stolen, you may be exposed to identity theft. Encryption renders these kinds of violations virtually impossible.
      • Business Security: Business individuals working on client agreements, trade secrets, or lawyer files are in particular required to secure their laptops when in transit. Indeed, in industries like healthcare as well as finance, encryption is not just recommended, it is in most instances mandated by statute.
      • Peace of Mind: Whether or not you’re a student user or occasional user, having your drive encrypted means that you won’t have to worry about what happens if your Mac gets lost in transit or in a coffee shop.

      How Encryption Works on MacOS

      On Macs, encryption is powered by FileVault 2, which was included in macOS Lion, and is still considered the best of the best. FileVault is equipped with XTS(AES)-128 encryption with a 256-bit key. While the specifics of this may sound complicated, the takeaway is that the drive is locked with one of the strongest standards of cryptography there is. 

      Once activated, FileVault on macOS, will take your readable information, and turn it into an unreadable format. For the user, the unlocking of the drive using the secure password or the recovery key is conveniently tied with macOS which, in the background, is performing encryption and decryption of the data on the fly. To an unwary user with no proper credentials, the drive data appears as a jumbled mess.

      Some important things to remember about FileVault and encryption on Macs:

      Performance Effect: Encryption may slow down on older Mac computers. But current computers, particularly Apple Silicon (M1, M2, M3 chip)-powered computers, are optimized with native encryption assistance so the process is nearly imperceptible performance-wise.

      Full-Disk Encryption: FileVault doesn’t secure just one folder, the whole startup disk is encrypted. All your files, software, plus transient caches are encrypted.

      Startup Security: If FileVault is on, the password is requested right away when you startup. If not, the computer will not startup into your operating system.

      For external drives, macOS offers to encrypt with APFS (Encrypted) or Mac OS Extended (Journaled, Encrypted). These securely lock removable storage to the level of your laptop’s internal disk.

      How to Encrypt a Mac Hard Drive

      There are many approaches to encrypting drives on macOS that depend on whether you want something user-friendly, configurable, or something sophisticated.

      Encryption using Finder

      Encryption using Finder

      Finder provides the simplest method to encrypt an external drive that already contains files:

      1. Connect the drive and then open Finder.
      2. On the sidebar, right-click on the drive.
      3. Choose Encrypt “Drive_Name”.
      4. Type and enter a secure password. You can add a hint if you wish.
      5. Wait while macOS is setting up the encryption.

      The advantage to this process is that it is simple. You will not require any technical knowledge, or you will not have to recreate your drive. The drawback is that it will take longer if your drive is already packed.

      Encryption with Disk Utility

      Encryption with Disk Utility

      The Disk Utility gives you more control but has one huge caveat – it will erase the drive. You will therefore want to back up your entire library first.

      1. Open Disk Utility from Applications > Utilities.
      2. Choose the drive that you want to encrypt.
      3. Click Erase.
      4. Select APFS (encrypted) or Mac OS Extended (journaled, encrypted.)
      5. Type in a secure password and voluntary hint.
      6. Yes, and have macOS build an encrypted volume.

      The benefit of Disk Utility is that encryption is done cleanly across the entire drive. It is like a clean start that does not leave any traces of unencrypted data.

      Encryption in Terminal

      Power users can use Terminal for command-line access:

      sudo fdesetup enable

      This will enable FileVault for the startup disk. You can also disable it with:

      sudo fdesetup disable

      Terminal for command-line access

      It is most useful when dealing with automation, scripting, or debugging. Don’t use this as a normal user, as your wayward command can have unimaginable side effects.

      How to Decrypt a Mac Hard Drive?

      The decrypting is the process in reverse. This undoes the encryption and gets the drive back to the normal, readable state.

      • Via Finder: Select your encrypted external drive by right-clicking on it. Choose Decrypt. Enter your password, then the operation proceeds.
      • Via Disk Utility: If desired, delete and remount drive in non-encrypted format. Warning—this will eliminate all current info.
      • For Startup Disks: Choose System Preferences > Security & Privacy > FileVault, then click Turn Off FileVault. Your Mac decrypts automatically in the background.
      Decrypt a Mac Hard Drive

      Decryption is slow, usually hours in large drives. Keep your Mac running constantly to prevent interruptions.

      Common Problems Encountered during Encryption and Decryption

      While Apple has perfected the process, all does not always end well:

      Lost Password or Recovery Key: This is the most common and most damaging issue. You can’t open the drive without either.

      Interrupted Process: If your Mac suddenly closes in the encryption or decryption process, your drive can partially become corrupted.

      Drive Errors: Old or failing drives with bad sectors can throw errors mid-process leaving the drive unreadable.

      External Drive Issues: In some circumstances, macOS stops mounting an encrypted external drive, and this is a typical scenario if the drive has been formatted before on another system.

      Recovering Lost Encrypted Mac Files from Your Hard Drive

      It is trickier to retrieve your data from your encrypted drive than from your non-encrypted drive because your information is scrambled. You can retrieve your password, though, if you know your password.

      Built-in Mac Options

      • Disk Utility’s First Aid: Ideal for fixing small corruption or directory issues.
      • Time Machine Backups: If you already have regular backups in place, this is, by far, the quickest and most foolproof form of recovery.

      If these aren’t successful, then you will require stronger software.

      Why Stellar Data Recovery for Mac is a Lifesaver

      When unexpected data loss strikes, the last thing a Mac user needs is a complicated, unreliable recovery tool. This is where Stellar Data Recovery for Mac proves to be a true lifesaver. Unlike conventional solutions that often struggle with compatibility or fail to recognize encrypted storage, Stellar is designed to natively handle encrypted drives without breaking a sweat.

      Here’s why the world trusts it:

      Password-Secured Recovery: Stellar will prompt you to provide your encryption password when you connect the drive. That will enable it to recover your files in safety.

      Preview File: You can preview your files with Stellar to see what can be restored.

      Compatible with External and Internal Drives: If your drive is your startup disk, external hard drive, or even your Time Machine backup, Stellar is ready to assist.

      The retrieving process is hassle-free:

      1. Open Stellar Data Recovery for Mac.
      2. Connect the encrypted drive.
      3. Enter the encryption password when prompted.
      4. Scan the drive.
      5. Preview and retrieve the files that you want.

      This makes it invaluable in cases where encryption or decryption was interrupted, or when Disk Utility simply cannot mount the drive.

      Best Practices for Encrypted Drive Management

      To keep your information secure as well as recoverable, perform the following:

      Backup Before Encrypting: Make a backup copy before applying encryption. Without exception.

      Pick strong passwords: Come up with capture phrases that are complex yet easily retrievable, or consider using a reliable password management tool.

      Safekeeping Recovery Keys: Keep them as hard copies or within a reliable password safe, not on active workstations.

      Safely Remove Drives: Strictly avoiddisconnecting an external encrypted drive while in use.

      Regular Maintenance: Schedule First Aid within Disk Utility as often as reasonable to scan for problems.

      Update Software: Always ensure both macOS and Stellar are upgraded for proper integration with newer computer systems and updated peripheral file systems.

      Conclusion

      Encryption is one of the best ways to protect your files. You can secure your internal or external drives thanks to FileVault and tools in macOS. But encryption is not without dangers. If you run into unexpected drive corruption or other errors, you will be locked out from your own files. It’s where software like Stellar Data Recovery for Mac become extremely valuable. If you have the recovery key, the software will help you run an extensive scan on the encrypted drive and recover your critical information.

      Yes. You can create an encrypted disk image (.dmg) using Disk Utility and store your files inside it. This acts like a secure, password-protected folder. However, macOS doesn’t provide a built-in one-click “encrypt folder” option.
      Unfortunately, if you lose the password or recovery key, you won’t be able to access the encrypted file or folder. Encryption on macOS is designed to be highly secure, so keeping your password stored safely in a password manager or secure location is critical.
      Once unlocked, encrypted folders and files work normally, though initial access may take a little longer. On modern Macs, especially with Apple Silicon chips, the performance impact is almost unnoticeable.
      Yes, but with conditions. If you’ve deleted an encrypted file or folder, you can try Mac data recovery software like Stellar Data Recovery for Mac. The software will prompt you for the encryption password before scanning and recovering the deleted items. Without the correct password, recovery is not possible.

      Was this article helpful?

      No NO

      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 gaming console, the Nintendo Game Boy Advanced. Hours and days of tinkering with old & new gadgets made his inner geek passionate about technology.

      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 *

      Image Captcha
      Refresh Image Captcha

      Enter Captcha Here :

      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

      ×