Apple File System
The Apple File System (APFS) is a proprietary file system developed by Apple Inc. for its operating systems, including macOS, iOS, iPadOS, tvOS, watchOS, and visionOS.[1] Introduced in 2017, APFS became the default file system replacing the Hierarchical File System Plus (HFS+), starting with macOS High Sierra (version 10.13) and iOS 10.3.[2] Optimized for flash and solid-state drive (SSD) storage, it emphasizes performance, security, and efficiency through features like strong cryptographic encryption, copy-on-write metadata, space sharing across volumes, file and directory cloning, and snapshots for point-in-time data preservation.[3][2] APFS integrates encryption directly into its core design, enabling secure data protection across Apple's devices such as iPhone, iPad, Mac, Apple TV, Apple Watch, and Apple Vision Pro, without relying solely on separate tools like FileVault.[1] It uses a container-based structure where multiple volumes share disk space dynamically, allocating it on demand to optimize storage utilization on SSDs.[3] Compared to HFS+, APFS offers faster file operations, atomic safe-save mechanisms to prevent data corruption during writes, and improved resilience via snapshots that enable efficient backups and system recovery.[2] These capabilities make APFS particularly suited for modern Apple hardware, supporting both bootable and data volumes while maintaining compatibility with encrypted and non-encrypted configurations.[3]History
Development and Introduction
The Apple File System (APFS) was developed as a successor to the Hierarchical File System Plus (HFS+), which had been in use since 1998 but exhibited significant limitations in the era of solid-state drives (SSDs) and modern storage demands. HFS+ was originally designed over 30 years ago for floppy disks and hard disk drives (HDDs), featuring single-threaded operations and rigid data structures that led to suboptimal performance on SSDs, including poor optimization for flash storage wear leveling and a lack of native support for features like snapshots.[4][5] These shortcomings, such as vulnerability to data corruption during interrupted writes and inefficiency with large-scale files in gigabytes, prompted Apple to initiate APFS development around 2014 to better support its ecosystem ranging from the Apple Watch to the Mac Pro.[6] The project was led by key engineers at Apple, including Dominic Giampaolo, a senior software engineer in storage and file systems who served as the lead architect, and Eric Tamura, manager of local file systems. Giampaolo, previously known for his work on the Be File System, brought expertise in modern file system design to the effort. APFS was publicly announced at Apple's Worldwide Developers Conference (WWDC) in June 2016, where it was presented as a from-scratch implementation optimized for SSDs and engineered with security in mind.[6][5] APFS was introduced as the default file system in macOS High Sierra (version 10.13), released on September 25, 2017, initially supporting SSD-based systems for both bootable and data volumes. At launch, Apple highlighted key initial features including strong encryption with multiple key options (per volume, per file, or per extent), native snapshots for point-in-time backups and system rollbacks, instant cloning of files and directories without full duplication, and space sharing to efficiently allocate storage across multiple volumes within a single container.[7][5] Support for HDDs and Fusion Drives was added in a subsequent update to macOS High Sierra (version 10.13.4) on March 29, 2018, extending APFS compatibility to traditional spinning drives. Adoption of APFS accelerated following its introduction, with the macOS High Sierra installer providing a nondestructive in-place conversion from HFS+ for existing SSD-based systems, making it opt-in for upgrades but mandatory for new installations on SSD boot volumes starting in 2017. For HDD-equipped Macs, users could opt in via manual formatting or later updates, while all new macOS installations post-High Sierra defaulted to APFS on compatible hardware to leverage its performance benefits. By macOS Mojave (10.14) in 2018 and subsequent releases, APFS became the required file system for booting on SSDs, solidifying its role across Apple's platforms.[4][7]Versions and Updates
The Apple File System (APFS) has evolved through successive macOS releases, with version numbers tied to the underlying build identifiers that reflect incremental improvements in functionality, performance, and security. APFS debuted in macOS High Sierra (10.13) in September 2017 with version 748.1.46, initially optimized for solid-state drives (SSDs) and converting compatible volumes automatically during installation. Subsequent updates within High Sierra refined this foundation, such as version 748.21.6 in 10.13.1, which addressed snapshot stability issues.[8] In macOS Mojave (10.14), released in September 2018, APFS advanced to version 945.200.129, introducing support for hard disk drives (HDDs) and restoring compatibility with Fusion Drives, which had been dropped in High Sierra. This update enabled broader hardware support while maintaining encryption and snapshot capabilities. By macOS Catalina (10.15) in 2019, version 1412.11.7 added System Volume Groups and firmlinks for separating system and data volumes, enhancing security isolation. macOS Big Sur (11) in 2020 brought version 1677.50.1, incorporating signed system volumes, native Time Machine backups to APFS-formatted drives, and optimizations for Apple Silicon. Monterey (12) used versions 1933.x.x and 1934.x.x, with minor refinements like trim-on-mount for better storage efficiency.[8][9] Later releases continued this progression: macOS Ventura (13) in 2022 adopted version 2142.x.x, improving compatibility for Time Machine backups with prior APFS volumes from Monterey and enabling trimming of unified disk read-write (UDRW) images as sparse files for more efficient external storage handling. macOS Sonoma (14) shifted to 2235.x.x (up to 14.3) and 2236.x.x (14.4 onward) in 2023–2024, with incremental performance tweaks; Sonoma 14.6 in July 2024 fixed an APFS privacy issue (CVE-2024-40783) by restricting data container access, preventing malicious apps from bypassing user privacy preferences. macOS Sequoia (15), starting with version 2311.x.x in 2024 and updated through 15.7 in 2025, included further security enhancements, such as improved state management in APFS to mitigate unauthorized access to sensitive user data (CVE-2024-54541). macOS Tahoe (16), released in September 2025, introduced version 24xx.x.x with additional refinements for storage efficiency and security, including better support for Apple Intelligence features and snapshot optimizations.[10][11][12] APFS maintains strong forward compatibility across macOS versions, allowing newer systems to read and write volumes created on older ones, though advanced features like system volume groups require macOS 10.15 or later. Conversely, macOS 10.12 Sierra and earlier can only read APFS volumes (via developer tools) but cannot write or boot from them, ensuring no downgrades without third-party conversion tools. Bootable APFS volumes demand macOS 10.13 or newer, while data volumes are supported starting from 10.13 for full read/write access.[3][9] On iOS, APFS launched in version 10.3 (2017) with basic snapshot support for efficient backups, evolving alongside macOS; iOS 17 (2023) enhanced snapshot handling for faster iCloud synchronization and device restores, leveraging APFS's copy-on-write mechanism to minimize data duplication during updates. iOS 18 (2024) and iOS 19 (2025) further optimized APFS for Apple Intelligence, improving backup efficiency and integration with on-device processing. These updates prioritize stability and security, with Apple recommending the latest tools for volume management to avoid compatibility pitfalls in multi-boot setups.[13][14]Architecture
Containers and Volumes
The Apple File System (APFS) employs containers and volumes as its core organizational structures to manage storage efficiently at the disk level. An APFS container represents a single logical entity that encompasses the entire physical disk or a designated partition, overseeing the allocation of blocks and metadata for all associated volumes. This design enables multiple volumes to coexist and dynamically share the available physical space, allowing each to expand or contract as needed without requiring fixed size allocations in advance.[2] Volumes function as logical partitions housed within an APFS container, where each operates as a distinct file system complete with its own independent namespace for organizing files and directories. Managed through the container's object map, volumes store their specific metadata, such as superblocks and file system trees, enabling isolated mounting and access. A container supports a maximum of 100 volumes, each assigned a unique virtual object identifier from the container's file system array.[15] Starting with macOS 10.15 (Catalina), APFS introduces a specialized separation of the system volume and data volume to bolster system integrity and security. The system volume, designated with the role APFS_VOL_ROLE_SYSTEM, holds read-only operating system components and is sealed with cryptographic hashes to prevent tampering. In contrast, the data volume, marked as APFS_VOL_ROLE_DATA, accommodates mutable user files, applications, and other writable content. These volumes are logically combined into a volume group, appearing to users as a unified space while maintaining their distinct roles for protection.[16] APFS containers support multi-boot configurations by accommodating multiple bootable system volumes within the same shared space, such as for stable and beta macOS installations, along with supporting volumes like preboot (APFS_VOL_ROLE_PREBOOT) and recovery (APFS_VOL_ROLE_RECOVERY). This setup allows efficient resource utilization across operating system instances without duplicating storage.[15] Conversion from the legacy Hierarchical File System Plus (HFS+) to APFS entails creating a new APFS container on the target disk and migrating the existing HFS+ volumes into corresponding APFS volumes, ensuring no data loss through a structured process of metadata conversion, verification, and superblock updates. This non-destructive migration occurs automatically during upgrades to macOS High Sierra (10.13) or later, capitalizing on intentional architectural parallels between the two systems for seamless compatibility.[15]Partition Scheme
The Apple File System (APFS) employs the GUID Partition Map (GPT) as its underlying partitioning scheme, which is the standard for modern macOS installations on Intel and Apple silicon-based Macs. This scheme divides the physical storage device into partitions, where APFS operates primarily within designated containers that function as logical partitions. GPT enables support for disks larger than 2 terabytes and provides robust identification through unique GUIDs, ensuring compatibility with the Extensible Firmware Interface (EFI) boot process.[17][15] APFS containers are identified by the partition type GUID7C3457EF-0000-11AA-AA11-00306543ECAC, labeled as "Apple_APFS" in tools like Disk Utility. Unlike traditional fixed-size partitions, APFS containers are resizable and allocate disk space dynamically on demand, allowing the container to grow or shrink without reformatting the underlying GPT structure. This UUID-based identification ensures uniqueness across devices and facilitates operations like cloning or migration, where the container's UUID remains consistent even as its physical boundaries adjust. Supporting partitions, such as the EFI system partition (GUID C12A7328-F81F-11D2-BA4B-00A0C93EC93B), coexist alongside the main APFS container to store bootloaders and firmware essentials.[15]
In the macOS boot process, the EFI system partition loads the initial bootloader, which then accesses the APFS container to mount the root volume and proceed with system initialization. Additional specialized APFS partitions, like the Preboot volume (GUID 69646961-6700-11AA-AA11-00306543ECAC) for storing kernel caches and the Recovery volume (GUID 52637672-7900-11AA-AA11-00306543ECAC) for diagnostic tools, integrate seamlessly within the GPT layout to support secure and efficient booting, particularly for encrypted volumes. This setup contrasts with the predecessor Hierarchical File System Plus (HFS+), which relied on the "Apple_HFS" partition type (GUID 48465300-0000-11AA-AA11-00306543ECAC) and required separate physical partitions for distinct volumes or functions, such as system and data areas. APFS streamlines this by consolidating multiple volumes into a single resizable container, eliminating the need for multiple dedicated partitions and enabling shared free space allocation for greater efficiency.[15]
Key Features
Cloning and Snapshots
APFS supports efficient cloning of files and directories through its copy-on-write (COW) mechanism, which enables instantaneous duplication without initially copying the underlying data blocks. When a file or directory is cloned, APFS creates a new inode referencing the same physical blocks as the original, marked by flags such asINODE_WAS_CLONED and INODE_WAS_EVER_CLONED in the inode structure.[15] This shared storage persists until modifications occur to either the clone or the original, at which point new blocks are allocated via COW to maintain data integrity.[15] Users can perform cloning at the command line using the cp -c option for files or cp -Rc for directories, ensuring space-efficient copies within the same volume.[18]
Snapshots in APFS provide read-only, point-in-time representations of an entire volume, capturing its state without duplicating data through the same COW architecture. These snapshots are created using the tmutil localsnapshot command or the fs_snapshot_create system call, allowing for quick generation typically in milliseconds regardless of volume size.[19] Once created, snapshots are stored as metadata records in the volume's B-tree structures, including details like creation time and extent references, and can be listed or deleted via Disk Utility or command-line tools like tmutil listlocalsnapshots.[20] They serve as the foundation for Time Machine local backups and enable rollbacks to previous states.[19]
At the core of both cloning and snapshots is APFS's block-based COW implementation, which organizes metadata and data extents in B-tree structures for efficient mapping and updates. The object map (omap) B-tree maps virtual object IDs to physical addresses, facilitating COW operations by redirecting writes to new locations while preserving historical references in snapshots.[15] Each volume supports a theoretical maximum of UINT32_MAX snapshots, though practical limits are imposed by available storage space and system resources.[15] Exemptions from COW, such as for certain system files, are tracked via extended attributes to ensure compatibility.[15]
A primary use case for APFS snapshots is during macOS system updates, where the installer automatically creates a snapshot before applying changes, allowing users to revert to the pre-update state if issues arise.[19] This feature enhances reliability for software installations and maintenance tasks, such as restoring from local snapshots in recovery mode.[20]
Encryption and Security
APFS provides native support for full-volume encryption, utilizing the AES-XTS algorithm with either 128-bit or 256-bit keys depending on the hardware.[21] This encryption is applied at the file system level, protecting both file data and metadata across volumes.[15] On devices with A14 through A18 or M1 through M4 processors, APFS employs AES-256 in XTS mode, where a 256-bit per-file key is subdivided for per-extent encryption to enhance granularity and performance.[21] Older hardware, such as A9 through A13 or S5 through S9, uses AES-128 in XTS mode with corresponding 128-bit tweaks and cipher keys.[21] This built-in capability integrates seamlessly with FileVault, Apple's full-disk encryption feature, which leverages APFS to secure all data at rest on the boot volume without requiring additional third-party tools. Key management in APFS relies on a hierarchical structure centered around volume encryption keys (VEKs) and key encryption keys (KEKs). Each APFS volume is created with a default VEK that encrypts its contents, including metadata, while per-file keys—derived and managed by the Secure Enclave—are used for individual file protection.[15] These keys are generated using a true random number generator within the Secure Enclave and can be derived from user credentials, such as passwords or passcodes, via PBKDF2, or from hardware-bound unique identifiers (UIDs) tied to the device. Multi-key support is enabled through keybags, which store multiple wrapped keys (e.g., user, device, escrow, or iCloud recovery keys) associated with volume group UUIDs, allowing flexible access control and recovery options without exposing plaintext keys to the application processor.[15] On Macs with T2 chips or Apple Silicon, the Secure Enclave handles key derivation and storage, ensuring keys remain isolated and protected even if the main storage is removed.[21] APFS defines security levels through Data Protection classes, mapped to numeric identifiers: SL 1 (Class A, Complete Protection), SL 2 (Class B, Protected Unless Open), SL 3 (Class C, Protected Until First User Authentication), SL 4 (Class D, No Protection), and additional classes like SL 6 (Class F) or SL 14 (Class M) for specialized uses. These levels determine file accessibility based on device state—such as locked, after first unlock, or during specific operations—with keys unlocked progressively via user authentication.[21][22] SL 1 provides the highest protection, requiring authentication before access and becoming inaccessible shortly after the device locks, while SL 3 (the default for most user data on modern Apple Silicon devices) becomes accessible after the first user authentication following reboot and remains accessible until the next reboot. In modern macOS on Apple Silicon devices, the default is SL 3 (Class C), balancing accessibility and security for most user data after initial unlock.[21][22] To optimize performance, APFS leverages hardware acceleration via dedicated AES engines in Apple Silicon SoCs and T2 security chips, enabling inline encryption and decryption of NAND flash storage without software overhead.[21] This hardware integration ensures that cryptographic operations occur transparently during I/O, with keys never exposed outside the Secure Enclave, thereby maintaining high throughput even for encrypted volumes. For external or unsupported storage, APFS falls back to software-based encryption, but internal volumes on compatible hardware benefit from this acceleration for efficient full-volume protection.[15]Compression and Space Sharing
APFS supports transparent inline compression applied to individual files, which reduces overall storage space usage and minimizes write operations to extend the lifespan of SSDs. This compression is handled automatically by the file system without user intervention, allowing files to be stored in a compressed form on disk while appearing uncompressed to applications. The algorithms employed include LZVN for fast compression suitable for Apple platforms, LZFSE for efficient compression, and Zlib for balanced performance across systems.[23] A key aspect of APFS is space sharing, where multiple volumes within a single container dynamically share the available free space without fixed quotas or pre-allocated partitions. This allocation occurs automatically as needed, with the space manager allocating and freeing blocks across volumes to optimize storage efficiency. Unlike traditional partitioning schemes, this approach eliminates wasted space from underutilized volumes and simplifies management in multi-volume environments.[24][25] APFS imposes generous theoretical limits to support massive datasets, allowing up to 9 quintillion files per volume and a maximum volume size of 8 exabytes. These limits stem from the file system's 64-bit architecture, enabling scalability for large-scale storage needs on modern hardware.[26][24] In multi-volume setups, such as the separation of system and data volumes in macOS 10.15 and later, space sharing provides efficiency by allowing the read-only system volume and writable data volume to dynamically utilize the container's shared pool without rigid size constraints. This design enhances storage utilization while maintaining logical separation for security and maintenance purposes.[1][25]Data Protection
Integrity Mechanisms
APFS ensures the integrity of its metadata through the use of checksums embedded in every file system object. Each object includes a Fletcher-64 checksum, a non-cryptographic hash computed over the object's data excluding the checksum field itself, stored in theo_cksum field of the obj_phys_t structure. This 8-byte checksum is verified during read operations to detect any alterations or corruption in metadata blocks, such as those representing B-trees, inodes, and other structural elements. The Fletcher-64 algorithm, consisting of two 32-bit accumulators, provides efficient detection of errors with low computational overhead, suitable for frequent metadata access.[15]
In contrast to metadata, user data blocks in APFS do not receive file system-level checksumming, relying on the error-correcting code (ECC) capabilities of the underlying NAND flash hardware for bit error detection and correction. This design choice balances integrity assurance with the efficiency demands of modern SSDs, where metadata—being smaller in volume—is prioritized for checksum validation to safeguard overall file system consistency.[15][27]
Additionally, the Signed System Volume (SSV), introduced in macOS Big Sur, uses SHA-256 cryptographic hashes in a Merkle tree structure to verify the integrity of both system metadata and data, with a root seal checked at boot to prevent tampering.[28]
A core integrity mechanism in APFS is its copy-on-write (COW) approach to metadata modifications, which eliminates the risk of partial writes that could corrupt structures during power loss or crashes. When updating metadata, such as an inode or B-tree node, APFS allocates a new block, copies the unchanged portions, applies modifications, computes the checksum, and writes the new version to disk. Only after successful writing does the file system update the parent pointer to reference the new block, leaving the original intact until garbage collection. This atomic update process, combined with periodic checkpoints that snapshot the container's root state, ensures that the file system always mounts to a consistent, valid configuration without requiring fsck repairs in most failure scenarios.[15]
APFS eschews traditional journaling mechanisms found in predecessors like HFS+, opting instead for COW and checkpoints to achieve equivalent or superior consistency guarantees for metadata. HFS+ employed a dedicated journal to log and replay pending transactions, but this introduced overhead and vulnerability to journal corruption. In APFS, the absence of journaling reduces write amplification on flash media while leveraging COW to provide transactional semantics inherently, resulting in stronger metadata protection overall. However, this shift means user data lacks the proactive integrity logging of HFS+, placing greater emphasis on storage-level reliability for long-term data preservation.[15]
Crash Protection
The Apple File System (APFS) employs a copy-on-write (COW) metadata scheme to provide robust crash protection, ensuring that file system updates are atomic and consistent even in the event of power failures or system crashes. Unlike traditional journaling file systems, which incur a "write-twice" overhead by logging changes before committing them, APFS's COW approach modifies metadata by writing new versions to unused space rather than overwriting existing data. This mechanism guarantees that operations such as file creation, deletion, or directory renames either complete fully or roll back entirely, preventing partial updates that could lead to inconsistencies.[24][15] APFS further enhances recovery through snapshot-based mechanisms, where the file system maintains read-only snapshots of volumes at key points, such as during boot or major updates. In the case of a crash, the system can automatically revert to the most recent valid snapshot or checkpoint, restoring a consistent pre-crash state without data loss. These snapshots are integral to bootable volumes in macOS, allowing the recovery partition to mount and repair from a known-good state if the primary volume is compromised. This design leverages the container's space management to store ephemeral objects that protect against interruptions, ensuring quick and reliable recovery on SSD storage.[15][20] For post-crash repair, APFS includes thefsck_apfs utility, which scans and fixes inconsistencies by verifying redundant metadata structures like checkpoints, B-trees, and object maps. The tool uses transaction identifiers (xids) to validate the integrity of ongoing operations, repairing issues such as orphaned inodes or mismatched snapshots without requiring full volume scans in most cases. It operates in modes for checking, repairing, or dry-running, and is invoked automatically by Disk Utility's First Aid or manually in recovery environments.[29][15]
While APFS's COW and snapshot features offer efficient crash protection tailored to flash storage, they introduce some performance considerations during intensive write operations on SSDs. The need to allocate new blocks for each modification can increase CPU usage for metadata management, particularly under heavy workloads like large file copies or frequent updates, though this is mitigated by in-memory caching for ephemeral objects. Overall, this approach avoids the I/O penalties of journaling while maintaining strong consistency.[24][15]
Limitations
Performance Characteristics
APFS is optimized for solid-state drives (SSDs), leveraging features like TRIM support to maintain high performance by allowing the operating system to inform the SSD of unused blocks for efficient garbage collection. This integration helps sustain consistent read and write speeds, particularly as the drive fills. The file system's copy-on-write (COW) metadata scheme further aids SSD wear leveling by minimizing write amplification, distributing data blocks to avoid concentrated wear on specific cells. Apple's documentation highlights that these optimizations enable high-performance parallelized metadata operations.[2][30][31] On hard disk drives (HDDs), APFS faces notable limitations stemming from its COW-based random access patterns, which promote metadata and file fragmentation over time. This results in excessive seek operations by the mechanical read/write head, degrading performance for operations involving scattered data. Independent analysis shows file enumeration times on APFS-formatted HDDs ranging from 3 to 20 times slower than on HFS+-formatted equivalents, with initial listings taking about 80 seconds versus 20-27 seconds, worsening to 300-380 seconds after repeated cycles. Due to these issues, Apple has not recommended APFS for mechanical drives in versions prior to 2018 updates, as the system's design prioritizes flash storage characteristics.[32][33] APFS provides built-in defragmentation that can be enabled via command-line tools, such asdiskutil apfs defragment, along with opportunistic defragmentation for files exceeding 20 MB during access. However, these features do not significantly improve performance on HDDs. APFS lacks support for third-party defragmentation tools traditionally used with HFS+. As of macOS 26 (Tahoe) in 2025, performance issues on rotational media persist.[34][35][2][36][37]
For key metrics, file creation and deletion on SSDs benefit from near-instant COW clones, often completing in milliseconds, while on HDDs these operations can extend to seconds due to physical constraints.
Compatibility Issues
Prior to macOS Big Sur (version 11, released in 2020), Time Machine backups on APFS-formatted volumes were incompatible with native APFS snapshots, necessitating a workaround using a sparsebundle disk image to emulate an HFS+ file system within the APFS container.[38] This approach relied on hard links for efficient incremental backups but introduced overhead and limitations, such as the inability to leverage APFS's direct snapshot capabilities.[39] With the introduction of Big Sur, Time Machine gained native support for APFS volumes, enabling faster and more efficient backups without the sparsebundle intermediary.[40] APFS provides native read and write support exclusively on Apple platforms, including macOS, iOS, iPadOS, tvOS, and watchOS, due to its proprietary design optimized for these ecosystems.[1] On non-Apple operating systems like Windows or Linux, APFS volumes are not natively readable or writable, requiring third-party drivers—such as Paragon APFS for Windows—for access, where read support is generally available but write functionality remains limited and may not fully support advanced features like snapshots or encryption.[41] Downgrading an APFS volume to HFS+ (Mac OS Extended) is not possible through non-destructive conversion, as the file systems have fundamentally different structures; reverting requires erasing the volume entirely via Disk Utility, which deletes all data and necessitates a full backup and restore process beforehand.[42] This limitation stems from APFS's container-based architecture, which cannot be directly mapped back to HFS+ without reformatting the underlying physical disk or partition.[43] Some legacy applications encounter compatibility issues when running on APFS volumes, particularly in early implementations like macOS High Sierra, due to differences in how extended attributes and file metadata are handled compared to HFS+.[44] For instance, Adobe Illustrator CC 2017 exhibited launch failures and file access problems on APFS-formatted drives, as the software relied on HFS+-specific behaviors for extended attributes that were not yet fully compatible.[44] In APFS, extended attributes are stored separately from file inodes and data, which can disrupt older apps expecting integrated metadata storage, though subsequent macOS updates and app patches have mitigated many such issues.[45] As of 2024, APFS continues to have incompatibilities including the expansion of sparse files when moved or copied, the loss of clone file preservation during such operations, the inability to copy snapshots in backups, and lack of support for directory hard links.[46]Platform Support
macOS Integration
Apple File System (APFS) has been the default file system for all new installations of macOS High Sierra (version 10.13) and subsequent releases on Mac computers equipped with flash or solid-state storage. This shift prioritizes APFS's optimizations for SSDs, including features like snapshots and space sharing, while maintaining compatibility with external and mechanical drives formatted in other systems. For users upgrading from earlier macOS versions, the installer automatically converts compatible HFS+ volumes on solid-state drives to APFS non-destructively, preserving data and enabling seamless adoption without manual intervention.[3] macOS integrates APFS with platform-specific security enhancements, notably signed system volumes introduced in macOS Catalina (10.15). This mechanism splits the boot volume into a read-only system volume and a writable data volume within an APFS container, using cryptographic hashes and a Merkle tree structure to verify file integrity and prevent tampering. APFS snapshots underpin this by supporting atomic updates and rollback if installations fail, ensuring system stability. In macOS Big Sur (11.0) and later, the signed system volume incorporates sealed snapshots, which mount the OS read-only with a cryptographic seal verified at boot, further bolstering protection against malware and unauthorized changes.[47] APFS volume management in macOS is facilitated through built-in tools tailored for user accessibility and advanced control. Disk Utility offers a graphical interface for creating, resizing, erasing, and deleting APFS volumes within containers, with options to set quotas or reserves for space allocation and view snapshots directly. For command-line operations, thediskutil utility provides APFS-specific verbs, such as diskutil apfs addVolume to create new volumes, diskutil apfs cloneVolume for efficient cloning via copy-on-write, and diskutil apfs snapshot to generate point-in-time snapshots for backups or testing. These tools enable precise handling of APFS features like encryption and cloning without third-party software.[48][49]
As of macOS Sequoia 15.7.2 (November 2025), APFS receives full native support across all compatible hardware, serving as the exclusive file system for boot volumes on Apple Silicon Macs (M-series chips and later). APFS continues to serve as the foundational storage layer for macOS, with no alternatives available for internal system volumes on these devices.[50]