Outlook Search Operators & Syntax Cheat Sheet (2026)

The short answer
Outlook search operators are keywords you type into the search box to filter mail: from: for the sender, subject: for the subject line, hasattachment:yes for attachments, received: for dates, read:no for unread. Combine them with spaces, and write AND, OR and NOT in capitals. Put double quotes around multi-word values, such as subject:"project update".
Outlook search operators and syntax in one table: from:, subject:, hasattachments:yes, received:, AND/OR/NOT, with examples and new Outlook differences.
On this page
- 01Outlook search operators: the cheat sheet
- 02Outlook search syntax for dates and size
- 03Combine operators: AND, OR, NOT in Outlook search
- 04What do plain words in the Outlook search box match?
- 05Syntax rules that trip people up
- 06Outlook search queries you can copy
- 07How Outlook search operators differ across versions
- 08If Outlook search returns nothing
- 09Searching across several accounts
Outlook search operators: the cheat sheet#
Operators (also called search keywords or search modifiers) go in the Outlook search box and narrow results by sender, subject, attachment, date, size or status. Every operator below is documented on Microsoft Support unless a row says otherwise. Replace the example values with your own.
| Operator | What it finds | Example |
|---|---|---|
| from: | Mail from a sender, by name or address | from:"bobby moore" or from:[email protected] |
| to: | Mail sent to a person (documented for the Sent Items folder) | to:[email protected] |
| cc: | Mail where the person is in the CC line | cc:manager |
| subject: | A word or phrase in the subject line | subject:invoice or subject:"project update" |
| hasattachment:yes | Mail with at least one attachment. hasattachment:true gives the same results | hasattachment:yes from:client |
| hasattachments:yes | The plural spelling Microsoft uses for the Has Attachments filter | report hasattachments:yes |
| category: | Mail tagged with a color category | category:red |
| read:no | Unread mail only (read:false is equivalent) | read:no from:boss |
| hasflag:true | Mail you flagged for follow-up | hasflag:true from:client |
Outlook search syntax for dates and size#
Dates and size take comparison signs, ranges or keywords instead of a single word. These are the forms Microsoft documents. Date order follows month/day/year, so a day-first region may need the other order or the Filter button.
| Goal | Syntax | Example |
|---|---|---|
| One specific day | received:MM/DD/YYYY | received:01/15/2026 |
| Relative day or week | received:today, received:yesterday, received:"this week" | received:"last week" from:vendor |
| A date range | Two dots between the dates | received:01/01/2026..01/31/2026 |
| Larger than a size | messagesize:>5 MB | hasattachment:yes messagesize:>5 MB |
| Smaller than a size | messagesize:<10 KB | messagesize:<10 KB from:newsletter |
| Size category | messagesize:large (or tiny, small, medium, verylarge, enormous) | messagesize:enormous |
Date ranges and size words differ by version
Combine operators: AND, OR, NOT in Outlook search#
A space between two operators works as AND, so from:sarah subject:contract needs both to match. To say it explicitly, or to widen or exclude, use AND, OR and NOT in capitals. Microsoft Support says logical operators should be typed in uppercase. Lowercase and, or and not may be treated as ordinary words or ignored, which is the most common reason a Boolean query returns the wrong mail.
OR matches either side: from:alice OR from:bob. NOT excludes a term: invoice NOT draft. Outlook on the web also accepts a minus sign before a property, such as -from:"Jerri Frye", to exclude a sender. If you mix AND and OR in one query, Outlook's own grouping rules vary by version, so run the query and check the first few results before trusting it. Splitting a complicated search into two simpler ones is usually quicker than debugging one long one.
| Goal | Query |
|---|---|
| Both conditions | from:alice AND subject:invoice |
| Either sender | from:alice OR from:bob |
| Exclude a word | invoice NOT draft |
| Exclude a sender | -from:"Jerri Frye" (documented for Outlook on the web) |
| Unread with an attachment | read:no hasattachment:yes |
What do plain words in the Outlook search box match?#
A word typed with no operator is matched anywhere in the sender name, subject, message body or attachments, so a plain keyword search is broad by design. Outlook uses prefix matching, so ray matches Raymond but not tray, search is not case sensitive, and punctuation is ignored. Put a phrase in double quotes for an exact match: "quarterly budget" finds those words together, while quarterly budget matches both words anywhere in the message. Operators exist to cut that breadth down.
Outlook returns at most the first 1,000 results, so a broad query can hide the message you want. Add a sender, an attachment filter or a date, and the list shrinks to something you can scan.
Syntax rules that trip people up#
Write the colon directly after the operator with no space before the value: from:sarah works, from: sarah does not. Multi-word values need double quotes: subject:"budget review" finds that phrase, while subject:budget review treats review as a separate plain word. Check the scope too. Outlook searches the current folder by default, so mail in Sent Items or a subfolder will not appear until you widen the scope in the search dropdown to All Mailboxes. If Gmail is your other mailbox, the same ideas apply there, and you can search Gmail by date range with its own before: and after: operators.
Set your search scope before you type
Outlook search queries you can copy#
These are the searches people actually run. They are independent recipes, so pick the one you need, change the name or date, and paste it into the search box.
- 1
from:sarah subject:contract
Finds mail from Sarah with the word contract in the subject. Both conditions must be true, because a space acts as AND.
- 2
from:clientname hasattachment:yes received:"this month"
Every message from one sender that carries a file, received in the current period. Useful for collecting everything a vendor sent before a deadline. Swap in received:"last week" or a specific date as needed.
- 3
subject:invoice from:vendor received:"last month"
Finds an invoice, contract or proposal by subject, sender and period. If the document name might only be in the attachment, drop subject: and type the file name as a plain word, since plain words are matched against attachments too.
- 4
from:[email protected] read:no
Every unread message from one address, across the scope you selected. Add received:"this week" to keep it to recent mail.
- 5
hasattachment:yes messagesize:>5 MB
Finds large messages that carry attachments. Add from:sender to narrow it. For more ways to clear space, see how to find large emails in Outlook.
- 6
hasflag:true received:"last month"
Collects the messages you flagged for follow-up last month in one results view. Add from:name to limit it to one person.
- 7
received:01/01/2026..01/31/2026
A date range for January 2026, in the month/day/year order Microsoft documents. If it returns nothing in your version, use the Filter button's date fields to set the same range.
- 8
category:red from:alice
Finds mail in a color category from one sender. Quote multi-word category names, as in category:"Follow Up".
- 9
from:alice OR from:bob subject:budget
Mail about a topic from either of two people. If you want the subject to apply to both senders, check the results, because how Outlook groups AND and OR varies by version.
- 10
invoice NOT draft
Mail that mentions invoice but not draft. NOT has to be uppercase.
How Outlook search operators differ across versions#
Classic Outlook for Windows, new Outlook, Outlook on the web and the mobile apps share most of the operators above, but not every detail. These are the differences we could confirm in Microsoft's documentation. For anything not listed, assume it can differ and test a short query before you build a routine around it. Our guide to how search differs in new Outlook covers the rest.

| Item | What Microsoft documents | Practical note |
|---|---|---|
| Boolean operators | AND, OR and NOT should be typed in uppercase | Applies in the Outlook desktop search guidance; lowercase may be ignored |
| Attachment filter | hasattachment:yes or hasattachment:true in the search guide; hasattachments:yes in the filter guide | Both spellings appear in Microsoft's own pages, so try the other if one returns nothing |
| Size keywords | messagesize:tiny through messagesize:enormous | Not supported in new Outlook for Windows; use messagesize:>5 MB instead |
| Day and month names | Support dropped for names such as Tuesday or March | Use dates in MM/DD/YYYY or relative words like today |
| Date ranges | Two dots between two dates | If a typed range fails, use the Filter button's date fields |
| Mobile apps | Search leans on filters and keyword matching | Do not expect the full typed-operator set on a phone |
If Outlook search returns nothing#
Run three checks before concluding the mail is gone. Widen the scope to All Mailboxes, remove any space after a colon, and make sure quotes are closed. If all three are fine, the index or the account sync is the likely cause, and the dedicated guide to Outlook search not returning results walks through the fixes by version.
Searching across several accounts#
Outlook operators work inside the mailbox you are searching. If your work spans Outlook, Gmail and an IMAP address, you repeat the query in each app. We build AI Emaily, an AI-native email client that connects Gmail, Outlook and Microsoft 365, iCloud and other IMAP accounts in one inbox. Its search works over the mail it has synced, which on connect is about the last 60 days and everything new after that, so ask in plain language, such as the contract Sarah sent before the June close, instead of building a query.
That is a different tool from Outlook's operators, not a copy of them, so keep this cheat sheet for the searches you run inside Outlook itself. AI Emaily offers a 7-day free trial on Pro; see pricing for the current plans.
Frequently asked
See it in AI Emaily
Keep reading
Sources

Written by
Nafiul HasanNafiul Hasan is an entrepreneur and AI automation system builder with 10+ years of experience turning messy, manual workflows into reliable automated systems. He designs and ships AI enterprise solutions end-to-end — the agent logic, the data plumbing, and the product people actually use — and founded AI Emaily to give busy professionals their attention back. He writes here from the builder's seat: what works, what breaks, and how to put AI to work without giving up control.