Terminal 101: Remove Spotlight from OS X Menubar

Every Monday, we'll show you how to do something new and simple with Apple's built-in command line application. You don't need any fancy software, or a knowledge of coding to do any of these. All you need is a keyboard to type 'em out!

Since OS X Tiger, Spotlight has been a feature that OS X users have become accustomed to. It was revolutionary for its time, but many users have no need for the space that Spotlight takes up in the menu bar of OS X. If you're a user of Launchbar, Alfred, or another application that has a similar set of features, then you may not have a need for Spotlight at all. Fortunately, with a little Terminal trick, you can have Spotlight hidden from your sight in the OS X menubar. Continue reading, and we'll show you how it's done.

Let's get this out of the way up-front: By hiding the Spotlight feature from the menubar of OS X, you're not disabling Spotlight. Instead, you're just hiding its icon and UI elements. Spotlight and the mds service will continue to run, indexing your system periodically.

Hiding Spotlight from the menubar

To hide the Spotlight application from the menubar, open the Terminal application (located in /Applications/Utilities), and type in the following command:

sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search

After entering that command, you'll need to restart the system UI server by entering the following command:

killall SystemUIServer

Once entered, you'll notice the Spotlight icon disappear from the OS X menubar almost instantly.

Re-showing Spotlight

If you find that you need access to Spotlight again, then you can re-enable it by issuing the following Terminal command, followed by the enter key:

sudo chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search

Then, like before, restart the system UI server by typing in the following command:

killall SystemUIServer

After issuing these two commands, you'll notice that the Spotlight application will re-appear in the menubar of OS X.

Cory Bohon is a freelance technology writer, indie Mac and iOS developer, and amateur photographer. Follow this article's author on Twitter.

TOPICS
Latest in Macs
A mockup of the possible Apple M3 Ultra logo
Performance isn't the only reason you should buy Apple's M3 Ultra Mac Studio - it's reportedly one of the most power-efficient processors too
Mac Studio on a desk
Apple Mac Studio (M3 Ultra): the ultimate creative workstation
Mac Studio from above.
New benchmark suggests Apple's M3 Ultra may not be much faster than the M4 Max - only a minor uplift in multi-core performance
Apple Mac Mini on wood desk
Forget President’s Day sales, Apple is selling an M2 Mac mini refurb for just over $300 which could be the PC bargain of the year
Sergii Figurnyi
Apple's M5 chip is rumored to be in mass production - but we're still waiting for M4 MacBook Airs
A hand holding up the new Mac mini M4
Apple's M4 Mac mini might be one of the best Macs ever, but it has a serious issue that needs fixing right now
Latest in How Tos
Leaving Neverland 2: Surviving Michael Jackson
How to watch Leaving Neverland 2: Surviving Michael Jackson online and from anywhere, start time
Trinity Rodman #2 of the Washington Spirit crosses the ball during a game between Bay FC and Washington Spirit at Audi Field on November 10, 2024 in Washington, DC.
National Women's Soccer League 2025: How to watch NWSL games live from anywhere
AMD Radeon RX 6000 Series Graphics Card on top wooden desk beside a keyboard
How to update AMD GPU drivers
tiktok
How to edit TikTok videos
Using an Amazon Fire Stick on a Smart TV
How to use a VPN with Fire Stick
Irish boxer TJ Doheny receives an undercard bout, ahead of the WBO super welterweight world title fight in March, 2023
Ball vs Doheny live stream: how to watch the boxing from anywhere now, full undercard, start time, weigh-in results