TechBuzzPro

Mac Sleep Disconnects Hard Drive: Fix It Step by Step

· 6 min read · Windows & PC

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

Yes, you can stop an external hard drive from disconnecting when your Mac sleeps. The fix is to stop macOS from putting the drive to sleep or from cutting power to its USB port. You do this by turning off “Put hard disks to sleep when possible” in Energy Saver (or Battery) settings, and by keeping the Mac awake with a utility or a simple system tweak. This guide walks you through the reliable methods, what to check first, and how to troubleshoot if the drive still drops.

What You'll Need

  • Your Mac and the external hard drive (plus its cable and power adapter, if it has one).
  • macOS Ventura or later for the steps that mention System Settings; older versions use System Preferences. Menu labels can differ slightly by version, device, or region.
  • Optional: a third-party utility such as Amphetamine (free on the Mac App Store) if you want to keep the Mac awake only while a drive is connected.

Step-by-Step

  1. Check the physical connection first. Unplug and replug the drive’s cable at both ends. If the drive has its own power adapter, make sure it is plugged into a wall outlet, not a power strip that switches off. Try a different USB or Thunderbolt port on the Mac, and avoid unpowered hubs — a bus-powered drive on a hub is the most common cause of random disconnects.
  2. Turn off hard disk sleep. Open System Settings (Apple menu > System Settings). Click Energy Saver (on a MacBook it may be called Battery and have an Energy Saver tab). Turn off Put hard disks to sleep when possible. On a MacBook, you may need to set this separately for Battery and Power Adapter.
  3. Stop the Mac from sleeping entirely (if needed). In the same Energy Saver pane, set Computer sleep to Never while you are using the drive. On a MacBook, this option may only appear when connected to power. If you still want the display to sleep, that is fine — display sleep does not cut power to USB ports.
  4. Prevent App Nap from idling the drive. App Nap can suspend apps that use the drive. Open System Settings > Battery (or Energy Saver) and look for Optimized video streaming or similar; more reliably, open System Settings > General > Login Items & Extensions and make sure no background helper is disabled. If you use a backup app, keep it running and set it to “prevent sleep” if the app offers that.
  5. Use a keep-awake utility for long transfers. Install Amphetamine from the Mac App Store (official source only). Launch it, choose Start, and in its preferences enable Allow display sleep but keep system awake. You can set it to start automatically when the drive mounts. This is the most reliable way to keep a drive connected during overnight copies.
  6. Eject safely before sleep if you cannot keep it awake. If you must let the Mac sleep, drag the drive icon to the Trash (which turns into Eject) or right-click it and choose Eject. Wait for the light to stop blinking before closing the lid. This prevents the “disk not ejected properly” warning and reduces the chance of corruption.
  7. Test with a short sleep. After changing settings, put the Mac to sleep manually (Apple menu > Sleep) for two minutes, wake it, and check whether the drive is still mounted in Finder. If it stays mounted, the setting worked.

Common Mistakes

  • Leaving the drive on an unpowered hub. Bus-powered drives draw more current than a hub can supply, especially during sleep. Plug directly into the Mac.
  • Only changing one energy profile. On a MacBook, Put hard disks to sleep can be set differently for battery and power adapter. Change both.
  • Assuming display sleep is the same as system sleep. Display sleep does not disconnect drives; system sleep does. Set the computer sleep slider, not just the display slider.
  • Using a third-party “cleaner” or “optimizer” that resets settings. Some utilities change energy settings without telling you. Check Energy Saver again after installing such tools.
  • Ignoring the drive’s own sleep timer. Some external enclosures have a firmware sleep timer. Check the manufacturer’s utility (if any) or documentation for a “sleep” or “power saving” option.

Tips

  • Keep the drive formatted with a macOS-friendly file system (APFS or Mac OS Extended) for best sleep behavior; exFAT and NTFS drives can behave differently.
  • If you use Time Machine, set it to back up to the drive and leave the Mac awake during backups. Time Machine can wake the drive, but a sleeping Mac may still drop it.
  • Label your cables. A flaky cable is a top cause of disconnects; swap it with a known-good one before changing settings.
  • For desktop Macs, system sleep is less aggressive; the main fix is still the hard disk sleep checkbox.

Troubleshooting

If the drive still disconnects, work through these in order:

  1. Restart the Mac. A simple restart clears temporary USB power states.
  2. Reset the SMC (Intel Macs only). Shut down, unplug power, then follow Apple’s official SMC reset steps for your model. Apple Silicon Macs do not have an SMC reset; skip this.
  3. Check Disk Utility. Open Disk Utility (Applications > Utilities) and run First Aid on the drive. If it reports errors, back up data immediately and consider reformatting.
  4. Try another Mac or another drive. This isolates whether the problem is the drive, the cable, or the Mac’s port.
  5. Update macOS. Apple occasionally fixes USB power bugs in updates. Install the latest official update from System Settings > General > Software Update.
  6. If nothing works, keep the Mac awake. Use Amphetamine or a similar official utility to prevent system sleep while the drive is connected. That is a reliable workaround even when the underlying cause is unclear.

Frequently Asked Questions

Why does my external hard drive disconnect when my Mac sleeps?

macOS cuts power to USB ports during system sleep to save energy. If the drive is bus-powered or slow to wake, it drops off. Turning off hard disk sleep and preventing system sleep fixes it.

Does “Put hard disks to sleep when possible” affect external drives?

Yes. That setting tells macOS to spin down idle drives, including many externals. Unchecking it keeps the drive active.

Will keeping my Mac awake damage the drive?

No. Drives are designed for continuous operation. The bigger risk is unsafe ejection, so always eject before unplugging.

Can I stop the disconnects without third-party apps?

Yes. Set computer sleep to Never in Energy Saver and turn off hard disk sleep. A utility is only needed if you want the Mac to sleep sometimes but keep the drive alive.

Is it safe to just unplug the drive after sleep?

No. Always eject first. Unplugging a mounted drive can corrupt files, especially if a backup or copy was in progress.

Does this work on MacBooks on battery?

Partly. On battery, macOS may ignore some energy settings. For reliable connections, keep the MacBook plugged in or use a keep-awake utility.