Search syntax

Plain words search everything. Prefixes narrow a word to one part of the message. Filters in the bar combine with whatever you type.

Words and phrases

TypeMeaning
budget reportboth words, anywhere; the last word matches as a prefix while you type (rep finds report, reply, repair)
"budget report"the phrase, words in that order
budget OR forecasteither word
budget -draftwith budget, without draft
budget -from:danaany prefix below can be excluded the same way
bud*words starting with bud
[email protected]an address, or any part of it: dana, example.com
quarterly-report-2025.pdfa file name or web address, also when it appears only inside a link

Prefixes

PrefixSearchesExample
from:sender name or addressfrom:dana, from:example.com
to: cc: bcc:recipientsto:alice cc:bob
people:anyone on the messagepeople:whitfield
subject:subject onlysubject:"status report"
body:message text onlybody:overdue
att:attachment file names and contentsatt:budget
attname:attachment file names onlyattname:xlsx
inside:text inside attachments onlyinside:"total operating"
category:Outlook categories (also tag:)category:"red category", -category:done
has:attachmentmessages with files (has:none for those without)has:attachment from:dana
folder:folder namefolder:receipts
store:account or data file namestore:archive
kind:mail, appointment, contact, task, notekind:appointment
is:sent is:receiveddirection (Sent: filed in a Sent, Drafts or Outbox folder, or from one of your own addresses)is:sent to:alice
thread:one conversation; filled in by the Show conversation button

Dates

TypeMeaning
date:today date:yesterdaythat day
date:week date:month date:yearthe last 7, 30 or 365 days
date:3d date:2w date:6mthe last 3 days, 2 weeks, 6 months
date:2025-03-05 date:2025-03 date:2025a day, a month, a year (also 3/5/2025, mar 2025)
after:2025-01-01 before:2025-02-01from that day on, up to and including that day
date:2025-01-01..2025-02-01an inclusive range

What is searched

Subject, sender and recipients (including Bcc), categories, the message text, and the names and text of attachments: Word, Excel and PowerPoint files (old and new formats, with headers, footers, footnotes, comments and speaker notes), PDF, OpenDocument, text, HTML and RTF files, the files inside zip archives, and attached emails with their own attachments. Appointments include their location, contacts their company, phone numbers and addresses. With Read text in attached pictures and scanned PDFs turned on in Settings, pictures and scans are read with the text recognition built into Windows, on your PC.

Combining

Everything combines with AND: from:dana subject:budget has:attachment date:2025 means all four at once. The Received / Sent switch, the date picker, the account and type lists and the attachment tick box in the bar apply on top of the text.

Results