Table of Contents
Introduction
Why archiving beats deleting
Google doesn’t give you a ‘90‑day auto-archive’ button. You can get the same outcome with one filter, a label, and a rule — and you’ll still find every email in Gmail search.
Where archived mail actually lives
Archived messages move to All Mail, so Gmail search still finds them. They count toward the 15 GB storage limit shared across email, photos, and other data.

Archive Your Existing Backlog with a Search Query
Using older_than to find 90-day-old mail
Open Gmail and type in:inbox older_than:90d into the search bar at the top. Press Enter.
Gmail lists every inbox conversation older than 90 days. You can also use before:YYYY/MM/DD for a fixed date, or older_than:6m for months.
Selecting all matching conversations
Check the box at the top left of the results to select the messages on the current page.
- Click the prompt to select all conversations that match the search.
- Click Archive.
Your inbox clears right away. Narrow the query first if needed, for example label:work before:2025/01/01.
Keep It Automatic Going Forward
What Gmail filters can and cannot do
Gmail filters act on new incoming mail only. They do not apply to messages already in your inbox.
Gmail also has no built-in rule that archives mail based on age. A filter can skip the inbox for a sender or label, but it cannot wait 90 days first.
Using a scheduled script or add-on for the age rule
To automate the age rule, you need a tool outside the standard filter settings.
- A scheduled Google script can run the in:inbox older_than:90d search and archive the results.
- A third-party tool such as Clean Email offers Auto Clean rules that archive old emails and also apply to existing messages.
Until you set one up, repeat the search query manually every few months.
Keeping Archived Email Searchable
Search operators for All Mail
Archived messages respond to the same operators as any other mail. Add in:anywhere if you want results from All Mail, Spam, and Trash together.
- from:sender older_than:1y finds old mail from one person.
- -in:inbox shows only mail that has left your inbox.
Labels that make old messages easy to find
Labels such as “Receipts” or “Work” make archived email easier to find later. A label stays attached when you archive a message.
Apply labels with a filter on new mail, so every message is sorted before it ages out of your inbox.

FAQ
Does archiving free up storage space?
No. Archived mail stays in All Mail and still counts toward your Google account storage limit. Only deleting frees space.
Will archived emails show up in search?
Yes. Archived messages appear in normal results.
Can a filter archive mail after 90 days?
No. Filters act only on new incoming mail, so the age rule needs a scheduled script or a third-party tool.
Conclusion
A 90-day inbox needs one search, one archive click, and a repeat routine. Run the query now, label new mail, and schedule the age rule. Your inbox stays clean, and every old message remains one search away.
References
- Google: Automatic Archival of Old Emails in Gmail Using Filters
- Auto read / auto achieve email after x amount of days?
- How can I set Gmail to automatically delete emails older than three months?
- Is there a way in Gmail to make my emails automatically delete after a set …
- Organize & archive email – Gmail Help