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
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
Mac mini vs. iMac
Mac mini M4 vs iMac M4: Which is the one for you?
Mac mini vs. Mac Studio
Mac mini M4 vs Mac Studio M2: Which is the one for you?
Latest in How Tos
Cheltenham racing festival 2024 day four: Paul Townend on Galopin Des Champs crosses the finishing line for victory in the Gold Cup
Cheltenham Festival 2025 live stream: How to watch world-class horse racing online
Ousmane Dembele of Paris Saint-Germain watches the ball during a UEFA Champions League 2024/25 match in March 2025
Liverpool vs PSG live stream: How to watch the UEFA Champions League match online
Still from the sneak peek trailer of Ring & Friends showing the ex-beatles singer on stage at the Ryman
Ringo & Friends at The Ryman: how to watch the country music show online
Lewis Hamilton of Great Britain and Scuderia Ferrari waves to the crowd from the stage during F1 75 Live in the run up to the 2025 F1 season
How to watch F1 online: your guide to 2025 Formula 1 season
Rachin Ravindra of New Zealand plays a shot during an ICC Champions Trophy 2025 match in February.
India vs New Zealand live stream: Watch ICC Champions Trophy final online (it's free) – India chasing 252
CARDIFF, WALES - FEBRUARY 22: Jamie Osborne of Ireland celebrates with team-mates after scoring a try ahead of the Ireland vs France Guinness Six Nations 2025 clash
Ireland vs France live stream: how to watch today's Six Nations game online, TV channels, broadcasters, team news