Disk could not be unmounted

Apple

Disk Utility or the eject button cannot unmount a volume because a file or process is still using it — something is reading, writing, or has files open on the disk.

Check your exact device first. Codes and procedures vary by model and software version. Back up important files before recovery. Stop if a device is overheating, smells burnt, or has a swollen battery.

CHOOSE HOW YOU WORK

Clear help. Useful detail.

Start with the checks below. Tick a step after you try it, and keep a note of what changed. You can stop as soon as the original task works.

What can cause it?

  • Finder window open to the drive
  • Time Machine actively backing up to the drive
  • Terminal session in the drive's directory
  • Background sync tool (Dropbox, iCloud) using the drive

What to try

Work through one step at a time
Your troubleshooting progress0 steps tried
  1. Quit All Apps Using the Drive

    Close any apps that might have files open on the drive — Finder windows showing the drive, Terminal sessions with the drive in the path, backup software, etc.

  2. Find the Blocking Process with lsof

    Open Terminal and run: sudo lsof /Volumes/DriveName to list all processes using files on that drive. Quit those applications.

  3. Force Unmount in Terminal

    Run: diskutil unmountDisk force /dev/diskX (find the disk number with: diskutil list). Use with caution — force-unmounting while writing data can cause corruption.

  4. Log Out and Eject Before Login Window

    Log out from your account (Cmd+Shift+Q) without shutting down. Before logging back in, eject the drive from the login screen.

How did it go?

Test the original task again. A completed checklist doesn’t by itself mean the problem is fixed.

If the error comes back

Record the full error, your exact model, software version, and the steps you tried. Share these with the manufacturer or a qualified technician. A repeated code needs a diagnosis, especially if it involves storage, heat, or power.

Find the instructions for your model

Apple official support

This is a general support link. This reference guide has not been checked against a model-specific source in this update.