Ticking the box at the top of Gmail looks like it selects everything. It selects one page, usually 50 conversations. The link that appears after you tick it is what reaches the rest, and that link is where most accidental mass deletions happen.
On a computer, search for the mail you want to remove, tick the select box above the list, click “Select all conversations that match this search” if you mean all of them, then click Delete. Check the count in the banner before you click, and look through Trash before you empty it.
Protect the mail you need first
Bulk deletion works on the whole account. Before you start:
- Check you are signed in to the right account (your profile picture, top right).
- Star or label anything you know you need: receipts, contracts, tax forms, recovery codes.
- If you rely on an offline copy, export it with Google Takeout and check it opens.
A conversation can hold several messages. Deleting an unwanted thread also deletes a useful reply inside it.
Select and delete one result set
- Open Gmail in a computer browser.
- Choose a folder or category, such as Promotions, or type a search in the search box.
- Read the first page of results and the total count.
- Tick the select box above the list. Gmail shows a banner such as “All 50 conversations on this page are selected” with a link to select all conversations in the view (Google).
- Click the link only if you want every matching conversation, not just this page.
- Click Delete (the trash icon).
- Wait for Gmail to finish. Large batches can take several minutes.
- Run the same search again to check what is left, then look in Trash.
Repeat for the next group only after checking the first.
Build a search that matches what you mean
The search decides what “select all” means, so spend your time here.
| Search | What it finds |
|---|---|
from:[email protected] | Mail from one sender (replace the address) |
category:promotions older_than:1y | Promotions older than a year |
category:social | Social network notifications |
before:2022/01/01 | Mail received before a date |
older_than:3y | Mail older than three years |
has:attachment larger:10M | Large messages that use storage |
-is:starred | Leaves out anything you starred |
-has:userlabels | Leaves out anything you labeled |
Shortcut: the free Gmail Cleanup Search Builder builds these searches for you, with starred and important mail left out.
Combine them. category:promotions older_than:1y -is:starred finds old promotions and skips the ones you starred. Google lists all operators in its search help.
Two cautions. Adding in:anywhere widens a search into Spam and Trash. And is:unread is not a safe filter on its own: bills, password resets and delivery notices often sit unread because the notification was enough.
A safe test before the big batch
- Run your search.
- Tick the page box, and do not click the all-conversations link.
- Delete that one page.
- Open Trash and check that only the mail you expected is there.
- If it looks right, run the search again and use the all-conversations link for the rest.
This takes a minute and catches a search that is broader than you thought.
When the select-all link does not appear
The link only shows when there is more than one page of results. If you have more results than one page and still do not see it, check you are in a browser on a computer rather than the mobile app, and that you ticked the box above the list rather than one message.
Do not assume the first page is the whole mailbox. If you only deleted one page, the count after deletion tells you how much is left.
Trash is a separate decision
Deleted messages go to Trash and are removed automatically after 30 days (Google). To delete them sooner, open More › Trash and click Empty Trash now in the banner.
- Mail in Trash still counts toward your storage until it is emptied.
- Deletion applies to every device signed in to the account, not just this computer.
- Deleted drafts cannot be recovered from Trash.
Archiving is different. It removes mail from the inbox and keeps it in All Mail, so it frees no storage.
Undo a mistake
Right after a deletion, Gmail shows an Undo link at the bottom of the screen. After that:
- Open Trash.
- Search inside Trash, for example
in:trash from:[email protected]. - Select the messages and choose Move to › Inbox.
This only works until Trash is emptied or the 30 days pass.
Working from a phone or freeing storage
- On a phone, use the Gmail mobile batch guide. The app selects up to 50 at a time.
- If your account is full, use the Gmail storage guide to target large messages.
- To stop the next backlog, unsubscribe from lists you no longer read instead of deleting each new delivery.
Before you delete in bulk again, the Gmail search cheat sheet lists 12 searches that find the biggest piles first, and Gmail filters and labels stop new mail from piling up in the same place.
Steps checked against Gmail help pages in November 2026. Labels and banner wording can differ slightly between accounts.
Sources
- Gmail Help: Delete messages in Gmail
- Gmail Help: Refine searches in Gmail
- Gmail Help: Organize and archive email
- Google Account Help: How to download your Google data

