The fastest way to clear Gmail: using the search box and bulk delete
To delete all emails from Gmail, search for every message using the search operator in:anywhere, select all results at once, and delete them in bulk. This takes about two minutes and empties your inbox without touching your account settings. Gmail will move all deleted messages to Trash, where they stay for 30 days before permanent deletion.
The reason this works: Gmail's search finds every message across all folders and labels when you use the right search term. Selecting all results at once — not one by one — is what makes this fast enough to be practical. If you want the deletion to be permanent when ready rather than waiting 30 days, you can empty your Trash folder right after.
Key Takeaways
- Type in:anywhere in the Gmail search box to find every message in your account, then click the checkbox to select all results.
- Click the delete button (trash icon) to move all selected messages to Trash at once, which takes seconds even for thousands of emails.
- Deleted messages stay in your Trash folder for 30 days; permanently delete them sooner by opening Trash and clicking Empty Trash.
- If you want to keep certain emails, use more specific search terms like before:2024/01/01 or from:sender@example.com to delete only messages matching that criteria.
- Deleting all emails does not close your account or affect your Gmail login — your inbox will straightforward be empty.
Step-by-step: delete all emails using the search method
Open Gmail in your web browser and look at the search box at the top of the page — it says "Search mail". Click on it and type in:anywhere (with no quotes). Press Enter or click the search button. Gmail will load every message in your account, which may take a few seconds if you have thousands of emails.
At the top of the message list, you will see a checkbox next to the word "Select". Click that checkbox. A dropdown menu will appear asking if you want to select all conversations. Click Select all conversations that match this search. Gmail will now highlight every message in blue, showing you that all of them are selected.
Look for the delete button — it looks like a trash can icon — in the toolbar above the message list. Click it. Gmail will move all selected messages to your Trash folder. You will see a confirmation message at the top saying the messages have been deleted. Your inbox is now empty.
Permanently delete emails from your Trash folder
When you delete messages using the method above, they go to Trash first. Gmail keeps them there for 30 days in case you change your mind. If you want to delete them permanently right away, you need to empty your Trash folder.
Click the three horizontal lines (hamburger menu) on the left side of Gmail to open the folder list. Scroll down until you see "Trash" and click it. You will see all the messages you just deleted. At the top of the page, click the button that says Delete forever or Empty Trash (the exact wording depends on your Gmail version). Confirm when Gmail asks if you are sure. The messages are now permanently gone and cannot be recovered.
Delete only certain emails using specific search terms
If you do not want to delete everything, you can use Gmail's search operators to target specific messages. For example, typing before:2024/01/01 will find only emails older than January 1, 2024. Typing from:sender@example.com will find only messages from a particular sender. You can combine these — from:sender@example.com before:2024/01/01 will find old emails from just that person.
Other useful search operators include has:attachment (emails with files), label:Promotions (emails in a specific folder), and is:unread (unread messages only). After you type your search term and press Enter, follow the same steps as above: click the select-all checkbox, click the dropdown to select all matching conversations, and click delete.
Gmail also lets you search by subject line using subject:words, by date range using after:2024/01/01, and by size using larger:5M (emails bigger than 5 megabytes). Combine as many operators as you need to narrow down exactly which messages you want gone.
What happens to your account after deleting all emails
Deleting all your emails does not close your Gmail account, change your password, or affect your ability to log in. Your account remains active and you can send and receive new messages normally. Your inbox will straightforward be empty until new messages arrive.
If you use Gmail for work or school, deleting all messages may violate your organization's email retention policy. Check with your IT department or email administrator before deleting everything, especially if your account is managed by your employer or school. Personal Gmail accounts have no such restrictions.
Your Gmail storage will also free up space. If you were near your storage limit, deleting thousands of emails — especially those with large attachments — can give you room to receive new messages again. You can check how much storage you are using by clicking the gear icon in the top right, selecting "Manage your Google Account", and clicking the "Storage" tab.
Recovering emails after deletion
If you deleted messages by mistake, you have 30 days to recover them from Trash. Open your Trash folder, find the messages you want to keep, click the checkbox next to each one, and click the button that says "Move to" or the archive icon. Select the folder where you want them to go — usually your inbox.
After 30 days, messages in Trash are permanently deleted and cannot be recovered. Gmail does not have a way to restore permanently deleted emails, so if you empty your Trash folder when ready, recovery is not possible. If you are unsure whether you want to delete everything, move old messages to an archive folder or label instead of deleting them.
Deleting emails on Gmail mobile apps
The Gmail mobile app for iPhone and Android does not have the same bulk-delete feature as the web version. The fastest way to delete many emails on mobile is to open your inbox, press and hold one email to select it, tap other emails to add them to the selection, and tap the delete button. However, this method is slow for large numbers of messages.
For deleting all or most of your emails, use the web version of Gmail on a computer or tablet instead. Open Gmail in your mobile browser, request the desktop version if your browser offers that option, and follow the search-and-delete steps above. The process works the same way and is much faster than selecting messages one at a time in the mobile app.
Frequently Asked Questions
Will deleting all emails affect my Gmail contacts or calendar?
No. Deleting emails only removes messages from your inbox and folders. Your contacts list, calendar events, and other Google services remain unchanged. Your contacts are stored separately and are not affected by email deletion.
Can I delete emails from specific labels or folders only?
Yes. Use the search operator label:LabelName to find only emails in a specific folder or label, then follow the bulk-delete steps. For example, label:Promotions will find only promotional emails. Select all, delete, and only messages in that label will be removed.
What if the search box does not show all my emails?
Gmail sometimes takes time to index very large accounts. If the search returns fewer results than expected, wait a few minutes and try again. You can also break the deletion into smaller batches using date ranges — for example, delete emails from 2020, then 2021, then 2022 — rather than trying to delete everything at once.
Does deleting emails free up my Google storage quota?
Yes, but only after you empty your Trash folder. Emails in Trash still count toward your storage limit. Once you permanently delete them by emptying Trash, that storage space becomes available again for new emails and other Google services like Drive and Photos.
Can I schedule emails to delete automatically in the future?
Gmail does not have a built-in auto-delete feature for old emails. However, you can use Gmail filters to automatically archive or label emails from certain senders or with certain keywords, keeping your inbox cleaner without permanent deletion. Create a filter by clicking the search dropdown arrow, setting your criteria, and choosing "Skip the inbox" or "explore label".