How to exclude Developer results from Spotlight in macOS

Spotlight is more useful when its result list stays focused on the kinds of content that actually matter on a particular Mac. The Developer result can surface tools, project items, SDK content, and other development-related matches that add noise on systems used mainly for general work.

In current macOS releases, Spotlight result controls live in System Settings under Spotlight. Apple groups those controls under sections such as Results from Apps and Results from System, and turning a result off removes that category from normal Spotlight searches.

Older releases use System PreferencesSpotlightSearch Results instead of the newer System Settings layout. Some Macs do not show a standalone Developer result at all, so if that toggle is missing there is nothing to disable for this specific category on that system.

Steps to exclude Developer results from Spotlight in macOS:

  1. Open System Settings from the Apple menu or by searching for it in Spotlight.
  2. Select Spotlight in the sidebar.
  3. Review the lists under Results from Apps and Results from System until the Developer result appears.

    Current macOS releases use on/off switches instead of the older Search Results checkbox list.

  4. Turn off Developer to exclude that result from Spotlight searches.

    If Developer is not listed, current macOS on that Mac is not exposing it as a separate Spotlight result, so this exact setting cannot be changed from the Spotlight results list.

  5. Press Command-Space and search for a known developer-only item, then confirm Spotlight no longer shows a Developer section in the results.

    On older releases, make the same change in System PreferencesSpotlightSearch Results by clearing Developer.