macOS · How-To
How to Use Spotlight Search on a Mac
Press Command–Space bar to open Spotlight, start typing, and press Return to open the top result. That single shortcut is the fastest way on a Mac to launch an app, open a file, do a quick calculation, convert units, look up a word or run a web search — without touching the mouse.
Spotlight is the built-in search built into every modern Mac. If you are coming from Windows, think of it as the equivalent of the Start-menu search box or Windows Search — but faster to reach and available from any app. Everything below is written for current macOS, which uses System Settings (the app that replaced the older System Preferences).
Open Spotlight
There are three ways to bring up the Spotlight search field, and they are the same three Apple lists in Search with Spotlight on Mac:
- Press Command–Space bar — this works from the desktop and from inside almost any app.
- Click the Spotlight icon (the magnifying glass) in the menu bar, if it is shown.
- On keyboards that have one, press the dedicated Search key in the function row.
Type your query and results appear as you type. To close Spotlight without opening anything, press Esc, or press Command–Space bar again.
Because Command–Space bar works inside every app, you rarely need to switch to the desktop first. Whatever you are doing, tap it, type a few letters of an app or file name, and press Return to jump straight there.
Search for apps and files
The most common use is launching apps and opening documents:
- Open Spotlight with Command–Space bar.
- Type part of the name — for example
saffor Safari, or a few words from a document's title or contents. - Spotlight highlights its best match at the top. Press Return to open it, or click the result you want.
Spotlight searches file names and the text inside many documents, so you can find a file by a phrase you remember from inside it, not just its title. It also matches contacts, Mail messages, Calendar events, System Settings panes and more.
Preview results and navigate by keyboard
You can drive the whole results list without reaching for the mouse:
- Use the ↑ and ↓ arrow keys to move through the results.
- Selecting a file shows a preview on the right — a Quick Look–style panel with the document's contents, image, map location or other details.
- Press Return (or double-click) to open the selected item.
- To jump to a file's location in Finder instead of opening it, select it and press and hold the Command key — the path to the file is shown at the bottom of the preview. .
- To reuse an earlier search, press the ↑ arrow key when the search field is empty to see previous searches.
Do math, conversions and definitions
Spotlight is a fast, hidden calculator and reference tool. You do not need to open any app first:
- Calculations: type an expression such as
1280*0.15or(45+55)/4and the answer appears instantly. - Unit conversions: type something like
10 km in milesor72 f in c. - Currency conversions: type an amount and currencies, for example
50 usd in eur. - Definitions: type a word to see its dictionary entry.
Press Return or Command–C to copy a result where offered.
Search the web and more
When your query is not an app or a local file, Spotlight offers web results and suggestions. Selecting a web result opens it in your default browser. Spotlight can also surface things like Maps locations, movie times and sports scores in supported regions. If you would rather keep Spotlight to your own files, you can turn these online categories off — see Tune what Spotlight indexes below.
Quick actions and on-device intelligence
Recent versions of macOS turn Spotlight from a search box into a small command bar. Depending on your macOS version and region, you may be able to run quick actions directly from Spotlight — for example creating a reminder, sending a message, starting a note or running one of your Shortcuts — without leaving the keyboard. Spotlight can assign short quick keys so a task you use often can be triggered with just a couple of characters, and on-device intelligence surfaces the apps, files and actions that are most relevant to what you are doing.
These features build on the same search field, so nothing here changes the basics: press Command–Space bar, type, and press Return.
Tune what Spotlight indexes
If Spotlight shows categories you never use — or hides ones you want — adjust its settings:
- Open System Settings from the Apple menu () or from the Dock.
- Click Spotlight in the sidebar — the label Apple uses in its own Spotlight settings instructions (you may need to scroll down).
- Under Search results, tick or untick each category — such as Applications, Documents, Contacts, Mail & Messages or web suggestions — to control what Spotlight returns.
- Close System Settings. Changes take effect on your next search.
Turning a category off both hides it from results and stops Spotlight offering it, which is a quick way to make searches tidier and faster.
Keep private folders out of Spotlight
You can stop Spotlight from indexing and returning results from specific folders or disks — useful for a work archive, a backup drive or anything private:
- Open System Settings and click Spotlight in the sidebar.
- Scroll down and click the Search Privacy button near the bottom — Apple's Prevent Spotlight searches in folders or disks places it in the lower right of the pane.
- Click the add (+) button and choose the folder or disk to exclude, or drag it into the list.
- Close the window. Spotlight will no longer index or show results from anything in that list until you remove it.
Adding a whole disk to Search Privacy stops Spotlight indexing everything on it. Apple warns that if you exclude files and folders you may not be notified when app updates are available, and excluding your entire internal disk means you won't be notified about any updates. Exclude specific private folders rather than an entire drive unless you really intend to.
Newly copied files can take a little while to appear while Spotlight indexes them. If searches stay incomplete or return nothing, the Spotlight index can be rebuilt from scratch through Apple's official steps — check that the folder isn't listed under Search Privacy first, since an excluded location will never return results.
Frequently asked
What is the keyboard shortcut for Spotlight on a Mac?
Press Command-Space bar to open Spotlight from almost anywhere in macOS. Start typing straight away and results appear as you type. Press Escape to close Spotlight without opening anything, or press Command-Space again to dismiss it.
Why can't Spotlight find one of my files?
The file may be in a location Spotlight is set not to index, its category may be turned off in Spotlight settings, or the search index may be out of date. Check that the file type is enabled under Search results in Spotlight settings, make sure the folder or disk is not listed under Search Privacy, and if results still look wrong the index can be rebuilt. New or just-copied files can also take a short while to be indexed before they appear.
How do I stop Spotlight from searching a private folder?
Open System Settings, select Spotlight in the sidebar, then click the Search Privacy button near the bottom. Click the add (+) button and choose the folder or disk you want to exclude, or drag it into the list. Spotlight stops indexing and returning results from anything in that list until you remove it again.
Can Spotlight do more than find files in recent macOS?
Yes. Alongside launching apps and opening files, Spotlight handles calculations, unit and currency conversions, dictionary definitions and quick web searches. Recent versions of macOS add quick actions that let you run tasks such as creating a reminder or sending a message straight from Spotlight, with on-device intelligence surfacing relevant results and shortcuts. Exact features depend on your macOS version and region.
This is part of Windows Now's growing macOS section. Browse all macOS guides, or head back to the Windows Now home page.