You type a name into Apple Mail, hit return, and… nothing. Or worse — it finds emails from 2019 but not the one that landed this morning. Mail search breaking is one of the most common (and most maddening) Mac email problems, and it almost always comes down to one of four things: you're searching the wrong scope, Mail's search index is corrupted, the account isn't fully synced, or macOS needs a nudge to re-scan your mailboxes.
Work through these in order. The early fixes take seconds; save the index rebuild for when the quick checks don't stick.
First, rule out the search-scope trap (fixes about half of cases)
Apple Mail scopes every search to whatever mailbox is selected in the sidebar. If you're sitting in a single folder — say, one account's Inbox — Mail only searches that folder, even though it looks like you searched everything.
- In the Mail sidebar, click All Inboxes (or the top-level All Mailboxes smart group) before you search.
- Type your term, then look at the bar under the toolbar. Mail shows chips like All, Entire Message, From, Subject. Make sure All and Entire Message are selected — not just Subject.
- If a suggestion drops down as you type (e.g. "People: Jane"), you can pick it — but to search raw text, press Return instead of choosing a suggestion.
If search suddenly works once you switch to All Inboxes, that was it — you were scoped to one folder.
Check that the account is actually synced
Mail can only find what it has downloaded. If a Gmail, iCloud, or IMAP account is stalled, recent mail simply isn't in the local database yet.
- Open Mailbox > Get All New Mail (or press Shift-Command-N).
- Look for a small warning triangle next to an account in the sidebar — that means it's offline. Right-click the account and choose Take All Accounts Online.
- Still stalled? Go to Mail > Settings > Accounts, uncheck Enable this account, wait ten seconds, re-check it. That forces a fresh connection without deleting anything.
Quit and relaunch Mail (and give it a minute)
Press Command-Q to fully quit Mail — not just close the window — then reopen it. On launch, Mail re-reads its index; if it was in a half-broken state, this often clears it. After a big macOS update or a large import, give Mail a few minutes with the app open and your Mac awake so it can finish indexing new messages in the background.
The real fix: rebuild the mailbox (re-index)
If the right emails exist in the mailbox but search still won't find them, the search index for that mailbox is corrupted. Mail has a built-in rebuild that discards the local index and re-downloads/re-scans the mailbox from the server:
- Select the misbehaving mailbox in the sidebar (do this per-mailbox — Inbox, Sent, etc.).
- Choose Mailbox > Rebuild from the menu bar.
- Wait. On a large IMAP mailbox this can take several minutes and it may look frozen — let it finish. Rebuild re-fetches message bodies, so you'll want a stable connection.
Rebuild is safe — it doesn't delete your email; it rebuilds the local copy and its index from the mail server. Repeat for each mailbox that won't search.
When Rebuild isn't enough: force a full re-index
If every mailbox is broken and Rebuild doesn't help, macOS is holding a bad system-wide Mail index. The clean way to force a full rebuild is to quit Mail and remove the envelope index so Mail recreates it on next launch.
- Quit Mail completely (Command-Q).
- In Finder, press Shift-Command-G and go to:
~/Library/Mail/ - Open the version folder inside (e.g.
V10on recent macOS — the number varies by macOS release) and then theMailDatafolder. - Move the files named
Envelope Index,Envelope Index-shm, andEnvelope Index-walto your Desktop (don't delete them yet — keep them as a backup until you confirm the fix). - Reopen Mail. It will announce it needs to import/re-index your messages and rebuild the index from scratch. Let it run to completion.
Once search works again for a day, you can trash the copies you set aside on the Desktop. If something looks wrong, quit Mail and move the originals back.
Rule out a wider Spotlight problem
Mail search leans on the same indexing machinery as macOS Spotlight. If Spotlight also can't find files and apps, the problem is bigger than Mail — reindex Spotlight and the Mail results usually return with it. Our complete guide to Spotlight on Mac walks through the "if Spotlight stops finding things" reset (adding your drive to Privacy in Settings and removing it forces a full re-index).
Still nothing? Two last checks
- Free up disk space. Indexing needs headroom. If your startup disk is nearly full, macOS quietly stops indexing. Aim for at least 10–15% free.
- Update macOS. A handful of macOS point releases have shipped Mail-search bugs that were fixed in the next update. System Settings > General > Software Update.
FAQ
Why does Mail find old emails but not new ones?
Almost always a sync gap: the new mail hasn't finished downloading to your Mac, so it isn't in the local index yet. Run Get All New Mail and make sure the account is online. If it persists, Rebuild that mailbox.
Is "Rebuild" going to delete my email?
No. Rebuild discards the local copy and re-downloads the mailbox from your mail server, then rebuilds the index. Your messages live on the server (Gmail, iCloud, IMAP), so nothing is lost — you just need a connection while it runs.
Where is the Mail index stored?
In ~/Library/Mail/<Version>/MailData/, in files named Envelope Index (plus -shm and -wal companions). Removing them while Mail is quit forces a full re-index on next launch.
My Mac is old and re-indexing takes forever — is that normal?
A slow HDD or an 8 GB Intel Mac can take a long time to re-index a large mailbox, and search stays laggy afterward. That's usually a sign the machine is being held together by patience. A refurbished Apple-silicon MacBook re-indexes a huge mailbox in a fraction of the time and searches instantly — you can browse budget-friendly options on our Apple clearance page, and trade in your current Mac to offset the cost.
Do more with Apple Mail
- Set up Rules and Smart Mailboxes to auto-file mail so you search less.
- Schedule (send later) an email in Mail.
- Add an email account to Mail on Mac.
- All Mac guides →
Search still stubborn after a rebuild? That's often a failing drive or a tired Intel Mac — message Rick and we'll help you sort it (or price out an upgrade). — Rick, LuxuriousComputers