HFS+

Also known as: Hierarchical File System Plus · Mac OS Extended

On this page 8

HFS+, short for Hierarchical File System Plus and labeled Mac OS Extended in Disk Utility, is the file system Apple introduced in 1998 with Mac OS 8.1 and used as the default for Mac startup disks until APFS replaced it in 2017. In macOS storage and backup, it remains relevant because macOS still reads and writes it, older Time Machine disks use it, and many external hard drives are still formatted with it.

HFS+ organizes data in B-tree structures, supports journaling to protect metadata after crashes, and stores rich Mac metadata such as resource forks and extended attributes. It was designed for spinning hard disks, which explains both its long service life and the reasons Apple eventually retired it on solid-state storage.

How HFS+ organizes files on a disk

HFS+ stores every file and folder record in a central catalog file, a balanced B-tree indexed by parent folder ID and file name. Each file has a unique catalog node ID (CNID), which lets macOS track files even after they are renamed or moved within the same volume. This design is the basis for features such as aliases that keep working after a file moves.

Space on the disk is divided into allocation blocks, typically 4 KB each, and a file occupies one or more contiguous runs of blocks called extents. The catalog record holds the first eight extents of each fork; heavily fragmented files spill additional extents into a separate extents overflow file. A third B-tree, the attributes file, holds extended attributes, access control lists and, on compressed files, the compressed data itself.

The following table summarizes the main on-disk structures and the role each one plays.

StructureWhat it storesWhy it matters
Volume headerVolume size, block size, locations of key filesDamage here makes the volume unmountable
Catalog fileRecords for every file and folderSpeeds lookups; corruption causes missing files
Extents overflow fileExtra extents of fragmented filesGrows with fragmentation
Attributes fileExtended attributes, ACLs, compressed dataHolds Finder tags and security metadata
Allocation fileBitmap of used and free blocksTracks free space
JournalPending metadata transactionsEnables fast recovery after a crash
Core HFS+ on-disk structures

HFS+ variants and format options

Disk Utility offers several Mac OS Extended formats, which differ in journaling, case sensitivity and encryption. The plain non-journaled form exists mainly for compatibility; Mac OS Extended (Journaled) was the standard choice for nearly every Mac disk for over a decade.

Format nameJournalingCase sensitivityTypical use
Mac OS ExtendedNoInsensitiveLegacy media, rare today
Mac OS Extended (Journaled)YesInsensitiveFormer default for Mac disks
Mac OS Extended (Case-sensitive, Journaled)YesSensitiveSoftware builds needing Unix-style names
Mac OS Extended (Journaled, Encrypted)YesInsensitiveExternal disks needing a password
HFSXOptionalSensitiveInternal name of the case-sensitive variant
Mac OS Extended format options in Disk Utility

Case-insensitive volumes treat “Report.txt” and “report.txt” as the same name while preserving the capitalization the user typed. Some cross-platform software expects this behavior, so choosing case-sensitive formatting can break older Mac applications and games that refer to their own files with inconsistent capitalization.

Journaling and data integrity in HFS+

Journaling in HFS+ protects file system metadata, not file contents. Before changing the catalog or allocation bitmap, macOS writes the intended change to the journal; after a crash or power loss, the system replays the journal at mount time instead of scanning the entire disk. This reduced repair times from many minutes to a few seconds on large drives.

The important limitation is that HFS+ has no checksums for user data. If a sector silently degrades, the file system returns the damaged bytes without warning, a failure mode known as bit rot. HFS+ also overwrites metadata in place rather than using copy-on-write, so an interrupted write can still leave structures inconsistent in rare cases, which is why First Aid in Disk Utility and the fsck_hfs tool remain part of routine troubleshooting.

How HFS+ compares with APFS and other file systems

APFS replaced HFS+ as the default for startup disks with macOS High Sierra in 2017, because APFS was built for solid-state storage, encryption and snapshots. HFS+ remains the better fit only in narrow cases, mostly involving older spinning disks and older Macs.

FeatureHFS+APFSexFATNTFS
Design targetHard disksSSDs and flashRemovable mediaWindows disks
Timestamp precision1 second1 nanosecond10 milliseconds100 nanoseconds
Snapshots and clonesNoYesNoShadow copies only
Native encryptionVolume level via Core StoragePer volume, multi-keyNoBitLocker separately
Metadata journalingYesCopy-on-write insteadNoYes
Mac read and writeYesYesYesRead only by default
HFS+ compared with APFS, exFAT and NTFS

The one-second timestamp resolution and the single global catalog lock are real constraints. They make HFS+ slower with many small concurrent writes and less precise for build tools and synchronization software that compare modification times.

When to choose HFS+ today

HFS+ is still a sensible choice for external mechanical hard drives and for disks that must work with Macs running macOS Sierra or earlier, which cannot read APFS. On rotating disks, APFS copy-on-write behavior can increase fragmentation and slow large sequential reads, so some media professionals keep archive drives in HFS+.

SituationRecommended formatReason
Internal SSD on a current MacAPFSRequired for startup disks since High Sierra
External hard disk for Macs onlyHFS+ or APFSHFS+ may perform better on spinning disks
Disk shared with macOS 10.12 or earlierHFS+Older systems cannot mount APFS
New Time Machine backup diskAPFSRequired since macOS Big Sur
Disk shared with WindowsexFATReadable on both platforms
Decision guide for formatting a disk

Since macOS Big Sur, new Time Machine backups go to APFS volumes, although macOS can continue an existing HFS+ backup. Older backups depended on directory hard links, a feature Apple added to HFS+ specifically so Time Machine could represent unchanged folders without copying them.

Common HFS+ problems and limitations

  • Silent data corruption: without data checksums, damaged files may go unnoticed until opened.
  • Catalog corruption: abrupt disconnection of an external drive can damage the catalog B-tree and require First Aid.
  • Fragmentation on full disks: performance drops as free space falls below roughly 10 to 15 percent.
  • Windows incompatibility: Windows cannot read HFS+ without third-party drivers.
  • Date range limit: HFS+ dates cannot extend past February 2040, a known long-term constraint.
  • Unicode normalization: HFS+ stores names in a decomposed form, which can confuse file synchronization with other systems.

The idea in brief

HFS+ is the way older Macs arranged files on a disk, like the index and shelving system of a library. It keeps a detailed catalog of every file and a diary of pending changes, so the disk can recover quickly after a crash.

Apple replaced it with APFS because modern Macs use fast flash storage and need stronger encryption and snapshots. HFS+ still works well for older external hard drives and for sharing disks with older Macs, but it cannot detect when stored files are slowly damaged.

A practical scenario

A video editing studio keeps finished projects on a shelf of 8 TB external hard drives. The studio still runs one Mac on macOS Sierra for an older capture card, so every archive drive must mount on that machine as well as on the newer Apple silicon Macs.

The technician formats each drive as Mac OS Extended (Journaled) with a GUID Partition Table. Because HFS+ lacks data checksums, the studio also stores a checksum list next to each project folder and verifies it twice a year. When a drive was once unplugged during a copy, First Aid repaired the catalog in under a minute thanks to the journal, and the checksum check confirmed that no project files had been damaged.