The fastest way to clear Gmail: select all, then delete

To delete all emails in Gmail, open your inbox, click the checkbox at the top left (next to the search bar) to select every message on the current page, then click the "Select all conversations that match this search" link that appears. Gmail will then let you delete all messages at once. The entire process takes about 30 seconds.

This method works because Gmail shows you a confirmation step before anything disappears. You will see exactly how many emails you are about to delete, and you can change your mind by clicking elsewhere or closing the page. Once you confirm the deletion, those emails move to Trash, where they stay for 30 days before Gmail removes them permanently.

If you have thousands of emails, Gmail may take a few minutes to process the deletion in the background. You can close the page and come back later — the deletion will continue without you watching it.

Key Takeaways

  • Click the checkbox at the top left of your inbox, then click "Select all conversations that match this search" to mark every email for deletion.
  • Deleted emails go to Trash for 30 days, so you can recover them if you change your mind before that window closes.
  • If you only want to delete emails from a certain sender or time period, use the search box first to narrow down what you are deleting.
  • Permanently deleting a very large inbox (50,000+ emails) may take several hours, but Gmail continues the process even if you close your browser.

Step-by-step: selecting and deleting all emails

Start by opening Gmail and making sure you are viewing your inbox. Look at the top left corner, just above your list of emails. You will see a small checkbox next to the words "Select" or a number. Click that checkbox once.

Gmail will highlight all the emails visible on your current screen in light gray or blue. At the same time, a new link or button will appear near the top of the page. It usually says "Select all conversations that match this search" or "All [number] conversations selected." Click that link or button.

Once you click it, Gmail selects every single email in your inbox, not just the ones you can see on the screen. The number at the top will update to show the total count. Now look for the delete button — it is usually a trash can icon in the toolbar above your email list. Click it once.

A confirmation box will pop up asking "Delete [number] conversations?" Click the red "Delete" button to confirm. Your emails will disappear from your inbox and move to the Trash folder.

Deleting emails by search instead of all at once

If you want to delete only certain emails — say, everything from a specific sender or older than a certain date — use Gmail's search box first. This is safer than deleting everything, because you can see exactly what you are removing before you commit.

Click the search box at the top of Gmail and type what you are looking for. For example, type from:sender@example.com to find all emails from one person, or before:2020-01-01 to find everything older than January 1, 2020. You can combine searches: from:sender@example.com before:2020-01-01 will find old emails from that sender only.

Once your search results appear, follow the same steps as above: click the checkbox at the top left, click "Select all conversations that match this search," then click the delete button. This time you are only deleting the emails that matched your search, not your entire inbox.

Understanding Gmail's Trash folder and permanent deletion

When you delete an email, it does not vanish when ready. Instead, it moves to your Trash folder, where it stays for 30 days. During those 30 days, you can open Trash, find the email, and move it back to your inbox if you change your mind.

After 30 days, Gmail automatically and permanently deletes everything in your Trash folder. You cannot recover it after that point. If you want to delete something permanently before the 30 days are up, open your Trash folder, select the emails you want gone for good, and click "Delete permanently."

Be careful with permanent deletion — there is no undo button once you choose it. Gmail will ask you to confirm one more time before it removes the emails from their servers.

Why Gmail might not delete all emails at once

Sometimes when you click "Select all conversations that match this search," Gmail will show a message saying it can only select the first 1,000 or 10,000 emails. This happens when your inbox is extremely large. In that case, you have two options: delete in batches by repeating the process multiple times, or wait for Gmail to finish processing the first batch before starting another.

If you have a very old Gmail account with decades of emails, the deletion process can take hours or even a full day. Gmail processes deletions in the background, so you do not need to keep your browser open. Check back later and repeat the process if there are still emails left to remove.

Another reason deletion might stall is if you have labels or filters set up. Emails that are archived or labeled may not appear in your main inbox search. If you want to delete those too, search for them separately using the label name or search for "is:archived" to find all archived messages.

Recovering deleted emails from Trash

If you deleted emails by mistake, open Gmail and click the three horizontal lines (menu icon) on the left side. Scroll down and click "Trash." You will see all the emails you deleted in the last 30 days.

Find the email or emails you want to keep. Click the checkbox next to each one, then look for a button that says "Move to" or shows a folder icon. Click it and select "Inbox" to move the emails back. They will reappear in your inbox within a few seconds.

If you permanently deleted an email by mistake, there is no way to recover it. Gmail does not keep a backup of permanently deleted messages. This is why it is a good idea to search and review before you delete, especially if you are clearing a large number of emails at once.

Frequently Asked Questions

Will deleting all my emails affect my Gmail account or storage?

No. Deleting emails frees up storage space in your Gmail account, but it does not affect your account itself. Your login, settings, contacts, and calendar will remain unchanged. Once emails are permanently deleted after 30 days, that storage space becomes available again.

Can I delete emails from multiple Gmail accounts at the same time?

No. You must log into each Gmail account separately and delete emails one account at a time. Gmail does not have a feature to manage multiple accounts from a single deletion screen. If you have several accounts to clear, repeat the process for each one.

What happens if I close my browser while Gmail is deleting thousands of emails?

Gmail will continue deleting in the background. You do not need to keep your browser open or stay on the Gmail page. The deletion process runs on Gmail's servers, not on your computer. You can check back later to see if the emails are gone.

Can I undo a permanent deletion?

No. Once you click "Delete permanently" on an email in your Trash folder, it is gone for good. Gmail does not keep a recovery option after that point. Always review what you are deleting before you choose permanent deletion, especially if you are removing a large batch.

How do I delete emails but keep the ones from important senders?

Use Gmail's search feature to delete in smaller groups. For example, search for "is:unread" to delete only unread emails, or "before:2023-01-01" to delete only old messages. You can also create a filter that automatically deletes incoming emails from certain senders going forward, without touching emails already in your inbox.