Error Codes Wiki

Mac Spotlight Reindex — Search Not Working & Index Corruption

Warningsystem

About Mac Spotlight Reindex

Fix macOS Spotlight issues including search returning no results, index corruption, high CPU usage from mdworker, and missing files in search results. This guide covers everything you need to know about this topic, including common causes, step-by-step solutions, and answers to frequently asked questions.

Here are the key things to understand: 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. Understanding these fundamentals will help you diagnose and resolve this issue more effectively.

The most common reasons this occurs include: 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. Identifying the root cause is the first step toward finding the right solution.

To resolve this, follow these recommended steps: Force reindex via Terminal: sudo mdutil -E / (erases and rebuilds index for boot volume). Force reindex specific volume: sudo mdutil -E /Volumes/DriveName. Check indexing status: mdutil -s /. If mdworker uses high CPU, wait for reindex to complete (can take several hours). Check Privacy exclusions: System Settings > Siri & Spotlight > Spotlight Privacy — remove accidental exclusions. If these steps do not resolve the issue, consider consulting additional resources or a qualified professional.

This article is part of our Mac Error Codes collection on Error Codes Wiki. We provide comprehensive, up-to-date information to help you find solutions quickly.

Quick Answer

How long does Spotlight reindexing take?

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

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.