Mail Search Does Nothing After Sequoia: How to Fix It
Mail search does nothing after Sequoia and shows an absurd unread count? It is usually Spotlight still indexing. Check it, fix it, or search without it.
TroubleshootingUpdated 6 min read
On this page
After updating to macOS Sequoia, you type in Mail's search box and nothing happens. The filter bar reads:
Filter by: Unread (9,223,372,036,854,772,607) messagesSearch may also be dead in Calendar and Notes, and rebuilding mailboxes in Mail didn't help.
Why it happens
- Spotlight is still indexing (most likely). In the one thread we found (Sequoia 15.0.1, September 2024), indexing was still running, and search came back, slowly, after it finished. A major update can send Spotlight back to re-indexing, and Mail, Notes and Calendar searches can come back empty or partial until it is done.
- The Spotlight index is stuck or damaged. Waiting won't repair that. We have no evidence of how common it is on Sequoia.
- Mail's own mailbox data is out of step. This is less likely when Notes and Calendar search also fail.
- The unread number itself. It is 3,200 below 9,223,372,036,854,775,807, the largest signed 64-bit integer. That strongly suggests a counter or display bug. We found no Apple explanation, so treat it as a symptom, not a cause.
| Symptom | Likely cause | Fix |
|---|---|---|
| Search empty or slow in Mail, Notes and Calendar | Spotlight still indexing | Fix 1 |
| Spotlight finds nothing even hours later | Indexing off or index stuck | Fixes 2 and 3 |
| Only Mail search fails; Spotlight and Notes work | Mailbox data | Fix 4 |
| You need a message now | Any of the above | Search elsewhere |
Step-by-step fixes
Fix 1: Let Spotlight finish indexing
- Press ⌘Space (Command-Space) and search for a file you know exists. Do the same in Notes. If both are empty or slow, the index is the problem.
- Plug the Mac in and keep it awake so indexing can continue.
- Quit and reopen Mail, then try again later. Expect slow searches until indexing is done.
- Restart the Mac once if nothing has changed after a long wait.
- Open System Settings and search for "Software Update". Install a newer macOS release if one is offered.
Apple says reindexing can take some time depending on how much is being indexed, and that you might see a progress indicator at the top of the Spotlight window. We can't give a reliable duration for your Mac. Judge by whether results grow over time.
Fix 2: Check that indexing is switched on
This command only reads status and changes nothing:
mdutil -s /It tells you whether indexing is enabled for the startup volume, not how far along it is. Save it for next time. If it reports indexing disabled, turn it on:
sudo mdutil -i on /To undo (turns indexing off again):
sudo mdutil -i off /Fix 3: Rebuild the Spotlight index
Do this only after Fix 1 and a long wait. Rebuilding starts from zero, so Spotlight search is slow and incomplete until it finishes. No files or mail are deleted.
The no-Terminal route is in Apple's article Rebuild the Spotlight index on your Mac. You turn indexing off and back on for a disk or folder. On macOS 13 or later, that means adding the disk to the list in System Settings > Spotlight > Search Privacy, waiting a few seconds, then removing it again.
The Terminal route does the same thing for the startup volume:
sudo mdutil -E /This erases the index and makes macOS build a new one. There is nothing to undo. Leave the Mac plugged in and awake.
Fix 4: Rebuild the mailbox in Mail (only if Spotlight is fine)
If Spotlight and Notes search work and only Mail fails, select the mailbox in the sidebar and choose Mailbox > Rebuild. Apple's Mail support article lists this as the step when search isn't working as expected.
The person in the thread tried this and it didn't help, which fits Spotlight being the cause. Our guide to Apple Mail search not working covers Mail-only causes.
Checklist before you try again
- The Mac is plugged in and has been awake for a while.
- Spotlight (⌘Space) returns files, and Notes search returns notes.
mdutil -s /does not report indexing as disabled.- macOS is up to date.
- You ran
sudo mdutil -E /only after waiting, and gave the rebuild time.
Find the email now, without waiting for Spotlight
Waiting out an index doesn't help if you need a message today. Mailloft doesn't use Spotlight for mail search. It keeps its own local SQLite full-text index and searches every account at once, so a stalled Spotlight index doesn't affect it. Your mail stays on the server, so adding an account doesn't touch Apple Mail.
To add an account:
- Click Add Account in the sidebar footer (or the "+" in Settings ▸ Accounts).
- Enter your name and email address. Mailloft picks the provider from the address.
- Create an app password at your provider (the wizard has a button that opens the page) and paste it into App password.
- Let Test Connection run on the Servers step, then choose Add Account.
Search with the toolbar Search field, Edit ▸ Search Mail (⌥⌘F), or /.
- Local index first: sender, recipients, subject, preview, attachment names and the body of messages you've opened, newest first, up to 1,000 local hits.
- Server search as backup: about half a second later it also searches each account's server and lists those under "From Your Servers".
- Operators:
from:,to:,subject:,has:attachment,is:unread,is:flagged,before:,after:,in:,account:, plus"quoted phrases"and-word. See search and search operators.
Limits:
- Bodies are indexed only once opened. Unopened mail is found by sender, subject and preview; server search helps with body text.
- Sync window: the newest 200 messages per mailbox. Older mail loads as you scroll, or turns up through server search.
- Accounts: IMAP and SMTP only. Gmail needs an app password (2-Step Verification required); iCloud, Fastmail and Yahoo use app passwords too. See add an account and app passwords. For Outlook, read Outlook, Hotmail and Microsoft 365 accounts first.
- Spotlight itself: Mailloft doesn't repair it, so Notes and Calendar search stay broken until the index recovers.
Mailloft needs macOS 14 Sonoma or later and is part of MacSuite; you can try it free for 7 days. If Spotlight is simply still indexing, waiting is enough.
If nothing works
Contact Apple Support, or file a report through Feedback Assistant. Include your exact macOS version, that search fails in Mail, Notes and Calendar, the filter-bar text, the output of mdutil -s /, and that you ran sudo mdutil -E /.
Since updating to macOS Sequoia, search does nothing in Mail, and also fails in Notes and Calendar.
Mail's filter bar shows "Filter by: Unread (9,223,372,036,854,772,607) messages".
macOS version: [your version]
Steps tried: waited for Spotlight indexing with the Mac plugged in and awake, restarted,
checked "mdutil -s /", rebuilt the index with "sudo mdutil -E /", Mailbox > Rebuild in Mail.
Result: search still returns nothing.Common questions
Is the unread count of 9,223,372,036,854,772,607 real?
No. It is just under the largest signed 64-bit integer, which points to a display or counter bug. Fixing search is what matters; no one has a mailbox that large.
Does mdutil -s / show indexing progress?
No. It reports whether indexing is enabled. To watch progress, start a Spotlight search and look for the indexing indicator.
Will sudo mdutil -E / delete my email?
No. It deletes the Spotlight index, which is derived data, and rebuilds it. Search is degraded until it finishes. Mail's Mailbox > Rebuild is different: it re-downloads IMAP mail.
Does Mailloft read Apple Mail's data?
No. You add your account to Mailloft directly over IMAP, and it builds its own index from there.