Operating Systems

What is APFS?

APFS (Apple File System) is the file system on Macs, iPhones and iPads. It replaced HFS+ in 2017, adding snapshots, clones and native encryption.

What is APFS?

Apple File System (APFS) is the file system Apple uses across macOS, iOS, iPadOS, watchOS and tvOS. It replaced HFS+ (Mac OS Extended), which dated from the 1990s. Apple announced APFS in 2016, and macOS Sierra included only a developer preview. It first shipped as the default in 2017: iOS 10.3 converted iPhones and iPads, and macOS High Sierra (10.13) converted Mac startup disks on SSDs. macOS Mojave (10.14) extended the conversion to Fusion Drives and hard drives.

Key features

  • Containers and volumes: an APFS container can hold several volumes that share its free space, so you don't have to size each volume in advance.
  • Snapshots: read-only, point-in-time copies of a volume. macOS uses them for system updates and Time Machine.
  • Clones: copying a file on the same volume creates a clone almost instantly, and it takes no extra space until one copy changes.
  • Copy-on-write metadata: changes go to new blocks instead of overwriting old ones, which protects the file system if the Mac crashes or loses power mid-write.
  • Native encryption: built-in single-key or multi-key encryption, which FileVault uses on APFS Macs.
  • Designed for flash storage, including TRIM support on SSDs.

Disk Utility offers APFS in plain, encrypted, case-sensitive, and case-sensitive encrypted variants. Since macOS Catalina (10.15), the startup disk is split into a read-only System volume and a separate Data volume for user files, both in one container.

Disk Utility and First Aid

Disk Utility shows the storage hierarchy: a physical disk contains an APFS container, and the container holds one or more volumes. Choose View, then Show All Devices to see every layer. When repairing with First Aid, go in this order, because each layer depends on the one below it:

  1. Run First Aid on each volume.
  2. Then run it on the container.
  3. If problems remain, run it on the physical disk.

To repair the startup disk, run Disk Utility from macOS Recovery.

APFS and other platforms

File systemNative supportNotes
APFSmacOS High Sierra and later, iOS and iPadOSWindows can't read it without third-party software
exFATmacOS, Windows and most Linux systemsThe usual choice for a cross-platform external drive
FAT32Almost every OS and device4 GB maximum file size
NTFSWindowsmacOS can read it but can't write to it without extra software

For the CompTIA A+ exams

APFS is on the Core 1 (220-1201) acronym list, and this course covers Disk Utility with the macOS utilities for Core 2 (220-1202) objective 1.8. Know that APFS is the macOS file system, that an APFS drive won't work on a Windows PC without extra software, and that exFAT is the pick for sharing a drive between macOS and Windows. For First Aid, remember the order: volumes, then the container, then the disk.

Studying for CompTIA (Operating Systems)?

ExamWizardz turns the official objectives into a guided study plan — with practice tests, realistic PBQs, and a readiness score. Start free.

Start studying free

Related terms

at-rest encryption

At-rest encryption is the process of encoding data while it is stored on a device or in a database, providing an additional layer of security to protect sensitive information.

exFAT

exFAT (Extended File Allocation Table) is a modern file system designed by Microsoft to address the limitations of older file systems like FAT32, providing increased storage capacity and better support for large files and media devices.

ext4

ext4 (Fourth Extended Filesystem) is a modern journaling filesystem for Linux that serves as the successor to ext3, offering improved performance, reliability, and storage capacity through extents-based allocation, delayed allocation, and journal checksumming.

FAT32

FAT32 (File Allocation Table 32-bit) is a file system developed by Microsoft that is commonly used in digital devices, removable storage, and older operating systems.

iOS

iOS is the mobile operating system developed by Apple Inc. for its iPhone, iPad, and iPod Touch devices, providing a secure and user-friendly platform for a wide range of applications and services.

macOS

macOS is the proprietary operating system developed by Apple Inc. for its Macintosh line of personal computers, laptops, and servers.

NTFS

NTFS (New Technology File System) is a proprietary file system developed by Microsoft for Windows operating systems, providing advanced features for data storage, security, and file management.

TRIM

TRIM is a command that enables operating systems to inform solid-state drives (SSDs) which data blocks are no longer needed, allowing the drive to optimize performance by securely erasing unused blocks and preparing them for new data.