Gmail search operators for deleting old email: the Reddit cheat-sheet
There is no delete operator. Search finds, you delete — that is the mental model everything else follows from. Below is the working set, the two operators that make bulk deleting safe, and the combinations worth memorising. All free, no tool, nothing granted to anyone.
By size — where your storage actually is
Quota is bytes, not messages. Start here, always.
| Operator | Matches | Use when |
|---|---|---|
larger:25M | The true giants | You want the top offenders and nothing else |
larger:10M | Over roughly 10 MB | The single best storage search in Gmail |
larger:5M | Over roughly 5 MB | Second pass, once the giants are gone |
has:attachment | Anything with a file | Broad — combine with a size or date |
By age — where the volume is
| Operator | Matches |
|---|---|
older_than:5y | Over five years old |
older_than:3y | Over three years old |
older_than:2y | Over two years old |
older_than:1y | Over a year old |
older_than:6m | Over six months old |
Units are d, m and y. Walking these in descending order — 5y, then 4y, then 3y — is also the reliable way to delete a very large backlog without asking Gmail to act on one enormous set at once.
The two that make it safe
| Operator | What it does |
|---|---|
-is:starred | Excludes anything you starred |
-is:important | Excludes anything Gmail flagged important |
The minus sign negates any operator. These two belong on the end of every bulk query you ever run — one line of typing that removes most of the risk. Make it reflex.
By source
| Operator | Matches |
|---|---|
category:promotions | The Promotions tab |
from:someone@example.com | One sender |
is:unread | Never opened — often a good proxy for never wanted |
Google documents the complete operator set at support.google.com/mail/answer/7190. We have listed the ones that matter for deletion rather than reproducing all of them badly.
Combinations worth memorising
Space-separated terms are ANDed. That is where the power is.
| Query | Does what |
|---|---|
larger:10M -is:starred -is:important | The best first search. Big, and safe to clear. |
older_than:2y category:promotions | Old marketing. High count, low risk. |
older_than:2y has:attachment larger:5M | Old AND large — the sweet spot for storage. |
from:newsletter@example.com older_than:1y | One noisy sender, historical only. |
is:unread older_than:3y | Three years unopened. You are not going to read it. |
The three rules around the operators
- Look at the result count before you act. Narrow first, delete second. A query you have read the count of is a query you can trust.
- Use the select-all-conversations link, not just the checkbox — the checkbox only takes the visible 50. Detail here.
- Empty Trash or nothing happened. Deleted mail keeps counting against your quota until permanently cleared.
Do you need a tool for this?
Honestly: for a one-off cleanup, no. Everything above is free, grants nobody access to your account, and does the job. This page is the method we would use ourselves.
Bulk Deleter runs these same queries in batches with a preview step, which matters when the backlog is large enough that the loop becomes the problem. That is a convenience trade, not a capability one — and if you would rather keep your inbox to yourself, this cheat-sheet is genuinely the answer.
Related
Questions people actually search
What Gmail search operator deletes emails older than a year?
There is no delete operator — search finds, you delete. Use older_than:1y to match everything over a year old, then select and delete the results. The units are d, m and y, so older_than:6m and older_than:5y both work. Google documents the full set at support.google.com/mail/answer/7190.
How do I find large emails in Gmail?
Use larger:10M for anything over roughly 10 MB, or larger:25M to surface only the true giants. This is the highest-value search in Gmail for storage purposes, because quota is measured in bytes — thirty enormous emails routinely outweigh twenty thousand newsletters.
How do I exclude important emails from a bulk delete?
Append -is:starred -is:important to any query. The minus sign negates, so this matches everything except mail you starred or Gmail flagged as important. It is one line of typing and it removes most of the risk from a bulk delete. Make it reflex rather than an afterthought.
Can I combine Gmail search operators?
Yes, and combining is where the power is. Space-separated terms are ANDed, so older_than:2y larger:5M -is:starred means old AND large AND not starred. Building a narrow query first is always better than deleting a broad one and hoping, because you can look at the result count before you commit.
What is the best Gmail search to free up storage?
Start with larger:10M -is:starred -is:important. It is short, it is safe, and it surfaces the handful of messages carrying disproportionate weight. Then older_than:2y category:promotions for volume. Between those two, most people recover the majority of what they were going to recover.