Outlook 365 Advanced Search: Settings Guide
In this article
Outlook 365 advanced search lets you find messages by sender, date range, attachment, folder or keyword combination instead of scrolling through folders. The fastest way to use it is to type a query with a field prefix like from: or received: straight into the search box, then narrow it with the Search tools and filter ribbon that appears. There is no single "advanced search settings" screen to configure once and forget; the controls live in the search box itself, in the ribbon that opens when you click into it, and in a few account and app settings that change how results behave. Labels can differ slightly by version, device and region, so treat the exact wording below as a guide.
What You'll Need
- An Outlook 365 account, signed in on Outlook on the web, the new Outlook for Windows, Outlook for Mac, or the mobile app (features vary by client).
- Messages in your mailbox or a connected account. Search only sees mail the account can access.
- A rough idea of what you are looking for: a sender, a date window, a subject word, or whether there was an attachment.
- For indexing-dependent results in desktop Outlook, the Windows Search service running in the background.
Step-by-Step
- Start with a plain keyword. Click the search box at the top of the message list and type a word that is likely in the subject, body or sender line. Press Enter. This gives you a baseline result set to refine.
- Open the search ribbon or filter menu. In Outlook on the web and the new Outlook for Windows, clicking into the search box reveals a row of filters: All, Mail, People, Files and so on, plus a Search tools or filter option. On the mobile app, tap the search box and use the filter icon. The labels move around between versions, so look for the filter icon if the wording is different.
- Filter by sender, recipient or subject. Use the From, To or Subject fields in the filter pane, or type them directly in the box:
from:ana@example.com,to:me, orsubject:invoice. Quotation marks keep a phrase together, for examplesubject:"quarterly report". - Narrow by date. In the filter pane choose a date range, or type
received:last weekorreceived:01/01/2026..31/03/2026. Usesent:instead ofreceived:when the send date matters more than the arrival date. - Look for attachments. Add
hasattachments:yesto your query, or tick the Has attachments filter. Combine it with a sender to find the file you half remember:from:ana@example.com hasattachments:yes. - Search inside a specific folder. By default the box searches the current folder and, depending on the client, all mail. Change the scope with the dropdown beside the box or the All folders option. To search one folder only, open that folder first and then search.
- Filter by read state, flag or category. Use the filter pane options for Unread, Flagged or a named category, or type
isread:noorcategory:red. This is the quickest way to find what you still owe a reply to. - Build the query with AND, OR and NOT. Put several terms in the box to require all of them (AND is implied). Use uppercase OR between alternatives, and NOT or a minus sign to exclude, for example
from:ana OR from:sam NOT subject:newsletter. - Sort and refine the results. Results show a tool or sort control in the header. Sort by date, sender or relevance, then click any message to open it and use Back to search results to return to the same list.
- Save what works. Because Outlook does not keep a permanent advanced search dialog, note your most useful queries somewhere, or use the search history that appears when you click the box. In some clients you can pin a folder to Favorites instead of rebuilding the search each time.
Common Mistakes
The most frequent problem is quoting the whole query, which tells Outlook to look for that literal string instead of applying the field prefixes. Another is searching "All folders" on a shared mailbox that has not fully synced, so recent mail is missing. People also expect from:Ana to match the display name only; it matches addresses and names, but a partial address is safer. Typing a date in the wrong regional order is a quiet killer, 03/04/2026 can mean two very different days depending on region, so use the range format with unambiguous numbers or the filter picker. Finally, remember that search covers the mailbox, not OneDrive or Teams files, unless you deliberately switch to the Files filter.
Tips
Keep a short vocabulary of prefixes and combine only two or three at once; long queries are hard to debug when they return nothing. Use to:me to drop mail sent only to distribution lists. In desktop Outlook, searching the current folder first is far faster than all mail on a huge mailbox. If a query keeps failing, retype it from scratch rather than editing a long one, and check the search scope dropdown before assuming the mail has vanished. For recurring tasks, a dedicated category plus a saved query note beats a complicated filter every time.
Troubleshooting
If results come back empty when you know the message exists, first check the search scope and folder, then clear the box and retry with a single keyword. In desktop Outlook, if older mail is missing but new mail is found, the local search index may need rebuilding; that index is a cache and rebuilding it does not delete mail, though it can take a while on large mailboxes. Check that Windows Search is running and that Outlook is included in its indexing locations. If search works on the web but not in the desktop app, the difference is almost always indexing, so confirm the app is online and synced. If shared mailbox results are incomplete, verify the mailbox is fully added and synced. When nothing at all returns, sign out and back in, confirm your connection, and check whether a filter is still applied from an earlier search, because a leftover Has attachments or date filter produces empties that look like a fault.
Frequently Asked Questions
Can I set a default search scope?
The search scope dropdown remembers your last choice in many clients. There is no separate global default setting you can lock in on all versions, so check the dropdown before each search.
Does search include deleted items or archive?
Only if those folders are in scope and still part of the mailbox. Deleted items that have been purged and mail held online-only may not appear; change the scope to All folders first.
Can I search by attachment name?
Yes in most clients: add the file name as a keyword alongside hasattachments:yes. Exact behaviour varies by version, so try the plain filename if a prefix does not work.
Why do quoted words give no results?
Quotation marks mean the exact phrase. If the wording differs in the message, remove the quotes and search the individual words instead.
Does advanced search work on the mobile app?
The mobile app supports keyword search and basic filters through its filter icon, but it exposes fewer field prefixes than the web or desktop versions. Use the browser version for complex queries.
Can I save a search as a folder?
Some desktop versions offer saved search folders. Where that option is absent, keep your query in a note and reuse it, or move matching mail into a named folder with a rule.