Mac Mail Search Not Working in 2026? 8 Fixes That Work
Apple Mail search finding nothing, or only today's email? Fix it on your Mac: search scope, Trash and Junk, Spotlight settings, rebuilds and the index.
When Mail search on a Mac stops finding emails, start with the cheap checks: make sure you're searching All Mailboxes, not just the one selected, and that Mail is allowed in Spotlight. If results are still missing, rebuild the mailbox (Mailbox > Rebuild), then reindex Spotlight. Rebuilding Mail's own index is the last resort.
It's a maddening one, because the email is right there. You can scroll to it, your iPhone finds it in a second, and the search field on your Mac shrugs. Thankfully the cause is usually narrow: a scope setting, a Spotlight exclusion or an index that needs rebuilding. Below are eight fixes, ordered from a ten-second check to a last resort, a quick way to tell which one you need, and Apple's own instructions linked for each step.
Quick diagnosis: which fix do you need?
Mail on the Mac leans on Spotlight, the system-wide search, so the fastest way to narrow things down is to search for the same email in both places. Press Command-Space, type a word you know is in the email, and see whether Spotlight lists it under Mail.
Symptom | Probably | Try first |
|---|---|---|
Nothing found in one mailbox, but the email is in another | Search is limited to the selected mailbox | Fix 1: search All Mailboxes |
Deleted or junked emails never show up | Trash, Junk or encrypted mail is excluded | Fix 2: Mail's General settings |
Spotlight can't find any of your email either | Mail is switched off or blocked in Spotlight | Fixes 3 and 6 |
Spotlight finds it but Mail doesn't | Mail's own index is out of date | Fixes 5 and 8 |
Results stop at a certain date, or only today's mail appears | Local copy out of sync or an incomplete index | Fixes 4, 5 and 8 |
Search broke right after a macOS update | Spotlight may still be indexing | Fix 7, then wait |
The first time this happened to me, I went straight for the scary fixes before noticing I had one mailbox selected in the sidebar. Check the boring things first. They solve it more often than you'd think.
Fix 1: Search all mailboxes, not just the selected one
Apple Mail searches only the mailboxes you have selected in the sidebar or the Favorites bar, so an email filed in another folder or another account won't appear. Apple's search guide says that when the current mailbox has no results, you click Search all mailboxes below the search field.
- Click in the search field in the Mail toolbar and type your search.
- If nothing turns up, click Search all mailboxes below the search field.
- Or select All Mailboxes in the sidebar before you search, as Apple's troubleshooting page suggests.
Look at the filters in the search field too. Mail turns your typing into filter tokens, and Apple notes that it returns only messages matching all of them, so a leftover "From" token from a previous search can hide everything. Clear the field and start again. The full set of tokens and operators is in Apple Mail advanced search.
Fix 2: Include Trash, Junk and encrypted messages
Mail can leave the Trash, Junk and encrypted messages out of an all-mailbox search, which makes it look as though an email has vanished. The switch lives in Mail's General settings, under When searching all mailboxes, include results from, according to Apple's General settings page.
- Open Mail > Settings (Command-Comma).
- Click General.
- At the bottom, under When searching all mailboxes, include results from, tick Trash, Junk and Encrypted Messages as needed.
- Close the window and search again.
Junk is the one that catches me. When I was looking for a shipping confirmation that never seemed to arrive, it had been sitting in Junk the whole time, invisible to search until I ticked that box.
Fix 3: Make sure Mail is turned on in Spotlight
If Mail is switched off in Spotlight's settings, Mail search can come back empty, because Mail relies on the Spotlight index. Apple's troubleshooting page lists this as a cause and the fix is a single switch.
- Open Apple menu > System Settings.
- Click Spotlight in the sidebar (called Siri & Spotlight on some earlier versions).
- Under Results from Apps, make sure Mail is turned on. On macOS Ventura the equivalent is the Mail & Messages checkbox under Search Results.
Apple's Spotlight settings page describes Results from Apps as the place where you choose which apps' content shows up in Spotlight, so this is also the setting a privacy cleanup may have switched off without you noticing.
Fix 4: Synchronize the account with the server
With server-based accounts such as iCloud, Gmail or Microsoft 365, the copy of your mail on the Mac can drift out of step with the server, and Mail can only search what it has downloaded. Apple's troubleshooting page says to choose Mailbox > Synchronize and pick the account.
- In Mail, choose Mailbox > Synchronize, then the account name.
- Leave Mail open while it works. Years of mail means a longer wait.
- Search again once the activity in the sidebar settles.
A quick sanity check before going further: open the same account in its web version (iCloud.com, Gmail or Outlook on the web) and search there. If the email isn't on the server either, no Mac fix will find it, and you're looking for a deleted or never-delivered message instead.
Fix 5: Rebuild the mailbox
Rebuilding a mailbox in Apple Mail refreshes the list of messages it contains. Apple's mailbox guide recommends it when messages look missing or garbled, or when you can't find all the relevant messages using the Entire Message search option.
- In the Mail sidebar, select the mailbox that search is failing on, such as Inbox.
- Choose Mailbox > Rebuild.
- Wait for the mailbox to refill, then search again.
Rebuild one mailbox at a time and start with the one you search most. We cover rebuilds in more depth, including when Mail crashes during one, in Mac Mail keeps crashing.
Fix 6: Take the Mail folder out of Spotlight's privacy list
Spotlight ignores anything on its Search Privacy list, and if your Mail folder or your whole disk is on that list, Mail search can't see the messages. Apple's troubleshooting page says to remove the Mail folder from that list if it's there.
- Open Apple menu > System Settings and click Spotlight.
- Click Search Privacy (called Spotlight Privacy on some versions).
- If you see Mail, your Library folder or a disk that holds your home folder, select it, then remove it with the – button.
- Click Done.
Fix 7: Rebuild the Spotlight index
When Spotlight itself has lost track of your email, Apple's fix is to reindex: add your disk to the Search Privacy list, then remove it again. Apple's Spotlight rebuild article gives these steps.
- Choose Apple menu > System Settings, then click Spotlight in the sidebar.
- Click Search Privacy at the bottom.
- Drag Macintosh HD onto the list, or click the add button (+) and choose it. Click OK if asked to confirm.
- Wait a few seconds, select Macintosh HD in the list, and take it off with the – button.
- Click Done and quit System Settings. Spotlight starts reindexing the disk.
Give it time
Apple says reindexing can take hours or even days depending on how much is on the Mac, and it finishes sooner when the Mac is idle, plugged in and online. Press Command-Space and a progress indicator appears above the Spotlight results while indexing runs, and expect Mail to say indexing is incomplete until it's done (Apple).
If search broke right after a macOS update, an unfinished index is the first suspect, since Mail results stay incomplete until Spotlight catches up. After a big update, I let the Mac sit plugged in overnight before I touch any of the deeper fixes. Apple also recommends installing the latest software updates before you rebuild the index.
If you get an "unknown" or permissions error when adding the disk, Apple says your account may not own some items on it, and the same article links to how to change permissions.
Fix 8: Rebuild Mail's Envelope Index (last resort)
Apple Mail keeps its own database of your messages, a set of files named Envelope Index in your Library folder, and when that database is damaged search fails even though Spotlight works. Apple's user guide doesn't document this fix; it's a long-standing workaround from the Apple Support Community, most recently suggested in January 2026 for a Mac on macOS 26.2 whose Mail search only returned the current day's messages.
Back up first
Make sure you have a current Time Machine backup before touching files in your Library folder. Move the files to the Trash rather than deleting them, so you can put them back if something goes wrong.
- Quit Mail (Command-Q).
- In the Finder, choose Go > Go to Folder (Shift-Command-G) and enter ~/Library/Mail.
- Open the highest-numbered V folder (the community reply lists V10 for Ventura and later), then open MailData.
- Move Envelope Index, Envelope Index-shm and Envelope Index-wal to the Trash.
- Open Mail. It tells you it needs to import your messages; let it finish, then search again.
The same community reply suggests one more optional step if Spotlight still can't see Mail afterward: re-registering Mail with Spotlight from Terminal with mdimport -r /System/Library/Spotlight/Mail.mdimporter. Since that isn't from Apple's documentation, treat it as optional and skip it if you're not comfortable in Terminal.
If Mail search still isn't working
When all eight fixes fail, the problem is usually bigger than search. If new mail isn't arriving either, the account may be offline or stuck, so start with the fixes for a Mail inbox that has stopped updating. If Mail freezes or quits while it rebuilds, work through the crash fixes first.
- Search on the web or your iPhone in the meantime. Server-side search on iCloud.com, Gmail or Outlook on the web doesn't depend on your Mac's index at all.
- Try another user account on the Mac. If search works there, the problem is in your own Library folder, which points back to Fixes 6 to 8.
- Contact Apple Support with your macOS version and what you've tried. Listing the fixes saves you from being walked through them again.
When I need an old email urgently and Mail is mid-reindex, I don't wait for it. I search the account on the web, forward myself the thread, and come back to the Mac fix later.
How to keep Mail search working
- Leave Mail turned on under Spotlight > Results from Apps, and check it after any privacy cleanup or "speed up your Mac" app.
- After a macOS update, give Spotlight time to reindex before deciding search is broken.
- Archive instead of piling everything in the Inbox, so a rebuild of the mailbox you search most has less to chew through. Archived mail is easy to find again; here's where it goes.
- Keep Time Machine running so a damaged index or mailbox is never a risk to the mail itself.
Search Gmail by asking
If your Mac Mail account is Gmail, Merlin can search it for you from its Mac app while Mail is reindexing. Ask in chat, for example "find the invoice from the printer in March", and Merlin searches every connected Gmail account at once and tells you which account each result came from.
Get MerlinFrequently asked questions
Why is my Mac Mail search not finding emails?
Usually because the search is limited to the selected mailbox, Trash or Junk is excluded, or Mail is switched off or blocked in Spotlight. If those settings are right, the mailbox or the Spotlight index needs rebuilding.
Does rebuilding a mailbox in Mac Mail delete emails?
Apple describes a rebuild as refreshing the list of messages a mailbox contains, not removing them. Still, keep a Time Machine backup, especially for mail that exists only on your Mac.
How long does Spotlight take to reindex Mail?
Apple says it can take hours or even days depending on how much data is on the Mac. It finishes faster when the Mac is idle, plugged in and connected to the internet.
Why does Mail search only show recent emails?
That pattern usually means the local copy or the index is incomplete. Synchronize the account (Mailbox > Synchronize), rebuild the mailbox, and if that fails, rebuild the Envelope Index.
Why did Mail search stop working after a macOS update?
The most likely cause is a Spotlight index that hasn't finished, since Mail results stay incomplete until it does. Leave the Mac plugged in and idle, check for progress with Command-Space, and rebuild the index if it never recovers.
Is it safe to delete the Envelope Index files?
It is a long-standing community workaround rather than an Apple-documented fix, and Mail recreates the files by importing your messages again. Quit Mail first, move the files to the Trash rather than deleting them, and have a backup.