Why Your External Drive Keeps Disconnecting on Mac
Random disconnections are worse than a drive that won't eject. Here's how to track down why your external drive keeps dropping its connection on macOS.
There’s a special kind of frustration reserved for external drives that disconnect themselves without warning. No error first, no chance to save. Just the sudden appearance of the “Disk Not Ejected Properly” notification, and you’re left hoping your files are intact.
Random disconnections are different from ejection failures. With an ejection failure, at least you’re in control. You tried to eject, it said no, and you can decide what to do. With random disconnections, the drive just vanishes while you’re using it.
The usual suspects
Most random disconnections come down to a few physical causes that are easy to overlook.
The cable. This is the number one cause, and people always assume it’s something more complicated. USB cables degrade over time. The internal wires develop micro-fractures, especially near the connectors where the cable bends repeatedly. A cable can charge your phone fine but fail under the sustained data transfer load of an external drive.
Try a different cable. If the disconnections stop, throw out the old one. Don’t keep it around thinking it’s “mostly fine.”
The port. USB ports accumulate dust and debris. On laptops, the ports get flexed every time you shift the machine. Try a different port on your Mac. If you’re using a USB hub, try connecting directly to the Mac instead.
Power delivery. Some external drives, especially 2.5-inch portable hard drives, draw power from the USB port. If your Mac can’t supply enough power (common with hubs, docks, or when many devices are connected), the drive will disconnect intermittently. Bus-powered drives are particularly sensitive to this.
If your drive has an option for external power, use it. If it’s USB-only, connect it directly to your Mac rather than through a hub.
USB power management
macOS aggressively manages USB power to extend battery life. On laptops, the system can reduce power to USB ports when it thinks the connected device is idle.
The problem is that “idle” to macOS might mean “not actively transferring data right now.” Your drive could be mounted, have files open, and be ready for use, but if there’s no active I/O, the system might reduce port power. Some drives handle this gracefully by entering their own sleep state. Others lose their connection entirely.
You can check if this is happening by opening Console (Applications > Utilities) and filtering for “USB” or “IOUSBHost” messages. Look for entries around the time of disconnections that mention power state changes or device removal.
There’s no user-facing toggle to disable USB power management entirely. Keeping your Mac plugged into power (rather than running on battery) reduces the aggressiveness of power management and can help.
Energy Saver and sleep settings
When your Mac sleeps, it can disconnect external drives. This is normal behavior, but the reconnection on wake doesn’t always work smoothly.
Check System Settings > Energy (or Battery on laptops). Look for “Put hard disks to sleep when possible.” This setting tells macOS to spin down external hard drives after a period of inactivity. When the drive spins down and the system later tries to access it, the wake-up can fail, resulting in a disconnection.
Disabling this setting keeps external drives active. It uses slightly more power but prevents the sleep-wake disconnection cycle.
For SSDs, this setting is less relevant since SSDs don’t spin, but macOS can still put the USB interface to sleep, which causes similar problems.
Filesystem checks running in the background
When macOS detects that a drive was not ejected properly (from a previous session), it may run a filesystem check the next time you connect it. These checks, especially fsck_apfs or fsck_exfat, consume significant I/O and can interfere with normal drive operations.
If the check encounters serious errors, it might prevent the drive from mounting at all, or the drive may remain in a grayed-out state in Disk Utility while the check runs. From your perspective, the drive just vanished or never appeared.
Check Console for fsck messages after a disconnection. If the drive keeps triggering filesystem checks, it may have underlying corruption that needs to be addressed with Disk Utility’s First Aid tool.
Hub and dock issues
USB hubs and docking stations add complexity between your Mac and your drive. Each hub is a potential point of failure.
Cheap hubs often can’t handle sustained data throughput to multiple devices. If you have a drive and other USB devices connected through the same hub, the hub’s bandwidth might not be enough.
Thunderbolt docks are generally more reliable than USB hubs, but they have their own firmware that can cause issues. Check the manufacturer’s website for firmware updates if you experience disconnections through a dock.
Some hubs don’t properly implement USB power delivery negotiation. The drive connects, negotiates a certain power level, and then the hub can’t sustain it under load. The drive disconnects when it starts doing heavy I/O.
When the drive itself is failing
Sometimes random disconnections are an early warning sign that the drive is dying. SSDs and hard drives both have internal health monitoring (SMART data) that can indicate problems before a complete failure.
On Mac, you can check SMART status through Disk Utility. Select the drive and look at the bottom of the window for SMART Status. “Verified” means the drive thinks it’s fine. “Failing” means replace it immediately.
For more detailed SMART data, you’ll need a third-party tool. But even the basic check in Disk Utility is worth doing if disconnections are frequent and unexplained.
Track down the cause
Random disconnections are harder to diagnose than ejection failures because they happen unpredictably. Start with the physical layer: try a new cable, a different port, and a direct connection to your Mac.
If the physical checks don’t solve it, look at the software layer. Console logs around the time of disconnection will tell you whether it was a power issue, a filesystem problem, or something else.
For the ejection side of the equation, when your drive does stay connected and you need to disconnect it properly, Ejecta makes sure you can eject cleanly every time. Preventing the “Disk Not Ejected Properly” warnings means fewer filesystem checks on reconnection, which means fewer disconnection cascades. It’s a small thing that breaks a frustrating cycle.