How to find any file on Mac (guide with pics)

Press Command-Space bar, type part of the file's name, and Spotlight finds any file on your Mac in seconds.

This guide covers Spotlight, Finder search and its keywords, Smart Folders, large and duplicate files, Siri and Terminal, and what to do when search returns nothing.

How to Find Any File on Mac (Guide with Pics)
Press Command-Space bar to open the Spotlight Search field, then type part of the file name. (Image: Apple)

How to quickly find any file on Mac

Spotlight searches a local index of everything on your Mac, so results appear as you type.

  1. Press Command-Space bar to open Spotlight.
  2. Press Command-2 to switch to the Files browse mode.
  3. Type any part of the file name or a word inside the file.
  4. Hold Command to see where the highlighted result is stored.
  5. Press Return to open it, or Command-R to show it in the Finder.

Press Space bar on a result to preview it with Quick Look before you open it.

Which Mac file search method should you use?

What you know or need Use this Why
Part of the name or a word inside Spotlight, Command-Space bar Fastest, searches file contents too
File type, date or author Finder search with criteria Combine rules such as Kind and Date
The same search every week A Smart Folder Updates itself as files change
Running out of space System Settings > General > Storage Lists the biggest documents with sizes
Edited something recently Finder List view sorted by Date Modified Newest work at the top
The folder path Go > Go to Folder Jumps straight to the folder
A phrase inside a text file grep in Terminal Prints the matching lines
Duplicate photos Photos > Utilities > Duplicates Photos finds them for you

Searching with Spotlight Search

Spotlight can narrow results by location, app and type without opening the Finder.

  1. Press Command-Space bar to open Spotlight.
  2. To search one location, type its name, such as iCloud Drive, then press Tab.
  3. To search inside one app, type the app name, such as Notes, then press Tab.
  4. To limit results to one kind, type /PDF and press Return.
  5. Type the file name and press Return to open the top match.

Categories such as Folders or Screenshot appear below the search field as you type; click one to filter instantly.

Searching with the Finder app

Finder search shows results in a window you can sort, so it suits searches that return many files.

  1. Press Option-Command-Space bar to open a Finder window with the search field selected.
  2. Type your search term and press Return.
  3. Click + on the right, below the search field.
  4. Click the far-left pop-up menu and choose Kind, Name or another criterion.
  5. Pick a value in the next pop-up menu, such as Document or Image.
  6. Click + again to add more rules, or – to remove one.

An item must match every rule to appear. For extra attributes, choose Other in the first pop-up menu and select from the list.

Find files on Mac with Finder search rules set to Kind is Any
Pick a criterion such as Kind in the far-left pop-up menu; an item must match every rule to appear. (Image: Apple)

How to find large files

macOS lists your largest documents in Storage settings, with a button to reveal each one in the Finder.

  1. Choose Apple menu > System Settings.
  2. Click General in the sidebar, then click Storage.
  3. Click the Info button next to Documents.
  4. Click the large files button to list the biggest documents, or click Size to sort.
  5. Select a file and click Show in Finder to see where it lives, or Delete to remove it.

File Browser in the same dialog shows how much space each folder uses, which helps when you need to free up disk space on your Mac. On macOS versions before Ventura 13, use Apple menu > About This Mac > Storage.

Find recently modified files

Sorting a Finder window by date puts your latest work at the top.

  1. Click the Finder icon in the Dock.
  2. Choose Go > Recents to see recently used files.
  3. Switch to List view with the view buttons in the toolbar.
  4. Click the Date Modified column heading; click it again to reverse the order.
  5. For a date cutoff, search modified:<=7/29/24 in the search field, changing the date.

If Date Modified is not shown, Control-click any column heading and select it.

Find recently modified files on Mac using the Finder List view button
Switch to List view, then click the Date Modified column heading to put the newest files first. (Image: Apple)

Find specific documents

Search keywords narrow results to one file type, author or title. They work in the Finder search field and in Spotlight.

To find Type this Result
Documents containing a word trip kind:document Only documents that mention trip
PDFs only invoice kind:pdf PDF files that match invoice
Presentations kind:presentation Keynote and other slide files
Files by one author author:tom Documents written by Tom
Files with a word in the name name:budget Name matches, not content matches
Files with a tag tag:work Everything tagged Work
Documents of multiple types kind:pdf OR kind:presentation Either type in one list
Exclude a word trip -france Trip files that do not mention France

Find folders

Folders have their own search keyword, and the Go menu jumps straight to one when you know its path.

  1. Press Command-Space bar and type kind:folder followed by the folder name.
  2. Hold Command to see the folder's path, then press Return to open it.
  3. If you know the path, choose Go > Go to Folder in the Finder.
  4. Type the path, such as ~/Pictures/, and press Tab to accept a suggestion.
  5. Double-click the destination folder.

Go > Recent Folders lists folders you opened lately. Hold Option in the Go menu to reveal Library, one of the folders macOS hides; you can also show hidden files in the Finder with a keyboard shortcut.

Searching with Siri

Siri uses the same Spotlight index. Siri AI, in beta in macOS 27 on Apple Intelligence Macs, can search photos, mail, messages and more by description.

  1. Go to System Settings and click Siri in the sidebar.
  2. Click Turn on Siri and follow the onscreen instructions.
  3. Activate Siri by pressing and holding the Siri key, clicking Siri in the menu bar, or saying "Siri".
  4. Ask for what you need, for example "Find photos from my trip to Lisbon".
  5. With Siri AI, you can also press Command-Space bar and type the request into Spotlight.

Siri needs an internet connection. When it does not return the file, Spotlight's Files mode is the faster fallback.

Searching with Terminal

Terminal's grep tool finds a word or phrase inside a file and prints every matching line. You can open Terminal on your Mac by searching for it in Spotlight.

grep search_string filename

Replace search_string with the text to look for and filename with the file to search. Run it from the folder that holds the file, or give the file's full path.

You should see: Terminal prints each line that contains the text. No output means the file does not contain it.

Advanced search tips and tricks with Finder app

Finder search accepts more than file names. These tricks cut a long result list to the file you want.

Trick How Use it for
Any, All or None rules Hold Option and click the button beside a rule Match either of two names, or exclude a type
Search metadata Use attributes from Other, after checking them with File > Get Info Camera model, copyright, author
Group results Click the group button and choose Date Last Opened, Kind or Size Scan large result lists by section
Preview without opening Select a result and press Space bar Confirm the right version quickly
Preview pane View > Show Preview See contents beside the result list
Tags Control-click a file and choose a color tag Find it later from the sidebar or Spotlight
Date ranges date:6/29/24-7/25/24 Files from a specific period

Smart folders (Save repeated searches)

A Smart Folder is a saved search that updates itself as files are added, changed or deleted. Files stay where they are.

  1. In the Finder, choose File > New Smart Folder.
  2. Type a term in the search field and choose a suggestion below it.
  3. Click + below the search field to add a rule, such as Kind is PDF.
  4. Click Save, then enter a name and location.
  5. Keep Add To Sidebar selected so the folder appears in the Finder sidebar.
  6. Click Save.

To change the rules later, open the Smart Folder, click the action button and choose Show Search Criteria. Folder names cannot contain a colon.

A Finder search can become a Smart Folder too: click Save below the search field.

Advanced search with Spotlight Search

Spotlight shortcuts and keywords let you search without touching the mouse.

Action Shortcut or syntax What it does
Search files only Command-2 Hides apps and actions
Search apps only Command-1 Lists installed apps
Search clipboard history Command-4 Finds text and files you copied
Filter by kind kind:images New York City Only images that match
Show a file's path Hold Command Reveals the folder
Show in Finder Command-R Opens the enclosing folder
Recall the last search Up Arrow Repeats your previous query
Quick Actions Select a result, press Tab Acts on the file without opening it

How to find duplicate files

macOS finds duplicate photos and videos for you in Photos. For other files, a name search sorted by size shows copies side by side.

  1. Open Photos and click Duplicates below Utilities in the sidebar.
  2. Select the duplicates, or press Command-A to select all.
  3. Click Merge [number] Items, then confirm.
  4. For other files, search the file name in a Finder window with name: before it.
  5. Switch to List view and click Size so identical copies line up.
  6. Hold Command on each result in Spotlight, or check Get Info, to compare locations before you delete one.

Merged photo duplicates go to Recently Deleted, where you can recover them for 30 days.

How to check you found the right file on Mac

Two files can share a name. Confirm the location and contents before you edit or delete.

  1. Select the result and press Space bar to preview it.
  2. Choose File > Get Info to check its size, location and dates.
  3. In List view, compare Date Modified against other copies.
  4. Press Command-R in Spotlight to open the folder that holds it.
Check the right file on Mac in the Finder preview pane with dates
The preview pane shows the file type, size and its Created and Modified dates beside the result list. (Image: Apple)

Common issues with search in Finder

Spotlight or Finder finds nothing after an update

Spotlight is rebuilding its index, which can take hours or even days after setup or a macOS update.

  1. Press Command-Space bar and look for an indexing progress indicator at the top.
  2. Keep the Mac awake and connected to power.
  3. Connect to Wi-Fi or Ethernet so mail and other data can download for indexing.

A certain type of file never shows up

That category is turned off in Spotlight settings.

  1. Choose Apple menu > System Settings, then click Spotlight.
  2. Review Results from Apps and Results from System.
  3. Turn on the categories you want to search.

Files you know exist are missing from results

The Spotlight index for that disk or folder is damaged.

  1. Open System Settings > Spotlight and click Search Privacy at the bottom.
  2. Click + and add the disk, such as Macintosh HD, or the folder.
  3. Wait a few seconds, select it, and click – to remove it.
  4. Click Done; Spotlight reindexes that location.

An "unknown" or permissions error appears when reindexing

Your user account does not own some items in the disk or folder.

  1. Select the folder in the Finder and choose File > Get Info.
  2. Check its permissions and change the folder permissions so your account has access.
  3. Repeat the Search Privacy steps.

Search returns too many results

A plain word matches names and file contents across the whole Mac.

  1. Add kind: to limit the file type.
  2. Use name: to match only file names.
  3. Add a Finder rule with + for date or kind.

Find files on Mac FAQ

How do I locate a file on my Mac?

Press Command-Space bar, type part of the file name, and hold Command to see where the highlighted result is stored. Press Command-R to open the folder that contains it in the Finder.

How do I find all files on my Mac?

Open Spotlight and press Command-2 to switch to Files mode, or open a Finder window and search with a Kind rule. For a list by size, use System Settings > General > Storage and open the Documents category.

How do I find certain files by type?

Add a kind keyword to your search, such as kind:pdf, kind:image or kind:presentation. In Spotlight you can also type /PDF and press Return. Finder search accepts the same keywords and lets you add rules with the + button.

How do I search inside files on a Mac?

Spotlight and Finder search file contents as well as names, so type a phrase from the document. In Terminal, grep search_string filename prints every line in a file that contains the text.

How do I see my files on a Mac?

Click the Finder icon in the Dock and choose Go > Recents for recently used files, or pick Documents, Desktop or Downloads in the sidebar. List view shows each file's size, kind and date modified.

Where are files stored on a Mac?

Most personal files are in your home folder, inside Documents, Desktop, Downloads, Pictures and Music. If you use iCloud Drive for Desktop and Documents, those folders appear under iCloud Drive in the Finder sidebar.

How do I find a file with Finder?

Press Option-Command-Space bar to open a Finder window with the search field selected, type your term and press Return. Click + below the search field to add rules such as Kind, Name or date.

Why can't my Mac find a file I know exists?

Spotlight may still be indexing, or the file's category may be turned off. Check System Settings > Spotlight, and if results stay wrong, add the disk to Search Privacy and remove it again to rebuild the index.

Bottom line: the fastest way to find files on Mac

Start every search with Command-Space bar and Command-2, then move to Finder rules or a Smart Folder only when Spotlight returns too much. Spotlight searches names and contents in one step, and the Finder's criteria and saved searches cover the cases where you need type, date or size filters.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *