Can Gmail delete emails automatically?

Last reviewed: October 7, 2026 · Markdown version

Partly. On a personal account Gmail deletes two things for you without being asked, and a filter can add a third; a rule that removes mail once it reaches a certain age is something Google documents only for administrators of work and school accounts. Here is what each one does, and where its edges are.

What Gmail already clears on its own

Trash and Spam both have a clock. Google's page on missing mail says that "Emails in your trash or spam are permanently deleted after 30 days or when you manually empty your trash or spam." (Gmail messages are missing, read 7 October 2026). Nothing else in a personal mailbox has a timer: the inbox, your labels and the archive keep mail until you remove it. How the 30 days run per message is on how often Gmail empties the Trash.

A filter that deletes

A Gmail filter can take "delete" as its action. Google's filter page describes filters as a way to "manage your incoming mail", built from a search on a computer (Create rules to filter your emails, read 7 October 2026). In the list of filters under Settings, such a rule shows up with the words "Delete it", which is how Google's missing-mail page tells you to spot one (the Gmail messages are missing page above).

"Delete" here has Gmail's usual meaning: "When you delete a message in Gmail, it's moved to Trash." (Delete messages in Gmail, read 7 October 2026). So a deleting filter plus the 30-day Trash clock is, in effect, a two-step automatic delete for one sender or one kind of message. How to build the search and the filter is on how Gmail filters work.

"Delete anything older than a year"

This is the rule most people actually want, and it is the one Google's consumer pages do not describe. The search half exists: older_than: will "Search for emails older or newer than a time period", with older_than:1y as Google's example (Refine searches in Gmail, read 7 October 2026). What is missing is the standing rule. The filter page speaks of incoming mail and does not say that a filter built on older_than: goes back later to remove mail as it ages, and the Delete messages in Gmail page, read the same day, offers no age setting. We would not count on either.

What does work is doing it by hand on a schedule of your own: search older_than:1y, check the oldest and newest results, select all, delete. Emails older than 12 months and deleting by date walk through the selection, which is where the 50-at-a-time limit in the phone apps catches people out.

Work and school accounts are different

If your Gmail address belongs to an organisation on Google Workspace, its administrator has the setting personal accounts lack. Google's admin guide says an administrator "can set the number of days that messages stay in a user's mailbox", choose to "Move messages to trash or delete them permanently when the storage periods expire", and "Keep messages that have specific labels" (Manage email storage with auto delete settings, read 7 October 2026). For the number of days, "The minimum is 30."

Three details from that guide explain behaviour users notice. The setting "is regularly applied to messages on a scheduled basis", so mail can linger past its date until the next run. It "doesn't apply to messages in the Trash folder". And "When at least one message in a conversation is retained based on the setting, all messages in the conversation are retained." If old mail is vanishing from a work account, this setting is the first thing to ask your administrator about; it is not something you can switch on or off yourself.

Rules that keep running without you

Adinand Email Cleaner builds on the filter route rather than replacing it. Its auto-trash rules are native Gmail filters, created through Gmail's own API, so they run inside Gmail itself and keep working even if the app is deleted. Like every deleting filter, they send matching mail to Gmail's Trash rather than erasing it, which leaves Google's 30-day window for second thoughts and means the space "will free up after Trash clears". The app works with Gmail and no other provider. Three active rules are part of the free tier, along with a first clean of up to 2,500 emails and 250 more each month that do not roll over; every paid plan unlocks the same thing, unlimited cleanup and unlimited auto-trash rules.

Related: How Gmail filters work · Deleting emails by date · How often Gmail empties Trash · Emails older than 12 months