hard drive failure mac

How to Fix and Recover Data from Mac Hard Drive Failure. A failing internal drive is one of the most stressful issues a Mac user can encounter. Whether you are seeing a flashing folder with a question mark at startup, experiencing frequent kernel panics, or watching your system freeze while accessing files, storage degradation requires immediate, methodical action to prevent permanent data loss.

Direct Symptoms of Mac Hard Drive & SSD Failure

Drive issues manifest in two main ways: logical corruption (software-level errors in the file system) or physical hardware failure (bad NAND blocks, degraded read/write controllers, or failing mechanical platters on legacy drives).

Symptom Underlying Cause Severity Level
Flashing Folder with ? System cannot find an active APFS boot volume High (Logical or Hardware)
Beachballing & System Freezes Read/write retries due to failing NAND blocks Moderate to High
S.M.A.R.T. Status “Failing” Hardware self-monitoring detects imminent drive failure Critical (Hardware)
Prohibited Symbol  Operating system corrupted or incompatible build Moderate (Logical)
Read-Only Volume Mount macOS forced read-only state to prevent corruption High (Logical/Hardware)

Step 1 Run Hardware Diagnostics to Isolate the Issue

Before attempting repair commands that stress the storage controller, determine if the drive is physically failing.

On Apple Silicon (M1/M2/M3/M4)

  1. Shut down your Mac completely.

  2. Press and hold the Power Button (or Touch ID) until “Loading startup options” appears.

  3. Press and hold Command (⌘) + D on your keyboard until the Mac restarts into Apple Diagnostics.

On Intel-Based Macs

  1. Shut down your Mac.

  2. Press the power button, then immediately press and hold the D key (or Option + D for internet diagnostics).

  3. Release the key when the progress bar or language selection screen appears

Step 2: Boot into macOS Recovery & Run Disk Utility

If hardware diagnostics pass or yield no conclusive physical failure, boot into Recovery Mode to check the integrity of your APFS (Apple File System) container.

Run First Aid on APFS volumes starting from the lowest child volume up to the physical disk.. Source: iFixit

Booting to Recovery

  • Apple Silicon: Press and hold the Power button until Startup Options display, click Options, then click Continue.

  • Intel Macs: Power on and immediately press and hold Command (⌘) + R.

Repairing the Drive Structure

  1. Select Disk Utility from the Recovery Utilities menu.

  2. Click View > Show All Devices in the top-left toolbar.

  3. Select your drive’s volumes in this exact bottom-to-top order:

    • Individual APFS Volumes (e.g., Macintosh HD – Data, then Macintosh HD)

    • APFS Container

    • Physical Storage Device (e.g., APPLE SSD AP…)

  4. Click First Aid for each level and select Run.

If Disk Utility returns “Operation successful” or repairs the volume map, restart your Mac normally. If it reports “First Aid failed” or “Unable to unmount volume for repair,” advanced command-line interventions are necessary.

Step 3: Command-Line APFS Repair via Terminal

When Disk Utility’s graphic interface fails, running manual file system checks directly through the Recovery Terminal gives deeper insight into APFS structure errors.

  1. In Recovery Mode, select Utilities > Terminal from the top menu bar.

  2. List all mounted disks to find your identifier

  3. Locate your primary system container (typically disk1 or disk2, marked as APFS Container Scheme).

  4. Execute the APFS repair tool directly against the raw disk device:

The -y flag automatically attempts fixes on damaged object maps, corrupt checkpoints, and invalid extent records. If terminal outputs The volume /dev/rdisk1 appears to be OK after repair, reboot the system.

Step 4: Recovering Data from an Unbootable Mac

If the operating system refuses to load but the internal SSD responds, extract your files prior to attempting a clean erase or hardware service.

Option A: Share Disk Mode (Apple Silicon)

  1. Connect your unbootable Mac to a working host Mac using a Thunderbolt 3 or Thunderbolt 4 cable.

  2. Boot the non-working Mac into Recovery Mode.

  3. Select Utilities > Share Disk.

  4. Select your startup disk (Macintosh HD) and click Start Sharing.

  5. On the host Mac, open Finder. The shared drive will appear under Locations, allowing you to manually copy critical folders.

Option B: Target Disk Mode (Intel Macs)

  1. Turn off the target Intel Mac.

  2. Connect it to another Mac using Thunderbolt or FireWire.

  3. Turn on the target Mac while holding down the T key until the Thunderbolt icon displays on screen.

  4. Mount the drive on the secondary Mac as an external volume to back up files.

Option C: Terminal File Transfer via External Drive

If no second Mac is available, plug an external USB hard drive or SSD into your Mac while in Recovery Terminal.

Scroll to Top