Safe to Delete

macOS Spotlight Search Index Database (.Spotlight-V100)

Quick Answer: macOS stores Spotlight search metadata index databases in .Spotlight-V100 at the root of every drive. Learn how to rebuild Spotlight index safely.

Bottom Line: It is 100% safe to rebuild the .Spotlight-V100 database. If Spotlight search yields incomplete results or fails to find files, wiping .Spotlight-V100 forces macOS to re-index your drive cleanly.


Why Does .Spotlight-V100 Database Exist?

.Spotlight-V100 is a hidden directory located at the root of your macOS drive (/.Spotlight-V100) and external volumes. The mds and mdworker daemons populate it with full-text search metadata.

  • Primary Purpose: High-speed file indexing for Spotlight search (Cmd + Space), Finder search, and Siri file queries.
  • Storage Impact: Large volumes with millions of code files or documents expand the index to 3 GB to 20 GB.

What Happens If You Delete or Rebuild .Spotlight-V100?

  • System Safety:100% Safe. No personal files are modified or deleted.
  • Re-Indexing: Spotlight displays an “Indexing…” status bar for 15–30 minutes while building a fresh, uncorrupted index.
  • Reclaimed Storage: Reclaims corrupted or bloated index databases (3 GB to 20 GB).

How to Rebuild Spotlight Index Safely

# Turn off Spotlight indexing, delete index database, and re-enable
sudo mdutil -i off /
sudo rm -rf /.Spotlight-V100
sudo mdutil -i on /
sudo mdutil -E /

Frequently Asked Questions (FAQ)

Why is mdworker_shared consuming high CPU?

mdworker processes run when new files are created to extract metadata (text content, dimensions, tags) into the Spotlight index.

Discussion

Loading authentication...

Related in macos

macOS Background Download Session Cache (com.apple.nsurlsessiond)

nsurlsessiond caches incomplete background file downloads for system apps and iCloud daemon sync. Clearing the cache is safe.

Safe to Delete

macOS Font Server Cache (/var/db/ats)

Apple Type Services (ats) caches font rendering metrics. Resetting the font cache fixes corrupted font glyphs and system text glitches.

Safe to Delete

macOS System Font Cache Directory (com.apple.fontd)

macOS caches system and user font rendering structures in com.apple.fontd. Learn how to reset macOS font cache to fix garbled text.

Safe to Delete
Back to all files