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. If you encounter a decryption paused error, the most common fix is the computer must be plugged into power for this process to continue. However, I encountered this while on a Mac Mini. A simple switch to a primary USB port (as opposed to a USB hub) solved the issue. Such was my experience. Hope this help someone.

      2. i accidentally formatted my encryted harddisk using my macbook. is there any way to unformat it?

        1. To recover your data, first, remove the encryption from the hard drive, then use Stellar Data Recovery for Mac to recover the lost files. This will help you access and restore your data effectively

      3. Hello, I recently had to erase my iMac drive, and install Catalina OS. That went well, previous problems were eliminated. However, when I was in Disk Utility, I must have unknowingly selected an option to decrypt my Seagate Plus 8 TB drive. It’s been decrypting for about five days now, and using “diskutil cs list” in Terminal, it says it is at the 90% conversion progress. But it seems to be stuck. The progress indicator has not moved all day today. Is there any way to check to see if the process is still ongoing? It seemed to be working OK last night, but today is different. Many thanks.

        1. Hi Brian,

          If the process is completed then share your further experience. However, if the issue still exists then we suggest you to try the other methods mentioned above.

          Hope that will help!

      4. Stellar Mac Data Recovery Software really helps a lots of people out there to recover their precious data on internal/external hard drives, USB flash drives, SSD drives and many other.

      5. Hi Vishal,
        While FileVault was turned on, I moved some files to an external hard drive. They got lost and are now recovered from the external. However, I turned FileVault off on my mac. The recovered audio files show in my finder but will not play. Do I need to turn FileVault back on in order for these files to be recognized again?

        1. Hi Derrick,

          Yes you can try, but I think you saved your encrypted files on your external hard drive. So, you need to decrypt your files to make them playable.

          Thanks

        1. Hi Ravi,

          You need your unlock password to scan and recover data from the drive. If you’ve lost your password then only a backup can help.

          Thanks

      6. Hello – just checking, when I click on the HD I want to scan and enter password to unlock or decrypt the APFS, I then get a refreshing drive load up and spinning icon. However, when this finishes and I click on the HD I wish to scan I get the prompt again to enter the password.

        Can you advise, is the password the same that I use to login? Or is there another password connected to the computer I should be using?

        Thank you

      7. I followed method 4 to decrypt my harddisk.
        Type “diskutil cs delete logical_volume_uuid” and hit Return”

        The program came to about 33% then it stopped and now my partition is gone!”
        If I type “diskutil cs list” I get the following message “No CoreStorage logical volume groups found”

        Please help!!

      8. I have done the encryption part through the first method and somehow my drive is ‘encrypting’ and does not open on any other device; if I somehow disconnected the drive from my mac during the encryption period would that have caused a problem as such to happen? I would really appreciate your feedback, thank you kindly.

        1. Hello Norah,

          Did you unplug your drive after running out of patience? For how long the process took to encrypt your drive? Is your drive available in the Disk Utility window or in your Mac’s Finder?

          Regards
          Vishal

      9. hi I am trying to recover deleted files from my macbook having Mojave 10.14.4 on it – the drive is APFS encrypted using FileVault but it is unlocked. When I start the software and choose the system drive it asks for the AFPS password. when I type in my login password it says “decrypting Volume” for a few seconds then nothing happens. If I wanna scan it asks for the password again.
        Do I have to decrypt the drive using FileVault before recovering. I thought the software can unlock the drive itself.
        Martin

        1. Hello Martin,
          You need to disable the File Vault, and then you will be able to scan the drive using Stellar Data Recovery-Professional. 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

      ×