Error Codes Wiki

Mac Spotlight Search Not Working — Reindex and Fix Missing Results

Informationalsystem

Overview

Fix macOS Spotlight search returning no results, missing files, or showing outdated data by reindexing and troubleshooting Spotlight preferences.

Key Details

  • Spotlight indexes files, apps, emails, contacts, and web suggestions for instant search
  • The Spotlight index is stored in /.Spotlight-V100 on each volume
  • Reindexing can take several hours and uses significant CPU and disk resources
  • Spotlight honors privacy exclusions: folders in the exclusion list are never indexed
  • mdworker (metadata worker) processes handle the indexing in the background

Common Causes

  • Corrupted Spotlight index after disk errors, power failure, or macOS update
  • Folder accidentally added to Spotlight privacy exclusion list
  • External drive index not rebuilt after connecting to a different Mac
  • Low disk space preventing index updates
  • Spotlight privacy settings excluding the folder containing the missing file

Steps

  1. 1Reindex entire Mac: sudo mdutil -E / in Terminal (takes 1-3 hours)
  2. 2Reindex specific volume: sudo mdutil -E /Volumes/DriveName
  3. 3Check exclusions: System Settings > Siri & Spotlight > Spotlight Privacy > review excluded locations
  4. 4Verify Spotlight is enabled: mdutil -s / should show 'Indexing enabled'
  5. 5For immediate reindex of a folder: drag it to Spotlight Privacy list, wait, then remove it
  6. 6If mdworker is using excessive CPU: wait for indexing to complete, or check for corrupted files in the indexed folders

Tags

spotlightsearchreindexmdutilmetadata

Related Items

More in System

Frequently Asked Questions

1-3 hours for a typical Mac with 256-512GB of data. During reindexing, search results may be incomplete and CPU usage will be elevated. Let it complete uninterrupted.