The basic way to disconnect a USB device
To disconnect a USB device from your Mac, find the device icon on your desktop or in Finder, then drag it to the Trash. Your Mac will eject the device safely. You can also right-click the device icon and select "Eject" from the menu that appears. Either method tells your Mac to finish any pending writes to the device before physically removing it.
The reason you need to eject rather than just pull the cable out is that your Mac may still be writing data to the device even when you are not actively using it. If you disconnect while a write is happening, files can become corrupted or lost. Ejecting first ensures all data is safely written and the device is ready to be unplugged.
This process takes only a few seconds and protects everything stored on your USB device. It is one of the most important habits to build if you use external storage regularly.
Key Takeaways
- Always eject a USB device through Finder or by dragging to Trash before unplugging it from your Mac.
- Right-clicking a device icon and selecting "Eject" is faster than dragging to Trash if you have many icons on your desktop.
- If a device will not eject, check whether any files on it are open in an process, then try ejecting again.
- Unplugging a USB device without ejecting first can corrupt files, especially if your Mac was still writing data to it.
- External hard drives and some backup devices may require using their own software to eject safely instead of the standard Mac method.
Using Finder to eject a USB device
Open Finder and look in the sidebar on the left. Your USB device will appear under the "Locations" section with a small eject icon next to its name. Click that eject icon and the device will disconnect safely. The device name will disappear from the sidebar once ejection is complete.
This method is useful if your desktop is cluttered or if you prefer to keep your desktop clean. Finder gives you a single place to manage all connected devices without having to look at your desktop. You can also use the keyboard shortcut Command+E after selecting the device in Finder to eject it even faster.
What to do if a device will not eject
If you try to eject and see an error message saying the device is in use, a file on that device is currently open in an process. Check your open windows and close any files that came from the USB device. This includes documents, photos, videos, or any other files you may have opened from the device. Then try ejecting again.
If you still cannot eject after closing files, restart your Mac. A restart will close all applications and release any hold they have on the device. After restart, eject the device before opening anything from it again. If the problem continues, the device itself may have a hardware issue and you should contact the manufacturer.
Why you should not just unplug
Unplugging a USB device without ejecting is called a "force disconnect." Your Mac may still be writing data to the device at the moment you pull the cable out. If this happens, files on the device can become corrupted, meaning they will not open or will open with missing or scrambled data.
The risk is higher with larger files or when you have been copying many files to the device. Even if nothing appears to be happening on screen, your Mac may still be finishing up background writes. Ejecting first prevents this problem entirely and takes almost no time.
USB devices that need special steps to disconnect
Some USB devices like external hard drives or backup drives may ask you to use their own software to eject safely. Check the manual or the manufacturer's website for your specific device. If the device came with software, that software usually has an eject button you should use instead of the standard Mac eject method.
External SSDs (solid-state drives) and some newer portable hard drives often fall into this category. Using their software ensures the device powers down properly and protects any data still in its cache. Time Machine backup drives, for example, sometimes require ejecting through the Time Machine menu rather than through Finder.
Disconnecting USB hubs and multi-device setups
If you have a USB hub plugged into your Mac with multiple devices attached, eject each device individually first. Then eject the hub itself. This order matters because your Mac needs to know you are done with each device before it stops communicating with the hub.
If you eject the hub first, your Mac may not properly disconnect the individual devices, which can cause the same file corruption problems as unplugging without ejecting. Take the extra few seconds to eject in the right order. In Finder, you will see each device listed separately, so you can eject them one at a time.
Frequently Asked Questions
What happens if I unplug a USB device without ejecting?
Files on the device may become corrupted if your Mac was still writing data when you unplugged it. Corrupted files will not open or will open with missing information. Always eject first to avoid this problem.
Can I eject a USB device while files are copying to it?
No. Wait until the copy is complete, then eject. If you try to eject while copying is happening, your Mac will tell you the device is in use and will not let you eject.
Is there a difference between ejecting and unmounting?
In everyday use, they mean the same thing on a Mac. Both tell your Mac to stop using the device and prepare it for disconnection. You will see the word "eject" in Mac menus, not "unmount."
Do I need to eject USB flash drives, or just external hard drives?
You should eject all USB devices before unplugging them, including flash drives. Flash drives are smaller and faster, but your Mac still writes data to them and can still corrupt files if you disconnect without ejecting first.
Can I eject a device if I am still using files from it?
No. Your Mac will prevent you from ejecting if any files from the device are open. Close all files and applications that are using the device, then try ejecting again.