File system

What is the Mac file system?

Three design choices sit under almost everything macOS does with storage. Here is what they are and where each one surfaces.

9 min read

What is the Mac file system? It is APFS. macOS has used it on startup disks since 2017. It puts volumes inside a container. Volumes share free space. It never overwrites a block in place. Those three choices explain most Mac storage surprises.

People ask what is the Mac file system after a storage number surprises them. None of the three choices is visible from Finder.

Key facts. APFS replaced HFS+ as the Mac startup format in 2017. A container holds volumes that share free space. Five formats cover almost every drive you will plug in. The table below lists them one per row. Updated 26 November 2026.

What is the Mac file system built to do?

A drive on its own stores numbered blocks and nothing else. It has no idea what a folder is, which blocks belong together or what any of them are called.

A file system is the bookkeeping laid over those blocks. It answers two questions. Which blocks hold this file and which blocks are free to write to.

The second question is where most Mac storage confusion begins.

Why did the Mac file system change from HFS+?

macOS ran on HFS+ for close to twenty years. Apple shipped it in January 1998 with Mac OS 8.1, when a large drive held four gigabytes.

Its limits came from that era. File identifiers were 32 bits wide so one volume topped out near 4.29 billion files. Its date range stops on 6 February 2040.

APFS became the default with macOS High Sierra in 2017 and has sat under every Mac startup disk since. Apple built it for flash storage from the first line, with encryption treated as part of the file system rather than a layer added over the top.

The head to head between the two formats is in what actually changed between APFS and Mac OS Extended.

What is an APFS container?

Under HFS+ each partition held exactly one volume with its size written into the table. Growing one meant shrinking another.

APFS puts a layer in the middle. Inside a partition sits an APFS container with a fixed size. Volumes live inside it and a container can hold several.

Everything the volumes hold in common, free space, snapshot records and the crash protection machinery, belongs to the container rather than to any one volume. That is why Disk Utility asks you to repair a container before a volume.

Layers of the Mac file system, from the physical drive down to volumes inside an APFS container Physical drive Partition, fixed size APFS container, fixed size Preboot hidden VM hidden Recovery hidden System no writes Data your files One pool of free space, drawn on by every volume above No volume above has a size of its own. The container does.
The layer that did not exist under HFS+ is the container. Volumes sit inside it and share one pool of space so none of them carries a capacity you can point at.

Why does a Mac volume have no size of its own?

Apple states the rule plainly. The space available to a volume is the size of the container minus the space used by every volume inside it. APFS reserves nothing in advance. A volume takes what it needs and gives back what it stops using.

Every volume in a container reports the same free figure for that reason. Disk Utility allows a reserve and a quota per volume but neither is applied by default.

A container that starts a Mac is also fuller than it looks. From macOS 10.15 onward it carries at least five volumes. Three of them stay hidden.

  • Preboot. Whatever it takes to start each system volume. Hidden and unencrypted.
  • VM. The encrypted swap files macOS writes. Hidden.
  • Recovery. Whatever it takes to start recoveryOS. Hidden.
  • System. macOS itself plus every application Apple ships. Visible.
  • Data. Your home folder and everything else that changes. Visible.

Install a second copy of macOS in the same container and it gets its own System and Data pair. Preboot, VM and Recovery stay shared.

What is a file in the Mac file system?

A file is not a lump of data sitting in one place. It is a record carrying a number, a set of attributes and a list of where its content lives on disk.

The number is the inode. APFS gives them 64 bits, which puts the ceiling above nine quintillion files on a single volume. HFS+ used 32 bits for the same job and stopped near 4.29 billion. Nobody will meet either ceiling. Apple Mail applies the same idea to email, because it saves each message as its own small file, which what an EMLX file contains shows in practice.

Extents describe the content itself. An extent is a start block and a length, meaning this file continues here for this many blocks. A file edited across years has many, scattered wherever there was room.

That indirection makes everything else possible. A clone is two files pointing at one set of extents. A snapshot records which extents a volume held at a moment. Copy on write writes a new extent and moves a pointer.

How does copy on write work on a Mac?

Change a file on APFS and the old blocks stay where they are. The new content goes to free blocks somewhere else. The file system updates its pointers to the new location only after that write finishes.

The old blocks go back to the free pool when nothing refers to them any more.

An interrupted write is survivable. Cut the power halfway through a save and the pointers still describe the previous version.

It carries a consequence people meet without knowing the cause. Freeing a block and deleting a file are separate events. A block with something still pointing at it never returns to the pool, which is the mechanism behind space that will not come back after a delete. The other half of that story is whether the data itself stays readable, which is what deleting a file on APFS actually removes.

What are APFS clones?

Duplicating a file on APFS copies no bytes at all.

The file system creates a second name pointing at the same blocks as the first. Both are real files and neither is a shortcut. Only the blocks that differ take storage of their own.

A four gigabyte duplicate can cost nothing on the day you make it. Finder still reports four gigabytes for each copy because that is how much data each one contains.

What are APFS snapshots?

A snapshot records what a volume looked like at one moment. It is read only. Taking one costs close to nothing, because it amounts to a set of references to blocks that already exist.

Related reading. Why a macOS update needs more space than it says.

It grows as the volume moves on because every replaced block is kept while the snapshot points at it.

macOS does this to itself. From macOS 11 onward the Mac starts from a snapshot of the system volume so what is running cannot be altered.

Time Machine keeps snapshots on the internal disk too and they can hold a large block of space.

What is a volume group on a Mac?

A startup container holds a pair of volumes that macOS calls a volume group. One carries the operating system and accepts no writes. The other carries everything that changes while the Mac runs. Why a Mac shows two Macintosh HD volumes explains the split.

Where does encryption sit in the Mac file system?

Apple designed APFS with encryption inside the file system.

Three arrangements exist. No encryption, a single key for the whole volume or a key per file with a separate key for metadata. Your hardware and macOS version decide which you get.

Encryption is a property of the volume rather than the container or the drive. One volume can be encrypted while another beside it is not.

How does the Mac file system compare with other formats?

External drives keep whatever format they were given. Five formats turn up on Mac drives.

FormatUsed forMac readMac write
APFSMac startup disks and flash storageYesYes
HFS+ (Mac OS Extended)Older Macs and spinning disksYesYes
exFATDrives shared with WindowsYesYes
FAT32Old cameras and small sticks with a 4GB file limitYesYes
NTFSWindows internal drivesYesNo by default

Mail and Outlook data sits inside these formats too. The MacXTools product catalogue lists the email tools built for Mac data.

So what is the Mac file system, layer by layer?

Read it from the outside in. A drive holds a partition. A partition holds a container. A container holds volumes and a volume holds files. A file is a set of pointers to blocks.

Three behaviours run through the whole arrangement. Space is shared rather than divided so no volume has a size. Blocks land somewhere new rather than over the top so an interrupted save loses nothing. References are counted rather than copies made so two files can share the same data and a snapshot can hold a moment still.

Almost every Mac storage question that starts with why comes back to one of those three.

Common questions

What is the Mac file system called on a new Mac?

If it starts from an internal drive and runs macOS High Sierra or later, yes. APFS has been the default for Mac startup disks since 2017. External drives keep whatever format they were given.

What is the difference between a container and a partition?

A partition is a fixed slice of the drive. A container sits inside a partition and holds volumes that share its space freely. The volumes inside no longer have a fixed size.

Why does every volume show the same free space?

Because they draw on the same pool. Free space belongs to the container and each volume reports what is left.

Why does duplicating a large file take no space?

APFS creates a second name pointing at the same blocks rather than copying them. Storage counts only for the parts that differ once the copies change.

What are the extra volumes I never created?

Preboot, VM and Recovery. macOS creates them, hides them and needs all three to start the Mac. None of them is a sign that anything has gone wrong.

Is a snapshot the same as a backup?

No. A snapshot lives on the same container as the data it refers to so anything that takes the drive takes the snapshot with it. It protects against a bad change, not against a lost disk.

Sources

Every version number and figure above traces back to one of these pages. Last verified on 26 November 2026.

  1. Role of Apple File System, on space sharing, the five startup volumes and snapshot booting Apple Platform Security
  2. File system formats available in Disk Utility on Mac, on APFS as the default from macOS 10.13 Apple Support
  3. Apple File System Guide, Features, on cloning, snapshots and the copy on write design Apple Developer Archive
  4. APFS containers and volumes, on the layer HFS+ did not have The Eclectic Light Company
  5. HFS Plus, on the January 1998 release with Mac OS 8.1 and the 2040 date limit Wikipedia