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. I accidentally reformatted my 5TB HFS+ case-insensitive encrypted drive to FAT using quick format using the macOS Disk Utility GUI. It results in a failure leaving the drive unable to mount. A quick check in diskutil shows the partitions are still intact, yet macOS does not automatically detect the volumes. I presume some essential header information was deleted or corrupted by Disk Utility.

        What happened was, I formatted the entire drive using the Erase dialog with Format “MS-DOS (FAT)” and Scheme “GUID Partition Map”
        This resulted in an immediate failure with message: “Erase process has failed and Details: Couldn’t open device. Operation failed…” There doesn’t seem to be any options or flags to receive more verbose output.
        At this point, the drive can no longer be mounted as macOS no longer recognizes the volumes on it and cannot automatically detect or repair them.

        Is it possible to recover this encrypted partition/disk?

        1. Hello David,

          I am sharing the solution below with you:

          i) Connect your hard drive and go to Disk Utility
          ii) See if your hard drive is showing up in the left corner of the disk utility. (it will show as an unmounted drive)
          iii) Download Stellar Mac Data Recovery
          iv) Launch the software and click ‘Start Scan’.
          V) On the left corner of software drive menu << select your hard drive. Further select Recover Data << Advanced Recovery to launch data recovery scan. Let the software complete the scan. Vi) After the scan is over, all files from the external hard drive will be listed for the preview. You can double-click file(s) to get an instant preview of the files. Up to above, the software runs in the demo mode. To recover all your files you require to register the Stellar Mac data recovery software.

      2. Vishal, my Western Digital 1 TB external hard drive is encrypted, but some files deleted accidentally. Ironically, I need to remove the encryption, and I know that the WD will get formatted and files will be gone. I have already backed up all files except those which got deleted recently. I am wondering if I should try Stellar and then remove decryption? Will it do the job?

        1. Hi Sawn,

          Better you do the data recovery first with Stellar Mac data recovery program and then go ahead to destroy hard drives encryption. Hope this helps.

      3. I was able to scan my encrypted drive that was formatted via raw recovery. It listed all the folders, and files from that drive.

        But when I restored the file, the file has data. But when i try to open it, the application can’t read it. So I think the encryption is on the file as well, which I’m not sure if this software can de-encrypt the actual file.

        1. Hello Ken,

          Your query has been forwarded to technical support. Our executive will contact you soon to resolve your issue. Thanks.

      4. Hello, Vishal!
        Is there any chance to get back info from my main Mac SSD (it was encrypted) i formatted it and reinstalled a new OS on it? Forgot to backup one important thing.

          1. Hey, i did it yesterday. Stellar gave me just the existing data, nothing from the data before formatting.

          2. Hi again,

            Could you let me know which data recovery option you ran from the Stellar interface? Also, are you looking for some specific file type for recovery?

            Regards
            Vishal

          3. Tried advanced recover data and also raw recovery.

            I think the software doesn’t know, that the disk was encrypted before. It is trying to restore it as it is right now.

      5. While working with my 1 TB encrypted hard disk drive (not FileVault encryption), I accidentally formatted it to FAT file system. The HFS+ 1 TB HDD had my years of photos, videos and college documents. In the absence of another backup copy of the hard drive how it is possible to restore data from the hard drive, which got accidentally erased?

        1. Hi Pat,

          Below are some important Discussions that matters

          Encrypted volume recovery wholesomely depends upon the several factors, which are as follows

          1. If the hard drive was encrypted to a single volume.
          2. If the hard drive was wholesomely formatted to FAT32 file system.
          3. Master Boot Record doesn’t overwrite a GUID table.
          4. Or the disk still runs a MBR and not PMBR.
          5. Hidden Core Storage structure shouldn’t get overwritten.
          6. FAT32 formatted HDD shouldn’t have overwritten blocks.

          Software Recommendations

          • TestDisk – Command based utility for data recovery
          • Stellar – GUI based data recovery on Mac disk drives
      6. My friend handed me an encrypted HFS+ hard drive for data recovery. I have Stellar Mac data recovery V6.0.0.3 installed on my iMac. The software is unable to scan the hard drive. How should I make it recover files from it. Do let me know quickly since your software has performed in the past and I need to get the data ASAP.

        1. Hi Mic, in order to scan and recover files from an encrypted hard drive, you must install Stellar Mac data recovery V7.0. Earlier versions of the software doesn’t support encrypted drive recovery. Please upgrade to latest version in order to save files.

      7. I scanned my macintosh encrypted hard drive and it found all the folders and files. But when I try to preview the file it doesn’t show anything. When I recover the file, I can’t open it in the application I used to create it. it says it’s not the right format.

        Am I SOL?

      8. Hello, Want a help. I added new HDD and and El Capitan is running properly, Now when i inserted old HDD(USING USB) it shows me the folders except my home folder. I can access system folders, Shared Folders, But when i select my home folder (in my case kulin) it doesn’t show me any files inside.
        I downloaded Stellar Mac Recovery and scanned it, it shows my folders (in quick scan) as lost folders. Now what to do?

        I also tried using stellar volume optimiser and in optimiser when i select my old hdd it says its encrypted.

        Will buying new stellar recovery solve my issue. please guide/help me so that i can proceed accordingly.
        Waiting for your help.

        1. Hi Kulin,

          Thanks for writing your query to us, please find my answer below:

          When the software lists the HOME folder then you can double click it to view the files inside it. Doing this will let you know that the software will recover the following listed files from it. Once confirmed, you can register the product to recover and save the files to your local hard drive. Stellar Volume Optimizer is a Mac hard drive utility that repairs corrupt directory structure. Currently the software doesn’t support repairing an encrypted hard drive. Hope this resolves your problem.

      9. Will Stellar Mac Data Recovery application recover encrypted iTunes backup files which got deleted from my iPhone 6S? Please let me know.

        1. Hi Duane,

          To recover deleted files or an encrypted iTunes backup files from an iPhone, you need to download and install Stellar Recovery for iPhone Application. It recoups deleted camera roll pictures, images, notes, iMessages, WhatsApp attachments, safari bookmarks. The best part of the software is its compatibility with OS X and Windows. List of Supports iPhones are iPhone 6S, 6 Plus, 6, 5s, 5c, 5, 4s and 4.

      10. I encrypted my disk with File Vault on OS X El Capitan 10.11.5. I cleaned some files from the Mac and deleted them from trash later realising that some of my files were important. How can I get them back on this encrypted hard drive

      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

      ×