If your APFS container won't mount on Mac, your files may suddenly disappear from Finder, or Disk Utility may show the container in gray. This problem usually means macOS cannot attach the file system even though the disk is still detected.
The good news is that in many cases, the data is still there. The key is not to rush into formatting the disk before you understand what's happening.
This guide walks through safe repairs and recovering data if necessary.
How to fix the APFS container that won't mount on Mac?
If you confirm the container exists but won't mount, you can try repairing the file system. Always attempt repairs before considering formatting the disk.
Method 1: Repair unmountable APFS container with Disk Utility First Aid
Disk Utility's First Aid is a macOS tool that diagnoses and repairs file system errors. It is particularly useful for addressing issues with unmounted APFS containers by checking for corruption and attempting to fix any detected problems.
By using First Aid, users can often restore access to their disks without formatting, preserving valuable data. This makes it an essential first step in troubleshooting disk-related issues.
1. Launch Disk Utility via Spotlight Search or Finder > Applications > Utilities > Disk Utility.
2. Choose the unmountable APFS container from the device list.
3. Select First Aid on the top center and click Run to begin the fix.

4. Once the fix ends, Disk Utility will pop up a notification, and then you can check if the APFS container mounts successfully.
If Disk Utility First Aid failed to repair your APFS container but displayed: "The volume could not be mounted (error -69842)." or "Object map is invalid," try method 2.
Method 2: Repair the unmountable APFS container with the fsck command
fsck (file system consistency check) is a tool for checking the consistency of a file system in Unix and Unix-like operating systems, such as Linux and macOS.
Fsck's primary function is to diagnose and fix file system issues. Therefore, if an issue with your Mac's internal or external hard drive is discovered, you can manually execute fsck to fix it.

- If it's an internal APFS container, start your Mac in single-user mode or go to Utilities > Terminal in macOS Recovery Mode. If it's an external drive, just open Terminal.
- Type the command below into the terminal and press Enter to check the disk identifier of your APFS container. diskutil list

- Replace diskXsY with the APFS container's disk identifier and run the command below to start a file system check:fsck_apfs -y /dev/diskXsY
- When the fsck command has your disk checked and repaired, type reboot and press Enter. Your Mac will reboot and return to the usual login screen. Next, you can check if the APFS container mounts.
If running the command, for instance, sudo fsck_apfs -fy /dev/disk2s2 returned: error: container superblock is invalid or error: failed to read container superblock, the filesystem may be too damaged for built-in repair tools.
If repairs fail: recover data and reformat
If both First Aid and fsck_apfs fail, do not erase the disk immediately.
Formatting the disk rebuilds the APFS structure and may overwrite important metadata that recovery tools rely on. If the drive contains valuable data, recover it with a professional recovery tool first.
iBoysoft Data Recovery for Mac can retrieve the data on your APFS partitions efficiently. It follows a process like this:
- 1. Scan the APFS container layer
- The tool detects the container structure even if macOS cannot mount it.
- 2. Rebuild the file tree
- The software reconstructs directory structures using remaining metadata.
- 3. Extract files in read-only mode
- Files are copied from the disk without modifying the original data.
Follow the steps below to recover data from the unmounted APFS container:
1. Download and install iBoysoft Data Recovery for Mac on your machine.
2. Launch iBoysoft Data Recovery for Mac and select the problematic APFS container from the device list.
3. Click Search for Lost Data, and then iBoysoft Data Recovery Software will begin a comprehensive file scan for the traces of lost data.

4. After the scanning process is done, click Preview to check the scanning results, choose the files you need, and click Recover to store them in another destination for file safety.

5. Have a check to ensure you have got all the lost files back before the professional fix!
Only after completing APFS data recovery should you consider reformatting the disk.
How to format the unmounted APFS container in Disk Utility:
1. Launch Disk Utility on your device via Spotlight Search or Finder > Applications > Utilities > Disk Utility.
2. Select the unmountable APFS container on the left part of the Disk Utility window.
3. Click Erase at the top of the window.
4. Specify Name and Format, then click Erase.

After the APFS container is formatted, it can be mounted on your Mac without a hitch!
Share this guide if it's helpful!
Why is the APFS container not mounted?
When an APFS container won't mount, it usually happens because of
- Corrupted container superblock
- Damaged volume metadata
- Interrupted write operation

Whenever we intend to access files or save new data on an APFS volume, the operating system checks the three parts beforehand. Only if the volume header, catalog record, and file directory are all good can the APFS container be mounted successfully. If anything goes wrong there, the APFS container won't mount on the Mac.
These corruptions or errors can be caused by virus attacks, accidental deletion of important system files, power failure, external drives unplugged without ejecting, interrupted macOS updates, aging SSDs, dual-boot configuration mistakes, and other improper operations, which not only result in the APFS container mount failure but also are culprits to other disk errors, like the fsroot tree of an APFS volume is invalid issue.
A common case reported by users involved a macOS Sonoma update being interrupted during installation. After rebooting, the APFS container could not mount, and file system checks reported metadata corruption.
How to prevent an APFS container from being unmounted?
While filesystem corruption isn't always avoidable, you can reduce the risk with a few habits.
- Use regular backups: Enable Time Machine to automatically back up your Mac.
- Avoid forced shutdowns: Try not to hold the power button unless necessary.
- Always eject external drives: Use Finder's eject option before unplugging external disks.
- Verify disks occasionally: Running "diskutil verifyDisk" from time to time can help detect early issues.
FAQs
- QCan I mount the APFS container in Recovery Mode?
-
A
Yes. Booting into macOS Recovery sometimes allows you to run repairs or mount the disk when macOS cannot do so normally.
- QDoes reinstalling macOS fix an APFS container that won’t mount?
-
A
Not always. Reinstalling macOS replaces system files but does not repair filesystem corruption inside the container.
- QWill formatting the disk fix superblock corruption?
-
A
Yes, formatting rebuilds the APFS structure. However, it will also erase the filesystem metadata, which is why data recovery should be attempted first.
- QIs APFS safer than HFS+?
-
A
In most situations, yes. HFS Plus was designed for older disks, while APFS was built for modern SSDs and includes features like snapshots and crash protection. However, any filesystem can still be damaged by hardware failures or interrupted writes.
