Other EJECT01Medium

Disk Not Ejected Properly Error on macOS

A detailed guide to troubleshooting the 'Disk Not Ejected Properly' error on macOS. Includes causes, diagnostics, and step-by-step solutions for various types of external drives.

Updated at February 13, 2026
15-45 min
Medium
FixPedia Team
Применимо к:macOS VenturamacOS MontereymacOS Big SurmacOS Catalina

Error "The disk was not ejected properly" on macOS

The message "The disk was not ejected properly" is one of the most common errors on macOS that users encounter when working with external drives. This problem can lead to data loss and file system corruption.

Causes of the Error

The disk ejection error on macOS occurs for several reasons:

  • Active file usage — an application is still accessing files on the external disk
  • Incomplete data writing — data is being copied or written in the background
  • File system issues — corruption of the disk structure
  • Driver or power conflicts — insufficient power to the USB port
  • macOS malfunctions — system errors affecting drive operations

How to Fix the Error

Method 1: Standard Ejection via Finder

  1. Open Finder
  2. In the left sidebar, locate your external disk
  3. Right-click on the disk
  4. Select "Eject"
  5. Wait for the disk icon to disappear from the sidebar

Method 2: Ejection via Finder Menu

  1. In Finder, select FileEject (or use the keyboard shortcut Cmd+E)
  2. If the disk is selected in the sidebar, it will be ejected

Method 3: Using Terminal

Open Terminal and run the following command:

diskutil list

Find your disk name in the list (for example, MyExternalDrive). Then run:

diskutil eject /Volumes/MyExternalDrive

Replace MyExternalDrive with the actual name of your drive.

Method 4: Force Ejection

If standard methods do not work:

  1. Open Activity Monitor
  2. Search for "diskidle" or "fseventsd"
  3. Terminate processes related to the external disk
  4. Try to eject the disk again

Method 5: Checking the Disk in Disk Utility

  1. Open Disk Utility
    • Path: ApplicationsUtilitiesDisk Utility
  2. Select your external disk in the sidebar
  3. Click "First Aid"
  4. Wait for the check to complete and follow the on-screen instructions

Preventing Ejection Issues

To avoid the "The disk was not ejected properly" error in the future:

  • Always use safe ejection — do not pull out the disk without warning
  • Check the activity indicator — ensure that no files are being copied
  • Close applications — close all programs using the disk before ejection
  • Use quality cables — power issues can cause errors
  • Regularly check the disk — run "First Aid" as a preventive measure

Additional Terminal Commands

View the list of connected disks

diskutil list

Information about a specific disk

diskutil info /Volumes/MyExternalDrive

Mounting/unmounting a disk

diskutil unmount /Volumes/MyExternalDrive
diskutil mount /Volumes/MyExternalDrive

Force unmounting

diskutil unmountForce /Volumes/MyExternalDrive

Common Scenarios and Solutions

Error when ejecting a USB flash drive

  1. Check if Finder is open with files from the flash drive
  2. Close all documents from the flash drive
  3. Use the command diskutil eject

Error when ejecting an external hard drive

  1. Stop all copying operations
  2. Check Disk Utility for errors
  3. Ensure that the disk is receiving enough power

Error when ejecting an SD card

  1. Close the Photos app or any other applications using the card
  2. Use safe ejection in Finder

Conclusion

The error "The disk was not ejected properly" on macOS is a system warning about potential data threats. Follow the recommendations for safe ejection of drives, and you will avoid file loss and disk corruption.

If the problem recurs regularly, check the disk for physical damage and consult a specialist for diagnosis.

F.A.Q.

Why does the 'Disk Not Ejected Properly' message appear?
Can data be lost with this error?
How to safely eject a disk on macOS?

Hints

Check Disk Usage
Use Safe Eject
Force Eject
Check Disk in Disk Utility
FixPedia

Free encyclopedia for fixing errors. Step-by-step guides for Windows, Linux, macOS and more.

© 2026 FixPedia. All materials are available for free.

Made with for the community