How do I use Google search operators in Gmail?

Last reviewed: September 23, 2026 · Markdown version

Gmail's search box is a query language, and about fifteen of its operators do almost all the useful work. Every operator below is on Gmail's own reference page (Refine searches in Gmail, read 23 September 2026); the combined examples are ours. Note first that these are Gmail's operators — site: and filetype: belong to Google Search, a different set for a different box (Refine Google searches, read 23 September 2026).

Who and what

When

How big

⚠️ The number rule. Google states it plainly: "When using numbers as part of your query, a space or a dash (-) will separate a number while a dot (.) will be a decimal." Its own example: "01.2047-100 is considered 2 numbers: 01.2047 and 100." Google does not spell out what a split number does to the rest of a query, which is reason enough to type numbers in one piece.

Where, and state

Joining them up

OR (or curly braces) and AND, a leading - to exclude, and AROUND for proximity — holiday AROUND 5 invoice. Parentheses group. Three that earn their keep:

What operators cannot do

They query messages. Nothing on Google's list groups or totals results by sender. A larger: search finds every heavy message at once, and you still will not see the newsletter that arrived every Tuesday for six years — each message too small to clear the threshold, the total larger than anything on the list. Turning a search into a standing rule is what filters are for. How Gmail filters work.

Related: Find large emails in Gmail · What takes up space in Gmail? · Gmail filters · How to clean up Gmail