The fastest way to delete all emails
Gmail does not have a single "delete everything" button, but you can delete all your emails in a few minutes using the search and select tools built into the platform. The process works in batches: you search for all mail, select every message on the current page, then tell Gmail to select and delete all matching emails at once — even the ones you are not seeing on screen.
The key is using Gmail's select all feature after running a broad search. This works faster than clicking individual emails or trying to delete by folder, because Gmail processes the deletion across your entire account rather than one screen at a time.
Key Takeaways
- Open Gmail, click the search box, type "in:anywhere" to find every email, then press Enter to load the search results.
- Click the checkbox at the top left of the email list to select all visible emails, then click the prompt that offers to select all matching emails in your account.
- Click the delete button (trash icon) to move all selected emails to Trash, where they stay for 30 days before Gmail permanently removes them.
- If you want to permanently delete immediately instead of waiting 30 days, open Trash, select all emails there, and delete again.
- Deleting all email is permanent after 30 days, so make sure you have backed up anything you need before starting this process.
Step-by-step: deleting all emails at once
Start by opening Gmail in your web browser and going to your inbox. On the left side, you will see a search box at the top. Click inside it and type in:anywhere — this search term tells Gmail to find every single email in your account, including emails in folders, labels, and archived messages. Press Enter.
Gmail will load your search results. At the top left of the email list, you will see a checkbox. Click it. A small menu will appear asking if you want to select all emails on this page or all emails matching your search. Click Select all conversations that match this search. Gmail will now highlight every email in your account that matches the search — which is all of them.
Once everything is selected, look for the delete button in the toolbar above your email list. It looks like a trash can icon. Click it. Gmail will move all your selected emails to the Trash folder. Your inbox will now appear empty.
Understanding Gmail's Trash and permanent deletion
When you delete an email in Gmail, it does not disappear immediately. Instead, it moves to your Trash folder, where it stays for 30 days. During those 30 days, you can recover any email by opening Trash, selecting it, and clicking the restore button (the curved arrow icon). This gives you a window to change your mind if you realize you deleted something important.
After 30 days, Gmail automatically and permanently deletes everything in your Trash. You cannot recover it after that point. If you want to delete emails permanently right away instead of waiting, open your Trash folder, select all the emails there using the same method described above, and delete them again. Gmail will ask you to confirm that you want to permanently delete. Click Delete forever, and the emails will be gone immediately.
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, that storage space becomes available again, but not immediately. It can take a few hours or up to a day for Gmail to update your storage count after a large deletion.
If you were running low on storage and that is why you are deleting emails, keep in mind that very large attachments (videos, high-resolution photos, files) take up most of the space. Deleting emails with attachments will free up more storage than deleting text-only messages. If you only want to delete emails with attachments, you can search for has:attachment instead of in:anywhere and follow the same deletion steps.
Deleting emails by date or label instead of everything
If you do not want to delete absolutely everything, Gmail's search lets you target specific emails. You can delete only old emails by searching before:2020 (which finds all emails from before January 1, 2020), or you can delete emails from a specific sender by searching from:name@example.com. After you run the search, use the select-all method to delete all matching results at once.
You can also delete all emails with a specific label without touching the rest of your account. Open the label on the left side of Gmail, run the search in:anywhere while inside that label, select all, and delete. This removes only the emails tagged with that label.
Backing up your emails before you delete
If you think you might need to access your emails later — for tax records, receipts, or reference — download them before you delete. Google Takeout is Gmail's built-in backup tool. Go to takeout.google.com, sign in with your Gmail account, and select Gmail from the list of services. Google will prepare a download file containing all your emails in a standard format that you can open in other email programs or keep as an archive.
The download can take anywhere from a few minutes to several hours depending on how many emails you have. Google will send you an email when the file is ready. You can then download it to your computer and store it somewhere safe. This backup stays on your computer even after you delete the emails from Gmail.
Preventing accidental bulk deletion in the future
After you delete all your emails, you might want to set up a system so you do not end up in the same situation again. Gmail's auto-delete feature lets you set rules that automatically delete emails after a certain time. Go to Settings (the gear icon), click See all settings, then the Forwarding and POP/IMAP tab. You can also create filters that automatically archive or delete emails from certain senders or with certain keywords, so they never clutter your inbox.
Another approach is to use labels and archive instead of delete. Archive moves emails out of your inbox without deleting them, so they still exist if you need them later but do not take up mental space. You can search for archived emails anytime by clicking All Mail on the left side of Gmail.
Frequently Asked Questions
Can I undo a deletion after I click delete forever?
No. Once you click Delete forever in the Trash folder, the emails are gone permanently and cannot be recovered. If you only clicked the regular delete button, your emails are still in Trash for 30 days and you can restore them by opening Trash, selecting them, and clicking the restore button.
Will deleting all my emails affect my Gmail account or password?
No. Deleting emails only removes the messages themselves. Your Gmail account, login, password, and all account settings stay exactly the same. You can continue using Gmail normally after deletion.
How long does it take to delete thousands of emails?
The deletion process itself is fast — usually a few seconds to a few minutes depending on how many emails you have. However, Gmail may take several hours to update your storage count and fully process the deletion in the background. Your inbox will appear empty right away, but the system continues working behind the scenes.
What if the select-all option does not appear?
If you do not see the prompt to select all matching emails, make sure you clicked the checkbox at the top left of the email list, not somewhere else on the page. Also check that your search actually returned results — if the search box is empty or the search did not run, there will be nothing to select. Try the search again and make sure you pressed Enter after typing.
Can I delete emails from my phone instead of a computer?
The Gmail app on phones does not have the same bulk-select feature as the web version. You can delete individual emails or swipe to delete multiple ones on screen, but you cannot select and delete thousands at once from a phone. Use the web version at gmail.com on a computer or tablet for the fastest bulk deletion.