Spotlight Off

A free, open-source macOS menu bar utility that automatically disables Spotlight indexing on external drives the moment they connect β€” keeping your drives clean without any manual steps.

Keep Your Drives Clean, Automatically

Every time you plug in an external drive, macOS quietly starts building a Spotlight index on it β€” consuming disk I/O and storage you didn’t ask for. On busy shoot days with multiple drives coming in and out, that background churn adds up fast.

Spotlight Off sits quietly in your menu bar and handles it automatically. The moment a drive mounts, it detects it, checks whether indexing is running, and shuts it off β€” before Spotlight has a chance to dig in. No terminal commands, no manual steps, no remembering.

It’s a fork of the original titleunknown/Spotlight-Off, rebuilt with modern Swift concurrency, a redesigned tabbed settings UI, a color-coded activity log, and an exclusions system for drives you want to leave alone.

Spotlight Off menu bar popover showing recently processed drives

How It Works

When a volume mounts, Spotlight Off runs through a short, automatic sequence:

πŸ”Œ

Detect

Watches for any external volume mounting. Skips root volumes, network drives, and disks you’ve added to the exclusions list.

⏱

Wait & Check

Waits 2.5 seconds for the volume to fully settle, then queries mdutil -s to confirm whether Spotlight indexing is currently active.

🚫

Disable

Runs mdutil -i off via osascript with administrator privileges β€” a one-time system prompt the first time it runs.

πŸ“‹

Log

Records every action in a color-coded activity log β€” success in green, errors in red. The log persists across restarts and can be exported to a text file.

πŸ•Ή

Exclusions

Right-click any drive in the Drives tab to add it to the exclusions list. Excluded drives are skipped permanently until you remove them.

πŸš€

Launch at Login

Enable launch at login in the General tab and it runs silently in the background β€” no dock icon, no window, just a menu bar indicator that it’s working.

Requirements & Installation

Requires: macOS 14 Sonoma or later, including macOS 26 Tahoe. Administrator access is needed once for the initial mdutil permission prompt.

Installation: Download the ZIP below, unzip it, and move Spotlight Off to your Applications folder. No Xcode or developer account required.

Full Disk Access: On first launch you’ll be prompted to grant Full Disk Access in System Settings β†’ Privacy & Security. This is required for mdutil to work. When upgrading, remove and re-add the app in that list to rebind the permission to the new binary.

Spotlight Off is free and open source under the MIT license. Source code, release notes, and older versions are all available on GitHub.