How to Mass Delete Emails in Gmail in 2026: Desktop and Mobile
Inbox full or out of storage? Here's how to mass delete emails in Gmail by sender, date, size or category, on a computer or phone, and empty Trash for good.
To mass delete emails in Gmail, search for the mail you want gone (for example from:news@example.com or older_than:2y), check the Select box at the top left, click the link to select all conversations that match, then click Delete. Everything goes to Trash, where Gmail keeps it for 30 days before removing it for good.
A bulk delete is usually triggered by one of two things: a warning that your Google storage is nearly full, or the slow realization that most of what you scroll past each morning will never be opened. Either way, the trick is the same. Pick the mail with a precise search, check what you caught, and only then delete. Below are the searches that do the heavy lifting, how it works in a browser and on your phone, how to free storage for real, and how to stop the pile from coming back.
The fastest way to delete thousands of Gmail emails at once
Gmail in a web browser is where you can delete every matching email in one go; the phone app works in batches. Google's help page on deleting email describes it: select a category or search, check the Select box, and when Gmail offers to select all conversations, click that link before you click Delete.
- Open Gmail in a web browser on your computer.
- Type a search into the search bar at the top and press Enter. (To clear a whole tab instead, open it, such as Promotions.)
- Check the Select box at the top left, above the list of emails. This selects the conversations on the current page.
- Look for the line above the list offering to Select all conversations that match. Click it.
- Click Delete (the trash can icon).
- Confirm if Gmail asks you to.
Step 4 is the one people miss. Without it, Gmail deletes only the page you can see, and you end up clicking Delete over and over while the count barely moves.
When I cleared out years of shipping updates and order confirmations, I didn't start with the delete button. I typed the search, opened a few results from the middle of the list to make sure nothing personal had slipped in, and only then selected everything. Reading one page of results first costs a minute; restoring the wrong thing from Trash costs a lot more.
Gmail searches for bulk deleting by sender, date, size and more
Every bulk delete in Gmail starts with a search, and Gmail's search operators let you target email by sender, age, size, label, category or read status. These all come from Google's list of search operators:
To delete… | Search for | Notes |
|---|---|---|
Everything from one sender | from:news@example.com | Copy the address from one of their emails |
Mail older than a set age | older_than:2y | Use d for days, m for months, y for years |
Mail before a date | before:2022/01/01 | Pair with after: for a date range |
Large emails | larger:10M | 10M means 10 megabytes; smaller: works the other way |
Emails with attachments | has:attachment | Add filename:pdf for one file type |
A whole inbox tab | category:promotions | Also social, updates and forums |
A label | label:receipts | Deletes the emails, not just the label |
Unread mail | is:unread | Combine with an age, such as is:unread older_than:1y |
A mailing list | list:info@example.com | Matches mail sent through that mailing list |
Operators combine. Written side by side, as in Google's own has:attachment larger:10M example, both must match; OR means either, and a minus sign excludes. Some combinations worth keeping:
- category:promotions older_than:1y clears marketing mail you've had for over a year.
- has:attachment larger:10M finds the biggest space hogs, which is the search Google suggests when storage is tight.
- from:news@example.com OR from:deals@example.com catches a company that mails from two addresses.
- older_than:3y -is:starred -is:important finds old mail but leaves out anything you starred or Gmail marked important.
- is:unread category:social clears social notifications you never opened.
That last exclusion trick is my safety net. I add -is:starred to almost every bulk search, because a starred email is one I told myself I'd come back to, and a cleanup shouldn't overrule that.
Check what in:anywhere does before using it
Gmail's search operators page says in:anywhere searches all of your mail, including Spam and Trash. That's useful for finding something, but for a bulk delete it adds mail that's already on its way out. Leave it off when you're cleaning up.
How to delete all emails from one sender in Gmail
To delete everything from one sender, search from: followed by their address, select all matching conversations, and click Delete. If you're not sure of the exact address, open one of their emails, copy the address next to their name, and paste it after from:.
A retailer I bought from once had been emailing me almost daily for years. One from: search with the store's address, the select-all link, and the whole history was in Trash. Then I unsubscribed, which is the part that keeps it from happening again (more on that below).
How to delete Gmail emails by year or date range
To delete Gmail emails from a particular year, search after: and before: with that year's dates, such as after:2019/01/01 before:2020/01/01, then select all and delete. For a rolling cutoff, older_than:5y catches everything more than five years old without you working out the dates.
How to delete all emails in Gmail
To delete every email in your Gmail account, open All Mail in a browser, check the Select box, click the link to select all conversations in All Mail, then click Delete. Google's deleting page lists All Mail among the views where this works.
- Open Gmail in a browser, click More in the left menu if needed, then All Mail.
- Check the Select box at the top left.
- Click the link to select all conversations in All Mail.
- Click Delete.
I wouldn't do this without exporting first if there's any chance you'll want an old receipt, a contract or a message from someone you miss. After 30 days in Trash, Google says a deleted email is gone permanently and can't be recovered. If what you really want is an empty inbox rather than an empty account, archive instead (below).
How to mass delete Gmail emails on your phone (Android and iPhone)
On a phone, the Gmail app lets you select up to 50 emails at a time and delete them together. Google documents the steps for Android and for iPhone and iPad, and they're the same on both:
- Open the Gmail app.
- Search for the emails you want to delete, or open the folder or tab they're in.
- Press and hold any email in the list.
- Tap the box next to Select all at the top left.
- Tap Delete at the top.
- For the next batch, scroll to the top, tap Select all again, and delete.
Google says Select all in the app picks up to 50 messages by default, which is fine for a quick tidy and tedious for a big one. On my phone I'll clear out one noisy sender while waiting for a train, in a few rounds of 50. Anything bigger, like an entire year or an entire tab, I leave for the laptop, where one click covers every match.
How to delete Gmail emails permanently and free up storage
Deleting moves email to Trash, and email in Trash still counts against your storage until it's permanently removed. Google's storage page says items in Trash and Spam count toward your storage limit until you clear them, so empty Trash after a bulk delete if space is the reason you're cleaning up.
Empty Trash on a computer
- In Gmail, click More in the left menu, then Trash.
- Click Empty Trash now at the top. To remove only some messages, check them and click Delete forever instead.
Empty Trash in the Gmail app
- Open Menu in the top-left corner and choose Trash.
- Tap Empty trash now at the top.
Google's storage page is clear about why this matters: your free Google Account comes with 15 GB shared across Gmail, Google Drive and Google Photos, and once it's full, Gmail stops sending and receiving and mail sent to you bounces. It also warns that your storage total can take a couple of days to update after you delete things, so don't panic if the number doesn't drop right away.
If storage is the goal, start with size, not age. Run has:attachment larger:10M before anything else; Google notes that finding and removing one or two emails with very large attachments can be a quick fix. Text-only newsletters are small one by one, so clearing them tidies the inbox more than it frees space. When I last needed room, I started with the big-attachment search and only then turned to the newsletters.
How to undo a mass delete in Gmail
A mass delete in Gmail can be undone within 30 days by restoring the emails from Trash. Per Google's help page:
- Open Trash from the left menu.
- Check the emails you want back (or search within Trash to find them).
- Click Move to and choose Inbox or another label.
Two limits to know. Once you click Empty Trash now or Delete forever, there's no restoring from Gmail. And Google notes that a deleted draft can't be recovered from Trash at all.
Delete or archive: which one should you use?
Archive when you want email out of your inbox but still searchable; delete when you never want it again or need the storage back. Google's archive page says an archived email leaves your inbox but stays under All Mail, and returns to your inbox if someone replies.
Delete | Archive | |
|---|---|---|
Leaves the inbox | Yes | Yes |
Can be found later | Only in Trash, for 30 days | Yes, in All Mail and search |
Frees storage | Yes, once Trash is emptied | No |
For work mail I archive almost everything and delete almost nothing. Receipts, notifications and newsletters are different: I don't need a five-year record of a sale I ignored, so those get deleted.
Keyboard shortcuts for deleting email in bulk
Gmail's keyboard shortcuts let you select and delete without touching the mouse, once you switch them on. Google's shortcuts page lists # for delete, \* then a to select all conversations, x to select one, and e to archive.
- With Gmail open in a browser, click the gear icon and choose See all settings.
- Scroll to the Keyboard shortcuts section and select Keyboard shortcuts on.
- Click Save Changes at the bottom.
With shortcuts on, a cleanup becomes: search, press \* then a, then #. If Gmail shows the link to select all conversations that match, click it before you press #, so the delete covers every result and not only the page in front of you.
How to stop the pile from building up again
A bulk delete clears the backlog, but a filter, an unsubscribe or a block keeps the same mail from refilling your inbox. Pick the one that matches the sender.
Unsubscribe from newsletters and marketing email
In a browser, open More in the left menu, then Manage subscriptions, and click Unsubscribe next to a sender. Google's subscriptions page says not every account has Manage subscriptions yet, and that a sender can take a few days to stop. Unsubscribe first, then bulk delete what's already there.
Delete future emails automatically with a filter
A filter can delete matching emails the moment they arrive. The steps follow Google's filter page, and the option names match the University of Michigan's Gmail guide:
- Open Gmail in a browser and click the Show search options icon at the right end of the search box.
- Enter the criteria, such as the sender's address in From, and click Search to check what matches.
- Click Create filter.
- Check Delete it. To clear the existing matches as well, also check Also apply filter to matching conversations (Gmail shows the count in that line).
- Click Create filter again.
I'm careful with Delete it filters, because a filter that's slightly too broad quietly sends real mail to Trash. For anything less certain, I use Skip the Inbox (Archive it) instead, so the mail is out of the way but still searchable. Every filter you've made is listed in Gmail's full settings, where you can edit or remove it.
Block a sender
Blocking sends a sender's future emails to Spam. Open one of their messages, click More next to Reply, and choose Block, per Google's blocking page. Google's subscriptions page points out that blocking doesn't take you off a mailing list, so for newsletters, unsubscribe instead.
If one long thread is the noise rather than a sender, muting it is gentler than deleting; our guide to muting emails in Gmail covers that. And if you'd rather sort mail than throw it away, Gmail labels and the Gmail automation ideas post show how to set filters that file mail as it lands.
Why isn't Gmail deleting all my emails?
When a mass delete in Gmail seems to stop short, the cause is usually the selection, not Gmail. Work through these:
- Only one page was deleted. You checked Select but didn't click the link to select all conversations. Go back and click it.
- You're in the app. The Gmail app selects up to 50 emails at a time. Use a computer for big jobs.
- Storage didn't go down. The emails are in Trash, which still counts. Empty Trash, then give the total time to update.
- Some emails came back. If you archived rather than deleted, a new reply puts the conversation back in your inbox. For senders that keep mailing, a filter or an unsubscribe stops the refill.
- The search missed some. Senders often mail from more than one address. Join them with OR, or use list: for mailing lists.
Clear out mail by asking for it
Building the right search is the fiddly part of a cleanup. In Merlin, a Mac app connected to your Gmail account, you can describe it in chat instead, like "find the shipping updates I got last year and move them to Trash". Merlin shows the emails it found and the move it plans on cards for you to review, and nothing goes to Trash until you confirm. It can't delete email permanently, so emptying Trash stays your call in Gmail.
Get MerlinFrequently asked questions
How do I delete thousands of emails in Gmail at once?
On a computer, search for the emails, check the Select box at the top left, click the link to select all conversations that match, then click Delete. The Gmail app only selects up to 50 at a time, so use a browser for big jobs.
How do I delete all emails from one sender in Gmail?
Search from: followed by the sender's address, such as from:news@example.com, then select all matching conversations and click Delete. Unsubscribe or create a filter afterward so new emails don't pile up again.
Does deleting emails in Gmail free up space?
Not until Trash is emptied. Emails in Trash and Spam count toward your storage until they're permanently removed, so open Trash and click Empty Trash now after a bulk delete.
Can I recover emails after a mass delete in Gmail?
Yes, within 30 days of deleting them. Open Trash, select the emails and click Move to. Once Trash is emptied or the 30 days pass, they're gone permanently.
How do I delete old emails in Gmail by year?
Search with a date range, such as after:2019/01/01 before:2020/01/01, or use older_than:3y for everything older than three years. Then select all matching conversations and delete them.
Can I mass delete emails on the Gmail app?
Yes, in batches. Press and hold an email, tap Select all, then tap Delete. Select all picks up to 50 emails, so repeat it for the next batch.