Show external drives on the desktop for quick eject
If you swap USB sticks and portable SSDs all day, digging through Finder to eject each one is friction you do not need. Put the drives on your desktop instead: tick Finder → Settings → General → External disks, and ejecting becomes a one-second drag or a single keystroke, right where the drive icon sits.
Put the drives where you can reach them
- Click the desktop so Finder is the active app, then open Finder → Settings from the menu bar.
- On the General tab, tick External disks.
Every mounted drive now sits on the desktop as an icon. Prefer Terminal? The same preference is one command — here it is with the undo line so you can switch back to a bare desktop whenever you like:
# Show external drives on the desktop
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
killall Finder
# Undo — remove the desktop icons
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool false
killall Finder
With the icons in place, you have four fast ways to eject — pick whichever fits your hands.
Four ways to eject from the desktop
- Drag to the Trash. Start dragging the drive icon and the Dock's Trash turns into an Eject symbol. Drop it there to eject. It never deletes anything — macOS repurposes the Trash as the eject target only while a drive is being dragged.
- Select and press Command+E. Click the drive icon once, then press ⌘E. The fastest route when your hand is already on the keyboard.
- Right-click → Eject. Control-click (or two-finger tap) the icon and choose Eject "Drive Name" from the menu.
- Drag off, or use the sidebar arrow. The eject arrow next to the drive in the Finder sidebar still works too — handy when you have a window open already.
All four do the same safe unmount, and all four behave identically on macOS 13 Ventura, 14 Sonoma, and 15 Sequoia.
Eject every drive at once
Juggling several drives before you unplug a hub? Select all of them on the desktop — click one, then Shift-click or drag a box around the rest — and press ⌘E to eject the whole group in one action. macOS unmounts each and clears the icons together, so you are not clicking through them one by one. If a drive refuses because something is still using it, macOS names the app; quit that app and try again.
A quick habit worth keeping: always eject before you pull the cable. Yanking a drive that macOS still thinks is mounted risks the dreaded "Disk Not Ejected Properly" warning and, worse, a half-written file. The desktop icon exists precisely so that safe eject is never more than a flick away.
Mainspring makes "Show external drives on the desktop" a one-click, reversible toggle — flip it on for a busy transfer day, off when you want a clean desktop. It's one of 90+ hidden macOS settings in a single window.
Try Mainspring free →Signed & notarized by Apple · 1-day free trial · $29 once
When a drive won't eject
Sometimes ⌘E throws "the disk is in use and could not be ejected." That means a file or process still has it open — see how to eject a disk that's in use on Mac to find and quit whatever is holding on.