Related topics
Switch to Outlook on the web from Gmail
Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
Switch to Outlook on the web from Gmail

Find email, contacts, and events

In Outlook on the web, Search lets you find what you need in an instant, whether an email, contact, or file attachment.


  1. In the Search box, type what you want to search for (contact, subject, or part of a message) and press Enter.

  2. Select Filters to refine your search with options like Folders, From, To, Subject, Keywords, Date from, and Attachments.

Search filters in Outlook on the web

Use Advanced Query Search to refine results

In Gmail, you can use search operators to filter your search results. In Outlook on the web this is known as Advanced Query Search. These are terms that help refine your results. See a few examples below, or learn more here.

AQS keyword




Searches the From field.



Searches the To field.



Searches the subject.


Body or Content

Searches the message body.



A search for HasAttachment:yes returns only email messages with attachments.

To further specify the email messages you want to search, use words or names from the mail in conjunction with the search keyword. For example, blue hasattachment:yes would return only email messages containing the word "blue" that include attachments.

report HasAttachment:yes


A search for HasAttachment:no returns only email messages without attachments.

report HasAttachment:no

Note: Features and information in this guide apply to Outlook on the web as available through Microsoft 365.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!