What a Disk Utility Error Means
A Disk Utility error is a message from the built-in macOS utility indicating it cannot perform an operation on a disk (verification, repair, unmounting). It can appear when running First Aid, formatting, or attempting to mount a volume.
The full error text often includes a code, such as:
Disk Utility failed with error code -50The operation couldn’t be completed. (NSURLErrorDomain error -50.)Unable to verify diskFile system verify or repair failed
The error typically occurs when working with an internal or external drive (SSD, HDD, USB flash drive) and indicates issues at the file system level (APFS, HFS+) or hardware malfunctions.
Causes
- File system corruption — improper shutdown, write failure, virus attack.
- Hardware issues with the drive — SSD/HDD wear, bad sectors, unstable cable connection (for external drives).
- Software conflicts — third-party disk utilities, antivirus software, third-party file systems (e.g., NTFS drivers).
- Insufficient access permissions — if Disk Utility is run by a standard user and the disk is protected.
- Corrupted cache or temporary files — system disk caches may contain invalid data.
- APFS partition issues — APFS container failure, metadata corruption.
Solution 1: Basic Restart and Retry
Sometimes the error is temporary and caused by another process locking the disk.
- Close Disk Utility.
- Restart your Mac (Apple menu → Restart).
- After booting, open Disk Utility (
Applications → Utilities → Disk Utility). - Select the disk in the left panel and click First Aid.
- If the error recurs, proceed to the next solution.
Solution 2: Run First Aid in Safe Mode
Safe Mode boots macOS without third-party kernel extensions and login items, eliminating conflicts.
- Shut down your Mac.
- Turn on your Mac and immediately hold the Shift key until the Apple logo and loading indicator appear.
- After booting into Safe Mode, open Disk Utility.
- Select the disk and run First Aid.
- If the operation succeeds, restart your Mac normally.
Solution 3: Verify and Repair via Terminal
Terminal provides low-level diskutil commands that sometimes bypass graphical interface limitations.
- Open Terminal (
Applications → Utilities → Terminal). - List disks:
Find your disk's identifier (e.g.,diskutil listdisk2ordisk2s1). - Verify the volume:
Replacediskutil verifyVolume /dev/disk2s1disk2s1with your identifier. - If verification finds errors, attempt repair:
For APFS containers, you may need:diskutil repairVolume /dev/disk2s1diskutil apfs repairContainer disk2 - After completion, check the disk in Disk Utility.
Solution 4: Use a Bootable Installer for Recovery
If the system won't boot or Disk Utility cannot repair the system disk, an external bootable media is required.
- On another Mac, create a bootable USB installer with macOS (use
createinstallmedia). - Connect the installer to the problematic Mac and hold the Option (Alt) key during startup.
- Select the bootable media from the startup menu.
- After booting, choose Disk Utility from the Utilities menu.
- Select the system disk and run First Aid or Recover.
- If needed, reinstall macOS (user data will be preserved).
Solution 5: Check the Drive's Hardware Health
If errors persist, the problem may be with the drive itself.
- For SSDs/HDDs, use the manufacturer's utility (e.g., Smart Utility or Disk Drill) to check S.M.A.R.T. status.
- For external drives, try a different cable or USB/Thunderbolt port.
- Test the disk on another computer — if the error reproduces, the drive is likely faulty.
- Back up important data and replace the drive.
Prevention
- Regularly back up your data via Time Machine.
- Do not interrupt Disk Utility operations (especially First Aid and formatting).
- Avoid physical shocks to your laptop or drive while in use.
- Update macOS to the latest version — Apple regularly fixes file system bugs.
- Use high-quality cables for external drives and always eject them safely.
- Run First Aid monthly as preventative maintenance against accumulating errors.