Home › Blog › Mass delete Gmail emails

How to Mass Delete Emails in Gmail (Without Losing What Matters)

Published November 23, 2026 · 15 min read
Filter & search
Filter & search
Gmail Exporter Guide
To mass delete emails in Gmail, use a computer. Type a search such as category:promotions older_than:1y, tick the Select checkbox above the list, then click the link "Select all conversations that match this search" and click Delete. Everything moves to Trash, where it stays for 30 days, and it still uses storage until you empty Trash. The Gmail app selects only 50 messages at a time. Before you delete receipts, invoices or contracts, export a list of them first.

Gmail doesn't have a "delete everything from 2019" button, but it has something better: any search you can type, you can select in full and delete in one go. Whether you're clearing 300 newsletters or 40,000 old notifications, the method is the same. The skill is in writing the right search and knowing what you're about to throw away.

Most guides stop at "select all and delete". This one adds the parts that cause regret later: a recipe table you can copy, a Gmail quirk where excluding starred mail doesn't fully protect it, how conversation view deletes your own replies, what happens on the phone, why Trash still uses your storage, and how to keep a record of what you deleted. Every limit below comes from Google's own help pages, linked in place.

Mass delete on desktop, step by step

This is Google's documented method from Delete messages in Gmail, plus the details that matter at scale.

  1. Open Gmail in a browser on your computer. The "select all matching" option is only on the desktop version.
  2. Type a search in the search box. Use one of the recipes below, or open a label or category from the left menu. Press Enter and check the first page: if it shows the wrong emails, the search is wrong. Fix it before you go on.
  3. Tick the Select checkbox at the top left, above the messages. Gmail selects the current page only and shows a notice like "All 50 conversations on this page are selected".
  4. Click the link in that notice: "Select all 2,000 conversations in Inbox" or, after a search, "Select all conversations that match this search". Now every result is selected, not just the page.
  5. Click Delete (the bin icon). Gmail asks you to confirm a bulk action. Confirm, and the conversations move to Trash.
  6. Empty Trash if you need the storage back now: More → Trash → "Empty Trash now". Only do this once you're sure, because after that you can't recover the messages.

If you only want the mail out of your inbox, not gone, use Archive in step 5 instead. Archived mail stays searchable in All Mail and still counts toward storage. More on choosing between the two further down.

Two things that catch people out

The deletion recipes: copy, paste, check, delete

Every operator below is listed in Google's Refine searches in Gmail page. Combine them with a space, which Gmail reads as AND. Last verified 31 Oct 2026.

GoalSearch to pasteCheck before deleting
Old promotionscategory:promotions older_than:1yOrder confirmations and tickets sometimes land in Promotions
Old social notificationscategory:social older_than:6mUsually safe
Everything from one senderfrom:news@example.comThreads where you replied to that sender
A whole domainfrom:@example.comReal people at the same company, not just the robot address
A mailing listlist:info@example.comLists you still read
Mail before a datebefore:2022/01/01Tax, contract and HR records (see "Before you delete" below)
One year onlyafter:2019/12/31 before:2021/01/01Same as above
Old mail that isn't starred or importantolder_than:2y -is:starred -is:importantThe negative-operator caveat above
Unread mail you clearly never wantedis:unread older_than:6mSecurity alerts and bills you never opened
Large emailslarger:10MAttachments you don't have anywhere else
Old attachmentshas:attachment older_than:1yInvoices, signed PDFs, photos
A label you've finished withlabel:project-2021Mail with several labels: it goes from all of them
Unlabelled old mailhas:nouserlabels older_than:3yGoogle notes labels are on messages, not whole conversations
Several newsletters at oncefrom:(a@x.com OR b@y.com OR c@z.com)Typos in an address simply return nothing

Three syntax rules save time. older_than: and newer_than: take d, m or y (days, months, years). Dates for before: and after: are written 2022/01/01. And in:anywhere also searches Spam and Trash, so don't add it to a delete search unless you mean to.

For more operators, including filename:, deliveredto: and exact-size searches, see our Gmail search operators guide.

Which senders to delete first

Deleting by sender is the most satisfying cleanup because a handful of senders usually account for a large share of an inbox. The problem is knowing who they are: Gmail doesn't show a "top senders" list.

Two ways to find them:

Once you have the list, delete the top ten senders with from: searches. Then stop them coming back:

ActionWhat happens to future mailBest for
UnsubscribeThe sender should stop. Google says it "can take a few days", and in Manage subscriptions new mail from that sender goes to Spam in the meantimeLegitimate newsletters and shops
BlockFuture mail goes straight to Spam. Blocking "doesn't automatically unsubscribe you"Senders who ignore unsubscribes
Filter with "Delete it"Matching mail goes to Trash on arrivalAutomated notifications you can't switch off

Sources: Google's Manage subscriptions and Block an email address pages. Last verified 31 Oct 2026.

Mass delete on iPhone and Android: 50 at a time

The Gmail app can select in bulk, but only a page at a time. Google's instructions for Android and iPhone and iPad are the same:

  1. Open the Gmail app and, if you like, run a search first.
  2. Touch and hold one message.
  3. Tap the box next to "Select all". Google: "By default, Gmail selects up to 50 messages to delete."
  4. Tap Delete. For the next 50, scroll to the top and tap "Select all" again.

That's fine for a quick tidy. For anything over a few hundred messages, open gmail.com in a desktop browser, where one click selects every match. On a phone without a computer nearby, the app's search plus repeated "Select all" is the only built-in route.

Delete automatically from now on: filters

A bulk delete clears the backlog. A filter stops it building up again. Google's filter instructions:

  1. In the search box, click Show search options.
  2. Enter the criteria, for example a From address or words in the subject. Click Search to check the results look right.
  3. Click Create filter.
  4. Choose Delete it. If you also want the existing matches gone, tick the option to apply the filter to the matching conversations already in your mailbox.
  5. Click Create filter.

Good candidates for a delete filter are app notifications you can't switch off, automated reports you also get somewhere else, and newsletters that ignore your unsubscribe. Filters act when mail arrives, so they can't delete by age: for "anything older than a month" cleanups, such as login codes, run an older_than:1m search every so often instead. Bad candidates are anything from your bank, tax office, employer or landlord. A filter that deletes mail on arrival means you never see it, so a match that's slightly too broad can remove an important message without you ever noticing it was missing.

If you'd rather keep the mail but out of sight, choose "Skip the Inbox (Archive it)" and apply a label. You can bulk delete that label later, after checking it.

Filters live under Settings → See all settings → Filters and Blocked Addresses. Google lets you export them to an .xml file there, which is worth doing once you have a set you trust.

Before you delete: export a record

This is the step the other guides skip, and the one that matters if you're a freelancer, run a small business or ever deal with taxes, warranties or disputes. Bulk deletion is quick because you don't look at each email. That's also why it removes things you needed.

The email types people most often regret deleting in bulk:

A practical routine before any large delete:

  1. Run the delete search, but don't delete yet.
  2. Export the results to a spreadsheet. With Gmail Exporter you export the emails in that view to CSV for free, with the sender, address and subject of each one, processed locally in your browser. Dates, Excel and JSON are in the Pro plan. Name the file after the search, for example promotions-before-2024.csv.
  3. Scan the file sorted by sender. Anything that looks like a bank, a shop you still use, a government body or a client deserves a second look. Remove those threads from the delete (star them, label them or adjust the search).
  4. Save the attachments you need. Search has:attachment within the same results and download the files, or use the attachment ZIP in the Business plan. Our guide to downloading all Gmail attachments covers the free options too.
  5. Now delete.

The spreadsheet takes a minute and gives you something Gmail never will after Trash is emptied: a list of what was there. For a full-account version of this routine, see export all Gmail before deleting.

Export before you delete

Turn any Gmail search into a spreadsheet of senders and subjects in seconds, processed in your browser, so you know exactly what you're removing. Free CSV; dates, Excel and JSON with Pro.

Add to Chrome — It's Free

Delete or archive? Pick the right action

Both actions clear the inbox. They differ in what happens next.

ArchiveDeleteDelete forever (empty Trash)
Leaves the inboxYesYesYes
Still searchableYes, in All MailOnly in Trash, for up to 30 daysNo
Uses Google storageYesYes, until Trash is emptied or 30 days passNo
Can you undo it?Any timeWithin 30 days, from TrashPersonal account: no. Workspace: admin may restore (below)
Use it forAnything you might need againMail you're fairly sure aboutFreeing storage now

Sources: Delete messages in Gmail and How your Google storage works. Last verified 31 Oct 2026.

If your goal is a tidy inbox, archive is the safer default and costs you nothing extra while you're under your storage limit. If your goal is space, read on.

Does mass deleting free up storage?

Only once the mail leaves Trash. Google's storage page says each account "includes up to 15 GB of storage, which is shared across Gmail, Google Drive, and Google Photos", and that what counts includes "Gmail messages and attachments, which includes your Spam and Trash folders". So deleting 20,000 emails changes nothing on the storage meter until you empty Trash or the 30 days run out.

The other thing to know is that the number of emails matters far less than their size. Text-only emails are small; attachments are what fill an account. If you're deleting to get space back, start with larger:10M, then has:attachment older_than:1y, and only then the big piles of newsletters. Our guide on freeing up Gmail storage covers the storage side in depth, including Drive and Photos, and exporting large Gmail emails shows how to keep a copy of the heavy ones first.

If you hit the limit, Google says you "can't send or receive attachments" in Gmail, which is a good reason not to leave a cleanup half-finished in Trash.

How long a bulk delete takes, and why it seems stuck

Google doesn't publish a speed for bulk actions. When you delete thousands of conversations at once, Gmail processes them in the background and the list can take a while to update, or show the old count after a refresh. In practice:

Changed your mind? The undo windows

Mass deletion is reversible for a while. How long depends on the account type. Last verified 31 Oct 2026.

SituationRecovery windowWho can recoverSource
Deleted, still in TrashUp to 30 days after deletionYou: Trash → select → Move to → InboxGmail Help
Personal Gmail, removed from TrashNoneGoogle: "After that, you can't recover the message"Gmail Help
Google Workspace, after the 30 daysAn extra 25 days, starting 30 days after the message was deletedAn admin, with the Restore data toolWorkspace Admin Help
Workspace with Vault retention or a holdAs long as the rule or hold keeps itA Vault user can search and export, but not restore to the mailboxSame page
DraftsNoneGoogle: deleted drafts can't be recovered from TrashGmail Help

To undo a mass delete within the 30 days, open Trash, run the same search there (add in:trash), select all matching, and click Move to → Inbox. Our guide to recovering deleted emails in Gmail covers what's left after that window closes.

For developers: bulk deletion with the Gmail API

If you're scripting a cleanup, the Gmail API has three deletion methods with very different consequences. All figures are from Google's Gmail API usage limits and method references. Last verified 31 Oct 2026.

MethodWhat it doesQuota unitsScope needed
messages.trashMoves one message to Trash (reversible)20gmail.modify or full access
messages.delete"Immediately and permanently deletes" one message. "This operation cannot be undone"10Full access (https://mail.google.com/)
messages.batchDeleteDeletes many messages by ID50 per callFull access (https://mail.google.com/)

Google's own advice on messages.delete is "Prefer messages.trash instead", and it's good advice for bulk jobs: a bug in your query then costs you a trip to Trash rather than the mail. The per-user limit is 6,000 quota units per minute, so at 20 units a call one user can trash about 300 messages a minute through messages.trash. Google also lists a daily billing threshold of 80,000,000 units per project.

Not keen on code? Apps Script can trash threads from a search on a schedule, and it runs inside your Google account.

Mistakes that make people regret a mass delete

Frequently asked questions

How do I delete thousands of emails in Gmail at once?

On a computer, search for the emails, tick the Select checkbox above the list, then click "Select all conversations that match this search" in the notice that appears, and click Delete. All matching conversations move to Trash in one action. Empty Trash afterwards if you need the storage back.

How do I delete all emails from one sender in Gmail?

Search for from: followed by the address, for example from:news@example.com, or from:@example.com for a whole domain. Select all matching conversations and click Delete. To stop new ones, unsubscribe, block the sender, or create a filter with "Delete it".

How do I delete old emails in Gmail, like everything older than two years?

Search older_than:2y, or use dates with before:2024/01/01. Add -is:starred to skip starred mail, but check the results: Google notes that negative operators can still return conversations containing excluded messages. Then select all matching and delete.

Can I mass delete emails in the Gmail app?

Partly. In the iPhone and Android app, touch and hold a message and tap "Select all". Google says this selects up to 50 messages at a time, so you repeat it for the next 50. For larger cleanups, use Gmail in a desktop browser, where you can select every result of a search at once.

Does deleting emails free up space in Gmail?

Not until they leave Trash. Google counts Trash and Spam toward your storage, which is up to 15 GB shared across Gmail, Drive and Photos on a free account. Empty Trash, or wait the 30 days, to get the space back. Attachments free far more space than text-only emails.

Can I recover emails after a mass delete?

Yes, for up to 30 days: open Trash, select the messages and move them back to the inbox. Once Trash is emptied, a personal account can't recover them. On Google Workspace, an admin has an extra 25 days to restore them with the Admin console's Restore data tool.

Why is my Gmail bulk delete not working or stuck?

Large bulk actions run in the background and the list can take a while to update. Keep the tab open, refresh, and run the same search again; if results remain, select all and repeat. Splitting the job by year with after: and before: makes each batch smaller and easier to check.

Should I archive or delete old emails?

Archive if you might need the mail again: it leaves the inbox but stays searchable in All Mail. Delete when you're sure, or when you need storage, because archived mail still counts toward your quota. Before deleting receipts, invoices or contracts, export a list of them.