Mail stuck indexing and search not working on Sequoia

Apple mail is stuck indexing on Sequoia and search doesn't work.


I'm on Sequoia 15.3.1 (24D70), with Mail Version 16.0 (3826.400.131.1.6)


I've had this in the past on other versions of mail, and have tried some of the other suggestions, such as re-starting spotlight, restarting mail, rebuilding the mailboxes, etc. as per other questions and If you can't see email messages in Mail on Mac - Apple Support


Apple mail remains in this "indexing..." state forever in the Mail/Window/Activity and search has not worked for me for at least a month.



MacBook Pro (M2, 2022)

Posted on Apr 27, 2026 8:58 AM

Reply
Question marked as Top-ranking reply

Posted on May 13, 2026 6:39 PM

OK -- my IT people have my Mac configured to use Active Directory to sign into microsoft stuff and has some Secure Token that can get out of sync with institutional password changes. One can refresh the SecureToken from another admin account per the stuff on `man sysadminctl` or https://ss64.com/mac/sysadminctl.html by toggling the SecureTokenStatus on and off for the affected user.


I switched-user to an admin account and did this:



sudo zsh
sysadminctl -secureTokenStatus broken_user
sysadminctl -secureTokenOff broken_user -password - -adminUser administrator_user_name -adminPassword -
sysadminctl -secureTokenStatus broken_user
sysadminctl -secureTokenOn broken_user -password - -adminUser administrator_user_name -adminPassword -
sysadminctl -secureTokenStatus broken_user
exit


And then switched back to my account, triggered a spotlight reindex, and now my Mail.app search started working within seconds.


I did not even need to log out of my broken account or Mail.app, I just switched user to an admin, toggled my SecureToken off and on, and then search worked. I didn't check that search didn't work before I triggered the spotlight reindex, before I did test Mail.app's search, so maybe the re-indexing wasn't even necessary.


Although search now works, Mail still says it is indexing. But since search seems to work again, I can happily wait and see if the indexing remains stuck:





3 replies
Question marked as Top-ranking reply

May 13, 2026 6:39 PM in response to drf5n

OK -- my IT people have my Mac configured to use Active Directory to sign into microsoft stuff and has some Secure Token that can get out of sync with institutional password changes. One can refresh the SecureToken from another admin account per the stuff on `man sysadminctl` or https://ss64.com/mac/sysadminctl.html by toggling the SecureTokenStatus on and off for the affected user.


I switched-user to an admin account and did this:



sudo zsh
sysadminctl -secureTokenStatus broken_user
sysadminctl -secureTokenOff broken_user -password - -adminUser administrator_user_name -adminPassword -
sysadminctl -secureTokenStatus broken_user
sysadminctl -secureTokenOn broken_user -password - -adminUser administrator_user_name -adminPassword -
sysadminctl -secureTokenStatus broken_user
exit


And then switched back to my account, triggered a spotlight reindex, and now my Mail.app search started working within seconds.


I did not even need to log out of my broken account or Mail.app, I just switched user to an admin, toggled my SecureToken off and on, and then search worked. I didn't check that search didn't work before I triggered the spotlight reindex, before I did test Mail.app's search, so maybe the re-indexing wasn't even necessary.


Although search now works, Mail still says it is indexing. But since search seems to work again, I can happily wait and see if the indexing remains stuck:





May 11, 2026 11:05 AM in response to drf5n

The


sudo mdutil -a -i off

sudo mdutil -a -i on


per Search function in apple mail does no ***… - Apple Community did not do it.


Toggling SystemSettings/Spotlight/Mail&Messages per Search function in apple mail does no ***… - Apple Community on and off per didn't fix it.


Reindexing spotlight by toggling Finder/Settings/ShowAllFilenameExtensions didn't work.


Quitting mail and using Finder to delete Mail's three Library/V10/MailData/Envelope* files per Search function in apple mail does no ***… - Apple Community seems hopeful -- It at least gives an indication it is re-importing mail and an estimate of how long it will take:



but still it seems hung in indexing and the Search doesn't seem to filter anything. Here's the Mail/Window/Activity window and the search box that didn't filter out anything out of my "All Inboxes" panel (not shown).



I've also gone through a few cycles of rebooting in between these things I've tried, and I still have the mail-search-not-searching issue.


Mail stuck indexing and search not working on Sequoia

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