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 features. The process works the same whether you want to clear your entire inbox or just emails from a specific sender or date range.

Open Gmail and go to your inbox. In the search box at the top, type in:anywhere — this finds every email in your account, including archived messages. Press Enter. At the top left of the email list, you will see a checkbox. Click it to select all visible emails on the current page. A banner will appear asking if you want to select all emails that match your search. Click Select all conversations that match this search. Now every email in your account is selected. Click the trash icon (or the three-dot menu and choose Delete) to move them all to Trash.

Your emails sit in Trash for 30 days before Gmail deletes them permanently. If you want to empty Trash when ready, click the Trash folder in the left sidebar, then click Delete all permanently at the top of the email list.

Key Takeaways

  • Use the search term in:anywhere to find every email in your account, then select all and delete them in one action.
  • Deleted emails go to Trash first and stay there for 30 days before permanent removal, giving you time to recover them if you change your mind.
  • You can delete emails from a specific sender, date, or with certain words by changing your search term instead of using in:anywhere.
  • Emptying Trash permanently removes emails when ready and cannot be undone, so double-check before you do it.

Delete emails from a specific sender or time period instead

If you do not want to delete everything, you can narrow down what gets deleted by using more specific search terms. This is useful if you want to clear out old emails but keep recent ones, or remove messages from a particular person or company.

To delete emails from one sender, search for from:emailaddress@example.com (replace with the actual email address). To delete emails older than a certain date, search for before:2023/01/01 (use the date you want). You can combine searches — for example, from:newsletter@company.com before:2024/01/01 will find old emails from that newsletter only. Once your search results show only the emails you want gone, select all and delete as described above.

Recover deleted emails from Trash

If you delete emails by mistake, you have 30 days to get them back. Click the Trash folder in the left sidebar to see deleted emails. Find the ones you want to keep, select them, and click the restore icon (arrow pointing back) or choose Move to and pick a folder.

After 30 days, Gmail automatically and permanently deletes everything in Trash. You cannot recover emails after this point. If you permanently deleted emails by clicking Delete all permanently, they are gone when ready with no recovery option.

Why you might want to delete emails in bulk

Deleting old emails can help you spot scams and phishing attempts more easily, because your inbox becomes less cluttered and you can focus on recent messages. It also reduces the amount of data stored in your account, though Gmail gives most users enough free storage that this is rarely a concern.

Clearing out old emails is also a good security practice if you are selling or giving away a device. Even though the emails are deleted from Gmail's servers, they may still exist in backups or recovery tools on the device itself. Before handing over a computer or phone, sign out of Gmail and perform a factory reset on the device to remove local copies.

What happens to emails you have starred or labeled

If you delete an email that has a star or a label, the email is deleted — the star or label does not protect it. The label is removed along with the email. This is why it is a good idea to review what you are about to delete, especially if you use labels to organize important messages.

If you want to keep certain emails but delete everything else, consider using a label to mark them first. Then search for emails without that label using -label:labelname in the search box. This way you can delete in bulk while protecting the messages you want to keep.

Deleting emails on mobile devices

The Gmail app on phones and tablets does not support the bulk select-all feature that works on a computer. On mobile, you can delete emails one at a time by swiping left (iPhone) or right (Android) on each message, or by tapping the checkbox next to each email and then tapping the trash icon.

If you need to delete a large number of emails, it is faster to do it on a computer using the method described at the top of this article. You can also use the mobile app to delete smaller batches — for example, all unread emails by searching for is:unread, then selecting and deleting them in groups of 20 or 30.

Frequently Asked Questions

Can I undo a permanent delete?

No. Once you click Delete all permanently in Trash, the emails are gone for good. If you delete emails normally (not permanently), you have 30 days to recover them from Trash. Always double-check your search results before selecting all and deleting.

Will deleting emails affect my Gmail password or security settings?

No. Deleting emails only removes the messages themselves. Your password, two-factor authentication, recovery email, and all other account settings stay the same. Deleting emails does not log you out or change how your account works.

What if I delete an email by mistake and it is already past 30 days?

Once the 30-day Trash window closes, Gmail permanently deletes the email and there is no way to recover it. If the email contained important information, you may be able to contact the sender and ask them to resend it.

Does deleting emails from Gmail also delete them from my phone?

If you use the Gmail app, deleting an email in the app removes it from Gmail's servers. However, if you set up Gmail in a mail app like Outlook or Apple Mail using IMAP, the email may still exist locally on your phone until you manually delete it there or sync your account.

Can I schedule emails to delete automatically?

Gmail does not have a built-in auto-delete feature, but you can use filters to automatically archive or delete emails from certain senders. Go to Settings, click Filters and Blocked Addresses, and create a new filter. You can set it to automatically delete emails that match certain criteria, though Gmail recommends archiving instead of deleting in case you need them later.