Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Unmount a Disk on Mac

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To unmount a disk on a Mac, open Finder and click the eject icon next to the disk's name in the sidebar, or right-click the disk and choose “Eject.” This safely stops the disk so you can remove it without risking data loss. You can also use the Disk Utility app or a Terminal command. The process is the same for external hard drives, USB flash drives, SD cards, and network volumes.

What You'll Need

  • A Mac with the disk connected (external drive, USB stick, SD card, or mounted network volume).
  • Administrator access if the disk is locked or managed by another user (rarely needed).
  • No files from that disk open in any app—if files are in use, unmounting will fail or warn you.

Step-by-Step

  1. Save and close all files that are on the disk. Check apps like Finder, Preview, Word, or any editor that might have documents open from that drive.
  2. Open Finder by clicking the Finder icon in the Dock (the blue face icon). The sidebar on the left shows your disks under “Locations” or “Devices.”
  3. Find the disk you want to unmount. It will appear with its name (e.g., “Untitled,” “My Passport,” or “Macintosh HD” for the internal drive—though you usually don’t unmount that).
  4. Click the eject icon (a small triangle over a horizontal line) to the right of the disk’s name in the sidebar. Alternatively, right-click (or Control-click) the disk and select “Eject.” If you don’t see the sidebar, press Command+Option+S to toggle it.
  5. Wait for the disk to disappear from the sidebar and the desktop. That means it’s unmounted. You can now safely unplug the cable or remove the card.
  6. If the disk doesn’t eject (you see an error like “Disk Not Ejected Properly”), try the Disk Utility method: open Applications > Utilities > Disk Utility, select the disk in the left sidebar, and click the “Unmount” button (a stop sign–like icon) in the toolbar.
  7. For network volumes (like a shared folder from another computer), the eject icon works the same way. If it’s mounted via SMB or AFP, you can also right-click the volume on the desktop and choose “Disconnect.”
  8. Terminal alternative (optional): Open Applications > Utilities > Terminal and type diskutil unmount /Volumes/DriveName (replace “DriveName” with the actual name, using spaces escaped with backslashes or quotes). For example: diskutil unmount /Volumes/My\ Drive. Press Return. You’ll see “Volume My Drive unmounted” if successful.

Note: Menu labels and icons may vary slightly depending on your macOS version and the type of disk, but the eject icon is consistent across recent versions.

Common Mistakes

  • Pulling the cable without unmounting: This can corrupt data or damage the file system. Always unmount first.
  • Ignoring the “in use” warning: If macOS says the disk is busy, it means an app is still accessing it. Force-ejecting (if offered) can cause data loss—close the app instead.
  • Unmounting the wrong disk: Double-check the disk name and size before ejecting. Unmounting your startup disk (Macintosh HD) will cause issues; you can’t unmount it while running macOS.
  • Using “Erase” instead of “Unmount”: In Disk Utility, “Erase” wipes the disk—do not click that if you only want to unmount.

Tips

  • Use the desktop: If you have “External disks” enabled in Finder > Settings > General, the disk appears on your desktop. You can drag it to the Trash (which changes to an eject icon) to unmount it.
  • Keyboard shortcut: Select the disk in Finder and press Command+E to eject it quickly.
  • For multiple disks: In Finder, hold Option and click the eject icon of a parent volume to eject all disks under it (e.g., a card reader with multiple slots).
  • Check Activity Monitor: If a disk won’t unmount, open Activity Monitor and look for processes using the disk (search by the disk name). Quit those processes.
  • For APFS multi-volume disks: If you have a single physical drive with multiple volumes (like a container), ejecting one volume may unmount the entire container. Be aware of that.

Troubleshooting

If the disk won’t unmount:

  1. Close all apps that might be using the disk. Check the Dock for apps with a dot under them—those are running. Quit them.
  2. Try the eject icon again after a few seconds. Sometimes a background process (like Spotlight indexing or Time Machine backup) is briefly using the disk.
  3. Restart your Mac: This clears all locks. After restarting, the disk should unmount normally. If it still doesn’t, the disk may be faulty.
  4. Use Disk Utility’s “Unmount” button—it sometimes works when Finder’s eject fails.
  5. Force unmount via Terminal: In Terminal, type diskutil unmount force /Volumes/DriveName. This forcibly unmounts the disk even if files are open, but it may cause data loss in those open files. Use as a last resort.
  6. Check for malware or security software: Some antivirus or backup tools can lock disks. Temporarily disable them and try again.
  7. If the disk is physically stuck (like an SD card): Ensure it’s not write-protected (slide the lock switch) and try a different USB port or card reader.

Frequently Asked Questions

What is the difference between unmounting and ejecting?

They are essentially the same on macOS. “Eject” is the user-friendly term used in Finder; “unmount” is the technical term used in Disk Utility and Terminal. Both safely stop the disk so you can remove it.

Can I unmount the internal drive (Macintosh HD)?

No, you cannot unmount the startup disk while macOS is running because the system files are in use. You can only unmount other internal volumes (like a separate data partition) if they aren’t the boot volume.

Why does my disk say “Disk Not Ejected Properly” after I unplug it?

That message appears when you unplug the disk without unmounting first. It’s a warning that data might not have been written completely. To avoid it, always eject before unplugging.

Does unmounting erase my data?

No. Unmounting only stops the Mac from accessing the disk. All files remain intact. It’s safe and reversible—just reconnect the disk and it will mount again.

Can I unmount a disk from the iPhone or iPad?

No, macOS is required. On iOS/iPadOS, you can only eject external drives from the Files app by tapping the eject icon next to the drive name, but that’s a different process.

What if I accidentally unmount a disk with unsaved work?

If you unmount a disk with unsaved files, macOS will usually warn you before ejecting. If you ignored the warning, the unsaved data may be lost. Check the app’s auto-save or recovery folders (like Word’s AutoRecover) for a chance to recover.