The fastest way to clear your entire Gmail inbox
To delete all emails in Gmail, use the Select all checkbox at the top of your inbox, then click the trash icon. Gmail will delete all messages in the current view — usually your inbox — but not messages in other labels or folders. If you want to delete emails across your entire account, you need to search for them first, then select and delete by category.
The process takes less than a minute for most inboxes, but Gmail has limits on how many emails you can delete at once. If you have tens of thousands of messages, you may need to delete in batches or use the search method described below.
Key Takeaways
- The select-all checkbox at the top of your inbox deletes only messages currently visible on screen, not your entire account.
- To delete all emails across all labels, search for "in:anywhere" first, then select all and delete.
- Deleted emails go to Trash and stay there for 30 days before Gmail permanently removes them.
- If you have more than 10,000 emails, Gmail may require you to delete in multiple batches of a few thousand at a time.
- You can undo a deletion within a few seconds by clicking the undo link that appears after you delete.
Delete all emails in your inbox in one step
Open Gmail and go to your inbox. At the top left, above your email list, you will see a checkbox next to the sender names. Click that checkbox — it will highlight and show a checkmark. This selects all visible emails on the current page.
Once the checkbox is checked, Gmail shows a message that says "All 50 conversations on this page are selected" (or however many you have). Click the trash icon in the toolbar above your email list. A confirmation box will appear asking "Delete conversation?" Click Delete to confirm. Your emails move to Trash.
This method works quickly for inboxes under a few hundred messages. If you have thousands of emails, Gmail may only show 50 or 100 per page, so you would need to repeat this process multiple times.
Delete all emails across your entire Gmail account
If you want to delete messages from all your labels and folders — not just your inbox — use the search box instead. Click the search box at the top of Gmail and type in:anywhere. Press Enter. Gmail will display every email in your account, across all labels.
Now click the select-all checkbox again. Gmail will show a message saying "All conversations are selected" with a number. Click the trash icon. Gmail will delete all emails it found in that search.
Be careful with this method — it removes messages from every label, including Sent, Drafts, and any custom folders you created. If you only want to delete from specific labels, search for label:labelname instead, replacing "labelname" with the actual label you want to clear.
What happens after you delete, and how to undo
When you delete emails, they move to your Trash folder, not permanently removed. Gmail keeps deleted messages in Trash for 30 days. After 30 days, Gmail automatically and permanently deletes them.
If you delete emails by mistake, you have a few seconds to undo. A message will appear at the bottom of your screen saying "Conversation deleted" with an Undo link. Click it when ready to restore the emails to their original location. After a few seconds, the undo option disappears and you cannot recover them until you check your Trash folder.
To recover emails after the undo window closes, open your Trash folder (in the left sidebar under "More"), find the messages, click the checkbox next to them, and click the restore icon (arrow pointing back). This moves them back to your inbox or their original label.
Deleting in batches if you have too many emails
Gmail sometimes limits how many emails you can delete in a single action if your account has tens of thousands of messages. If you see an error message or Gmail stops responding, delete in smaller batches instead.
Search for emails by date to break them into groups. For example, search for before:2020/01/01 to find all emails before January 1, 2020. Select all, delete, and wait for the deletion to complete. Then search for the next date range and repeat. This prevents Gmail from timing out and ensures all your emails are removed.
You can also delete by sender or subject. Search for from:sender@example.com to delete all emails from one person, or subject:keyword to delete all messages with a specific word in the subject line.
Permanently delete emails without waiting 30 days
If you want emails gone when ready instead of sitting in Trash for a month, you can permanently delete them. Open your Trash folder, select the emails you want to remove forever, and click the delete icon again. Gmail will ask "Permanently delete?" Click Delete forever. The emails are removed from your account when ready and cannot be recovered.
Alternatively, you can empty your entire Trash folder at once. Open Trash, and at the top you will see a link that says "Delete all messages in Trash forever" or similar text. Click it, confirm, and Gmail removes everything in Trash permanently.
Clearing specific types of emails instead of everything
If you do not want to delete your entire account, you can target specific emails instead. Use Gmail's search operators to find and delete messages by category:
- from:sender@example.com — all emails from one person
- subject:keyword — all emails with a word in the subject
- before:2020/01/01 — all emails before a certain date
- has:attachment — all emails with attachments
- is:unread — all unread messages
- label:labelname — all emails in a specific folder
Type your search, press Enter, select all results, and delete. This lets you clean up your inbox without removing everything at once.
Frequently Asked Questions
Can I undo a permanent deletion?
No. Once you click "Delete forever" or empty your Trash folder, Gmail removes the emails permanently. They cannot be recovered. If you deleted by mistake, you can only recover emails that are still in your Trash folder within the 30-day window.
Will deleting emails free up storage space?
Yes, but only after 30 days. Emails in Trash still count toward your Gmail storage limit. Once Gmail permanently deletes them after 30 days, or you empty Trash manually, the space is freed up. If you need space when ready, empty your Trash folder right away.
What if Gmail says I have too many emails to delete at once?
Delete in smaller batches using date ranges or sender names. Search for before:2020/01/01, delete those results, then search for the next batch. This prevents Gmail from timing out and ensures all emails are removed without errors.
Does deleting emails from Gmail delete them from my phone or other devices?
Yes. If you use Gmail on your phone, tablet, or other email clients, deleting in Gmail removes the emails from those devices too. They all sync to the same Gmail account, so changes appear everywhere within a few minutes.
Can I delete emails without opening Gmail in a web browser?
The Gmail mobile app lets you select and delete emails, but the select-all feature works differently. Open the Gmail app, tap and hold an email to select it, then tap other emails to add them to your selection. Tap the trash icon to delete. For bulk deletion of thousands of emails, the web version is faster and more reliable.