How to Delete All Emails in Gmail at Once
Gmail has no single "delete everything" button, and the checkbox at the top of your inbox only grabs the 50 messages on the current page. The trick is a small link that appears after you use it, plus search operators that let you delete a precise slice — all promotions, everything older than a year, one noisy sender — instead of nuking the whole mailbox. This guide covers both, and the storage rules that decide whether deleting actually frees space.
Back up first if the mail matters
Bulk deletion is fast and unforgiving. If there's any chance you'll need a receipt, tax document, or old thread later, export a copy before you start. Go to takeout.google.com, click Deselect all, tick only Mail, and create an MBOX export. Large mailboxes can take hours, so start it and wait for the download link before you delete anything.
Delete every email in the inbox
Do this on a desktop browser. The Gmail mobile apps have no "select all across pages" option, so the web version is the only practical way to clear a large mailbox.
-
Open Gmail on a computer
Go to
mail.google.comand make sure you're in the view you want to clear — usually Inbox, but this works the same in All Mail, Spam, or any label. -
Tick the Select all checkbox
At the top left, above the message list, click the empty checkbox. Gmail selects the 50 conversations visible on the current page and shows a line of text: All 50 conversations on this page are selected.
-
Click "Select all conversations that match"
Next to that text is a link — look for Select all conversations that match this search (or, in the plain inbox, "Select all conversations in Inbox"). Click it. The selection now covers every message in that view, not just the first page.
-
Click the trash icon
Press the trash-can button in the toolbar. Gmail asks you to confirm a bulk action on all conversations. Confirm, and every selected message moves to Trash. This can take a minute for very large mailboxes — leave the tab open until it finishes.
Delete only some emails with search operators
Deleting everything is rarely what people actually want. Search operators let you build a filtered list first, then use the exact same select-all trick to delete only what matches. Type one of these into the Gmail search bar, press Enter, then select all and delete:
older_than:1y— everything more than a year old. Use2y,6m, or30dto change the age.from:[email protected]— every message from one sender. Combine several withOR.category:promotions— marketing and offers Gmail sorted into the Promotions tab.category:social— notifications from social networks.has:attachment larger:10M— big attachments, the mail that eats the most storage.before:2022/01/01— everything received before a specific date.
You can chain them. For example, from:example.com older_than:2y finds mail from one company sent more than two years ago. Always glance at the result count before selecting all — the search bar shows how many conversations match, which is your safety check that you're deleting what you intended.
Empty Trash to actually free storage
This is the step most people miss. Deleting a message moves it to Trash, but Trash still counts against your 15 GB storage quota. Gmail empties Trash automatically 30 days after each message lands there, so storage frees up gradually on its own. To reclaim it now:
-
Open the Trash label
In the left sidebar, click Trash (you may need to click More to reveal it).
-
Click "Empty Trash now"
At the top of the Trash view, click Empty Trash now. Everything is erased permanently and immediately. Storage in your Google Account may take a few minutes to update on the account page.
Note that Gmail is only one part of your 15 GB — Google Drive and Google Photos share the same quota. If deleting mail barely moves the needle, large files or photos are the real culprit. Check the breakdown at one.google.com/storage.
Archive vs delete: which you want
If your goal is a clean inbox rather than reclaimed space, archiving is the safer choice. Archiving removes messages from the inbox but keeps them in All Mail, fully searchable. The trade-off is that archived mail still counts toward storage — you've tidied the view, not freed the quota.
- Archive when you want a zero inbox but might need the mail again. Nothing is lost; it just leaves the inbox.
- Delete when you're sure you don't need the messages and you want the storage back. This is the only path that frees space, once Trash is emptied.
If spam is what's filling your inbox, deleting it repeatedly is a losing battle — the fix is to stop it arriving. See our guide to stopping spam emails for filters and unsubscribe tactics that keep the inbox clear for good.
Frequently asked questions
How do I select more than 50 emails in Gmail at once?
Tick the Select all checkbox at the top left. Gmail selects the 50 conversations on the current page and shows a message offering to Select all conversations that match this search. Click that link to select every matching message across all pages, then delete.
Do deleted Gmail emails free up storage right away?
Not immediately. Deleted mail sits in Trash for 30 days and still counts against your storage quota. To reclaim space now, open Trash and click Empty Trash now, which erases everything in it permanently.
How can I delete only old emails or emails from one sender?
Use search operators. Type older_than:1y to find mail older than a year, from:[email protected] for one sender, or category:promotions for marketing mail. Run the search, select all conversations that match, then delete only that filtered set.
What is the difference between archiving and deleting in Gmail?
Archiving removes a message from your inbox but keeps it in All Mail, so it still counts toward storage and stays searchable. Deleting moves it to Trash and, after 30 days or an emptied Trash, erases it and frees the space.
Can I recover emails after I empty the Trash?
No. Once Trash is emptied or 30 days pass, the messages are permanently gone and cannot be recovered from your account. Download a backup with Google Takeout first if you might need any of the mail later.