The fastest way to clear your entire Gmail inbox

You can delete all your Gmail messages in one action by selecting them all, then deleting them. The process takes about two minutes and works the same way whether you have 100 emails or 50,000. Gmail will move them to Trash, where they stay for 30 days before permanent deletion — you can recover them during that window if you change your mind.

The catch: Gmail's "select all" button only selects the emails currently visible on your screen (usually 50 at a time). To actually delete everything, you need to use a search command that tells Gmail to select across all your messages at once, then delete the entire batch.

Key Takeaways

  • Use the search box to find all emails with the command in:anywhere, which selects messages across all folders and labels.
  • Click the checkbox next to "Select all" to mark every message found by that search, then click "Delete all" from the toolbar that appears.
  • Deleted emails go to Trash for 30 days — you can still recover them during that time by opening Trash and moving them back.
  • If you want to keep certain emails, use more specific search commands like before:2024/01/01 or from:sender@example.com to delete only what you choose.
  • Permanently deleting everything from Trash removes it forever and cannot be undone.

Step-by-step: delete all emails at once

Open Gmail and look at the top left, where you see the search box. Click inside it and type in:anywhere, then press Enter. This search finds every email in your account across all labels and folders.

Once the search results load, look at the checkbox in the top left corner of the email list (next to the arrow icon). Click it. A popup will appear asking "Select all conversations that match this search." Click the blue link that says "Select all." Gmail will now mark every single email found by your search.

A toolbar will appear above your email list with a trash icon and the word "Delete." Click the trash icon. Gmail will move all selected emails to your Trash folder. You will see a confirmation message at the top of the screen.

Permanently delete emails from Trash

After you delete emails, they sit in your Trash folder for 30 days. During this time, you can still recover them. To permanently delete them so they cannot be recovered, open the left sidebar and click "Trash" (or "More" if Trash is not visible, then scroll to find it).

Once you are in Trash, you will see a message at the top that says "Permanently delete all conversations in Trash." Click that link. Gmail will ask you to confirm. Click "Delete forever" and the emails are gone permanently. This action cannot be undone.

Delete only certain emails instead of everything

If you want to keep some emails and delete only others, use a more specific search command instead of in:anywhere. Gmail's search language lets you target emails by date, sender, subject, or other details.

For example, before:2023/01/01 finds all emails from before January 1, 2023. from:boss@company.com finds all emails from a specific sender. subject:newsletter finds all emails with "newsletter" in the subject line. You can combine these: before:2023/01/01 from:boss@company.com finds emails from your boss that are older than 2023.

After you type your search command and press Enter, follow the same steps as above: click the checkbox, select all, and delete. Only the emails matching your search will be deleted.

What happens if you delete emails by mistake

If you delete emails and realize you made a mistake, you have 30 days to recover them. Open your Trash folder from the left sidebar. Find the emails you want to keep, click the checkbox next to them, then click the "Move to" button (or the arrow icon) and choose the folder or label where you want them to go. They will move back to your inbox or wherever you send them.

If you have already permanently deleted emails from Trash, they cannot be recovered. Gmail does not have an "undo" option for permanent deletion. This is why it is a good idea to do a test run with a smaller search (like emails from one sender) before deleting everything.

Why you might want to delete all your emails

People delete their entire inbox for different reasons. Some want to start fresh after years of accumulation. Others are switching email providers and want a clean break. Some are concerned about privacy and want to remove old messages that contain personal information. A few are dealing with storage limits, though Gmail accounts rarely run out of space unless you have years of attachments.

Before you delete everything, consider whether you might need any of those emails later. If you have important documents, receipts, or confirmations in your inbox, search for them first and move them to a label or folder you can keep. You can also read your entire Gmail archive using Google Takeout if you want a backup copy before deleting.

Using labels and filters instead of deleting

If you are overwhelmed by email volume but not ready to delete permanently, Gmail's labels and filters offer another approach. You can create a label called "Archive" and move old emails there instead of deleting them. You can also set up filters that automatically label incoming emails from certain senders or with certain keywords, so they skip your inbox and go straight to a folder.

This keeps your inbox manageable without losing the emails. You can still search for them later if you need them. Many people find this less risky than deletion, especially if they are not sure whether they will need those messages again.

Frequently Asked Questions

Can I undo a permanent deletion from Trash?

No. Once you click "Delete forever" in Trash, the emails are gone permanently and cannot be recovered. Gmail does not have an undo option for permanent deletion. This is why the 30-day Trash window exists — use it to double-check before you permanently delete.

Will deleting all my emails affect my Gmail account?

No. Deleting emails does not close your account, change your password, or affect your ability to send and receive new messages. Your account will work exactly the same way. New emails will still arrive in your inbox normally.

How long does it take to delete thousands of emails?

The deletion itself is when ready — Gmail processes it in the background. You will see the confirmation message right away. However, if you have an extremely large account (hundreds of thousands of emails), Gmail may take a few hours to fully process the deletion in the background.

What if I only want to delete emails older than a certain date?

Use the search command before:YYYY/MM/DD in the search box. For example, before:2020/01/01 finds all emails from before January 1, 2020. Then follow the same steps: select all, delete. Only emails matching that date range will be deleted.

Can I delete emails from specific folders or labels only?

Yes. Click on the label or folder in the left sidebar first, then use the search and delete process. This limits the deletion to just that folder. For example, if you click "Promotions" first, then search and delete, only promotional emails will be deleted.