To use advanced search in Outlook 365, type specific keywords or search operators—such as from:"Name" or hasattachments:yes—directly into the search bar at the top of the application. This allows you to bypass manual scrolling and filter thousands of emails by sender, date, subject, or attachment status instantly. These commands work across the desktop application and the web version, though menu labels may differ slightly depending on your specific version or region.

What You'll Need

  • An active Microsoft 365 subscription with Outlook installed or access to Outlook on the web.
  • An internet connection for cloud-synced accounts to ensure the index is up to date.
  • Basic knowledge of the search bar location (top of the screen in most views).

Step-by-Step

  1. Locate the Search Bar: Open Outlook and click inside the search box located at the top of the window. If you are in the Mail view, the cursor should be ready for input.
  2. Apply a Single Operator: To find emails from a specific person, type from: followed by the person's name or email address. For example, from:jane.doe@example.com. Press Enter to execute the search.
  3. Filter by Subject Line: If you remember a specific word in the subject but not the body, type subject: followed by the keyword. For example, subject:"Quarterly Report". Using quotation marks ensures Outlook searches for that exact phrase rather than the individual words "Quarterly" and "Report" separately.
  4. Search for Attachments: To isolate emails that contain files, type hasattachments:yes. If you are looking for emails without any attachments, use hasattachments:no.
  5. Filter by Date Ranges: Use the received: operator to find emails from a specific timeframe. You can use specific dates like received:2025-01-01 or relative terms. For example, received:yesterday, received:last week, or received:this month. To find emails between two dates, use received:2025-01-01..2025-01-15.
  6. Combine Multiple Commands: You can chain operators together to narrow results significantly. To find an email from Jane Doe that has an attachment and was received last week, type: from:jane.doe@example.com hasattachments:yes received:last week.
  7. Use Boolean Operators: Use AND, OR, and NOT (must be capitalized) to refine logic.
    • "Project Alpha" AND "Budget" finds emails containing both terms.
    • "Project Alpha" OR "Project Beta" finds emails containing either term.
    • "Project Alpha" NOT "Budget" finds emails about Project Alpha that do not mention the budget.
  8. Search by Message Size: Use the messagesize: operator to find large emails that might be clogging your mailbox. For example, messagesize:large (usually 1-5 MB) or messagesize:verylarge (usually >5 MB). You can also specify exact sizes, such as messagesize:>10mb.
  9. Find Unread Messages: Type isread:no to see all unread mail in the current folder or across all mailboxes, depending on your search scope setting.

Common Mistakes

One of the most frequent errors is forgetting to use quotation marks for multi-word phrases. If you search for subject:Project Update, Outlook may return every email that has the word "Project" and every email that has the word "Update," regardless of whether they appear together. Always use subject:"Project Update" for exact matches.

Another common mistake is using lowercase for Boolean operators. Typing and or or in lowercase is often treated as a search term rather than a command. To ensure the system recognizes the logic, always use AND, OR, and NOT in all caps.

Users often forget to check the search scope. By default, Outlook may search only the "Current Folder." If you cannot find an email you know exists, look at the dropdown menu next to the search bar and change the scope to "All Outlook Items" or "All Mailboxes."

Incorrect date formatting can also lead to zero results. While Outlook is flexible, using the YYYY-MM-DD format is the most reliable way to ensure the search engine understands the date across different regional settings.

Tips

To speed up your workflow, utilize the "Search Tools" tab that appears in the ribbon whenever you click into the search bar. This tab provides a visual interface for common filters (like "Has Attachments" or "This Week") so you don't have to memorize every command.

If you frequently search for the same set of criteria, consider creating a "Search Folder." Right-click on "Search Folders" in the folder pane and select "New Search Folder." This allows you to save a set of advanced search commands as a virtual folder that updates automatically as new mail arrives.

Combine the cc: or bcc: operators to find emails where you were not the primary recipient but were kept in the loop. For example, cc:yourname@example.com will show all emails where you were carbon-copied.

Use the category: operator if you use Outlook's color-coding system. Typing category:"Green Category" will immediately pull up all emails assigned that specific label.

Troubleshooting

If your search is not returning expected results, first check your internet connection and ensure you are signed into your account. If you are using a cached Exchange mode, the local index may be outdated.

If search results are missing or incomplete, try rebuilding the search index. Go to the File menu, select Options > Search, and look for the "Indexing Options" button. From there, click "Advanced" and select "Rebuild." Warning: Rebuilding the index can take several hours and may slow down your computer during the process; it is best to do this overnight.

If the search bar is completely unresponsive, restart the Outlook application. If the issue persists, check for available Microsoft 365 updates via File > Office Account > Update Options > Update Now.

In cases where search works on the web version but not the desktop app, the problem is likely a corrupted local data file (.ost). You can recreate this file by going to the Control Panel > Mail > Data Files, removing the local cache file, and restarting Outlook to let it re-download mail from the server. This will not delete your emails as they are stored on the server.

Frequently Asked Questions

Can I search for emails by a specific file extension?

Yes, you can combine the hasattachments:yes command with the file extension in quotes. For example, hasattachments:yes ".pdf" will find all emails containing PDF files.

Does the advanced search work in the Outlook mobile app?

The mobile app supports basic keyword searches and some simplified filters, but it does not support the full range of advanced operators like messagesize: or complex Boolean strings found in the desktop version.

How do I find emails sent to multiple people?

You can use the to: operator combined with AND. For example, to:personA@example.com AND to:personB@example.com will find emails sent to both recipients.

Is there a way to search for emails that are marked as high importance?

You can use the importance:high command in the search bar to filter for messages flagged with the high-importance exclamation mark.

Can I search for emails by the specific folder they are in?

While you can't use a command to specify a folder inside the search string, you can select the folder first and then change the search scope to "Current Folder" using the dropdown menu next to the search bar.