How to Use Outlook Search Operators

To search for emails in Outlook precisely using search operators, enter your search keywords in the Search box. The Search box in Outlook Online is at the top of the page, in the header. The Search box in Outlook desktop apps is above the Message List. Employ the following search operators to construct a query:

subject: — Searches the Subject of all emails for a specified word. Example: subject:test finds emails containing the word test in the Subject. from: — Searches the From line for emails from a specified sender or domain. Example: from:@example.com searches the From line of every email message and finds emails from sender@example.com as well as those from newsletter@example.com, and other emails that include @example.com. to: — Searches the To line for emails addressed to a specified recipient. Example: to:me@outlook.com searches the To line of every email message and finds emails addressed to me@outlook.com. cc: — Searches the Cc line for specified email recipients. Example: cc:me@outlook.com searches the Cc line of every email message and finds emails addressed to me@outlook.com. before: — Searches for emails sent or received before the given date. Example: received<01/01/2019 finds emails that were sent or received before January 1, 2019. after: — Searches for mail sent or received after the given date. Example: received>12/31/2017 finds emails that were sent or received after December 31, 2017. Combine before: and after: to find emails sent or received during a specified time period. Example: Received<12/31/2017 >01/01/2019 finds emails sent or received during 2018. date: — Searches for mail sent or received on the given date. Use <, <=, >= and >, to search for dates less than (before) and greater than (following) the given date. For received:, specify the date in the form mm/dd/yyyy or use yesterday or last week however, if using Outlook.com for the latter, you have to put it in quotes (received:“last week”). folder: — Searches for mail in the specified folder. Example: folder:archive finds emails in the Archive folder. This command won’t work on Outlook.com. has:attachment: — Searches mail messages that have at least one file attachment. Examples: hasattachment:true and has:attachment return all messages containing attachments.  hasattachment:false — Searches only those messages that have no files attached. AND (uppercase) — Combines terms in the search so that both must be present. This is the default if no combination operator is present. Example: cat AND dog displays results that have both the word cat and dog. OR (uppercase) — Combines search terms so that either of the terms or both of the terms are returned in the search results. Example: cat OR dog displays results of either cat or dog. () — Specifies the precedence of search terms. Use parenthesis to specify a date, date range, address, or other information. Example: from:john (received:1/1/19 or received:2/2/19) searches the From line for messages from John that were received on January 1, 2019 or on February 2, 2019.