~/t/g/mac $

Mac external SSD disconnects after sleep? Check connections

gist Check whether the device or just its volume disappears, then compare a direct connection, another cable, and one sleep setting at a time.

contents
  1. Step 1: Check which connection disappears
  2. Step 2: Compare a direct connection
  3. Step 3: Change one cable, port, or enclosure
  4. Step 4: Compare sleep settings
  5. Step 5: Check the volume before reopening apps
  6. Compare the alternatives
  7. Common questions

If an external SSD disappears when your Mac sleeps, check whether the whole device vanished or only its volume stopped mounting, then test the connection or volume accordingly.

I use Android emulators and SDK on an external NVMe on my Mac mini. When a drive like that drops, the tools on it fail too, so check the volume is back before restarting them.

Before testing, back up important files while the drive is available. Save your work and close apps that use the SSD. Keep a note of the connection, power source, sleep duration, and result.

Step 1: Check which connection disappears

After waking the Mac, open Disk Utility and choose View > Show All Devices. This shows physical storage devices, their containers, and their volumes. Look for the device itself before checking its volume. Apple’s Disk Utility documentation

Read disk information:

diskutil list
diskutil info /Volumes/ExampleSSD

Replace ExampleSSD with your volume’s name. Quote the path if the name contains spaces. The volume-path command may fail when that volume is absent, so start with the disk listing. Both commands only read information.

What you see after wake Next check
Device and volume are present Open a known file in Finder, then restart the affected app.
Device is present, but the volume is unmounted Select the volume in Disk Utility and try Mount. Record any error.
Device is missing from Disk Utility Check the cable, port, enclosure power, and any hub or dock.
USB enclosure is also missing from System Information Compare a direct connection and another cable before changing disk settings.

For a USB enclosure, inspect System Information > Hardware > USB locally. For a Thunderbolt enclosure, check the corresponding hardware section. Keep serial numbers and other device identifiers out of shared reports.

Diagram: check drive visibility after wake before changing one connection or sleep setting at a time.
First find out what vanished, the device or just its volume. Then change one thing per test.

Step 2: Compare a direct connection

Connect the SSD straight to a compatible port on the Mac. Leave hubs, docks, and monitor USB ports out of this comparison. Use the drive’s supplied cable or a known compatible data cable.

Before changing connections, eject the mounted volume. Close apps using it if ejection fails. If it still cannot be ejected, shut down before disconnecting it. Apple’s ejection guidance

Compare the same sleep conditions:

  1. Confirm the volume is mounted and a known file opens.
  2. Put the Mac to sleep with apps using the SSD closed.
  3. Wake it after a similar interval to the usual failure.
  4. Repeat the visibility checks from Step 1.

If the direct connection works repeatedly while the dock connection fails, focus on that connection path. It does not identify which part of the dock, cable, or power arrangement caused the failure.

If the device remains missing, Apple recommends checking an external drive’s cable, connections, and power. Apple’s storage troubleshooting guidance

Step 3: Change one cable, port, or enclosure

Keep the sleep conditions the same and change one item:

  • Try another compatible data cable.
  • Try another compatible port on the Mac.
  • Check the enclosure’s power supply, if it uses one.
  • If practical, compare another compatible enclosure.

Record which change affects the result. A single successful wake is a reason to repeat the comparison, not proof of a lasting fix.

Avoid buying several replacements at once. Start with a cable or port you already have. If the drive also disconnects while the Mac is awake, continue checking the connection rather than treating sleep as the only trigger.

Step 4: Compare sleep settings

First inspect the configured power settings:

pmset -g custom

This displays settings for the available power sources. To review sleep and wake history, use:

pmset -g log

The history can help match a disappearance to a sleep or wake time. It does not identify a faulty cable or prove why the SSD disconnected. Both information options are documented in Apple’s pmset manual.

Keep the output local. If sharing an excerpt for support, remove private names, paths, and identifiers.

In System Settings, look for these controls:

Mac type Location in current Apple documentation
Laptop Battery > Options
Desktop Energy

Names and available controls vary by macOS release and Mac model. Apple documents Put hard disks to sleep when possible separately from Prevent automatic sleeping when the display is off. On laptops, the latter specifies operation on a power adapter. Apple’s sleep settings documentation

Try one comparison at a time:

  1. Note the original setting.
  2. Turn off Put hard disks to sleep when possible, if available.
  3. Repeat the same sleep and wake check.
  4. Restore the original setting if it makes no difference.

For a separate idle-time comparison, enable the option that prevents automatic sleep while the display is off. Keep a laptop on its power adapter for that comparison.

A drive staying connected while the Mac stays awake only narrows the trigger. It does not show that the connection survives system sleep. Preventing sleep can also increase power use.

Step 5: Check the volume before reopening apps

Once the SSD returns, confirm the expected volume is mounted. Open a known file before restarting an emulator, build tool, or other app that depends on it.

If mounting fails or files produce errors, make a current backup before using First Aid. First Aid checks formatting and directory structure; it is a different check from cable or power troubleshooting. Follow Apple’s instructions for checking volumes, containers, and then the device. Apple’s First Aid instructions

Do not erase the SSD as the first response to a sleep disconnect.

If the connection keeps failing, consider moving essential working files to internal storage. Check that there is enough space and update the affected app’s storage location.

Compare the alternatives

Option When it helps Tradeoff
Direct connection Checks whether the hub or dock path affects the failure Uses a port on the Mac
Another cable or enclosure Helps isolate a connection or enclosure problem Compatibility matters; replacement may cost money
Adjusted sleep behavior Checks whether disk sleep or automatic system sleep affects the symptom May increase power use and does not repair hardware
Internal storage Removes the external connection from an essential app’s storage path Uses internal capacity and requires moving files

Common questions

Why does my external SSD disappear after my Mac sleeps?

The symptom alone does not identify the cause. Check whether the physical device disappears, whether only the volume is unmounted, or whether just one app loses access. Then compare the cable, connection path, and sleep settings separately.

Does turning off hard disk sleep fix an external SSD?

It may change the behavior of a particular setup, but it is not a guaranteed fix. Test it under the same conditions. If nothing changes, restore the setting and continue checking the connection.

Is turning off the display the same as putting the Mac to sleep?

No. Apple provides a separate setting that allows the display to turn off while preventing automatic system sleep. A successful display-off comparison does not prove that an SSD survives system sleep. Apple’s sleep controls

What should I do if the SSD will not mount after waking?

Check whether the physical device appears in Disk Utility. If it does, select the volume and try Mount. If it does not, check the connection and power first. Record any mounting error before trying further changes.

Should I reformat an SSD that disconnects during sleep?

Not as the first step. Reformatting erases data and does not identify a cable, dock, or enclosure problem. Check visibility and connections first. Back up before any repair or erase operation.

Can a speed test tell me why the SSD disconnects?

A speed test measures performance while the drive is connected. It cannot prove that the drive will remain connected through sleep. Once the connection is stable, use the Mac disk speed test guide to check performance.

For a separate check of drive wear and reported errors, see what Mac SSD health numbers mean. Those readings answer a different question from whether an enclosure stays connected after wake.

../mac/ every Mac guide