The fastest way to clear your entire Gmail inbox
To delete all email in Gmail at once, use the Select all checkbox at the top of your inbox, then move everything to Trash. Gmail will delete messages automatically after 30 days, or you can empty Trash when ready to remove them right away. This takes about 30 seconds and works whether you have 100 messages or 10,000.
The process is the same on desktop and mobile, though the mobile version has smaller buttons. If your inbox is very large, Gmail may take a few minutes to process the deletion in the background — you can close the tab and come back later.
Key Takeaways
- Click the checkbox next to "Select all" at the top of your inbox to mark every message at once, then click the Delete button (trash icon).
- Deleted messages go to Trash first and stay there for 30 days before Gmail removes them permanently.
- To delete messages when ready without waiting 30 days, open Trash and click "Delete forever".
- If you have more than 10,000 messages, Gmail processes the deletion in the background and may take several minutes.
- You can undo a deletion within a few seconds by clicking the "Undo" link that appears after you delete.
How to select and delete all messages on desktop
Open Gmail in your web browser and go to your inbox. At the top left, just above your first email, you will see a checkbox. Click it. A menu will appear asking "Select all conversations that match this search" — click that option to mark every message in your inbox.
Once all messages are selected, a toolbar appears at the top with several icons. Click the trash icon (it looks like a garbage can) to delete all selected messages. They move to your Trash folder. A small notification appears at the bottom of the screen saying "Conversation deleted" — you can click "Undo" in that notification if you change your mind within a few seconds.
If you want to remove the messages permanently instead of waiting 30 days, click the Gmail logo to go back to the folder list, then click "Trash". Open Trash, select all messages the same way, and click the trash icon again. This time, a dialog box asks "Permanently delete these items?" Click "Delete forever" to remove them when ready.
How to delete all messages on mobile
Open the Gmail app on your phone. Tap the three horizontal lines (menu icon) at the top left, then tap "Inbox". Long-press on the first email in your list — it will highlight in blue. A checkbox appears next to it.
At the top of the screen, tap the three dots (more options), then tap "Select all". This marks every message in your inbox. Tap the trash icon at the top right. The messages move to Trash. If you want to delete them permanently, tap the menu icon again, go to "Trash", select all messages the same way, tap the three dots, and tap "Delete forever".
What happens after you delete
When you delete a message, it goes to your Trash folder and stays there for 30 days. During those 30 days, you can recover the message by opening Trash, selecting it, and clicking the archive or move icon to put it back in your inbox or another folder.
After 30 days, Gmail automatically and permanently removes the message. You cannot recover it after that point. If you need to delete messages when ready without waiting, you can empty Trash manually by going to Trash, selecting all messages, and clicking "Delete forever".
If you only want to delete certain messages
You do not have to delete everything. If you want to remove only messages from a specific sender, use the search box at the top of Gmail. Type from:sender@example.com (replace with the actual email address) and press Enter. This shows only messages from that person. Click the select-all checkbox, then delete them the same way.
You can also search by date. Type before:2023/01/01 to find all messages before January 1, 2023, then select and delete them. Or search by subject: type subject:newsletter to find all messages with "newsletter" in the subject line. These searches help you delete large groups without clearing your entire inbox.
Why your inbox might not clear completely
If you delete all messages but your inbox still shows a number next to it, you may have messages in other labels (folders) that are also showing in your inbox view. Gmail has a setting called "Show in Inbox" that can explore to messages in other folders. To see only your true inbox, click "Inbox" in the left sidebar and make sure you are viewing the main inbox, not a filtered view.
Another reason your count might not drop to zero is if you have starred messages. Starred messages stay in your inbox even after you delete them — they move to Trash but the star remains. If you want to remove starred messages, you must unstar them first, then delete them. Click the star icon next to a message to unstar it.
Frequently Asked Questions
Can I undo a deletion after I close Gmail?
No. The "Undo" link only works for a few seconds after you delete. Once you close the tab or navigate away, you cannot undo. If you deleted something by mistake and more than a few seconds have passed, check your Trash folder — messages stay there for 30 days and can be moved back to your inbox.
Will deleting all my email affect my Gmail account?
No. Deleting messages does not close your account, change your password, or affect your ability to send and receive new email. Your account remains active and works exactly as before. New messages will arrive in your inbox normally.
How long does it take to delete thousands of messages?
Selecting and clicking delete takes about 30 seconds. Gmail then processes the deletion in the background, which can take a few minutes if you have 10,000 or more messages. You can close the tab and come back later — the deletion will continue.
What if I want to keep some messages but delete the rest?
Use Gmail's search and filter features instead of deleting all at once. Search for messages by sender, date, or subject, then delete only those results. Or use labels to organize messages you want to keep, then delete everything else.
Does deleting email free up storage space?
Yes, but only after the messages are permanently removed. Messages in Trash still count toward your storage limit for 30 days. To free up space when ready, empty Trash by going to Trash, selecting all, and clicking "Delete forever".