Open Spotlight with a keyboard shortcut
Spotlight is the search tool built into every Mac. It finds files, apps, emails, and settings without opening Finder or digging through folders. The fastest way to open it is to press Command + Spacebar at the same time.
When you press Command + Spacebar, a search box appears near the top of your screen. Start typing what you are looking for — a file name, an app, a contact, or even a calculation — and Spotlight shows results as you type. Press Enter to open the top result, or use the arrow keys to pick a different one.
This shortcut works from almost anywhere on your Mac: the desktop, inside an app, or while another window is open. You do not have to switch windows or close what you are doing.
Key Takeaways
- Press Command + Spacebar to open Spotlight search from anywhere on your Mac.
- Spotlight finds apps, files, emails, contacts, and system settings as you type.
- You can change the keyboard shortcut in System Settings if Command + Spacebar conflicts with another app.
- Spotlight indexes your Mac in the background, so results appear instantly without waiting for a scan.
- Press Escape to close Spotlight and return to what you were doing.
Change the Spotlight keyboard shortcut
If Command + Spacebar does not work for you — perhaps another app uses that shortcut — you can change it. Open System Settings and click Keyboard in the sidebar.
Click the Keyboard Shortcuts button at the bottom of the window. In the list on the left, find and click Spotlight. You will see the current shortcut next to "Show Spotlight search". Click that field and press the new key combination you want to use. Mac will tell you if that shortcut is already taken by another app.
Once you set a new shortcut, it takes effect immediately. You do not need to restart your Mac.
Search for different types of things
Spotlight searches across your entire Mac by default. When you open it and start typing, you see results grouped by category: apps at the top, then files, folders, emails, contacts, and more. The order depends on what you search for and how often you use each result.
You can narrow the search by typing a category name first. For example, type "kind:app" to see only applications, or "kind:folder" to see only folders. Type "kind:email" to search only your mail. This is useful when you have many files with similar names and want to find a specific type.
Spotlight also does quick math and unit conversions. Type "12 + 5" and it shows the answer. Type "100 miles to kilometers" and it converts for you.
Control what Spotlight searches
By default, Spotlight searches your entire Mac, but you can exclude folders if you want. Open System Settings and click Siri & Spotlight in the sidebar. Scroll down to find the list of folders Spotlight ignores — usually things like your Trash and Downloads folder.
To add a folder to the exclusion list, click the + button at the bottom and choose the folder you want to hide from Spotlight. To remove a folder from the list, click it and press the − button. This is helpful if you have a large folder full of files you never search for, since excluding it makes Spotlight faster.
You can also turn off Spotlight for specific categories entirely. In the same Siri & Spotlight settings, you will see checkboxes next to different search types — Applications, Documents, Mail, Contacts, and others. Uncheck any category you do not want to search.
Troubleshoot when Spotlight is slow or not working
If Spotlight takes a long time to show results or does not find files you know exist, the index may be corrupted. Your Mac builds an index of all your files in the background so search is instant. Sometimes this index gets out of date.
To rebuild it, open System Settings and click Siri & Spotlight. Click the + button at the bottom of the exclusion list and add your main hard drive (usually called "Macintosh HD"). Wait a few seconds, then remove it from the list. Mac will rebuild the entire index, which can take several minutes depending on how many files you have.
If Spotlight still does not work after rebuilding, restart your Mac. Press the Apple menu in the top left, click Restart, and wait for your Mac to turn back on. The index will rebuild automatically when it starts up.
Use Spotlight to open apps and settings quickly
Spotlight is faster than clicking through menus to find an app or setting. Press Command + Spacebar, type the first few letters of what you want, and press Enter. For example, type "sys" to find System Settings, or "cal" to open Calculator.
You can also use Spotlight to jump directly to system settings. Type "network" and Spotlight shows Network settings. Type "sound" and it shows Sound settings. This saves time when you need to change something but do not remember where it lives in System Settings.
Spotlight also searches your recent files. If you worked on a document yesterday and cannot remember its name, open Spotlight and type a word you remember from the document. Spotlight finds it and shows it in the results.
Frequently Asked Questions
Can I search inside files with Spotlight?
Yes. Spotlight searches the content of text files, PDFs, emails, and documents. If you have a Word document that mentions "quarterly report" somewhere inside it, typing "quarterly report" in Spotlight will find that file. This works for most common file types.
Why does Spotlight show results I do not want to see?
Go to System Settings, click Siri & Spotlight, and uncheck the categories you do not want. For example, if you do not want email results, uncheck Mail. You can also exclude specific folders by clicking the + button in the same settings window.
Does Spotlight work when my Mac is asleep?
No. Spotlight only indexes and searches when your Mac is awake. If you search for something right after waking your Mac from sleep, results may take a moment to appear while the index catches up.
Can I search for files by date with Spotlight?
Yes. Type "modified:today" to find files you changed today, or "modified:yesterday" for yesterday's files. You can also type "modified:1/15/24" to search for files modified on a specific date.
What is the difference between Spotlight and Finder search?
Spotlight is faster and works from anywhere on your Mac with a keyboard shortcut. Finder search is more detailed and lets you set filters like file size and type. For quick searches, use Spotlight. For complex searches with many filters, use Finder.