First Aid · Disk Utility

On this page 7

First Aid is the Disk Utility function in macOS that verifies and repairs file system metadata on a volume, an APFS container or a whole storage device. It does not inspect user files one by one; instead, it checks the internal structures that describe where data lives, such as B-trees, allocation maps and object maps, and corrects inconsistencies before they grow into data loss. In macOS storage & backup practice, it is the first diagnostic step when a disk refuses to mount, a volume reports wrong free space or applications fail with unexplained input and output errors.

First Aid is a graphical front end to the same command-line checkers that administrators run in Terminal. Understanding what it examines, what its messages mean and where its limits lie helps decide whether a repair is enough or whether the next step is a restore from Time Machine or a replacement drive.

How First Aid checks a disk

First Aid works by running a file system consistency check appropriate to the format it finds. On APFS it calls fsck_apfs, on HFS+ it calls fsck_hfs, and on FAT or exFAT media it calls the matching msdos or exFAT checker. Each tool walks the metadata, compares every reference against the structures that should agree with it and reports any mismatch.

For APFS, the check starts with the container superblock and the checkpoint area, then validates the object map, the space manager that tracks free blocks, each volume superblock, the file system B-trees and every APFS snapshot. A typical problem is an overlapping extent allocation, where two files claim the same physical blocks, or a reference count that no longer matches the number of clones pointing at a block.

The process has two phases. In verification, the tool only reads and reports. In repair, it rewrites damaged metadata, which requires exclusive write access. That is why First Aid temporarily unmounts a data volume during repair, and why applications that hold files open on it may block the operation.

The startup disk is a special case. Because the running system cannot unmount itself, First Aid performs a live verification using a snapshot, and the Mac may become briefly unresponsive. If problems are found, a full repair usually requires booting into macOS Recovery and running First Aid there.

Volumes, containers and devices in First Aid

First Aid can be run at three levels of the storage hierarchy, and each level checks different structures. The recommended order in Recovery is to check each volume first, then the container that holds them, then the physical device. The table summarizes what each level covers.

Level selectedStructures checkedTypical reason to run it
VolumeVolume superblock, file and directory B-trees, extended attributesOne volume shows errors or will not mount
APFS containerContainer superblock, object map, space manager, all volumesFree space looks wrong across volumes
Physical devicePartition map such as GUID Partition Table, then contained file systemsDisk appears but partitions are missing
Snapshot dataSnapshot metadata and block referencesTime Machine local snapshots fail or linger
What First Aid examines at each level

Checking only the device is not always sufficient, because a healthy partition map can sit above a damaged volume. Conversely, a container check covers its volumes, but per-volume runs give clearer messages about which volume is affected.

Reading First Aid results

First Aid reports its outcome in a summary sheet with a detailed log that can be expanded. The final line matters most, but the preceding lines show which structure was affected and whether a repair was attempted. The table lists common outcomes and the sensible next step.

Message or outcomeWhat it indicatesRecommended action
Volume appears to be OKNo metadata inconsistencies foundInvestigate software or hardware elsewhere
Repaired successfullyProblems found and correctedRun First Aid again to confirm a clean pass
Could not be verified completelyCheck stopped before covering all metadataRepeat from macOS Recovery
First Aid process has failedDamage too severe for automatic repairBack up data, then erase and restore
Overlapping extent allocationTwo objects claim the same blocksCopy affected files off, then repair or erase
Common First Aid messages and responses

A second clean run after a repair is an important habit. Some repairs change structures in ways that expose further problems, and only a verification pass with no new errors confirms that the volume is genuinely consistent.

First Aid overlaps with several other mechanisms in the Mac storage stack, but each solves a different problem. The comparison clarifies when First Aid is the right choice and when it is not.

Tool or methodMain purposeKey difference from First Aid
diskutil verifyVolume and repairVolumeCommand-line checking in TerminalSame engine, scriptable and usable over SSH
fsck_apfs run directlyLow-level APFS consistency checkMore options, needs an unmounted volume
Time Machine restoreRecovers files from backupRestores content rather than repairing metadata
Erase in Disk UtilityCreates a fresh file systemDestroys data but guarantees clean structures
Third-party recovery softwareExtracts files from damaged mediaReads data First Aid cannot reach, never repairs
First Aid and neighboring repair or recovery options

The command diskutil repairVolume disk3s5 produces the same result as clicking Run in the graphical interface. Administrators prefer the Terminal route for remote Macs or for logging results across a fleet.

Limits and common misconceptions

First Aid repairs logical damage only. It cannot fix failing flash cells, a worn mechanical drive or a loose cable, and repeated errors after successful repairs are a strong sign of underlying hardware failure. Several misunderstandings appear frequently:

  • First Aid does not recover deleted files; it only restores the consistency of existing metadata.
  • A clean result does not prove the hardware is healthy; SMART status and backup verification are separate checks.
  • First Aid is not routine maintenance; on a working Mac, running it weekly adds no benefit.
  • On the read-only system volume, integrity is protected by the signed system volume seal, so most practical repairs concern the Data volume.
  • A repair may discard unrecoverable objects, so a current backup should exist before repair whenever the volume still mounts.

The most important rule is backup before repair. If the volume mounts read-only or intermittently, copying critical files first protects them from the small chance that a repair worsens the damage.

Stripped to the essentials

A disk keeps an index of file locations that says where every file sits, a little like the catalog cards in a library. If that index gets scrambled, the books are still on the shelves, but nobody can find them, and two books may even be listed in the same spot.

First Aid is the tool in Disk Utility that reads this index and tidies it up. It fixes the map, not the books themselves, and it cannot fix a broken shelf. When First Aid keeps finding problems again and again, the disk itself is probably wearing out, and the safest move is to rely on a recent backup.

Where it is applied

A video editor connects an external 2 TB SSD formatted as APFS after an unexpected power cut, and Finder refuses to mount it. In Disk Utility, the drive appears in the sidebar but its volume is grayed out. The editor selects the volume and runs First Aid, which reports an invalid space manager free count and repairs it in about four minutes.

The volume then mounts normally. Following good practice, the editor runs First Aid a second time, receives a clean result and copies the active project to another drive before continuing work. Because the SMART data shows no warnings and the error matched the power loss, the editor keeps the drive in service, and the project is recovered without restoring from backup.