Help! My Spotlight isn't working

iMac Sequoia 15.3.1. I do a search (e.g. File>Find), and NOTHING comes up. That's Spotlight, right? I believe this means that Spotlight isn't turned on. I have tried to rebuild the Spotlight index via Rebuild the Spotlight index on your Mac, but still nothing comes up. What am I doing wrong? Do I have Spotlight turned off somehow? On my System Settings>Spotlight page for Search Results, EVERYTHING is turned on. I want to be able to do searches. This function was working fine for a year or more, and somehow it seems to have gotten disabled.


iMac 24″, macOS 15.3

Posted on Mar 6, 2025 4:35 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 6, 2025 8:07 PM

https://keith.github.io/xcode-man-pages/mdutil.1.html#:~:text=DESCRIPTION,metadata%20stores%20for%20mounted%20volumes.


The -E option


-E This flag will cause each local store for the volumes indicated to be erased. The stores will be rebuilt if appropriate.


There are other mdutil options to disable Spotlight searching (such as -d). I hope you did not type that by accident.


It is possible your Mac is somehow misconfigured. However here is a more brute force method but be careful with the rm command (and the others) as if the correct spaces are not entered exactly, it may delete other things. Do a backup first. You can copy/paste from below


sudo mdutil -i off /
sudo rm -rf /.Spotlight*
sudo mdutil -i on /
sudo mdutil -E /


In order, these accomplish:

  1. turn indexing off
  2. delete Spotlight folder
  3. turn indexing on
  4. rebuild


These items have been posted many times in these Discussions. I took this from


https://discussions.apple.com/thread/254967412?sortBy=oldest_first&page=2


but these commands appear in many other posts.


P.S. Do you have any third party security tools, cleaning apps, anti-virus, VPN and the like installed or running?

11 replies
Question marked as Top-ranking reply

Mar 6, 2025 8:07 PM in response to Dannymac22

https://keith.github.io/xcode-man-pages/mdutil.1.html#:~:text=DESCRIPTION,metadata%20stores%20for%20mounted%20volumes.


The -E option


-E This flag will cause each local store for the volumes indicated to be erased. The stores will be rebuilt if appropriate.


There are other mdutil options to disable Spotlight searching (such as -d). I hope you did not type that by accident.


It is possible your Mac is somehow misconfigured. However here is a more brute force method but be careful with the rm command (and the others) as if the correct spaces are not entered exactly, it may delete other things. Do a backup first. You can copy/paste from below


sudo mdutil -i off /
sudo rm -rf /.Spotlight*
sudo mdutil -i on /
sudo mdutil -E /


In order, these accomplish:

  1. turn indexing off
  2. delete Spotlight folder
  3. turn indexing on
  4. rebuild


These items have been posted many times in these Discussions. I took this from


https://discussions.apple.com/thread/254967412?sortBy=oldest_first&page=2


but these commands appear in many other posts.


P.S. Do you have any third party security tools, cleaning apps, anti-virus, VPN and the like installed or running?

Mar 7, 2025 8:57 AM in response to Dannymac22

Is this your personal computer or is it managed by someone else (an employer)?


Do you have any anti-virus, security, network monitoring, cleaning, VPN apps installed or running?


This command might help but now I doubt it because your system seems to have firmly disabled Spotlight.


sudo mdutil -a -i on


Can you download and run Etrecheck which may help others here diagnose? Post the report here using the additional text button below.


Using EtreCheck - Apple Community


Mar 7, 2025 9:26 AM in response to Dannymac22

I have never seen this before, I have used these commands myself, but not frequently because I don't encounter Spotlight problems much, and can't find much online from other users with a similar problem except from maybe 10 years ago posts, for example this:


https://apple.stackexchange.com/questions/146508/spotlight-indexing-and-searching-disabled-message-in-terminal-on-osx-why


But I hesitate to suggest what is in there because it is from so long ago.


When you followed this Rebuild the Spotlight index on your Mac - Apple Support did you put your entire internal drive into the "privacy" area (which tells the Mac NOT to index or search it)? Then reboot the Mac. Then go back to Settings and REMOVE the entire drive from the "privacy" area (which tells it to index it anew and enable searching)?


If nothing is still working, I would next try what I suggested with Etrecheck. It won't change anything on your Mac but provides a convenient summary of your configuration and what is installed (no personal info is revealed, you can check that your self before posting the report) which may reveal some culprit to others who are more expert than me who are reading here.


Using EtreCheck - Apple Community




Mar 7, 2025 9:06 AM in response to steve626

Personal computer. No anti-virus.


computer$ sudo mdutil -a -i on

Password:

/:

Indexing and searching disabled.

/System/Volumes/Data:

Indexing and searching disabled.

/System/Volumes/Preboot:

Indexing and searching disabled.

/Volumes/Crucial daily backup:

Indexing and searching disabled.

/Volumes/Crucial daily backup - Data:

Indexing and searching disabled.

/Volumes/Crucial monthly backup:

Indexing and searching disabled.

/Volumes/Crucial monthly backup - Data:

Indexing and searching disabled.

/Volumes/Crucial weekly backup:

Indexing and searching disabled.

/Volumes/Crucial weekly backup - Data:

Indexing and searching disabled.

/Volumes/DFL pwds:

Indexing and searching disabled.

/Volumes/Passport daily backup:

Indexing and searching disabled.

/Volumes/Passport daily backup - Data:

Indexing and searching disabled.

/Volumes/Passport weekly backup:

Indexing and searching disabled.

/Volumes/Passport weekly backup - Data:

Indexing and searching disabled.


That's not too keen.

Mar 11, 2025 1:09 PM in response to Dannymac22

It’s certainly abnormal behavior. But no one can tell what is going on because you have not provided any info about your setup, configuration, or what is installed. Hence the suggestion to run Etrecheck and post its report here. Which you have not done. Not sure I can help but there are many experts reading here who could step in and help you resolve this with the detailed content of that report.

Mar 11, 2025 1:16 PM in response to steve626

I spent ten minutes on the phone with second level Apple support, and the problem is fixed. We did a bunch of seemingly minor things including making and unmaking my boot disk private (which I had tried several times). Maybe I didn't wait long enough between the making and unmaking? Supposed to be a few seconds, but it might need to be longer. The fix was kind of mysterious, in that I never really identified what was disabling my indexing and searching. but all is now good. Blessings on Apple support.


I gave you my machine type and the OS. I can give you a list of thirty apps that are installed, but they were installed back when it was working, so they clearly don't have anything to do with it. My setup? You mean what it's sitting on? Entrecheck gave me no useful info. It rarely does for me. I never told Apple support anything else.

Mar 7, 2025 4:48 AM in response to steve626

Not that simple. I do all the commands you list and ...


computer$ sudo mdutil -i off /

Password:

/:

2025-03-07 06:44:33.646 mdutil[39992:3947023] mdutil disabling Spotlight: / -> kMDConfigSearchLevelFSSearchOnly

Indexing and searching disabled.

computer$ sudo rm -rf /.Spotlight*

computer$ sudo mdutil -i on /

/:

Indexing and searching disabled.

computer$ sudo mdutil -E /

/:

2025-03-07 06:45:12.481 mdutil[40003:3947559] mdutil disabling Spotlight: / -> kMDConfigSearchLevelOff

Indexing and searching disabled.


Loos to me that it doesn't want to have anything to do with Spotlight. Ideas?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Help! My Spotlight isn't working

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.