A Smart Folder is a saved Spotlight search in macOS that appears in Finder as a folder but contains no files of its own; instead, it shows every file that currently matches its criteria, such as kind, name, tag or date. Within the Finder & files topic, smart folders are the main tool for building dynamic, criteria-based views of documents scattered across many locations.
Because the results are computed from the Spotlight metadata index, a Smart Folder updates itself as files are created, renamed, tagged or deleted. Moving a file out of a Smart Folder window does not remove it from the disk, and deleting a Smart Folder never deletes the files it displays.
How a Smart Folder works
A Smart Folder works by storing a query instead of content. When a user chooses File > New Smart Folder in Finder, sets a search scope and adds criteria, Finder can save the result as a small file with the extension .savedSearch. That file is a property list containing the raw Spotlight query, the search scope and the display settings.
Each time the Smart Folder is opened, Finder passes the stored query to the Spotlight metadata server (the mds process and its workers). Spotlight answers from its index, which holds metadata attributes such as kMDItemContentType, kMDItemFSName, kMDItemUserTags and kMDItemLastUsedDate. The result list then stays live: while the window is open, new matches appear and files that stop matching disappear.
By default, saved smart folders are stored in the Saved Searches folder inside the user Library folder, at ~/Library/Saved Searches, and Finder offers to add them to the Finder sidebar. A .savedSearch file can also be placed elsewhere, for example on the Desktop or in a project folder, and it behaves the same way.
The following table lists the main components involved and what each one contributes.
| Component | Role | Where it lives |
|---|---|---|
| Spotlight index | Answers metadata queries quickly | Hidden .Spotlight-V100 store on each volume |
| Saved search file | Stores the query and view settings | ~/Library/Saved Searches by default |
| Search scope | Limits which locations are searched | This Mac, a volume or a folder |
| Finder window | Displays and refreshes the results | Any Finder view, including Gallery view |
Search criteria and query options
Search criteria define which files belong to a Smart Folder. Finder offers common attributes in its pop-up menus, and the Other attribute list exposes well over a hundred more, including image dimensions, audio duration, author and the original download URL recorded by browsers. Each criterion compares one attribute with a value using operators such as is, contains, is before or is within the last.
Holding the Option key while clicking the plus button adds a nested group with Any, All or None logic. This makes it possible to express rules such as “PDF or Word document, modified this month, not tagged Archived”. Criteria in the top level are always combined with a logical AND.
| Criterion | Typical setting | Practical purpose |
|---|---|---|
| Kind | is PDF, image or document | Collect one file type from everywhere |
| Last opened date | is within last 7 days | Build a recent-work view |
| Tags | contains Invoice | Gather tagged files across folders |
| File size | is greater than 1 GB | Locate large files during cleanup |
| Name | contains a project code | Track files that follow a naming scheme |
| System files | are included | Expose items normally excluded from search |
Text typed into the Finder search field adds a content search across names and indexed file contents. The scope buttons above the results, such as This Mac or a specific folder, are saved together with the criteria, so the scope is part of the definition and not a temporary filter.
Smart Folder compared with related Finder features
A Smart Folder differs from a regular folder or an alias because it references files by criteria, not by location or identity. It complements Finder tags, which mark files manually, and it overlaps partly with Stacks on the Desktop, which group files automatically but only within one folder.
| Feature | What it contains | Updates automatically | Deleting it removes files |
|---|---|---|---|
| Smart Folder | Live results of a saved query | Yes | No |
| Regular folder | Actual files and subfolders | No | Yes |
| Alias | A pointer to one item | Follows the moved item | No |
| Finder tags | A label stored as metadata | No, applied manually | No |
| Desktop Stacks | Desktop files grouped by kind or date | Yes, Desktop only | No |
The most productive pattern combines the two approaches: tags provide the intent, and smart folders provide the view. A user tags a contract Pending in any folder, and a Smart Folder filtered on that tag immediately shows every pending contract regardless of where it is stored.
Creating and maintaining smart folders
Creating a Smart Folder takes a few steps, and editing it later uses the Show Search Criteria command from the window’s action menu. After a change, the Save button writes the new query back to the same .savedSearch file.
- In Finder, choose File > New Smart Folder or press Option-Command-N.
- Select the search scope, such as This Mac or a single folder.
- Click the plus button and add one or more criteria.
- Click Save, give the Smart Folder a name and decide whether to add it to the sidebar.
- Open it later from the sidebar or from
~/Library/Saved Searches.
Smart folders can be shared by copying the .savedSearch file to another Mac, but the result depends on the recipient’s own index. A folder scope that points to a path that does not exist on the other computer returns nothing, so This Mac scopes travel better than folder-specific scopes.
Limitations and common problems
Every Smart Folder is only as reliable as the Spotlight index. If a volume is excluded in Spotlight privacy settings, is formatted with a file system that Spotlight does not index, or is a network share without server-side search, its files will never appear. A damaged index produces missing or stale results, which a reindex with mdutil -E usually fixes.
| Symptom | Likely cause | Fix |
|---|---|---|
| Empty results | Scope points to a missing folder | Edit the criteria and reset the scope |
| Files from one disk missing | Volume excluded or not indexed | Check Spotlight privacy and run mdutil |
| Outdated list | Index is rebuilding or corrupted | Wait for indexing or force a reindex |
| Too many matches | Criteria are too broad | Add a Kind or date condition |
| Library files absent | System files are excluded by default | Add the System files criterion |
- A Smart Folder cannot be a destination: files cannot be dropped into it to store them.
- Some apps show
.savedSearchfiles as ordinary files in open dialogs, which confuses users. - Deleting a file from a Smart Folder window moves the original file to the Trash, so care is required.
- Very broad queries on large disks can make the window slow to populate.
A plain-language summary
A Smart Folder is like a standing request to a librarian. Instead of putting books on a shelf yourself, you say, “Always show me every book about gardening published this year”, and the shelf refills itself whenever the library changes.
On a Mac, the files stay exactly where they are. The Smart Folder simply remembers your search and shows the current matches each time you open it. Removing the Smart Folder removes only the search, never your files.
An example from practice
A freelance accountant keeps client documents in separate folders per client, with yearly subfolders, which makes it hard to see the whole workload at once. She applies a red tag named To review to every incoming statement and creates a Smart Folder with three criteria: Tags contains To review, Kind is PDF, and Last modified date is within the last 30 days, with the scope set to This Mac.
She saves it to the Finder sidebar. Each morning, the Smart Folder lists the twelve to twenty statements still waiting, across about forty client folders. When she finishes a file and removes the tag, it disappears from the list automatically. The result is a single daily work queue without moving or duplicating a single document, and the folder structure that her backup and archive routines depend on stays untouched.