How to eject a disk properly on OS X

New to the Mac? Don't just yank that flash drive out! Here's how to eject a disk the right way.

flash drive macbook

It is oh-so-tempting to just pull that flash drive out of your USB port when you’re done with it. But resist the urge! Unceremoniously disconnecting an external drive from your Mac can result in all sorts of problems—namely, you could inadvertently damage files on the drive. Do yourself—and your data—a favor and eject your disk the proper way. OS X provides a few methods for doing so—here are three of them.

drag to trash

Drag the disk icon to the Trash can in the Dock.

Dragging the icon: This method of ejecting a disk has been around as long as the Mac itself. Click the disk icon on the desktop (assuming you have your Mac set to show disks on the desktop), then drag it to the Trash icon in the Dock—it’ll turn into an Eject symbol. Wait a few seconds for the disk to disappear from the desktop and remove your disk.

From the keyboard: If you have a Mac with an optical (CD or DVD) drive, you can easily eject CDs or DVDs: Simply hold down the Eject key in the upper right corner of your keyboard until your Mac spits the disc out. This only works for optical drives, though—something Apple doesn’t even include on its current hardware.

eject button

Click the Eject button in the Finder sidebar to eject a disk. (Note: I’ve reordered the sections in my Finder sidebar, so your may look slightly different.)

From a Finder window: Pop open a Finder window, and look for the disk you want to eject under the Devices subheading. (If removable disks like flash drives aren’t showing in your Finder sidebar for some reason, select Preferences… from the Finder menu, click Sidebar, then check the boxes for External disks and CDs, DVDs, and iPods.) Click the Eject symbol next to the disk you want to eject, wait for the disk to disappear from the sidebar, then go ahead and disconnect it.

What if a disk won’t eject?

cant eject disk

Out, damned disk! Out, I say!

If you have any file stored on a disk open in any app, OS X may prevent you from ejecting a disk so you don’t mess up any of your data. If this happens, close the file in question and try again. In some cases, OS X will allow you to “force-eject” a disk, but you may still lose data, so force-eject wisely.

Shop ▾
arrow up Amazon Shop buttons are programmatically attached to all reviews, regardless of products' final review scores. Our parent company, IDG, receives advertisement revenue for shopping activity generated by the links. Because the buttons are attached programmatically, they should not be interpreted as editorial endorsements.

Subscribe to the Best of Macworld Newsletter

Comments