How to Fix “Disk Not Ejected Properly” Warning on macOS External SSDs
Diagnostic Overview: Why Do External Drives Disconnect During Sleep?
When macOS enters system sleep, it commands external USB/Thunderbolt controllers to enter low-power D3 state. Certain external enclosure bridge chips (ASMedia, Realtek, JMicron) misinterpret this power reduction signal as a full disconnect, triggering the “Disk Not Ejected Properly” notification.
The Permanent pmset Resolution
Adjust system power management so external drives do not sleep prematurely while connected to mains power:
# Disable disk sleep on AC power:
sudo pmset -c disksleep 0
# Check active power assertions preventing sleep:
pmset -g assertions
Step 2: Run First Aid on the External APFS/exFAT Volume
# Run diskutil repair on the affected external disk:
diskutil list
diskutil verifyVolume /Volumes/YourExternalDrive
diskutil repairVolume /Volumes/YourExternalDrive
Still running into this issue on your iPhone or Mac?
Ask in Community Forum →
Share your OS version, device model, and exact error code in our independent peer Q&A rooms.