Yes, you can delete all emails from Gmail at once, but Gmail does not provide a single “delete everything” button. Instead, you use search operators to select all messages, then apply the Delete action in batches. This guide walks through the exact steps, including how to empty categories like Spam and Trash, and how to avoid common pitfalls like deleting important mail accidentally.
How Gmail Handles Mass Deletion
Gmail’s web interface is built around labels and search, not folders. Every email has a label (Inbox, Sent, Spam, etc.), and the search box can filter messages by label, date, sender, size, and more. When you delete a message, it first moves to the Trash label, where it stays for 30 days before permanent deletion. This means “deleting all emails” really means two steps: moving them to Trash, then emptying Trash.
There is no official bulk-delete button because Gmail’s design assumes you rarely want to erase everything. However, the search-and-select method works reliably, and it is the same approach used by third-party tools that automate the process.
Step-by-Step: Delete All Emails in Your Inbox
- Open Gmail in a desktop browser (the steps differ slightly on mobile).
- In the search bar at the top, type
in:inboxand press Enter. This shows only messages in your Inbox. - Click the checkbox at the top-left of the email list to select all messages on the current page. A bar appears saying “All 50 conversations on this page are selected.”
- Click the link in that bar that says “Select all X conversations in Inbox” (where X is the total count). This selects every message in the Inbox, not just the visible page.
- Click the trash can icon in the toolbar above the list. Gmail moves all selected messages to Trash.
- Repeat for other labels if you want to delete everything, not just the Inbox: use
in:anywhereorlabel:allto select every message in your account. - Finally, empty the Trash: go to the Trash label (left sidebar), click the checkbox to select all, then click “Delete forever.” This permanently removes them.
If you have thousands of emails, Gmail may only select a few thousand at a time due to server limits. Simply repeat the process: after deleting a batch, the selection resets, so run the search again and delete the next batch.
Deleting All Emails in Specific Categories
You might not want to delete everything—just the Promotions, Social, or Updates tabs. Use these search operators:
- Promotions:
category:promotions - Social:
category:social - Updates:
category:updates - Forums:
category:forums - Spam:
in:spam - Trash:
in:trash
After running the search, select all and delete as above. For Spam, Gmail automatically deletes messages older than 30 days, but you can also select all and delete them immediately.
Using Filters to Automate Deletion
If you want to keep your inbox empty going forward, create a filter that automatically deletes incoming messages that match certain criteria. For example, to delete all emails from a specific sender:
- Click the gear icon → “See all settings” → “Filters and Blocked Addresses.”
- Click “Create a new filter.”
- Enter the sender’s email or a keyword in the “From” or “Subject” field.
- Click “Create filter,” then check “Delete it” (and optionally “Also apply filter to matching conversations”).
- Click “Create filter” again to save.
This only affects future messages, so it won’t delete existing ones—that’s what the manual method is for.
Common Problems and Solutions
Users often hit these issues when mass-deleting:
- “Select all” link missing: If you don’t see the link, you may be in a filtered view that doesn’t support it. Try using a simple search like
in:inboxinstead of a custom filter. - Deletion stops after a few thousand: Gmail’s server limit is roughly 1,000 messages per batch. Repeat the search and delete until the count reaches zero.
- Accidentally deleted important mail: Check Trash within 30 days to restore. If you emptied Trash, recovery is usually impossible unless you use Google Workspace’s admin recovery tool (for business accounts).
- Mobile app limitations: The Gmail app only selects messages on the current screen, so mass deletion is impractical. Use a desktop browser for large cleanups.
Alternative: Third-Party Tools
Several third-party services (like Clean Email, Mailstrom, or Unroll.me) offer bulk-delete features with more control—for example, deleting only newsletters older than a year. These tools use Gmail’s API and require you to grant access to your account. They typically offer free tiers with limited actions, then charge a subscription for unlimited use. Before using one, check that it’s reputable and read its privacy policy, since you’re giving it access to your email data. For most users, the built-in method is sufficient and safer.
Safety and Permanence
Deleting emails in Gmail is not immediately permanent. Messages go to Trash for 30 days, during which you can recover them. After 30 days, they are gone forever, and Gmail does not keep backups. If you have a Google Workspace account, an administrator may be able to restore deleted messages within a limited window (often 25 days), but for personal Gmail accounts, there is no recovery option. If you’re unsure about deleting everything, consider exporting your emails first using Google Takeout (takeout.google.com). This downloads all your messages in MBOX format, which you can open with email clients like Thunderbird.
Frequently Asked Questions
Will deleting all emails free up storage space?
Yes, but only after you empty the Trash. Messages in Trash still count toward your storage quota. Once you permanently delete them, the space is freed, which can take a few minutes to reflect.
Can I delete all emails on the Gmail mobile app?
Technically yes, but it’s tedious because the app only selects messages currently loaded on screen. You’d have to repeat the select-and-delete action many times. Use a desktop browser for a one-time bulk deletion.
Does deleting all emails delete my contacts or calendar events?
No. Contacts and calendar events are stored separately from email messages. Deleting emails only affects messages, not your contact list or calendar.
What if I accidentally delete an important email?
Go to Trash, select the message, and click “Move to Inbox” (or any label) to restore it. You have 30 days before permanent deletion. If you already emptied Trash, recovery is not possible for personal accounts.
Can I undo a mass deletion?
Immediately after deleting, a banner appears at the bottom saying “Undo.” Click it within the few seconds it’s visible to restore the messages. After that, you’ll need to recover from Trash manually.
Is there a way to delete all emails older than a certain date?
Yes, use the search operator before:YYYY/MM/DD (e.g., in:inbox before:2020/01/01) to select and delete messages older than that date. This is a great way to clean up without losing recent emails.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- VPN Not Working on iPhone? Fixes That Actually Work
- Hide & Unhide Apps on Samsung Phones
- How to Enable Privacy Indicators on Chromebook
- How to Calculate Taxes on Overtime Pay
- Fix DNS Server Unavailable Error in Windows 11
- Fix iOS 17 Keyboard Not Working Properly