The fastest way to clear your entire Gmail inbox

Gmail does not have a single "delete everything" button, but you can delete all your emails in bulk using the search and select feature. The process takes about five minutes: search for all mail, select every message at once, and move them to trash. Gmail then empties your trash automatically after 30 days, or you can empty it when ready if you want the space back right away.

The method works the same whether you have 100 emails or 50,000. The key is using Gmail's search syntax to find all messages, then using the checkbox that selects everything matching your search at once — not just what appears on the current page.

Key Takeaways

  • Use the search box with the term in:anywhere to find every email in your account, including archived messages and those in folders.
  • Click the checkbox at the top left of the email list to select all matching messages at once, then choose "Delete all" from the menu that appears.
  • Deleted emails go to your Trash folder and stay there for 30 days before Gmail removes them permanently.
  • If you want to keep certain emails, use filters or search for specific senders or date ranges instead of deleting everything.
  • You can empty Trash when ready to free up storage space without waiting 30 days.

Step-by-step: Delete all emails using search and select

Open Gmail and click the search box at the top of the page. Type in:anywhere and press Enter. This search finds every email in your account — inbox, archived messages, sent mail, and everything else except trash and spam.

Once the search results load, look for the checkbox in the top left corner of the email list, just above the first message. Click it. A menu will appear asking if you want to select all conversations matching your search. Click Select all conversations that match this search. Gmail will now highlight every email found by your search.

With all emails selected, click the trash or delete icon in the toolbar above the list. Gmail moves all selected messages to your Trash folder. You can now close the page — the deletion is complete.

What happens to your emails after you delete them

Deleted emails sit in your Trash folder for 30 days. During this time, you can recover them by opening Trash, selecting the messages you want to keep, and moving them back to your inbox. After 30 days, Gmail permanently deletes them and you cannot recover them.

If you want to free up storage space when ready without waiting, open your Trash folder, select all messages there using the same checkbox method, and click Delete permanently. This removes them from your account right away.

Deleting emails by category instead of everything

If you want to keep some emails but delete large groups, use Gmail's search syntax to target specific messages. For example, search for before:2020 to find all emails from before January 1, 2020, then select and delete only those. Or search for from:sender@example.com to delete all messages from a specific person.

You can also combine searches: from:sender@example.com before:2020 finds emails from that sender before 2020. This approach is safer than deleting everything because you can review what you are removing before you commit to it.

Using filters to delete emails automatically going forward

If you want to stop receiving certain emails without deleting them manually each time, create a filter. Click the search box, type the search term you want to filter (such as from:newsletter@example.com), and click the filter icon (a funnel shape) at the right side of the search box. Click Create filter.

In the filter settings, check the box next to Delete it. Click Create filter again. From now on, any email matching that search will go straight to trash automatically. You can create multiple filters for different senders or keywords.

Recovering emails after deletion

If you deleted emails by mistake, open your Trash folder by clicking the three-line menu on the left side of Gmail, scrolling down, and clicking Trash. Find the emails you want to keep, select them, and click the move icon (an arrow pointing into a folder). Choose Inbox or any other folder to restore them.

This works only if the emails are still in Trash — once Gmail permanently deletes them after 30 days, they cannot be recovered. If you realize your mistake after 30 days have passed, contact Google Support, though recovery is not may provide.

Freeing up storage space after deletion

Gmail gives you 15 GB of free storage shared across Gmail, Google Drive, and Google Photos. Deleting emails frees up that space, but only after you empty your Trash folder. Open Trash, select all messages, and click Delete permanently. The space becomes available when ready.

If you are still running low on storage after deleting everything, check your Google Drive and Photos for large files you no longer need. You can also upgrade to a paid Google One plan for more storage, though most people find that unnecessary after clearing out old emails.

Frequently Asked Questions

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 works exactly the same after deletion — you straightforward have an empty inbox.

Can I delete emails from my phone the same way?

The search and select method works on the Gmail app for iPhone and Android, but the interface is slightly different. Open the app, tap the search box, type in:anywhere, tap the three-dot menu, and select Select all. Then tap the trash icon. The process is the same, just with different buttons.

What if the search box does not show a "select all" option?

This usually means you are not using the full Gmail website — you may be in a simplified view or using an older browser. Try opening Gmail in a different browser, or switch from the mobile site to the desktop version. The select-all checkbox appears in the standard Gmail interface.

Does deleting emails delete them from my other devices?

Yes. If you use Gmail on your phone, tablet, and computer, deleting emails from any device removes them from all of them. Gmail syncs across devices, so the deletion happens everywhere at once.

Can I schedule emails to delete automatically on a certain date?

Gmail does not have a built-in scheduled deletion feature. You can create filters to delete emails from specific senders automatically, but you cannot set a date for all emails to delete. You have to delete them manually or use a filter for specific types of messages.