The fastest way to clear your entire Gmail inbox

You can delete all your Gmail messages in one operation by selecting every email at once, then moving them to trash. Gmail shows a checkbox at the top of your inbox that selects all visible messages on the current page — but to delete truly everything, you need to use the "Select all" option that appears after you check that box, which tells Gmail to select all messages across all pages, not just what you see on screen.

The process takes about two minutes and works the same way whether you have 100 emails or 50,000. After deletion, messages sit in your Trash folder for 30 days before Gmail permanently removes them, so you have a window to recover anything you deleted by mistake.

Key Takeaways

  • Click the checkbox at the top left of your email list to select all messages on the current page, then click "Select all conversations that match this search" to select every email in your account.
  • Once all emails are selected, click the delete button (trash icon) in the toolbar to move them all to Trash at once.
  • Deleted emails remain in your Trash folder for 30 days, giving you time to recover messages if you change your mind.
  • To permanently delete emails when ready instead of waiting 30 days, open Trash and empty it manually.
  • If you want to keep certain emails, use Gmail's search and filter tools to select only the messages you want to remove before deleting.

Step-by-step: selecting and deleting all emails

Open Gmail and go to your Inbox. At the top left of your email list, just above the first message, you will see a small checkbox. Click it. This selects all the emails currently visible on your screen — usually 20 to 50 messages depending on your settings.

After you click that checkbox, a message appears above your email list that says "All 1 conversations selected" or shows a similar count. Next to or below that message, you will see a link that says "Select all conversations that match this search." Click that link. This tells Gmail to select every single email in your inbox, not just the ones you can see. The message will update to show the total number of emails selected — this can take a few seconds if you have thousands of messages.

Once all emails are selected, look at the toolbar above your email list. You will see several icons including a trash can or delete icon. Click the trash icon. Gmail will ask you to confirm — click "Delete" or "OK" to move all selected emails to your Trash folder. The inbox will empty and show "No conversations selected."

Understanding the 30-day recovery window

When you delete emails in Gmail, they do not disappear when ready. Instead, they move to your Trash folder, where they remain for 30 days. During this time, you can open Trash, find the message you want to keep, and move it back to your Inbox or another folder.

After 30 days, Gmail automatically and permanently deletes everything in Trash. You cannot recover messages after this point. If you are certain you want to delete emails right away without waiting, you can open your Trash folder, select all messages there, and click "Delete permanently" to remove them when ready.

How to delete only certain emails instead of everything

If you realize you want to keep some emails, use Gmail's search and filter tools before you delete. For example, you can search for emails from a specific sender, emails older than a certain date, or emails with particular words in the subject line. Gmail will show only the results that match your search, and then you can select and delete just those messages.

To search, click the search box at the top of Gmail and type your search terms. You can search for a sender's name, a date range, or keywords. Press Enter or click the search icon. Gmail displays only emails matching your search. Then follow the same steps above — click the checkbox, select all conversations that match, and delete. This way, emails that do not match your search stay in your inbox.

Common searches include "from:sender@example.com" to find all emails from one person, "before:2020/01/01" to find emails older than a specific date, or "subject:newsletter" to find emails with certain words in the subject line.

What happens to your storage after deletion

Gmail gives you 15 gigabytes of free storage shared across Gmail, Google Drive, and Google Photos. When you delete emails, they stop counting toward your storage limit when ready — you do not have to wait for the 30-day recovery period to end. If you were running out of storage space, deleting emails frees up that space right away.

You can check how much storage you are using by clicking the gear icon in the top right of Gmail, selecting "See all settings," and going to the "Labels" tab. Your storage meter appears at the bottom of the page and updates within a few minutes of deletion.

Recovering emails after you delete them

If you deleted emails by mistake, open your Trash folder by clicking "More" in the left sidebar and selecting "Trash." Search for the email you want to recover using the search box. Click the email to open it, then click the move icon (an arrow pointing into a folder) and select "Inbox" or whichever folder you want to move it to. The email returns to that folder and is no longer in Trash.

If you cannot find the email in Trash, it may have been permanently deleted. This happens if the 30-day recovery period has passed or if someone manually emptied Trash. Once an email is permanently deleted, Gmail cannot recover it.

Preventing accidental deletion in the future

If you regularly delete large batches of emails, consider using Gmail's archive feature instead. Archiving removes emails from your inbox without deleting them — they stay in your account and remain searchable, but they do not clutter your inbox. To archive emails, select them and click the archive icon (a box with an arrow) instead of the delete icon.

You can also create filters to automatically sort incoming emails into folders or labels, which keeps your inbox organized without requiring manual deletion. Click the search icon, set up your search criteria, click "Create filter," and choose what Gmail should do with matching emails — such as skip the inbox, explore a label, or delete automatically.

Frequently Asked Questions

Can I undo a deletion if I already emptied my Trash folder?

No. Once you empty Trash or the 30-day recovery period ends, Gmail permanently deletes the emails and cannot recover them. Before emptying Trash, double-check that you do not need any of the messages inside.

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

Deleting emails does not change your account settings, password, contacts, or any other information. It only removes the messages themselves. Your Gmail account remains fully functional.

How long does it take to delete thousands of emails at once?

The selection process may take a few seconds if you have many thousands of emails, but the actual deletion is usually when ready. Gmail processes the deletion in the background, and your inbox will show as empty right away.

What if the "Select all conversations" link does not appear?

This link only appears after you click the checkbox at the top of your email list. Make sure you clicked the small box in the top left corner of your inbox, not somewhere else. If you are using Gmail on a phone, the process is slightly different — tap the three-line menu, select emails, and look for a "select all" option.

Can I delete emails from specific labels or folders without deleting everything?

Yes. Click on the label or folder in the left sidebar to view only those emails, then follow the same selection and deletion steps. Only emails in that label will be deleted — emails in other labels or your inbox remain untouched.