The fastest way to delete old emails is to search for them by date, select them all at once, and move them to trash
Gmail does not have a built-in "delete emails older than" button, but you can find and remove old messages in about two minutes using Gmail's search operators. The process works the same way on desktop, phone, or tablet: search for the emails you want gone, select all of them at once, and delete. Gmail keeps deleted emails in your Trash folder for 30 days before removing them permanently, so you have time to change your mind.
The most common reason to delete old emails is to free up storage space. 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 — especially ones with large attachments — can buy you room without paying for extra storage.
Key Takeaways
- Use the search box with the operator before:2020 (or any year) to find all emails older than a specific date, then select all results and delete them in one action.
- Gmail's trash folder holds deleted emails for 30 days; after that they are permanently removed and cannot be recovered.
- Deleting emails from a label (like a folder) removes them from that label but keeps them in your inbox unless you delete them again from there.
- Large attachments take up the most storage, so searching for emails with attachments and deleting those first will free up space fastest.
- If you delete emails by mistake, you can restore them from trash within 30 days by opening the trash folder, selecting the emails, and clicking Restore.
Search by date to find all old emails at once
Open Gmail and click the search box at the top. Type before:YYYY-MM-DD and replace YYYY-MM-DD with the date you want — for example, before:2020-01-01 finds every email that arrived before January 1, 2020. You can also use a simpler format: before:2020 finds everything from 2019 and earlier.
Gmail will show you all matching emails. The search results page has a checkbox at the top left that says "Select all conversations that match this search." Click it. Gmail will select not just the emails on the current page, but every single email matching your search — sometimes thousands at once.
Once all emails are selected, a toolbar appears at the top with a trash icon (or a three-dot menu with a delete option). Click the trash icon. Gmail moves all selected emails to your Trash folder. You can now close the search and move on.
Use other search operators to target specific types of old emails
If you want to be more selective, you can combine the date search with other operators. Search for before:2020 has:attachment to find only old emails with files attached — these usually take up the most storage space. Search for before:2020 from:newsletter@example.com to delete old emails from a specific sender, like a mailing list you no longer read.
You can also search by label. If you have a folder called "Old Projects," click that label in the left sidebar first, then search before:2020. Gmail will search only within that label. This is useful if you want to clean out one category of emails without touching the rest of your inbox.
Common search operators include has:attachment (emails with files), is:unread (unread messages), from: (a specific sender), and subject: (a word in the subject line). You can combine any of these with a date range to narrow down exactly what you want to delete.
Understand what happens to deleted emails
When you delete an email in Gmail, it goes to your Trash folder. It stays there for 30 days. During those 30 days, you can open Trash, find the email, select it, and click the Restore button to move it back to your inbox. After 30 days, Gmail permanently deletes the email and you cannot recover it.
If you delete emails from a label (a folder or category), the email is removed from that label but stays in your inbox. To fully delete it, you need to delete it again from your inbox or search results. This is a common source of confusion — people delete emails from a label and think they are gone, but they are still taking up storage space in the inbox.
Delete emails in smaller batches if you are nervous about losing something
If you are worried about deleting something important by accident, delete emails in smaller groups instead of all at once. Search for before:2019, select all, and delete. A few days later, search for before:2020 and delete again. This way, if you realize you deleted something you needed, you have a few days to recover it from trash before the 30-day window closes.
You can also use Gmail's search to double-check what you are about to delete. Before you click the trash icon, scroll through the search results to make sure they are actually emails you want gone. Look for any senders or subjects that might contain something important.
Free up storage faster by targeting large attachments
Emails with large files attached take up far more storage than text-only emails. Search for has:attachment before:2020 to find old emails with files. Then search more specifically: has:attachment before:2020 filename:pdf finds old PDFs, or has:attachment before:2020 filename:zip finds old compressed files. Deleting a few emails with large attachments can free up as much space as deleting hundreds of text emails.
If you want to keep the file but delete the email, read the attachment first. Open the email, click the attachment, and click read. Save it to your computer or to Google Drive. Then delete the email from Gmail. This way you keep the file without the email taking up Gmail storage.
Permanently delete emails if you do not want them in trash
If you want to skip the 30-day trash period and permanently delete emails right away, you can do that. After you select emails and click the trash icon, open your Trash folder. Find the emails you just deleted, select them again, and click the button that says "Delete permanently" (or "Delete forever" depending on your Gmail version). The emails are then removed when ready and cannot be restored.
Most people do not need to do this. The 30-day trash period is a safety net in case you change your mind. But if you are deleting sensitive information and want it gone when ready, the permanent delete option is there.
Frequently Asked Questions
Will deleting old emails free up space on my phone or computer?
No. Deleting emails in Gmail only frees up space in your Gmail account (the 15 GB shared with Google Drive and Photos). It does not free up space on your phone or computer. If you have Gmail set to read emails to your phone, you need to delete them from the phone's email app separately to free up phone storage.
Can I delete emails automatically without doing this manually?
Gmail does not have an automatic deletion feature built in. You can set up filters to automatically archive old emails (move them out of your inbox) so they are out of the way, but they still take up storage. Some third-party tools claim to auto-delete old emails, but they require you to give them access to your Gmail account, which carries security risks.
What if I delete emails by mistake and it has been more than 30 days?
Once the 30-day trash period ends, Gmail permanently deletes the emails and they cannot be recovered. There is no way to get them back after that point. This is why deleting in smaller batches is safer if you are unsure about what you are removing.
Do deleted emails affect my Gmail storage right away?
No. Emails in your Trash folder still count toward your 15 GB storage limit. They only stop counting once the 30-day period ends and Gmail permanently removes them. If you need to free up space when ready, you can permanently delete emails from trash instead of waiting 30 days.
Can I delete emails from a specific sender all at once?
Yes. Search for from:sender@example.com before:2020 to find all emails from that sender before a certain date. Select all results and delete. You can also use from:sender@example.com without a date to delete all emails from that sender, though be careful not to delete something you need.