Spotlight problems
A Finder window search that returns nothing is most often searching the wrong place or carrying a leftover filter. The index comes last. Work through the checks in this order.
Search in a Finder window, then look at the bar under the search field. It has This Mac and a button for the current folder's name. If the folder button is selected, Finder only looked there, and anything elsewhere on the Mac can't appear. Click This Mac and the results update.
Finder can also remember your choice for you. Open Finder > Settings > Advanced and find When performing a search. Its options are Search This Mac, Search the Current Folder and Use the Previous Search Scope. If the last one is chosen, a search made in a small folder carries over to the next.
For the Spotlight menu rather than a Finder window, see Spotlight not finding files.
A Finder search can have extra rows: after you click + (on the right, below the search field), rules such as Kind, Last opened date or File Size stay in place until you remove them. A Kind row set to Image hides every PDF. Click the minus button at the end of each row, or close the window and start a fresh search.
Typing a word makes Finder offer suggestions under the field, one of which limits the search to file names; the exact wording varies by macOS version. If you press Return without picking one, Finder also matches text inside files, so the file you want can sit under hundreds of other hits. Picking the name suggestion narrows the list, but it misses a file whose name doesn't contain the word. Try both before assuming it's missing.
A Finder search runs on the Spotlight index. Compare it with Terminal, which asks the same index:
mdfind -onlyin ~/Documents -name invoice | head
If Terminal finds the file and Finder doesn't, the cause is on the Finder side: the scope, a criteria row, or Finder itself, which you can relaunch with ⌥⌘Esc (select Finder, click Relaunch). If Terminal finds nothing either, check the volume:
mdutil -s /
mdutil -s /Volumes/<DriveName>
Indexing enabled. is the normal answer. The tool can also report Indexing disabled., No index., or Indexing and searching disabled. For a drive that says that, the search will never see its files. A drive can be left out when it carries a .metadata_never_index file at its top level, which is one reason mdutil prints that message.
On macOS 15 and later, open System Settings > Spotlight and click Search Privacy at the lower right. On macOS 14 the pane is Siri & Spotlight and the button is Spotlight Privacy; on older versions, search System Settings for Spotlight. The list is headed "Prevent Spotlight from searching these locations", and nothing inside a listed folder or disk turns up in a Finder search. To include one again, select it and click the minus button. Remove only entries that shouldn't be there.
A file on an external drive is found only if that drive is indexed. Network shares often aren't. Use mdutil -s on the drive, as above. Reformatted or newly connected drives can take a while to index. For the slower fix, rebuilding the Spotlight index is the last step, since the rebuild takes time and results are patchy meanwhile.
~/Library.For search habits that avoid most of this, see Finder search tips.
If none of the above helped, relaunching Finder is cheap and can clear a window stuck on an old search. Close the search window, open a new one with ⌘N, and try again with This Mac selected before you type. If a particular folder never gives results, take it off the Search Privacy list if it's there, then open it once in Finder: if your account lacks permission to see what's inside, Finder says so, and search can't show you those files either.
Everywhere keeps its own index of file names, separate from Spotlight's, so a disabled or rebuilding Spotlight index doesn't affect it. Typing .pdf invoice there finds PDFs with invoice in the name. Desktop, Documents, Downloads and external drives appear once Everywhere has Full Disk Access.
The search is often limited to the current folder, or an old filter row is still active. Click This Mac in the bar under the search field and remove extra criteria rows.
Open Finder > Settings > Advanced, and under When performing a search choose Search This Mac.
The drive may not be indexed. Run mdutil -s /Volumes/<DriveName> in Terminal. If it reports indexing disabled or no index, Finder search can't see its files.
Run mdutil -s / in Terminal. A healthy volume prints Indexing enabled.
Everywhere keeps track of every file on your Mac, including the folders Spotlight hides and drives you have unplugged. Free for a day, then $19 once.
Version 2.20.3 · macOS 13+ · 4.7 MB · notarised