
Spotlight indexing helps your Mac find files, apps, email messages, and other content quickly. If search results are incomplete, outdated, or missing, Spotlight may still be building its index.
The quickest way to check Spotlight indexing status is to open Spotlight and search for a file or app. If Spotlight displays a progress bar or a message indicating that indexing is in progress, your Mac is still building its search index. For more detailed information, use System Settings or a Terminal command.
Quick Answer
To check whether Spotlight is indexing your Mac:
- Select the Spotlight icon in the menu bar or press Command-Space.
- Type a search term.
- Look for a progress message or indicator in the Spotlight window.
- For a more detailed check, open System Settings > Siri & Spotlight > Spotlight Privacy. A disk that is currently being indexed may appear there with an indexing status.
- You can also open Terminal and run:
mdutil -s /
If the result says indexing is enabled, Spotlight can index the startup disk. To see whether indexing is actively running, use:
mdutil -p /
The exact wording and available controls can vary by macOS version.
What Spotlight Indexing Does
Spotlight indexing is the process macOS uses to catalog information on your Mac. Instead of examining every file from scratch whenever you search, Spotlight creates an index containing details such as file names, locations, types, dates, and—in supported content—text inside files.
This index makes searches faster, but creating or updating it can take time. Indexing may begin after you:
- Set up a Mac for the first time
- Upgrade or reinstall macOS
- Connect an external drive
- Restore files from a backup
- Move or copy a large number of files
- Change which folders Spotlight can search
- Repair or rebuild the Spotlight index
While indexing is in progress, search results may be incomplete. You might also notice higher processor activity, increased battery use, or a warmer Mac. These effects should generally lessen after indexing finishes.
Check Spotlight Status from the Search Menu
The Spotlight search menu provides the simplest first check.
- Select the Spotlight icon in the menu bar. You can also press Command-Space.
- Search for a file, app, folder, or phrase that should exist on your Mac.
- Review the search window for a progress bar, indexing message, or other indication that results are still being updated.
If Spotlight returns expected results and does not show an indexing message, indexing may be complete. However, the absence of a progress message does not prove that every file is searchable. Spotlight can index different disks, folders, and content types at different times.
For general search tips, see How to Use Spotlight Search on a Mac.
Check Spotlight in System Settings
System Settings provides a way to review locations that Spotlight is prevented from searching. It is also useful when you suspect that an entire disk or folder has been excluded.
- Select the Apple menu in the upper-left corner.
- Select System Settings.
- Select Siri & Spotlight in the sidebar.
- Scroll down and select Spotlight Privacy.
The Spotlight Privacy list shows disks, folders, and other locations that are excluded from Spotlight searches. An excluded location will not be indexed normally, so files stored there may not appear in search results.
If the disk or folder you need to search appears in this list, select it and choose the Remove button. Depending on your Mac and macOS version, the button may appear as a minus sign. You may need to authenticate with your Mac password or use Touch ID.
Important limitation
Spotlight Privacy is mainly an exclusion control, not a complete progress dashboard. It can help you determine whether a location is blocked from indexing, but it may not always show a detailed percentage or time estimate for ongoing indexing.
If a location is not excluded but search results are still missing, use the Terminal checks below.
Check Spotlight Indexing with Terminal
Terminal can display the indexing state for a particular disk or volume. This method is useful when Spotlight’s search window does not provide enough information.
Check whether indexing is enabled
- Open Terminal. You can find it in Applications > Utilities or search for it with Spotlight.
- Enter this command:
mdutil -s /
- Press Return.
The / identifies your Mac’s startup volume. The result typically reports whether indexing is enabled or disabled for that volume.
An enabled result means Spotlight is allowed to maintain an index. It does not necessarily mean indexing is currently running or that indexing has finished.
Check whether indexing is active
To ask Spotlight for a more detailed status, enter:
mdutil -p /
Press Return and review the result. Depending on the macOS version and volume state, the command may indicate whether indexing is in progress or whether the index is up to date.
If you want to check a different disk, replace / with the disk’s mounted path. For example:
mdutil -s /Volumes/ExternalDrive
Replace ExternalDrive with the actual name of the external disk. If the name contains spaces, enclose the path in quotation marks:
mdutil -s "/Volumes/My External Drive"
These commands only query Spotlight status. They do not delete files, rebuild the index, or change your Mac’s settings.
Check an External Drive
Spotlight indexes each eligible volume separately. An external drive can therefore be searchable even when the startup disk has finished indexing—or it may still be indexing while the rest of the Mac appears normal.
To check an external drive:
- Connect the drive and wait for it to appear in Finder.
- Open Terminal.
- List mounted volumes with:
ls /Volumes
- Identify the drive’s name.
- Check its indexing setting:
mdutil -s "/Volumes/Drive Name"
- If needed, request a more detailed status:
mdutil -p "/Volumes/Drive Name"
Replace Drive Name with the exact name shown in /Volumes.
Some external drives may not be indexed because of their format, permissions, connection problems, encryption settings, or Spotlight Privacy exclusions. If the drive is missing from Finder, resolve that storage or connection issue first; Spotlight cannot index a volume that macOS does not properly mount.
How to Tell Whether Indexing Is Finished
No single sign confirms that Spotlight has completely finished indexing every location. Use several indicators together:
- Spotlight searches return files you recently added.
- Search results include expected apps, folders, and documents.
- The Spotlight search window no longer reports indexing activity.
- Terminal does not report active indexing.
- The relevant disk is not listed in Spotlight Privacy.
- CPU activity and battery use have returned to normal after a large file transfer or system change.
Indexing can resume later when you add files, connect another drive, or change indexed locations. That is normal and does not necessarily indicate a problem.
Troubleshooting Spotlight Indexing
Spotlight cannot find a file that definitely exists
First, confirm that the file is stored in a location Spotlight is allowed to search.
- Open System Settings > Siri & Spotlight > Spotlight Privacy.
- Check whether the file’s folder or disk is listed.
- If it is listed, select it and choose the Remove button.
- Search again after allowing time for Spotlight to update its index.
Also check the file’s name and location in Finder. A file may not appear because it is hidden, stored on an unsupported or disconnected volume, or located inside an app-managed area that Spotlight does not expose in the usual way.
Search results are incomplete after moving many files
Large file transfers can require Spotlight to process a substantial number of changes. Keep the Mac powered on and connected to the affected drive. Avoid repeatedly disconnecting an external disk while it is being indexed.
If the missing files are on an external drive, use the mdutil commands above to check that volume specifically rather than checking only /.
Indexing seems stuck
If indexing appears to remain active for an unusually long time:
- Keep the Mac connected to power.
- Make sure the affected disk remains connected and unlocked.
- Close applications that are performing large file transfers.
- Restart the Mac.
- Check System Settings > Siri & Spotlight > Spotlight Privacy for an accidental exclusion.
- Run
mdutil -sfor the affected volume.
A large library, many small files, a slow external disk, or limited available storage can make indexing take longer. Avoid interrupting the process repeatedly, since macOS may need to resume or reprocess changes.
Spotlight indexing is disabled
If Terminal reports that indexing is disabled, you can enable it for the startup disk with:
sudo mdutil -i on /
Press Return, enter your administrator password when prompted, and press Return again. Terminal will not display the password as you type.
This command changes the indexing setting for the startup volume. It does not delete files. After enabling indexing, macOS may need time to create or update the index.
To enable indexing for an external volume, use its mounted path:
sudo mdutil -i on "/Volumes/Drive Name"
Use the exact volume name, including quotation marks if it contains spaces.
Rebuild the Spotlight index
Rebuilding the index can help when Spotlight consistently omits files or returns incorrect results. It also causes macOS to process the affected volume again, which may temporarily increase processor use, battery consumption, and disk activity.
Before doing this, save your work and make sure important files are backed up. Rebuilding does not normally delete your personal files, but it changes Spotlight’s index and can temporarily reduce search accuracy while the new index is being created.
To request a rebuild for the startup disk:
sudo mdutil -E /
For an external volume:
sudo mdutil -E "/Volumes/Drive Name"
The -E option erases the existing Spotlight index for the specified volume and creates a new one. It affects the search index, not the files stored on the disk.
If you need to stop indexing temporarily, use:
sudo mdutil -i off /
This disables indexing for the startup volume and changes system behavior. Spotlight searches may become incomplete or unavailable for that volume. Re-enable it with:
sudo mdutil -i on /
Use the commands carefully and verify the volume path before pressing Return. A command aimed at the wrong volume may change indexing behavior somewhere you did not intend.
Spotlight uses significant system resources
Indexing can temporarily use more CPU, storage activity, and battery power, particularly after a system installation, restore, or large file transfer. Allow the process to finish before judging normal performance.
If high activity continues after indexing should be complete, check whether another volume is still being indexed. You can also restart the Mac and verify that Spotlight is not repeatedly rebuilding because of a disk, permission, or storage problem.
Frequently Asked Questions
How long does Spotlight indexing take?
The time varies based on the amount of data, the type and speed of the storage, and how many files macOS must process. A small change may finish quickly, while a newly restored or heavily populated disk can take much longer.
Can I use my Mac while Spotlight is indexing?
Yes. You can continue using the Mac, although searches may be incomplete and the system may temporarily use additional resources. Keeping the Mac connected to power can help if indexing is taking a long time.
Does rebuilding the Spotlight index delete my files?
No. Rebuilding with mdutil -E removes and recreates Spotlight’s search index for the selected volume. It does not intentionally delete the files stored on that volume. Still, save your work and confirm the command’s volume path before running it.
Why does Spotlight find an app but not a document?
Spotlight may have indexed the application but not the document’s location or content yet. The document may also be inside an excluded folder, on an unmounted drive, or affected by file permissions or its format.
How do I check Spotlight on a USB drive?
Connect the drive, identify its name in /Volumes, and run:
mdutil -s "/Volumes/Drive Name"
You can use mdutil -p with the same path for additional status information.
Should I turn Spotlight indexing off?
Usually, no. Disabling indexing makes searches less complete and can interfere with workflows that rely on Spotlight. Consider it only for a specific troubleshooting need, and re-enable indexing when finished.
Final Thoughts
Start by checking Spotlight’s search window for an indexing message, then review System Settings > Siri & Spotlight > Spotlight Privacy to make sure the needed disk or folder is not excluded. For a clearer technical status, use mdutil -s and mdutil -p in Terminal.
If Spotlight remains incomplete, confirm the correct volume, allow the process time to finish, and rebuild the index only after saving your work and verifying the command carefully.