Sub topic 2
Opening Spotlight and Reading the Results
This chapter assumes you already know how to use Finder, press keyboard shortcuts, and find the System Settings app. It does not assume you have used Spotlight on purpose. By the end you will be able to open Spotlight, run a search, and tell what each result is and what it will do when you act on it.
Opening Spotlight
The default shortcut is Command-Space. A search field appears in the middle of the screen, over whatever app you were using. You can type straight away because the field already has keyboard focus.
You have other ways in:
- Some Macs show a magnifying glass in the menu bar. Click it to open the same search field. Newer macOS versions let you control this icon in System Settings, under Control Center.
- If a Mac has a dedicated Spotlight key on its keyboard, that key opens the field too.
- Option-Command-Space opens a Finder search window instead. That is a different tool, covered in a later chapter.
To close Spotlight without doing anything, press Escape or click outside the search field. Spotlight also closes on its own after you open a result.
Changing the shortcut
Command-Space conflicts with some input-source switchers and with remote desktop tools. To change it:
- Open System Settings and choose Keyboard.
- Choose Keyboard Shortcuts, then Spotlight in the sidebar.
- Click the shortcut next to "Show Spotlight search" and press the new combination.
macOS warns you if the new combination is already used elsewhere. A conflict does not always show a warning, though. If Command-Space does nothing, look in the other apps' shortcut settings for the same combination.
What happens when you type
Spotlight searches as you type. It does not wait for Return. Each new character narrows the results, so a short, distinctive fragment often finds the item faster than the full name. Matching is not case-sensitive, and accents are usually treated loosely, so cafe can match "café".
Spotlight does not search the disk one file at a time. It queries a prebuilt index of file names, file contents, and metadata, which is why results appear almost instantly. A later chapter explains the index. For now, remember that a file that is very new, or one in an excluded location, may not appear.
The results window
The results window has three parts:
- The search field at the top, where your text appears.
- The results list below it, which groups matches by type. Typical groups include Applications, Documents, Folders, Mail, Messages, Calendar, Contacts, Images, PDF Documents, System Settings, Websites, and suggestions from the web. Which groups appear depends on your macOS version and your settings.
- A preview or detail area, which on many versions appears beside the list when a result is selected. For a file it can show the contents, the kind, and the size. For a contact it shows the card.
Not every result type shows a preview, and the layout differs between macOS versions. The behavior is the same everywhere. You select a result, Spotlight shows what it is, and you decide whether to act on it.
The Top Hit
The best guess is selected automatically, so you can often type a few letters and press Return. Spotlight picks it using two signals:
- Relevance: how closely your text matches the name or content.
- Your history: items you open often rank higher for the same text over time.
This is why typing saf opens Safari for most people. It is also why the Top Hit can change after you start using a different app more often. Do not press Return on autopilot when the match is not obvious. Look at the selected row first, especially with short fragments.
Moving through results
You can do all of this without the mouse:
| Key | What it does |
|---|---|
| Down arrow, Up arrow | Move the selection through the list, across groups |
| Return | Open the selected result with its default app |
| Command-Return | For a file or folder, show it in Finder instead of opening it |
| Escape | Clear the field, or close Spotlight if the field is already empty |
| Command-A, then Delete | Select all the typed text and clear it so you can start over |
Pressing Escape once clears the text if there is any. Pressing it a second time closes Spotlight. This catches people who press it once and expect the window to disappear.
On many versions you can also drag a file result out of the list and drop it into an open document, an email, or a folder. Dragging a result into a Mail message attaches the file. The result is a real file reference, not a copy of its name.
Reading a result row
Each row has an icon, a title, and sometimes a secondary line. The icon tells you the type before you read anything. An app icon, a document icon, a folder, and a gear for a System Settings pane all look different. For files, the secondary text or preview often shows the folder path, and this is how you tell two files with the same name apart.
Consider this search:
budgetIt might return all of the following:
- A spreadsheet called
Budget 2026.xlsxin Documents. - A folder called
Budget Archive. - An email whose body mentions "budget".
- A PDF whose contents include the word, though its name does not.
The first two matched on the name. The last two matched on content, which is why a result can appear even though the name has nothing to do with your text. If a result puzzles you, select it and read the preview or path. It usually shows why the item matched.
Reading results that are not files
Not every row is a file you can reveal:
- Calculations and conversions show an answer in a result row. Selecting it does not open anything. The next chapters cover these.
- Definitions come from the built-in dictionary. They appear when your text is a word and can show a short preview of the entry.
- Web and suggestion rows can open a website or the app that handles that suggestion. They are marked differently from local results, and they only exist when those categories are turned on in settings.
- System Settings rows open the matching pane directly, which is faster than browsing the sidebar.
Command-Return only reveals results that live in the file system. On a calculation or settings row it does nothing useful, because there is no file to show.
Common errors
| What you see | Likely cause | What to do |
|---|---|---|
| Command-Space does nothing | Another shortcut uses the combination, or Spotlight's shortcut is turned off | Check Keyboard, Keyboard Shortcuts, Spotlight |
| A file you know exists is not listed | The folder is excluded, the file is very new, or the index is stale | Check Spotlight's privacy list, then see the troubleshooting chapter |
| The wrong item is the Top Hit | Your usage history favors a different item | Read the selected row, then use the arrow keys |
| No preview appears | That result type has no preview, or your macOS version lays it out differently | Use Command-Return to reveal the file instead |
| Results from a category are missing | The category is turned off | Turn it on in System Settings under Spotlight |
A short practice routine
Try this once, so the keystrokes become automatic:
- Press Command-Space.
- Type the first few letters of an app you use daily and press Return.
- Press Command-Space again and type a word that appears inside one of your documents.
- Use the arrow keys to select a document result. Read its path.
- Press Command-Return to reveal it in Finder.
- Press Command-Space, type some text, and press Escape twice to confirm that the first press clears the field and the second closes the window.
Exercise
You type a project name into Spotlight and two files with the same name are listed. You want to know which one is in your Documents folder without opening either. How do you find out using only Spotlight?
Show answer
Select one result with the arrow keys and read the folder path in the preview or detail area. Press Command-Return to reveal it in Finder, which opens a Finder window showing the file in its folder. Repeat for the other file and compare the locations.
Exercise
You press Escape while Spotlight shows "invoice" in the field, and the text disappears but the window stays open. Is that a bug, and how do you close the window?
Show answer
No, it is expected. The first Escape clears the text when the field is not empty. Press Escape again to close Spotlight.