The fastest way to delete old emails
Open Gmail and go to the search box at the top. Type before:2023/01/01 (or any date you want) to show only emails older than that date. Gmail will display every message sent before January 1, 2023. Click the checkbox at the top left of the email list — the one above all the sender names — to select every email on that page. A banner will appear asking if you want to select all matching emails. Click Select all conversations that match this search. Then click the trash icon. All those emails move to Trash at once.
The emails stay in Trash for 30 days before Gmail deletes them permanently. If you change your mind within that window, you can recover them. After 30 days, they are gone for good and cannot be recovered.
This method works because the search narrows down what you are deleting. Trying to delete everything at once is slow and risky — you might accidentally remove something you need. Searching by date lets you be precise.
Key Takeaways
- Use the search box with before:YYYY/MM/DD to find emails older than a specific date, then select all results and delete them at once.
- Deleted emails sit in Trash for 30 days before Gmail removes them permanently — you can recover them during that time.
- You can also search by sender, subject, or label to delete specific groups of emails without touching the rest of your inbox.
- Gmail's storage limit is 15 GB across Gmail, Google Drive, and Google Photos combined, so deleting old emails frees up space if you are near that limit.
How to search for emails by date range
The before: search works alone, but you can narrow it further with after: to catch emails in a specific window. Type after:2022/01/01 before:2023/01/01 to see only emails from the year 2022. This is useful if you want to delete emails from one year but keep everything else.
Gmail also understands everyday language in the search box. Type older_than:2y to find emails older than two years, or older_than:6m for six months. These shortcuts save you from calculating exact dates.
You can combine date searches with other filters. Type from:newsletter@example.com before:2023/01/01 to find old emails from one sender, or label:Promotions before:2023/01/01 to target a specific label. This keeps you from accidentally deleting emails you want to keep.
Deleting emails by sender or subject
If you want to remove all emails from a particular person or company, search for their email address or domain. Type from:sender@example.com to show every email from that sender. Then select all and delete. This works even if the emails span years — you do not have to search by date.
For newsletters or promotional emails, search by subject line. Type subject:newsletter or subject:"weekly digest" to find messages with those words in the subject. If you have already sorted these into a label, searching by label is faster: type label:Promotions to see everything Gmail marked as promotional.
After you delete a batch, Gmail may suggest creating a filter to handle future emails from that sender automatically. A filter can skip the inbox, add a label, or delete incoming messages from that address without you having to do it manually each time.
Clearing out specific Gmail labels
Labels are Gmail's way of organizing emails — they work like folders, except one email can have multiple labels. If you have a label full of old emails you no longer need, you can empty it quickly. Click the label name in the left sidebar, then select all emails in that label and delete them.
Some labels are created by Gmail itself. The All Mail label contains every email you have ever sent or received. The Trash label shows deleted emails. The Spam label holds emails Gmail flagged as junk. You can delete from any of these, but deleting from Spam or Trash removes them permanently after 30 days instead of moving them again.
If you delete emails from a custom label you created, the emails disappear from that label but stay in All Mail unless you also delete them from All Mail. To remove them completely, search for the label, select all, and delete — then go to Trash and empty it.
What happens after you delete emails
When you delete an email, it moves to the Trash label. You can still see it there and restore it if you need it back. To restore an email, open Trash, find the message, click it, and click the back arrow or the restore icon. The email returns to your inbox or to whichever label it had before.
After 30 days, Gmail automatically and permanently deletes everything in Trash. You cannot recover it after that point. If you want to empty Trash sooner, open the Trash label, click Delete all messages in Trash at the top, and confirm. The emails are gone when ready.
Deleting emails frees up storage space in your Google account. Gmail gives you 15 GB of free storage shared across Gmail, Google Drive, and Google Photos. If you are running low on space, deleting old emails is one way to make room. You can check how much storage you are using by clicking the gear icon in Gmail, selecting See all settings, and going to the Forwarding and POP/IMAP tab — storage information appears at the top.
Preventing your inbox from filling up again
After you delete old emails, you can set up filters to handle incoming mail automatically. Filters let you skip the inbox, add a label, or delete messages based on sender, subject, or keywords. To create a filter, click the search box, enter your search terms (like from:newsletter@example.com), and click the funnel icon. Then click Create filter and choose what to do with matching emails.
You can also turn on Gmail's automatic cleanup features. In Settings, go to the General tab and look for options to auto-delete emails after a certain time. Some email providers offer this, though Gmail itself does not have a built-in auto-delete setting — you have to use filters or delete manually.
Another approach is to unsubscribe from newsletters and promotional emails you no longer read. Most emails have an unsubscribe link at the bottom. Clicking it removes you from that sender's mailing list. This stops new emails from arriving rather than forcing you to delete them later.
Frequently Asked Questions
Can I undo a delete if I already emptied the Trash?
No. Once you empty Trash or the 30-day automatic deletion happens, the emails are gone permanently. Gmail does not have an undo button for permanently deleted mail. If you think you might need emails, move them to a label or archive them instead of deleting them.
Will deleting emails affect my contacts or calendar?
No. Deleting emails does not remove people from your contacts or erase calendar events. Your contacts and calendar are stored separately from your email messages. Deleting an email just removes that message.
How do I delete emails on my phone?
Open the Gmail app, find the email, swipe left (on iPhone) or long-press it (on Android), then tap the trash icon. On both phones, you can also select multiple emails by tapping the checkbox next to each one, then tapping the trash icon. The process is the same as on a computer — emails go to Trash for 30 days.
What is the difference between delete and archive?
Deleting moves an email to Trash, where it stays for 30 days before being removed permanently. Archiving removes an email from your inbox but keeps it in All Mail and in any labels you assigned to it. Archived emails are searchable and recoverable. Use archive when you want to clean up your inbox but keep the email.
Can I search for emails by size to delete large attachments?
Yes. Type has:attachment larger:10M to find emails with attachments larger than 10 megabytes. This helps you find and delete emails with big files that take up storage space. You can adjust the size — larger:50M finds files over 50 MB, for example.