Search in Gmail - Computer (2025)

To quickly find emails and attachments, use search chips, advanced search, and other search features in Gmail.

Learn what happens when you search in Gmail

  • To help you search faster, Gmail suggests search terms as you enter words. These search terms are based on information from your Gmail account, like:
    • Contacts
    • Labels
    • Messages
    • Past searches
  • To improve your search experience, searches you make in Gmail that return no results show related results instead.
  • You can sort search results by relevancy or by chronological order. To sort your results, select Most relevant or Most recent.

Search for emails

In this article, learn how to:

  • Use the search bar
  • Narrow your search results
  • Clear search history

Use the search bar

Search in Gmail - Computer (1)

Important: If you don’t have an internet connection, you can only search for emails synced with your device. Learn how to use Gmail offline.

  1. On your computer, open Gmail.
  2. At the top, in the search bar, enter your search criteria.
  3. Press Enter.

Tip: To sort emails in chronological order, above the search results, click Most relevant Search in Gmail - Computer (2) Most recent.

Narrow your search results

To narrow your search, you can:

  • Use search chips for emails & attachments
  • Use advanced search
  • Use search operators
  • Ask Gemini in Gmail

Use search chips for emails & attachments

  1. On your computer, open Gmail.
  2. At the top, in the search box, enter your search criteria.
  3. Press Enter.
  4. Under the search box, select a chip:
    • From: Search for anything from a specific email address.
    • Any time: Search for anything that’s sent within a certain date range or specific date.
    • Has attachment: Search for anything with attachments or have a specific type of attachment:
      • Google Docs
      • Google Sheets
      • PDF
    • Exclude calendar updates: Search for anything that isn't a Google Calendar update.
    • To: Search for anything you sent to a specific email address.
    • Is unread: Search for anything that’s currently marked as "Unread."

Tip: If you use Chat in Gmail, you can find additional search chips under the search box:

  • Mail: Search for emails in your inbox.
  • Conversations: Search for messages in Chat.
  • Spaces: Search for spaces in Chat.

Use advanced search

You can use the advanced search option menu to search for additional functions, like saved filters.

  1. On your computer, open Gmail.
  2. At the top, in the search box, click Show search options Search in Gmail - Computer (3).
  3. Fill in any of these sections:
    • From: Search for anything from a specific email address.
    • To: Search for anything you sent to a specific email address.
    • Subject: Search for anything that matches the subject line of an email.
    • Has the words: Search emails that match specific words and phrases.
    • Doesn’t have: Excludes emails from your search that match specific words and phrases.
    • Size: Searches for emails that match a certain size.
    • Date within: Search emails sent within a specific timeframe.
    • Search: Search emails listed in other areas of Gmail, like:
      • Custom labels
      • Spam
      • Trash
  4. At the bottom, click Search.

Tip: To create a filter based on your search results, click Create filter. Learn more about filters.

Use search operators

To filter Gmail search results, you can use search operators, like words or symbols. If you search for emails, you can combine multiple search operators.

For example, you can search for:

  • Senders: sam@your-company.com
  • Date ranges: after:2025/01/01 before:2025/05/01
  • Files, attachments, and other attributes: has:attachment

For a full list of search operators, learn how to refine searches in Gmail.

Tips:

  • If you search for a person’s email address, the results show emails that include their alias.
    • To limit the search to only the original email, enclose the search in quotes. For example, "from:john.doe@example.com."
  • If you search "from:email," the results show Drive files shared by that email address.

Ask Gemini in Gmail

If you have an eligible Google Workspace or Google AI plan, you can ask Gemini in Gmail to search for emails.

For example:

  • "Show my unread emails."
  • "Emails from [person] sent last week."
  • "Show unread emails from this week."

Learn how to collaborate with Gemini in Gmail.

Search for emails in Spam & Trash

Important: By default, emails in Spam and Trash aren’t included in a standard search. To find emails in Spam and Trash, use advanced search in Gmail.

Search in Gmail - Computer (4)

  1. On your computer, open Gmail.
  2. At the top, in the search box, click Show search options Search in Gmail - Computer (5).
  3. Next to "Search," in the dropdown menu, click the "All Mail" Search in Gmail - Computer (6) Mail & Spam & Trash.
  4. Enter information that’s in the email.
    • If you're not sure about the exact words or details to enter, leave the fields blank.
  5. Click Search.

Tips:

  • If you want to retrieve an email from your trash, remove the email from your Trash.
  • To prevent Gmail from automatically sending an email to spam, report the email as "Not spam".

Clear search history

  1. On your computer, open Gmail.
  2. At the top, click the search box.
    • Your most recent search may show.
  3. On the right, in the search result, click Delete Search in Gmail - Computer (7).

Learn how searches are saved in your Google Account

Important: The words you use to search and browse in Gmail are saved. This feature improves suggestions in your future searches. To use this feature, on the "Activity controls" page, turn on .

  • If you clear your search history in Gmail, all your email searches are removed across all devices.
  • To control your saved activity, go to My Activity.
  • You can also clear your search history from Google servers. Learn how to delete your activity.

Related resources

  • Refine searches in Gmail
  • Create rules to filter your emails
  • Gmail messages are missing
  • Delete your activity

Need more help?

Try these next steps:

Post to the help community Get answers from community members
Search in Gmail - Computer (2025)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Virgilio Hermann JD

Last Updated:

Views: 6105

Rating: 4 / 5 (61 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Virgilio Hermann JD

Birthday: 1997-12-21

Address: 6946 Schoen Cove, Sipesshire, MO 55944

Phone: +3763365785260

Job: Accounting Engineer

Hobby: Web surfing, Rafting, Dowsing, Stand-up comedy, Ghost hunting, Swimming, Amateur radio

Introduction: My name is Virgilio Hermann JD, I am a fine, gifted, beautiful, encouraging, kind, talented, zealous person who loves writing and wants to share my knowledge and understanding with you.