Fix

Spotlight Not Working on Mac? 9 Fixes That Work

Spotlight not working on Mac: 9 fixes

You press ⌘ Space, type the name of a file you know is there, and Spotlight shows nothing. Or it shows apps and web suggestions, but not the document you saved yesterday.

Spotlight relies on an index: a list macOS keeps of what's on your Mac. When search stops working, that index is usually missing a folder, still being built, or damaged. Here are 9 fixes, from the quickest to the most thorough. They work on macOS Tahoe, Sequoia and Sonoma.

1. Wait for indexing to finish

After a macOS update, a migration to a new Mac, or connecting a big drive, Spotlight re-reads everything. Until it's done, results are missing. Open Spotlight and type anything: if it says Indexing, give it time (it can take an hour or more on a full disk). Keep the Mac plugged in and awake.

2. Restart your Mac

It sounds too simple, but a restart clears a stuck search process more often than anything else. Choose Apple menu → Restart, then try the same search again.

3. Check what Spotlight is allowed to show

Open System Settings → Spotlight. Make sure the kinds of results you're looking for are switched on: Documents, PDF Documents, Folders, Images and so on. If Documents is off, Spotlight will never show your files, however good the index is.

4. Remove folders from Search Privacy

In System Settings → Spotlight, click Search Privacy. Anything in this list is hidden from Spotlight. People sometimes add a folder or a whole drive by accident. Select anything that shouldn't be there and click the minus (−) button.

5. Rebuild the Spotlight index

This is the fix that works most often, and it's the one Apple recommends:

  1. Open System Settings → Spotlight → Search Privacy.
  2. Click plus (+) and add your startup disk (usually Macintosh HD). Confirm when asked.
  3. Wait a few seconds, select it again, and click minus (−) to remove it.

macOS throws away the old index and builds a new one. Search will be incomplete until it finishes, so give it time (see fix 1).

6. Rebuild it from Terminal

If the Settings method doesn't take, open Terminal (in Applications → Utilities) and check whether indexing is on:

mdutil -s /

If it says indexing is disabled, turn it on, then erase and rebuild the index (you'll be asked for your Mac password):

sudo mdutil -i on /
sudo mdutil -E /

For an external drive, use its path instead of /, for example /Volumes/Backup.

7. Check external and cloud drives

  • External drives are only searched while they're connected, and only if they're indexed. Run mdutil -s /Volumes/YourDrive to check.
  • Network drives (a NAS or a shared server) are usually not indexed at all, so Spotlight won't find files on them.
  • iCloud Drive: if a file is only in the cloud, open its folder in Finder and choose Download Now from the right-click menu, so Spotlight can read it.

8. Free up space and update macOS

When a Mac is almost full, background jobs like indexing can stall. Check System Settings → General → Storage and clear some space. Then install any waiting update in General → Software Update: Spotlight bugs are often fixed in point updates.

To be fair to Spotlight: once it's working, it's good. On macOS Tahoe it can even find text inside your screenshots and photos. Most "Spotlight is broken" problems end at fix 5.

9. When you can't remember the name: describe it

Sometimes Spotlight is working fine and still can't help, because you don't remember the file's name or any exact words in it. You remember what it was: "the invoice from the design agency last month", "the PDF I downloaded before the meeting".

That's what Trailback is for. It keeps a private memory of your files, PDFs, the words in your screenshots and the web pages you visited, and you search it by describing what you remember:

  • "last month" or "yesterday afternoon" become a date filter by themselves;
  • it reads the words inside PDFs and documents, so "invoice" finds Document (3).pdf;
  • each result shows the matching line, so you know it's the right one before you open it.
Trailback finding a file on Mac by describing it
Describe it, and Trailback finds it

It works fully offline: nothing leaves your Mac. It's on Windows too. See pricing.

Keep search working

Trailback for Mac & Windows

Find anything on your computer by describing it.

Files, PDFs, the words in your screenshots and the pages you visited. 100% offline. Your data never leaves your computer.

Buy now — $9 LifetimePay once · 7-day money back

Trailback - a searchable memory of your computer activity

Frequently asked questions

Why is Spotlight not finding my files?

Usually the index is still being built after an update, the kind of result is switched off in System Settings → Spotlight, or the folder is listed under Search Privacy. Rebuilding the index fixes most other cases.

How do I rebuild the Spotlight index?

Open System Settings → Spotlight → Search Privacy, add your startup disk with the + button, then remove it with the − button. macOS rebuilds the index. From Terminal, sudo mdutil -E / does the same.

How long does Spotlight indexing take?

From a few minutes to an hour or more, depending on how many files you have. Keep your Mac plugged in and awake until it finishes.

Can Spotlight search text in screenshots?

Yes. On macOS Tahoe, Spotlight can find text inside screenshots and photos once they are indexed.

Written by Pavan GK

Pavan is the founder of Trailback, a private, offline app for Mac and Windows that helps you find anything on your computer by describing it. He builds it at Hara Infotech in Hyderabad.