Is it safe to delete .Spotlight-V100 (the Spotlight index)?
- Not by hand.
.Spotlight-V100is one disk’s search index, the thing Spotlight, Finder’s search, Mail’s search and many apps look things up in. If it’s huge or broken, have Spotlight rebuild it; on an external drive you never search, turn indexing off instead. - What a rebuild costs you: searches come up short for a while. Apple says indexing can take hours, or even days, depending on how much is on the disk.
- Does it come back? Yes: Spotlight indexes the disk again, and the index grows back to fit what’s on it.
- SiftMac’s verdict: Leave it
1. What it is
Spotlight reads your files and stores what it finds, names, text and details such as dates and authors, in an index, so a search answers at once instead of reading the whole disk. Every disk it indexes keeps its own index in a hidden folder at its top level, .Spotlight-V100.
More depends on it than the Spotlight window: Finder’s search field, Mail’s search, the search in Open dialogs, and apps that ask Spotlight about your files, such as when an app was last opened.
2. Where it is
/System/Volumes/Data/.Spotlight-V100
/Volumes/<drive>/.Spotlight-V100
On the startup disk it’s at the top of the data volume, the part that holds your files, and only the system can open it. Each external drive that Spotlight indexes has its own.
3. How big it gets
Measuring it takes an administrator password. The second command says whether indexing is on:
sudo du -sh /System/Volumes/Data/.Spotlight-V100
mdutil -s /
Two things justify a rebuild: an index far bigger than what’s on the disk would explain, or searches that miss files you know are there.
4. How to rebuild it, or switch it off, instead
Apple’s way to rebuild the index of a disk or folder:
- Open System Settings › Spotlight, or Siri & Spotlight on older versions of macOS.
- Click Search Privacy, or Spotlight Privacy.
- Add the disk or folder to the list, wait a few seconds, then select it and remove it again.
- Click Done. Spotlight indexes it again from the start.
In Terminal, this erases the startup disk’s index so that Spotlight rebuilds it:
sudo mdutil -E /
For an external drive you never search, turn indexing off for it so the index doesn’t grow back, then remove the old one with Spotlight’s own tool rather than Finder (put the drive’s name in):
sudo mdutil -i off /Volumes/DriveName
sudo mdutil -X /Volumes/DriveName
To keep the index smaller, add folders you never search, such as virtual machines or build folders, to Search Privacy; Spotlight then leaves them out.
5. What happens afterwards
- While it rebuilds, searches miss things, a progress indicator appears at the top of the Spotlight window, and Mail may say its index is incomplete.
- Apple says it finishes sooner with the Mac idle, on power and connected to the internet.
- A bloated index usually comes back smaller, then grows with your files.
- With indexing off on a drive, Spotlight and Finder no longer find files on it.
Questions
Can I delete .Spotlight-V100?
Not in Finder or with rm. Use Spotlight’s own tools: Search Privacy, mdutil -E to rebuild, or mdutil -X to remove an external drive’s index. They tell Spotlight what you’ve done, so it starts over cleanly.
Why is my Spotlight index so big?
It grows with what there is to index: lots of files, mail and documents full of text add up. Leave out folders you don’t search, and rebuild if it’s far bigger than your files explain.
Does rebuilding Spotlight delete my files?
No. Only the index is rebuilt; your files aren’t touched.
Should I turn Spotlight off to save space?
Not on the startup disk: Finder search, Mail and many apps rely on it. On an external drive used for backups or archives, turning indexing off is reasonable.
How SiftMac handles it. SiftMac doesn’t touch the Spotlight index, but it reads from it: Spotlight’s record of when each app was last opened is how Unused apps knows what you haven’t used in six months, and its plain-words search runs as a Spotlight query. If either looks wrong, rebuilding the index helps.
Download SiftMac · scanning is free, and so is your first 2 GB of cleaning · See how it works