How to eject usb from mac
Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.
Last updated: April 4, 2026
Key Facts
- Dragging the USB icon to the Trash ejects the drive.
- Clicking the eject symbol in Finder ejects the drive.
- Ejecting ensures data is fully written and prevents corruption.
- Unmounting is the technical term for ejecting a drive.
- Disconnecting without ejecting can lead to data loss or file system errors.
What does it mean to eject a USB drive?
Ejecting a USB drive, also known as unmounting, is the process of safely disconnecting the drive from your Mac's operating system. When you eject a drive, you are telling your Mac that you are finished using it and that it can prepare for physical removal. This process ensures that all data writing operations are completed and that no data is lost or corrupted when the drive is unplugged.
Why is it important to eject a USB drive?
It is crucial to eject a USB drive before physically removing it from your Mac for several reasons:
- Data Integrity: Modern operating systems, including macOS, often use caching to speed up data transfer. This means that when you "save" a file to a USB drive, the data might not be immediately written to the physical drive. Instead, it might be held temporarily in the Mac's RAM (cache). Ejecting the drive flushes this cache, ensuring all data is written to the USB device before it's disconnected. Failing to eject can result in incomplete file transfers, corrupted files, or even a corrupted file system on the drive.
- Preventing File System Errors: When a drive is actively being written to or read from, its file system is in use. Suddenly removing the drive can interrupt these operations, potentially leading to errors within the file system structure. This can make the drive unreadable or cause data loss.
- Protecting the Drive: While less common, abrupt removal can sometimes cause minor physical stress to the drive's connection or internal components, especially with older or more fragile USB devices.
How to Eject a USB Drive from Your Mac
macOS provides multiple user-friendly ways to eject your USB drives:
Method 1: Dragging to the Trash (Desktop)
This is one of the most intuitive methods for many Mac users:
- Locate the USB drive's icon on your Mac's desktop. It usually appears as a small representation of the drive itself.
- Click and drag this icon towards the Dock.
- As you drag the icon over the Trash can icon in the Dock, the Trash can will transform into an Eject symbol.
- Release the mouse button when you see the Eject symbol.
- The drive's icon will disappear from the desktop, indicating it has been safely ejected. You can now physically remove the USB drive.
Method 2: Using the Finder Sidebar
This method is often preferred as it doesn't require the drive icon to be visible on the desktop:
- Open a Finder window by clicking the Finder icon (the blue smiley face) in your Dock.
- In the Finder window, look for the "Locations" or "Devices" section in the left-hand sidebar.
- You will see a list of all connected drives, including your USB drive, usually identified by its name.
- Next to the name of your USB drive, you will see a small "Eject" symbol (an upward-pointing arrow inside a curved bracket, like this: ⏏).
- Click this Eject symbol.
- The drive's name will disappear from the sidebar, or it may gray out, indicating it has been safely ejected. You can now physically remove the USB drive.
Method 3: Using Disk Utility (Advanced)
While less common for everyday use, Disk Utility can also be used to eject drives:
- Open Disk Utility. You can find it by going to Applications > Utilities > Disk Utility, or by using Spotlight search (Cmd + Spacebar and type "Disk Utility").
- In Disk Utility, select your USB drive from the list on the left sidebar. Make sure you select the correct volume or device.
- Click the "Eject" button located in the toolbar at the top of the Disk Utility window.
- Confirm if prompted. The drive will be unmounted.
Method 4: Force Eject (Use with Caution)
If a drive is unresponsive and won't eject using the standard methods, you might need to force eject. This should be a last resort, as it carries a higher risk of data corruption:
- Open Terminal (Applications > Utilities > Terminal).
- Type the command
diskutil listand press Enter. This will show you a list of all connected disks and their identifiers. - Identify your USB drive by its size and name. Note its identifier (e.g.,
disk2s1). - Type the command
diskutil unmountDisk /dev/diskX, replacingdiskXwith the identifier of your USB drive (e.g.,diskutil unmountDisk /dev/disk2s1). Press Enter. - If that doesn't work, you might need to force unmount with
diskutil unmountDisk force /dev/diskX.
Important Note: Force ejecting bypasses the normal safety procedures and should only be used if other methods fail and you understand the potential risks.
What if my Mac won't eject the USB drive?
Sometimes, your Mac might report that a disk is "in use" and cannot be ejected. This usually means an application or a background process is still accessing the drive. Here's what to do:
- Close All Applications: Ensure no applications are open that might be using files from the USB drive (e.g., word processors, photo editors, media players).
- Check Background Processes: Sometimes, system processes or background applications (like Time Machine if it's configured to back up to external drives, or cloud syncing services) might be accessing the drive. Try quitting these applications or processes if you can identify them.
- Restart Your Mac: A simple restart can often resolve issues where files are unexpectedly held open. After restarting, try ejecting the drive immediately.
- Use Terminal (Force Eject): As a last resort, use the force eject method described above via the Terminal.
Can I just pull out the USB drive without ejecting?
While it might seem convenient, pulling out a USB drive without ejecting it is generally not recommended. As explained earlier, it significantly increases the risk of data corruption, file loss, or damage to the drive's file system. The few seconds it takes to eject properly are well worth the peace of mind and protection of your data.
Summary
Always remember to eject your USB drives safely using either the drag-to-trash method or the Finder sidebar eject button before physically disconnecting them. This simple step is crucial for maintaining the integrity of your data and the health of your storage devices.
More How To in Daily Life
Also in Daily Life
More "How To" Questions
Trending on WhatAnswers
Browse by Topic
Browse by Question Type
Sources
- Eject a disk on Mac - Apple Supportfair-use
- USB flash drive - WikipediaCC-BY-SA-4.0
Missing an answer?
Suggest a question and we'll generate an answer for it.