MainspringGuides › Quick eject from desktop
macOS Guide

Show external drives on the desktop for quick eject

Updated August 2026 · 3 min read

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

  1. Click the desktop so Finder is the active app, then open Finder → Settings from the menu bar.
  2. 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

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.

One toggle, drives on hand

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.