Find Files and Folders on Mac: Full Guide
In this article
To find files and folders on a Mac, use Spotlight (Cmd+Space) for quick searches by name or content, or use Finder's Search bar (Cmd+F) for more advanced filters like file type, date, and size. This guide covers all built-in search methods, tips for refining results, and answers to common questions about locating items on macOS.
Spotlight: The Fastest Way to Search
Spotlight is macOS's system-wide search tool, accessible by pressing Cmd+Space or clicking the magnifying glass icon in the menu bar. It indexes file names, content, metadata, and even web results. To find a file, simply type part of its name; Spotlight will show matches as you type, ranked by relevance. You can press Enter to open the top result, or use Cmd+Down Arrow to open the file's location in Finder.
Spotlight also supports natural language queries like “emails from John” or “documents from last week.” For more control, use operators: name:report searches only file names, kind:pdf filters by type, and date:today limits to today's files. These can be combined, e.g., name:budget kind:spreadsheet.
Finder Search: Advanced Filtering
When you need more precise control, open a Finder window and press Cmd+F to activate the search bar. By default, it searches the entire Mac, but you can choose a specific folder from the search bar's dropdown. Click the “+” button to add search criteria such as:
- Kind: Images, PDFs, Documents, Folders, etc.
- Date modified: Today, yesterday, last week, or a custom range.
- Size: Greater than, less than, or between specific sizes.
- Name: Contains, starts with, ends with, or matches exactly.
You can also search by content using the “Contents” field, which scans the text inside files. This is useful when you remember a phrase but not the file name. To save a search for reuse, click “Save” in the search bar; it will appear in the Finder sidebar under “Searches.”
Using the Finder Sidebar and Recent Items
The Finder sidebar provides quick access to common locations: AirDrop, Recents, Applications, Desktop, Documents, Downloads, and any folders you add. The “Recents” smart folder shows files you've recently opened, which is handy when you can't remember where you saved something.
You can also access recently opened files from the Apple menu (Apple menu → Recent Items). This lists documents, folders, and servers you've accessed recently, and you can clear this list if privacy is a concern.
Searching by File Type and Metadata
macOS indexes metadata for each file, including type, creation date, last opened date, and even camera settings for photos. In Finder search, you can add a criterion like “Kind is Image” to see all images, then refine by “Camera Model” or “Aperture” if you have photos. For music, you can search by artist, album, or genre. This metadata search is powered by Spotlight's index, so it's fast and doesn't require you to remember exact file names.
Common Problems and Fixes
If Spotlight or Finder search returns no results, the index may be corrupted or disabled. To rebuild the Spotlight index:
- Open System Settings → Siri & Spotlight.
- Click the “i” icon next to “Spotlight Privacy.”
- Add your hard drive (or the folder with issues) to the list, then remove it. This forces macOS to re-index that location.
If search is slow, ensure your Mac is connected to power and has free storage; indexing can take time. Another issue is that hidden files (starting with a dot) are not shown by default. To reveal them in Finder, press Cmd+Shift+. (period) while in a folder view.
Alternatives: Terminal and Third-Party Tools
For power users, the Terminal offers command-line search tools. The mdfind command uses the same Spotlight index, e.g., mdfind -name budget. The find command searches the file system directly but is slower: find / -name "*.pdf". These are useful for scripting or when you need to search system files that Spotlight might ignore.
If you need to search inside file contents of many documents, you can use grep -r in Terminal, but it's case-sensitive and may be slow. Third-party apps like Alfred or Find Any File offer additional features, but the built-in tools are sufficient for most users.
Frequently Asked Questions
Why can't I find a file even though I know it exists?
Spotlight may not have indexed that file yet, especially if it's on an external drive or in a hidden folder. Check that Spotlight is enabled for that location in System Settings, and try rebuilding the index as described above.
How do I search for a file by its content?
In Finder search, add a criterion and choose “Contents” from the first dropdown. Type a word or phrase that appears in the file. Spotlight also searches content by default for many file types, but you can force it with content:searchterm in Spotlight.
Can I search for files by size or date?
Yes. In Finder search, click “+” and select “Size” or “Date modified.” You can set conditions like “greater than 1 GB” or “within last 7 days.” Spotlight also supports size:>1GB and date:today.
How do I find files on an external drive?
Connect the drive, then open Finder and select the drive in the sidebar. Use Cmd+F to search within that drive. If Spotlight doesn't index external drives, go to System Settings → Spotlight → Privacy and ensure the drive isn't in the exclusion list.
What is the difference between Spotlight and Finder search?
Spotlight is a quick, system-wide search that also includes web results and app suggestions. Finder search is more detailed, allowing multiple criteria and saving searches. Both use the same index, so results are similar, but Finder gives you more control.
How do I find files with a specific extension?
In Finder search, add a criterion: Kind is “Document” or use the name criterion: name ends with .pdf. In Spotlight, type kind:pdf or ext:pdf.