How to delete old emails in Gmail by date
Gmail search can select by age exactly. The operators are short; the judgment is in deciding what old email you still need before you select all of it.
Short answer
Search older_than:1y for email older than a period (use d, m, or y), or before:2020/01/01 for email received before a date. Read the results, check the Select box, click the link in the notification to select all conversations, then click Delete. Deleted email stays in Trash for up to 30 days.
The two ways Gmail searches by date
Gmail has a relative form and an absolute form. Both go in the search bar and both combine with other operators.
- older_than:1y finds email older than a period. Use d for days, m for months, and y for years, as in older_than:6m.
- before:2020/01/01 finds email received before a date. Google’s examples write the date as year/month/day.
- after:2019/01/01 before:2020/01/01 finds email inside a date range.
- newer_than:2d is the opposite of older_than: and is useful for checking what a search leaves out.
Delete old email in bulk
Google documents these steps for Gmail on a computer.
Run the date search
Enter older_than:2y, or a before: date, in the search bar. Start with an older cutoff than you think you need.
Read the results
Open several results from different years. Look for documents, receipts, and conversations with people.
Select all conversations
Check the Select box above your messages to select the current page, then click the link in the notification to select all conversations.
Delete and check Trash
Click Delete, then open Trash and check a few messages.
Keep what age alone cannot judge
Old is not the same as unwanted. Add a second condition so the search describes the email you mean, not just when it arrived.
- older_than:2y category:promotions limits the set to an inbox category.
- older_than:2y from:updates@example.com limits it to one address.
- older_than:2y -is:starred leaves out email you starred.
- older_than:2y has:attachment shows old email with attachments, which is worth reading before deleting.
Where DeclutrMail fits, and where it does not
DeclutrMail does not select email across your mailbox by date. For “everything older than two years”, Gmail’s search is the right tool.
It works by sender. When the old email comes from a few recurring senders, you decide per sender, and the preview has a How far back control for limiting that sender’s cleanup to older email.
Open a sender with a long history
In Clean up, open the sender and read its recent subjects, volume, and how much is marked read.
Choose Archive or Delete and set How far back
Archive, Later, Delete and Unsubscribe show what will change before you confirm. For older email, check How far back. By default, only email in your Inbox is included; for Delete, turn on Include archived email to include email you’ve archived too. Unsubscribe can leave older email alone or also archive or delete it, so check that part of the preview too.
Confirm and check Activity
Archive, Later, and Delete can be undone from Activity for 30 days. Deleted email is also in Gmail Trash.
Archive when you are not sure
If the goal is a clear inbox, archive the same search results instead of deleting them. Google says archived messages can still be found under All Mail, and that a reply to an archived message brings it back to your inbox.
To recover deleted email, open Trash, check the box beside each message, click Move to, and choose a destination. Delete forever and Empty Trash now are permanent.
Verify the native Gmail behavior
Gmail controls and wording can change. These guides were checked against Google’s current help documentation.
- Google: Refine searches in Gmail — Official reference for older_than:, newer_than:, before:, after:, and the minus operator.
- Google: Delete messages in Gmail — Official select-all steps, date-range search example, Trash retention, and recovery.
- Google: Organize and archive email — Official Archive and All Mail behavior.