Error Codes Wiki

Mac Spotlight Reindex — Search Not Working & Index Corruption

Warningsystem

Overview

Fix macOS Spotlight issues including search returning no results, index corruption, high CPU usage from mdworker, and missing files in search results.

Key Details

  • Spotlight uses the mdworker and mds processes to index file content and metadata
  • A corrupted index causes missing search results or Spotlight showing outdated information
  • After macOS updates, Spotlight may need to reindex which temporarily uses high CPU
  • The .Spotlight-V100 folder at the volume root contains the index data
  • Privacy settings can exclude folders from Spotlight indexing

Common Causes

  • Corrupted Spotlight index from disk errors or interrupted indexing
  • macOS update triggering a full reindex
  • External drive index not updating properly
  • Privacy settings accidentally excluding important folders
  • Third-party software (Parallels, VM software) corrupting index

Steps

  1. 1Force reindex via Terminal: sudo mdutil -E / (erases and rebuilds index for boot volume)
  2. 2Force reindex specific volume: sudo mdutil -E /Volumes/DriveName
  3. 3Check indexing status: mdutil -s /
  4. 4If mdworker uses high CPU, wait for reindex to complete (can take several hours)
  5. 5Check Privacy exclusions: System Settings > Siri & Spotlight > Spotlight Privacy — remove accidental exclusions

Tags

macspotlightsearchindexmdworker

More in System

Frequently Asked Questions

Typically 1-4 hours depending on drive size and file count. The Mac may feel slow during this time due to CPU usage.