TechBuzzPro

How to Eject a USB Device on MacBook: Step-by-Step

· 5 min read · Mac

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

To eject a USB device on a MacBook, open Finder, locate the device under Locations in the sidebar, and click the small eject icon next to its name. Alternatively, right-click the device icon on the desktop and choose Eject, or drag the icon to the Trash (which turns into an Eject symbol). This safely unmounts the drive so you can disconnect it without risking data corruption. Before you start, make sure no files are open from the USB device and that no apps are actively writing to it.

What You'll Need

  • Your MacBook with the USB device connected.
  • Finder open (click the Finder icon in the Dock).
  • No apps currently using files on the USB drive.

Step-by-Step

  1. Close any open files or apps using the USB device. Check for documents, photos, or media players that might still have files open from the drive. If you are unsure, quit apps like Word, Photoshop, or VLC. This prevents “disk in use” errors.
  2. Open Finder. Click the Finder icon (the smiling face) in the Dock. A Finder window should appear. If not, choose File > New Finder Window from the menu bar.
  3. Locate the USB device in the sidebar. Under the “Locations” section, you should see the name of your USB drive (e.g., “Untitled” or a brand name). If the sidebar is hidden, choose View > Show Sidebar.
  4. Click the eject icon. Hover over the device name in the sidebar; a small eject symbol (a triangle with a line under it) appears to the right. Click it. The device will disappear from the sidebar and desktop, indicating it is safe to remove.
  5. Alternative: right-click the desktop icon. If the USB device icon is visible on your desktop, right-click (or Control-click) it and choose Eject “[Device Name]” from the context menu.
  6. Alternative: drag to Trash. Click and hold the USB device icon on the desktop, drag it to the Trash icon in the Dock. The Trash icon changes to an Eject symbol while hovering. Release the mouse button to eject.
  7. Wait for confirmation. The device icon disappears from Finder and the desktop. You may hear a sound (if enabled) or see a brief message. Once the icon is gone, you can physically disconnect the USB device.

Note: Menu labels and icon appearances can differ slightly depending on your version of macOS and your Mac model. The steps above apply to recent versions of macOS; older versions may have a slightly different sidebar layout.

Common Mistakes

  • Pulling the drive without ejecting first. This can cause data loss or corruption, especially if files are being written. Always eject before removing.
  • Ejecting while an app is using the drive. If you try to eject while a file is open, macOS will warn you that the disk is in use. Close the app or file and try again.
  • Ignoring the “disk not ejected properly” warning. If you see this message, it means the drive was removed without ejecting. Reconnect it and eject properly next time to avoid potential damage.
  • Dragging the wrong icon to the Trash. Make sure you drag the USB device icon, not a folder or file, to avoid accidentally deleting data.

Tips

  • Enable “Show these items on the desktop” for external disks in Finder > Settings (or Preferences) > General to easily see USB drives on the desktop.
  • Use the keyboard shortcut Command+E to eject the selected device in Finder.
  • If you frequently use USB drives, consider keeping the Finder sidebar visible for quick access.
  • Always eject before shutting down or restarting your Mac to prevent errors.

Troubleshooting

If the device does not eject or you encounter errors, try these steps in order:

  1. Check for open files. Quit all apps that might be using the drive. Use Activity Monitor (in Applications > Utilities) to see if any process is accessing the disk.
  2. Restart your Mac. A restart can clear temporary locks. After restarting, try ejecting again.
  3. Force eject via Disk Utility. Open Disk Utility (Applications > Utilities), select the USB device from the left sidebar, and click the Eject button in the toolbar. If that fails, try First Aid to repair the disk, then eject.
  4. Use Terminal (advanced). Open Terminal and type diskutil list to identify the disk identifier (e.g., disk2). Then type diskutil eject disk2 (replace disk2 with your identifier). Press Return. This forces ejection.
  5. If still stuck, shut down your Mac. Once the system is off, it is safe to remove the USB device. Then restart.

If none of these work, the drive may be malfunctioning. Try it on another computer to see if it mounts and ejects properly there.

Frequently Asked Questions

Do I really need to eject a USB drive before removing it?

Yes, it is best practice. Ejecting ensures all writes are flushed and the file system is cleanly unmounted, preventing data corruption. While modern file systems are more resilient, skipping ejection can still cause issues.

What happens if I remove the USB without ejecting?

You might lose data that was being written, or the drive could become corrupted. macOS may also display a warning that the disk was not ejected properly.

Can I eject a USB drive from the menu bar?

Yes, if the drive icon appears in the menu bar (some external drives show up there), you can click it and choose Eject. Alternatively, use the Finder sidebar or desktop icon.

Why is the eject button greyed out or missing?

The drive may be in use by an app, or it might be a network drive that cannot be ejected. Check for open files and try again. If it is a network drive, disconnect from the server instead.

Is it safe to eject while the Mac is asleep?

It is better to wake the Mac first. Ejecting while asleep might not work properly. Wake the Mac, then eject.

How do I eject a USB drive if Finder is not responding?

Try force quitting Finder (Option+Command+Esc, select Finder, click Relaunch). If that fails, restart your Mac. As a last resort, shut down and then remove the drive.