• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

AppleToolBox

Tools and Fixes for Mac, iPad, iPhone & iWatch

Search posts

  • About
  • Contact

CONNECT WITH US

CATEGORIES

  • iPhone
  • iPad
  • iPod
  • Apple Watch
  • Mac/MacBook
  • AirPods
  • Apple TV
  • News
  • Apple Services
  • HomePod
  • Reviews

SITE

  • Home
  • About Us
  • Contact
  • Advertise

Search posts

You are here: Home / Mac / How to Eject USB From Mac

How to Eject USB From Mac

By Andrew Myrick 0 comments Last updated August 2, 2023

We’ve all been there before. You’re in a rush, so you disconnect your MacBook from its docking station, only to forget that you didn’t actually eject the attached hard drive or SD card. When you return to the Mac later on, you’re presented with an annoying little pop-up message that says “Disk Not Ejected Properly. Eject “DRIVE NAME” before disconnecting or turning it off.”. Sometimes this happens even when your Mac just goes to sleep, and you haven’t been able to figure out a way how to automatically eject external drives from Mac.

Related Reading

  • macOS: How to free up hard disk space
  • Target Disk Mode Not Working on Your Mac? Here’s How to Fix It
  • macOS: How to Format External Hard Drive
  • MacBook: How To Turn Off Sleep Mode
  • Fix: An Error Occurred While Preparing macOS Installation

Contents

  • Why Should You Eject USB Devices Properly?
  • Ejecting USB Devices using Finder
  • Ejecting USB Devices from the Desktop
  • Ejecting USB Devices Using Disk Utility
  • What to Do If Your USB Device Won’t Eject
  • How to Automatically Eject External Drives From Mac
    • Ejectify
    • Jettison
    • EjectBar
    • Alfred or Raycast
    • Keyboard Maestro with Apple Script

Why Should You Eject USB Devices Properly?

The main reason you should always eject your USB devices properly is to prevent data corruption. This is because your computer and USB device communicate with each other, transferring data back and forth. When you simply unplug the device without notifying your computer, it may be in the middle of writing important data to the device. This can result in incomplete file transfers, or worse, a corrupted device.

So, let’s dive in and learn how to safely remove these devices from your Mac!

Ejecting USB Devices using Finder

How to Eject USB From Mac - 1

  1. Open the Finder app on your Mac.
  2. On the left-hand sidebar, you should see your USB device under ‘Locations’. It will often be named after the manufacturer, or you may have given it a custom name.
  3. To the right of your USB device’s name, you will see a small eject symbol (a triangle above a line). Click on this icon to eject the device. If the eject process is successful, your USB device will disappear from the Finder sidebar.

Ejecting USB Devices from the Desktop

How to Eject USB From Mac - 2

  1. If your settings allow USB devices to show up on your desktop, you will see an icon representing your USB device on the desktop screen.
  2. You can eject your device by dragging its icon to the Trash bin in the dock. The Trash bin will change to an Eject icon as you drag the USB device over it. Let go of the device, and it will be safely ejected.
  3. Alternatively, you can right-click (or control-click) on the USB device’s icon, then select ‘Eject’ from the drop-down menu that appears.

Ejecting USB Devices Using Disk Utility

How to Eject USB From Mac - 3

  1. Open Disk Utility: You can find Disk Utility by opening your Applications, then going into the Utilities folder. You can also access it quickly by pressing Command + Space to open Spotlight Search, then typing in ‘Disk Utility’.
  2. Select the USB device: In Disk Utility, you’ll see a list of drives on the left. Find your USB device in this list – it may be nested under another drive name. Click on it to select it.
  3. Eject the USB device: With your USB device selected, click on the ‘Eject’ button at the top of the Disk Utility window. Once the device is ejected, it will disappear from the list of drives.

What to Do If Your USB Device Won’t Eject

How to Eject USB From Mac - 4

Sometimes, you may find that your Mac won’t let you eject a USB device, usually because the system thinks it is in use. If you’re sure you’ve closed all files and applications that might be using the device but still can’t eject it, there’s another method to try:

  1. Open Terminal: You can find the Terminal application in your Utilities folder, or by searching for it using Spotlight Search (Command + Space).
  2. Type in the ‘diskutil’ command: In the Terminal window, type diskutil list and press enter. This will display a list of all connected drives. Find your USB device in this list – it will have an identifier like ‘disk2s2’.
  3. Eject the USB device: To eject the device, type diskutil eject /dev/diskXsX (replace ‘X’ with the appropriate numbers from your device’s identifier) and press enter. If successful, you’ll see a message saying ‘Disk /dev/diskXsX ejected’.

It’s important to note that if the device is in use, the ‘diskutil eject’ command might not work. If this is the case, you could use the ‘diskutil unmountDisk’ command instead.

Remember, always safely eject your USB devices to protect your data. It’s a quick and simple habit that could save you from losing important files.

How to Automatically Eject External Drives From Mac

There’s a good reason why Apple shows that little message every time an external drive is just “yanked” from your Mac. It harkens back to the days of floppy disks and CD’s where you had to physically remove them from your Mac. Even with fast SSD’s and external storage solutions, there’s still a potential for damaging the drive itself, and losing all of the stored data in the process.

The traditional method to eject external drives from Mac is to simply right-click the drive image on your desktop, and select Eject from the drop-down menu. Or, you could fire up the Finder app on your Mac and press the Eject button that appears next to the drive. However, none of these solve the problem of being able to automatically eject external drives from Mac. Luckily, there are a few great options out there for you to experiment with to see what works, or what doesn’t.

Ejectify

How to Automatically Eject External Drives From Mac - Ejectify

Ejectify is the first app on the list, and for no reason other than it was the first one in my notes. As with the other apps you can use to automatically eject external drives from Mac, Ejectify makes it easier than ever to avoid the annoying pop-up notification that appears. The app offers a bunch of flexibility, as you are provided with the following configurations:

  • Prevents annoying Disk not ejected properly warning when your Mac wakes up.
  • Prevents connected external disks and their volumes to get corrupted.
  • Configure what disks should be (un)mounted automatically.
  • Configure when disks should be unmounted automatically:
    • When screensaver started.
    • When screen is unlocked.
    • When screens started sleeping.
    • When system starts sleeping.
  • Automatically mounts disks again when your Mac or screens wake up.

You can purchase Ejectify directly from the developer for just $3. Or, you can compile the app from the source code found on Github for free.

  • Download Ejectify

Jettison

Unlike Ejectify, Jettison has been around on the Mac for quite awhile. Despite still being compatible with macOS 10.9 Mavericks, the developers are on-top of the ever-changing macOS landscape. If you’re a proud owner of an Apple Silicon-powered Mac, you’ll be happy to know that Jettison also supports the new architecture natively. As for how it works, whenever your Mac goes to sleep, Jettison will automatically eject any external disks. Then, it will remount any connected disks when you wake your Mac again.

The app is free to download and includes a 15-day free trial. After that, you can purchase a single license for $4.95, or multiple licenses starting at $3.95 per license.

  • Download Jettison

EjectBar

How to Automatically Eject External Drives From Mac - EjectBar

You might not have heard of EjectBar before, but if you’re entrenched in the Apple ecosystem, you’ve likely heard of its developer, Benjamin Mayo. In addition to being an app developer, Benjamin also moonlights as a blogger, writing for his own personal blog, along with covering Apple news for 9to5Mac. With EjectBar, this simple application is only accessible from your Menu Bar, and makes it easy to unmount all of your external (or connected) drives at the same time. EjectBar also supports the option to assign a keyboard shortcut to eject your drives, and can even be set up to automatically eject drives at scheduled times.

EjectBar is available from the Mac App Store for a one-time purchase of $1.99.

  • Download EjectBar for Mac

Alfred or Raycast

How to Automatically Eject External Drives From Mac - Raycast

When it comes to replacement apps for Spotlight, Alfred has reigned supreme for years. But there’s another app, known as Raycast, that was released back in 2020 which has garnered a lot of hype and excitement. Both of these apps do a fantastic job at replacing Spotlight along with supercharging the quick action experience. And regardless of whether you use Alfred or Raycast, you can automatically eject external drives from Mac right from the interface.

  • Download Alfred
  • Download Raycast

Keyboard Maestro with Apple Script

How to Automatically Eject External Drives From Mac - AppleScript

The last option on this list was one that I hadn’t really thought about, and then it sent me down a rabbit hole before I had to resurface. David Sparks, aka MacSparky, has been one of the biggest proponents of Keyboard Maestro over the years, so it should come as little surprise that he created a Macro for ejecting external disks. But instead of just trying to build a complicated macro, MacSparky also went so far as to create an AppleScript that works in tandem with the Keyboard Maestro Macro. If you’re interested in using this yourself, you can download the script from the link below.

  • Download Keyboard Maestro Macro (via MacSparky)
  • Download Keyboard Maestro

Related Posts:

  • 2023 Mac Studio lifestyle – 1
    macOS Could Not Be Installed, How-To Fix
  • pexels-mart-production-7163066
    Apple Card Review: Let's Compare It To The Competition
  • 2022 Mac Mini Lifestyle
    Best Accessories for M2 Mac Mini
  • pexels-cottonbro-4705628
    The Best NAS Drives For Mac
  • photo of a macbook with its screen open
    Problems Using External Hard Drive With Mac: How to Fix
  • Delete-Group-Reminders-Folder-macOS
    MacBook Will Not Start Up After macOS Update, How-To Fix
  • Logo on Nomad Base Station
    Charge Everything With the Nomad Base Station Apple…
  • Can't Erase or Reformat a Drive in Disk Utility? Here Are 3 Ways to Fix It
    Can't erase or reformat a drive in macOS Disk…
  • pexels-jess-bailey-designs-810079
    How To Run Linux On Mac: A Step-by-Step Guide
Andrew Myrick
Andrew Myrick

Andrew Myrick is a freelance writer based on the East Coast of the US. He enjoys everything to do with technology, including tablets, smartphones, and everything in between. Perhaps his favorite past-time is having a never-ending supply of different keyboards and gaming handhelds that end up collecting more dust than the consoles that are being emulated.

Reader Interactions

Write a Comment Cancel reply

Primary Sidebar

Recent Posts

  • How to Run Android Apps on iPhone Without Jailbreak
  • How to Share Screen on Teams on MacBook
  • How to Use Microsoft Teams on Mac for Collaboration
  • How to Fix Bad AirPods Sound Quality on PC
  • Use This Trick to Sync Apple Notes and Microsoft Word
  • How to Run Android Apps on a Mac

Connect with us

Footer

ABOUT

  • About Us
  • Contact us
  • Advertise
  • Privacy
  • Terms of Use

GUIDES

  • iOS & iPadOS
  • Apple ID
  • iCloud
  • App Store
  • iTunes
  • FaceTime
  • iMessage
  • Siri
  • Books and iBooks
  • Game Center
  • AirPlay

CONNECT

  • Facebook
  • Twitter
  • FeedBurner
  • YouTube

© Copyright 2010-2024 Guiding Tech Media · All Rights Reserved

This site and its content are in no way affiliated or endorsed by Apple, Inc. · Reproduction without explicit permission is prohibited

Last Updated on August 2, 2023 by Mitch Bartlett