OS X: Add Disc Eject to Your Mac’s Menu Bar

| TMO Quick Tip

Some of the panels in System Preferences give you an option to add items to the menu bar, like volume or battery percentage. Disc Eject is not one that has a corresponding checkbox in a System Preference, and it's handy to have if you use an external keyboard that doesn't have an eject key on it. Here’s how to add it for yourself:

Switch to the Finder and choose Go > Go to Folder… and paste in the following path:

/System/Library/CoreServices/Menu Extras/

Your Mac's Menu Extras folder

When the window opens, you can see a list of files that end in .menu. To add eject to your menu bar, double-click on Eject.menu and you’ll get a little eject symbol. This only works on optical media, it won’t eject external USB devices or disk images.

Yes, you can have an disc eject button in your Mac's menu barYes, you can have an disc eject button in your Mac's menu bar

You don’t have to stop there, though: other items you can add from here that may be useful are TextInput.menu if you switch between keyboards often or look up symbols in the character palette, and Universal Access which shows what accessibility options are on and off. Some of the items still in the folder are relics from an earlier time, such as Fax and IrDA that aren’t really useful to anyone today.

I hope Apple revisits this folder and adds some new features to it in the next OS. I love my menu bar buttons for quick access.

Popular TMO Stories



Any way to have it work on external devices ??

There aren’t many Macs left that have internal optical drives. Mine is a plug-in (FW800 or USB) on a Mini.


Nice tip and I agree with your conclusion, adding more contemporary menu bar buttons would be a nice feature for Apple to revisit with a future version of OS X.


so how do I go back if I clicked on one and decided I don’t want it there


Oh Yeah

This is very cool
Thank you

Kelly Guimont

@vpndev I honestly haven’t tried with an external drive, but if an external drive answers to the hardware eject button on a keyboard, then it should work the same from the menu bar.

Oz Oseransky

I used this technique to add the Eject button to my menu bar. I don’t use it much, so I’d like to remove it. I tried command-dragging the icon. That allows me to change the position of the icon on the bar – but the icon can’t be dragged *off* the bar. Any ideas?


Confusing: “This only works on optical media, it won’t eject external USB devices or disk images.” An optical disc is in an external USB device. You should say “It won’t eject an external hard disk.” (U.S. English, “disk” is not “disc”)

Log in to comment (TMO, Twitter or Facebook) or Register for a TMO account