Disk Utility is the built-in macOS app for managing internal and external drives, and mastering it means knowing how to erase, format, partition, and repair disks safely using the correct settings for your Mac and your data. This guide covers every core feature, walks through the exact steps for common tasks like erasing a drive or running First Aid, and explains the APFS vs. Mac OS Extended decision so you can use the tool with confidence.
What Is Disk Utility and Why It Matters
Disk Utility has been part of macOS for decades, evolving from a simple formatting tool into a full-featured disk manager. It handles four main jobs:
- First Aid – checks a disk for errors and repairs directory problems.
- Erase – wipes a disk and applies a new file system format.
- Partition – divides a physical drive into multiple volumes or containers.
- Restore – copies one disk or volume to another, often used to clone a drive.
You open it from Applications > Utilities > Disk Utility, or by pressing Command+Space and typing “Disk Utility.” The sidebar shows all connected disks and volumes. A physical disk (like “APPLE SSD” or “SanDisk Extreme”) is the actual hardware; volumes are the formatted sections that appear on your desktop. Most operations target the volume, but erasing or partitioning a whole disk requires selecting the physical disk.
Understanding APFS vs. Mac OS Extended
When you erase or format a drive, you must choose a file system format. The two you will see most often are:
- APFS (Apple File System) – the default for macOS 10.13 High Sierra and later. It is optimized for SSDs and offers fast directory sizing, snapshots, and space sharing between volumes. Use it for any internal SSD and most external SSDs.
- Mac OS Extended (Journaled) – the older HFS+ format. It works on both HDDs and SSDs and is still useful for external drives that need to be read by older Macs (pre-High Sierra) or by macOS versions that do not support APFS.
For a mechanical hard drive (HDD), either format works, but Mac OS Extended is often recommended for compatibility with Time Machine on older systems. For a solid-state drive (SSD), APFS is the better choice because it reduces write amplification and supports TRIM more efficiently. If you are not sure which to pick, choose APFS for any drive you will use only with a Mac running High Sierra or later.
A common misconception is that APFS cannot be used on HDDs. It can, but performance may be slightly slower than HFS+ due to the way APFS allocates space. For external HDDs that you share with Windows or older Macs, consider ExFAT instead.
How to Erase a Drive Correctly
Erasing a drive permanently deletes all data and applies a new format. To do it safely:
- Back up any data you need – erasing is irreversible.
- Open Disk Utility and select the physical disk (not the volume) in the sidebar.
- Click Erase in the toolbar.
- Give the drive a name (e.g., “Backup”).
- Choose a format: APFS or Mac OS Extended (Journaled) for Mac-only drives; ExFAT for cross-platform use.
- Choose a scheme: GUID Partition Map is the default and required for bootable macOS drives. For external data drives, GUID is still recommended.
- Click Erase and wait for the process to finish.
If the Erase button is greyed out, you may have selected a volume instead of the whole disk, or the disk is the current startup disk (you cannot erase the disk you booted from). To erase the startup disk, you must boot into macOS Recovery (restart and hold Command+R) and use Disk Utility from there.
Using First Aid to Repair Disk Problems
First Aid checks the disk’s structure and repairs minor issues like corrupt directory entries or invalid block counts. It does not fix hardware failures or recover deleted files.
To run First Aid:
- Select the volume (or disk) you want to check.
- Click First Aid in the toolbar.
- Click Run and enter your admin password if prompted.
- Wait for the verification and repair process to complete. It may take several minutes on large drives.
If First Aid reports an error it cannot fix, the disk may be failing. Back up your data immediately and consider replacing the drive. For the startup disk, you may need to run First Aid from macOS Recovery if the system cannot boot.
First Aid is safe to run on a working drive – it only reads and repairs metadata, so it will not delete your files. However, it is always wise to have a backup before running any disk repair tool.
Partitioning and Adding Volumes
Partitioning divides a physical disk into multiple volumes that appear as separate drives. For example, you can split a 1TB external drive into a 500GB Time Machine volume and a 500GB general storage volume.
To partition:
- Select the physical disk in the sidebar.
- Click Partition in the toolbar.
- Click the + button to add a partition.
- Drag the divider to set the size, or enter a size in the field.
- Choose a format for each partition.
- Click Apply.
With APFS, you can also create APFS volumes that share the same free space dynamically. This is different from traditional partitioning: volumes can grow and shrink as needed. To add an APFS volume, select an existing APFS container and choose Add APFS Volume from the Edit menu.
Partitioning erases the data on the disk, so always back up first. You cannot partition the startup disk while macOS is running; you must use Recovery.
Restore and Clone a Disk
The Restore feature copies the contents of one volume or disk to another. It is useful for creating a bootable backup or migrating to a new drive.
To restore:
- Select the destination volume (the one you want to overwrite).
- Click Restore in the toolbar.
- Choose the source volume from the dropdown (or drag it in).
- Click Restore and confirm.
The destination is erased and replaced with an exact copy of the source. The source must be a volume, not a physical disk. This method works well for cloning a bootable macOS drive, but for a more reliable clone, third-party tools like Carbon Copy Cloner or SuperDuper are often recommended because they preserve more metadata and are more flexible.
Note that Restore does not compress data or create a disk image – it is a direct copy. For creating an archived image, use File > New Image > Image from Folder.
Common Mistakes and Troubleshooting
Several errors are common when using Disk Utility:
- Erase greyed out – You selected a volume, not the physical disk, or the disk is the startup disk. Select the parent disk or boot into Recovery.
- First Aid fails – The disk may be physically failing, or the volume is mounted. Unmount the volume first (click the eject icon) and try again.
- Partition button greyed out – The disk may be using a partition map that does not support resizing, or it is the startup disk.
- APFS not available – Older macOS versions (pre-High Sierra) do not support APFS. Use Mac OS Extended instead.
- Cannot erase external drive – The drive may be locked, or the USB cable is faulty. Try a different port or cable.
If Disk Utility itself crashes or freezes, restart your Mac and try again. For persistent issues, boot into Safe Mode (hold Shift during startup) and run First Aid from there.
Disk Utility vs. Other Tools
Disk Utility is not the only disk management tool. Alternatives include:
- Terminal commands –
diskutiloffers more granular control, such as erasing with specific block sizes or scripting operations. - Third-party apps – Tools like DriveDx or SMART Utility provide advanced health monitoring, while Carbon Copy Cloner offers more robust cloning.
- macOS Recovery – The Recovery environment includes Disk Utility and is the only way to repair or erase the startup disk.
For most users, Disk Utility is sufficient. The main limitation is that it does not show SMART status (hard drive health) in a user-friendly way – you can check it via Terminal with smartctl or use a third-party tool.
Frequently Asked Questions
Does Disk Utility erase data securely?
No. Disk Utility’s Erase does not perform a secure wipe; it simply removes the file system structure, and the data may be recoverable with specialized software. For secure erasure, use Erase > Security Options and choose a higher number of passes, or use diskutil secureErase in Terminal. Note that on SSDs, secure erase is not effective due to wear leveling; consider using FileVault encryption instead.
Can I use Disk Utility to recover deleted files?
No. Disk Utility cannot recover deleted files. For that, you need data recovery software like Disk Drill or PhotoRec, which scan the raw disk for remnants. The best way to “recover” is to have a backup – Time Machine or a clone.
Why is my external drive not showing up in Disk Utility?
First check if it appears in Finder or System Information. If not, try a different USB port or cable. If it appears but is greyed out, the drive may be formatted with a file system macOS cannot read (like NTFS). Disk Utility will show it but may not allow certain operations. You can use Terminal’s diskutil list to see if the system detects it.
What is the difference between APFS and Mac OS Extended for Time Machine?
Time Machine works with both, but APFS is the default for new backups on macOS Catalina and later. APFS supports snapshots, which Time Machine uses for faster backups. However, if you need to use the same drive with an older Mac (pre-High Sierra), choose Mac OS Extended.
Is it safe to run First Aid on my main drive?
Yes, First Aid is read-only and safe to run on a mounted volume. It may unmount the volume temporarily, but it will not delete data. If the drive is the startup disk, you can run First Aid from Recovery mode if the system is unstable.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Best Mini PCs for Gaming: Top Picks
- Phone Buttons: Clever Ways to Use Them
- Resonance Solstice Codes: What They Are
- Data Center Security: Encryption, Backups, Access
- Blue Protocol Star Resonance: Best Graphics Settings for Smooth FPS
- Jack Daniel’s Ransomware: Data Stolen?