Ejecting a USB drive before unplugging it on a Mac prevents data corruption and file system errors. This guide shows you the safest and fastest ways to eject any external drive, from the Finder to the menu bar, and what to do when the standard methods fail.
What You’ll Need
- A Mac running macOS (any recent version works)
- The USB drive, external hard drive, or SD card you want to eject
Step-by-Step
Method 1: Using the Finder (Most Common)
- Open a Finder window by clicking the Finder icon in the Dock (the blue face at the far left).
- Look in the sidebar under Locations. You’ll see your USB drive listed there, usually with a name like “USB Drive” or the brand name.
- Click the small eject icon (a triangle with a line underneath) to the right of the drive’s name.
- Wait until the drive’s icon disappears from the sidebar. This means it’s safe to unplug.
Method 2: From the Desktop
- If you see the USB drive’s icon on your desktop, click it once to select it.
- Press Command + E on your keyboard. This is the universal eject shortcut.
- Alternatively, right-click (or Control-click) the drive icon and choose Eject from the menu.
- Wait for the icon to vanish before pulling the drive out.
Method 3: Using the Menu Bar
- Look at the menu bar at the top of your screen. If you have Finder active, you’ll see a File menu. Click it.
- Scroll down and select Eject. This will eject the currently selected drive (if you’ve clicked on it first).
- If you don’t see the drive selected, click the drive icon first, then use this menu.
Method 4: Using Spotlight (Quickest)
- Press Command + Space to open Spotlight search.
- Type the name of your USB drive (e.g., “USB Drive”).
- In the search results, look for the drive under Files or Devices.
- Press and hold Command and then press Return (or click the drive while holding Command). This will eject the drive directly.
Method 5: Using Disk Utility (If Nothing Else Works)
- Open Disk Utility (found in Applications > Utilities, or search with Spotlight).
- In the left sidebar, find your USB drive under External.
- Click the Eject button (the same triangle icon) in the toolbar.
- If this succeeds, the drive will disappear from the list.
Common Mistakes
- Pulling out without ejecting: This is the #1 cause of corrupted files. Always wait for the eject confirmation.
- Ejecting while a file is being copied: If you see a progress bar or the drive’s LED is blinking, wait until it stops. Ejecting mid-transfer can damage the file system.
- Ejecting the wrong volume: If your drive has multiple partitions, make sure you eject the correct one. Ejecting the whole physical drive (the top-level item in Disk Utility) is best.
- Ignoring the “Disk Not Ejected Properly” warning: This means you’ve pulled it out too soon. It’s a warning, not a suggestion.
Tips
- Use the keyboard shortcut: Command + E is the fastest way once you’ve selected the drive.
- Eject from the Dock: If you’ve added the drive to the Dock (drag it there), right-click the icon and select Eject.
- Set Finder to show all drives: Go to Finder > Settings > General and check “External disks” to always see them on the desktop.
- Use the menu bar extra: Some third-party apps add an eject icon to the menu bar, but you don’t need one—macOS has built-in methods.
- Check for open apps: If an app is using the drive (like a video editor), close that app first. The drive won’t eject until it’s released.
Troubleshooting
“Disk Not Ejected Properly” Error
This appears when you unplug without ejecting, or when the drive didn’t eject cleanly. It’s usually not a disaster. Reconnect the drive and try ejecting again properly. If it persists, run First Aid in Disk Utility.
Eject Option is Grayed Out
This means macOS thinks the drive is busy. Close any apps that might be using it (like Finder windows showing its contents). If that doesn’t work, try logging out and back in, or restart your Mac.
Drive Won’t Eject (“In Use” Message)
- Close all Finder windows that show the drive’s contents.
- Quit any apps that might be reading/writing to it (e.g., music players, backup software).
- If it still won’t eject, try Force Eject: hold the Option key and right-click the drive icon, then choose “Eject” (this bypasses the warning).
- As a last resort, you can use the Terminal command:
diskutil eject /dev/disk2(replace disk2 with your drive’s identifier fromdiskutil list). This forces an unmount.
Drive Doesn’t Appear at All
Try a different USB port, or connect it to another Mac. If it still doesn’t show, the drive may be physically damaged or need reformatting (which erases data).
Frequently Asked Questions
Is it really necessary to eject a USB drive on Mac?
Yes. macOS caches writes in memory, so unplugging without ejecting can leave files half-written, causing corruption. Ejecting flushes the cache and safely unmounts the file system.
What happens if I unplug without ejecting?
You’ll likely see a “Disk Not Ejected Properly” notification. In most cases, the data is fine, but there’s a risk of file corruption. If it happens repeatedly, the drive may become unreadable.
Can I eject a USB drive while copying files?
No. Wait until the copy finishes. If you eject during a transfer, the file will be incomplete and the drive may be damaged.
Why does my Mac say the drive is “in use” when nothing is open?
Background processes like Spotlight indexing, Time Machine backups, or antivirus scans might be accessing the drive. Give it a few minutes, or check Activity Monitor for processes using the drive.
Does ejecting a USB drive delete my files?
No. Ejecting is just a safe way to disconnect. Your files remain on the drive. It does not erase anything.
Can I eject multiple drives at once?
Yes. Hold the Option key and right-click any drive on the desktop, then choose “Eject All” (if available). Or, in Finder, hold Command and click each drive’s eject icon.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Photonic Inference vs GPU Inference: Key Differences16,384.00 µs
- Android Low Storage Survival Tips That Actually Work
- How to Password Protect PDFs on iPhone
- iPhone Force Restart Not Working? Fixes
- Add or Remove Keyboard Layout in Windows 10
- Razer Barracuda V2 Pro Dongle: Store & Find