How far back does Gmail keep emails?

Indefinitely. There is no age at which Gmail throws your mail away. Three things can remove old messages, and none of them is a retention limit, which is usually good news and occasionally the opposite.

I'm Alec. I founded Gmail Unsubscribe, and 104,000+ people have installed it. We spend a lot of time looking at what is actually sitting in people's Gmail accounts, and the honest summary is that most of it is years old and nobody asked for it.

So the direct answer first. Google publishes a 30-day deletion rule for two places, Trash and Spam, and publishes no expiry at all for mail in your inbox or All Mail. If you opened your account in 2009, never deleted anything, and search for something from 2009, it is there. Gmail search has no date floor either.

The three things that can actually remove old mail

None of these trigger on age alone, which is why "how far back" has no single number.

What removes mailThe clockApplies to
Trash emptying itself30 days from when you deleted itOnly mail you deleted
Spam emptying itself30 days from when it was filedOnly mail in Spam
Storage quota, then Google's cleanup2 years over quotaGmail, Drive and Photos together
Account inactivity2 years of no activityPersonal accounts only
A filter you createdImmediate, on arrivalWhatever the filter matches

That last row is the one people forget. A delete filter you set up in 2021 has been quietly throwing mail away ever since, and it never shows up in the inbox to remind you. If mail from a sender seems to have vanished, check Settings, See all settings, Filters and Blocked Addresses before you blame Gmail's retention.

Trash and Spam are the only real 30-day clocks

Delete a message and it moves to Trash, where Gmail keeps it for 30 days and then erases it permanently. Inside that window you can search in:trash and move it back. Outside it, there is no recovery and no support ticket that helps.

Spam works the same way on its own timer. Anything Gmail filed as spam is deleted automatically after 30 days, which is why checking junk mail is worth doing monthly rather than annually. A receipt that got misfiled six weeks ago is gone.

Archiving is the opposite of both. Archived mail leaves the inbox and stays in All Mail with no expiry, which is exactly why it keeps using your storage. That surprises people who assumed archive meant something closer to delete. Deleting archived emails covers how to find it and clear it.

Storage is the limit people actually hit

A personal Google Account gets 15 GB shared across Drive, Gmail and Photos. Not 15 GB of email. Fifteen for all three, so a phone backing up photos can eat the whole allowance while your mail sits there innocently.

Google is specific about what happens when you go over. You cannot send or receive email, and messages sent to you go back to the sender, which means people trying to reach you get a bounce and you never find out. Google also says that if you remain over quota for 2 years, it might delete your content across Gmail, Drive and Photos.

Two details make this worse than it sounds. Mail in Trash and Spam still counts against the quota until it is permanently cleared, so emptying both is the fastest space you will ever recover. And deleting a large message only frees the space once it leaves Trash, which is the step people skip when they wonder why the meter did not move.

To find the heavy items, search has:attachment larger:10M, which is Google's own suggestion for this, and sort through what comes back. Then older_than:2y has:attachment for the archive of things you will never open again.

Inactivity is the other two-year clock

Google's Inactive Google Account Policy says it reserves the right to delete an inactive personal Google Account, along with its activity and data, after at least two years of inactivity across Google. Signing in and using any Google product resets it.

Two limits worth knowing. It covers personal accounts, not ones issued through a work, school, or other organization. And it is the account, not individual old messages, so it has nothing to do with how far back your mail goes if you use the account normally.

How to find your oldest mail

Gmail's date operators go back as far as the account does. These are the ones worth knowing.

  • older_than:5y for anything more than five years old. Also takes d for days and m for months.
  • before:2015-01-01 for a hard cutoff, and after: for the other direction. Combine both to isolate one year.
  • in:anywhere older_than:3y to include Spam and Trash, which a normal search skips.
  • older_than:3y category:promotions to see how much of the old pile is marketing, which is the useful version of this question.

The full set of date tricks, including the traps in before: around time zones, is in searching Gmail by date.

Most of what Gmail is keeping is promotional mail

Run older_than:2y category:promotions and look at the count. For most accounts it is thousands of messages from stores, apps and newsletters, and the oldest of them are from companies the person has forgotten entirely.

That is the part worth acting on, and deleting it is only half the job. Our average first scan finds about 15 subscription senders in a single Gmail account. Clearing ten years of a retailer's promotions does nothing about the one they will send on Thursday. Unsubscribing is the half that changes next month.

We also measured the uncomfortable part: roughly a third of unsubscribe attempts hit senders that offer no working unsubscribe mechanism at all. No one-click header, no working link, nothing. For those, Report spam and Block are the finish line, and we tell you which senders they were rather than reporting a success we did not get. Some tools in this category quietly file mail to Trash and call that an unsubscribe, which leaves you on the list and, given the 30-day clock above, destroys the evidence on schedule.

See what is actually in there. The scan is free and read-only, and it lists every subscription sender in your Gmail with how much space and volume each one is responsible for. Free covers unlimited scans and archiving plus 5 unsubscribes a month. Pro is $35.88 a year for unlimited.

Add to Chrome, free

What to keep once you start clearing

Since Gmail imposes no expiry, the decision about old mail is entirely yours. A rough split that holds up:

  • Keep indefinitely. Tax and financial records, receipts for anything under warranty, medical correspondence, legal documents, anything from a real person.
  • Keep two years. Order confirmations for ordinary purchases, travel bookings, account notices.
  • Clear freely. Marketing, newsletters you do not read, expired discount codes, social and app notifications.

Work the third group in bulk and leave the first two alone. Mass deleting emails in Gmail has the search-and-select method, and cleaning your Gmail inbox puts the steps in an order that does not take your receipts with it.

Common questions

How far back does Gmail keep emails?

There is no limit. Google documents a 30-day deletion for Trash and Spam and no expiry for anything else, so mail from the year you opened the account is still there and still searchable.

Does Gmail delete emails after a year, or after five?

No. Age alone never triggers deletion. The only automatic deletions are Trash and Spam at 30 days, plus any filter you set up yourself.

How far back can Gmail search go?

As far back as the account. Use older_than:10y or before:2013-01-01 and it will return results if the mail is there.

Will Google delete my emails if my storage is full?

Not immediately. First you stop being able to send or receive, and mail sent to you bounces back to the sender. Google says it might delete content across Gmail, Drive and Photos if you stay over quota for 2 years.

Do archived emails expire?

No. Archived mail sits in All Mail indefinitely and keeps using your 15 GB. Archiving hides mail from the inbox rather than removing it.

Can I get back an email deleted two months ago?

No. Trash holds deleted mail for 30 days and the deletion after that is permanent. Two months is past the window.