Roost Download free
All fixes

Fix mail problems on a MacApple Mail

Apple Mail search not working on a Mac

Most fixes come down to Spotlight's index or Mail's own list of each mailbox. Start with the checks that change nothing, and leave deleting files for last.

By Telman, who makes Roost · Checked 19 November 2026

When Apple Mail search stops working on a Mac, it's nearly always one of three things: Mail is searching a smaller place than you think, Spotlight hasn't finished indexing your mail (or was told not to), or a mailbox's list of messages on the Mac has gone stale. The fixes below run from the ones that change nothing to the one that deletes files. Each says where it comes from: Apple's own pages where Apple documents it, forum threads where it doesn't.

In short

  • Click "Search all mailboxes" under the search field and take filters off.
  • Make sure your home folder isn't in Spotlight's privacy list, then let Spotlight reindex. Apple says that can take hours or even days.
  • Select each mailbox you search and choose Mailbox › Rebuild.
  • Deleting the Envelope Index files comes from forum answers, not from Apple. Quit Mail and keep a copy first.

1. Check where Mail is looking

Mail searches the mailbox you have selected. Apple's Mail guide for macOS 27 says that if there are no results in the current mailbox, click "Search all mailboxes" below the search field. It also says Mail looks for messages that match all the search filters, so every token you add (a sender, a date, "has attachments") narrows the list. If results look wrong, remove some.

Two smaller things to rule out:

  • The account is switched on. Apple's page on missing messages has you check Mail › Settings › Accounts for "Enable this account."
  • The account is online. A lightning bolt next to its mailboxes means Mail took it offline, and nothing that arrived since is on your Mac to be found. Click the bolt, or see Apple Mail not receiving email.

On macOS 27 the best matches come first as Top Results, so scroll past them before deciding a message is missing.

2. Spotlight: the privacy list and indexing

Mail's search leans on Spotlight. Apple's page on Spotlight indexing (published 25 August 2026) lists "a notification from Mail that indexing is incomplete" among the signs that indexing is still running. Depending on how much data you have, it says, indexing "can take hours or even days," and goes faster with the Mac plugged in, idle and on Wi-Fi or Ethernet.

First check that Spotlight may look at your mail. Apple Community answers put it plainly: neither ~/Library/Mail nor any folder above it, your home folder included, should be in Spotlight's privacy list. Apple's own page doesn't spell that out. Then reindex, using Apple's steps:

  1. Choose Apple menu › System Settings, then click Spotlight (or Siri & Spotlight).
  2. Scroll down and click Search Privacy (or Spotlight Privacy).
  3. Add the folder to the list by dragging it in or clicking +. People reindexing mail add their home folder.
  4. Wait a few seconds, select it in the list and click −, then Done. Spotlight indexes that folder again.

Leave the Mac on power for a few hours before you judge search. On macOS 27.2 there's also a new Excluded Apps setting for "which apps Siri, Search, and suggestions can access." Apple doesn't say whether it touches Mail's own search box, but it's worth checking Mail isn't excluded.

3. Rebuild the mailbox

Apple's July 2026 article on messages you can't see says it directly: if search isn't working as expected, select the mailbox and choose Mailbox › Rebuild. For IMAP and Exchange accounts, Apple's guide explains, the messages and attachments stored on your Mac are discarded and downloaded again, and the mailbox "appears empty until the download is complete." Nothing is deleted on the server.

Rebuild each mailbox you search in, not only the top one. In a MacRumors thread about search on macOS 27, one person reported in September 2026 that rebuilding every folder of his iCloud account brought search back, after rebuilding the top folder did nothing.

4. The Envelope Index (deletes files)

This step deletes files Mail uses. Apple doesn't document it: its guide only says Mail may repair mailboxes "by reindexing your email messages" when it detects a problem. Quit Mail, and copy the files somewhere safe before you move them to the Trash, so you can put them back.

The Envelope Index is Mail's database of the messages on your Mac. Forum answers say deleting it removes no mail (the messages stay in Mail's folders and on your server) and that Mail builds a new one when it opens. The steps, from a January 2026 Apple Community answer for macOS 26.2:

  1. Quit Mail.
  2. In the Finder, choose Go › Go to Folder and enter ~/Library/Mail/V10/MailData. The answer gives V10 for Ventura and later; if your Mail folder holds a higher V number, use that.
  3. Copy the files whose names start with "Envelope Index" to another folder, then move the originals to the Trash.
  4. Open Mail and let it rebuild. With years of mail this takes a long time.

Results are mixed. In the macOS 27 thread, one person said this plus a Spotlight reindex fixed search; another said deleting the files changed nothing. That's why it comes fourth.

5. After a macOS update

Search breaking right after an update is a common forum complaint: in a January 2026 thread on macOS 26.2, search found only that day's messages, and testers of the macOS 27 betas called it "completely broken" in August 2026. An update can mean Spotlight indexes again, which by Apple's numbers can take days, so wait with the Mac plugged in before deleting anything. Then install the latest point release (System Settings › General › Software Update), which Apple lists as a step too. Meanwhile your provider's website searches the server directly.

In Roost

I make Roost, a Mac mail app, and its search works differently. It doesn't use Spotlight or Mail's Envelope Index: it keeps its own full-text index on your Mac (SQLite's FTS5), filled as mail syncs, so there's no privacy list or index file to repair. ⌘ K searches every inbox at once, and accents fold, so "cafe" finds "café."

It takes Gmail's search words, such as from:, in:sent, is:unread and after:2026-10-01 (the list is on Gmail search operators). Roost keeps the last 90 days on the Mac; for older mail, "Search older mail on the servers" asks each inbox's own server. has:attachment finds letters with files. More on search in Roost.

Questions

Does Mailbox › Rebuild delete my email?

Not on the server. For IMAP and Exchange accounts, Apple says Rebuild discards the copies on your Mac and downloads them again. For mailboxes kept only On My Mac, Apple's page doesn't say what happens, so back them up first.

Why does search work on my iPhone but not on my Mac?

Each device keeps its own copy and its own index. If the iPhone finds the message, it's on the server and the Mac's index is the problem, which points to steps 2 to 4.

How long should I wait after reindexing?

Apple says Spotlight indexing can take hours or even days. Keep the Mac plugged in and leave it alone for a while before trying the riskier steps.

Sources

  1. Apple, Search for emails in Mail on Mac (Mail User Guide, macOS 27), read 19 November 2026.
  2. Apple, If you can't see email messages in Mail on Mac, published 15 July 2026, read 19 November 2026.
  3. Apple, About Spotlight indexing and search results on Apple devices, published 25 August 2026, read 19 November 2026.
  4. Apple, Rebuild mailboxes in Mail on Mac (Mail User Guide, macOS Sequoia 15), read 19 November 2026.
  5. Apple, Reindex emails in Mail on Mac, read 19 November 2026.
  6. Apple, What's new in the updates for macOS 27 Golden Gate, published 9 November 2026, read 19 November 2026.
  7. Apple Community, Mac Mail search broken after update (macOS 26.2, January 2026), read 19 November 2026.
  8. MacRumors Forums, mac OS 27: Email Search completely broken? (August to September 2026), read 19 November 2026.