Blog/ Outlook how-tos

Outlook Search Operators & Syntax Cheat Sheet (2026)

Nafiul HasanNafiul Hasan· 9 min read
Outlook search operators cheat sheet showing query syntax including from:, subject:, hasattachment:yes, and received: with example searches and platform notes

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
  1. 01Outlook search operators: the cheat sheet
  2. 02Outlook search syntax for dates and size
  3. 03Combine operators: AND, OR, NOT in Outlook search
  4. 04What do plain words in the Outlook search box match?
  5. 05Syntax rules that trip people up
  6. 06Outlook search queries you can copy
  7. 07How Outlook search operators differ across versions
  8. 08If Outlook search returns nothing
  9. 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.

OperatorWhat it findsExample
from:Mail from a sender, by name or addressfrom:"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 linecc:manager
subject:A word or phrase in the subject linesubject:invoice or subject:"project update"
hasattachment:yesMail with at least one attachment. hasattachment:true gives the same resultshasattachment:yes from:client
hasattachments:yesThe plural spelling Microsoft uses for the Has Attachments filterreport hasattachments:yes
category:Mail tagged with a color categorycategory:red
read:noUnread mail only (read:false is equivalent)read:no from:boss
hasflag:trueMail you flagged for follow-uphasflag: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.

GoalSyntaxExample
One specific dayreceived:MM/DD/YYYYreceived:01/15/2026
Relative day or weekreceived:today, received:yesterday, received:"this week"received:"last week" from:vendor
A date rangeTwo dots between the datesreceived:01/01/2026..01/31/2026
Larger than a sizemessagesize:>5 MBhasattachment:yes messagesize:>5 MB
Smaller than a sizemessagesize:<10 KBmessagesize:<10 KB from:newsletter
Size categorymessagesize:large (or tiny, small, medium, verylarge, enormous)messagesize:enormous

Date ranges and size words differ by version

Microsoft states two dots for a range and MM/DD/YYYY order, but does not publish a range example, and third-party guides report that some builds ignore a typed range. If a typed range returns nothing, use the Filter button's date fields instead. Microsoft also says the size keywords tiny through enormous are not supported in new Outlook for Windows, and that day and month names such as Tuesday or March are no longer supported. Older guides call the size operator size: and show >= with AND for dates; Microsoft does not document either form, so test them before relying on them.

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.

GoalQuery
Both conditionsfrom:alice AND subject:invoice
Either senderfrom:alice OR from:bob
Exclude a wordinvoice NOT draft
Exclude a sender-from:"Jerri Frye" (documented for Outlook on the web)
Unread with an attachmentread: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

Pick All Mailboxes (or the equivalent) in the scope dropdown next to the search box before running a long query. The label and position of that dropdown differ between classic Outlook, new Outlook and Outlook on the web.

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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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.

Feature parity grid comparing search capabilities across Outlook versions
Check the operator against your version before you build a saved search around it.
ItemWhat Microsoft documentsPractical note
Boolean operatorsAND, OR and NOT should be typed in uppercaseApplies in the Outlook desktop search guidance; lowercase may be ignored
Attachment filterhasattachment:yes or hasattachment:true in the search guide; hasattachments:yes in the filter guideBoth spellings appear in Microsoft's own pages, so try the other if one returns nothing
Size keywordsmessagesize:tiny through messagesize:enormousNot supported in new Outlook for Windows; use messagesize:>5 MB instead
Day and month namesSupport dropped for names such as Tuesday or MarchUse dates in MM/DD/YYYY or relative words like today
Date rangesTwo dots between two datesIf a typed range fails, use the Filter button's date fields
Mobile appsSearch leans on filters and keyword matchingDo 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

Nafiul Hasan

Written by

Nafiul Hasan

Nafiul 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.

EntrepreneurAI Automation System BuilderAI EnthusiastBuilds AI Enterprise Solutions10+ years experience
More from Nafiul
Ready when you are

Search every inbox at once, in plain language

AI Emaily connects Gmail, Outlook and other accounts in one inbox and searches the mail it has synced in plain language. Start a 7-day free trial on Pro.

  • 7-day free trial
  • Cancel anytime
  • Every provider