On this page
Short version: mail Gmail files in Spam is deleted automatically after 30 days, so that half needs nothing from you. What people usually want when they search for this is a rule that kills the junk Gmail doesn't catch. Gmail can do that, and it will do exactly what you tell it, including the parts you didn't think through.
I'm Alec, founder of Gmail Unsubscribe. The support emails I get about auto-delete filters are almost never "it didn't work." They're "it worked and it ate my order confirmation."
What Gmail already does on its own
Gmail's spam filter routes suspected junk to the Spam label before it reaches your inbox. Messages sitting in Spam are deleted after 30 days without you doing anything, and the Spam view has a Delete all spam messages now link if you want the space back today.
So if your complaint is "my Spam folder is full," there is nothing to fix. It empties itself. If you can't find that folder at all, Gmail doesn't call it Junk; the naming and where it hides are covered in where is the junk mail folder in Gmail.
The mail that frustrates people is the other pile: retailer promotions, newsletters, product announcements, conference invites. Gmail files those under Promotions, not Spam, because they're legitimate mail from senders you gave your address to. Gmail is not going to auto-delete those, and marking them as spam to force the issue trains the filter in ways you'll regret when a receipt from that store disappears.
When not to write an auto-delete rule
A delete filter runs before you ever see the message. There is no notification and no second chance beyond digging through Trash within 30 days. Skip it when any of these are true:
- The sender handles banking, taxes, medical care, insurance, or account security.
- The same domain sends you both marketing and receipts, which describes most retailers.
- You haven't actually read the search results the rule would match.
- The mail might be a record you need for work, a return, or a warranty.
The failure mode is specific and common. Someone filters from:retailer.example to stop the daily sale email, and six weeks later a shipping notification for a delayed order went to Trash and aged out. Filter the exact marketing address, not the domain.
How to create the filter
Do this on the web. The Gmail mobile apps can't create filters.
- Search the exact sender first, for example
from:offers@example.com, or add a subject to narrow it further:from:offers@example.com subject:"weekly deals". - Read the results. Every message that matches is a message the rule will delete. Look specifically for receipts, password resets, and anything with an order number.
- Click Show search options in the search bar. Your criteria carry over.
- Click Create filter at the bottom of the panel.
- Tick Delete it, then Create filter.
By default the rule applies to future mail only. Gmail offers a checkbox to apply it to matching conversations already in your account; leave that off the first time so you can watch the rule behave before it touches your history.
Filters live under Settings, See all settings, Filters and Blocked Addresses. Check yours after a week. If a rule isn't firing the way you expect, the six usual causes are here, and the first one catches most people: filters run on arrival, so they never touch mail that was already in your inbox.
Filter, block, report, unsubscribe
Four tools, four jobs. Using the wrong one is why the inbox refills.
| Tool | What actually happens | Right for |
|---|---|---|
| Delete filter | Mail arrives, Gmail moves it to Trash. Sender is unaffected. | A reviewed sender you can't get off. |
| Block | Future mail from that address goes to Spam. Sender is not notified. | A stranger, or a failed unsubscribe. |
| Report spam | Moves it to Spam and trains Google's filter for everyone. | Deceptive or unsolicited mail. |
| Unsubscribe | Asks the sender to remove your address from the list. | A list you actually joined. |
Notice that only the last one reduces what gets delivered. A delete filter still receives every message; it just hides the evidence. If you have forty of these rules, you have forty senders still mailing you daily and a filter list nobody can maintain. When to block versus when to report is laid out in how to stop spam emails in Gmail.
The part filters can't fix
If your inbox is loud and your Spam folder is quiet, you don't have a spam problem. You have a subscriptions problem, and no auto-delete rule solves it, because every one of those senders is a list you joined at some point.
Gmail Unsubscribe scans your inbox for those senders and submits real unsubscribe requests through each sender's official mechanism: one-click (RFC 8058) first, then unsubscribe-by-email from your own address, then the unsubscribe link. Then it archives or deletes the backlog they left behind.
Two numbers from our own data. The average first scan finds about 15 subscription senders. And roughly a third of unsubscribe attempts hit senders with no working mechanism at all, which is exactly the group that deserves a block or a delete filter. We report those failures instead of marking them done, because a tool that files mail into Trash and calls it an unsubscribe has just built you a filter without telling you.
Free covers unlimited scanning, and unsubscribing from and clearing out 25 senders a month. Pro is $35.88/year for unlimited senders.
Stop hiding the mail and stop it at the source. Scan your inbox free, unsubscribe from the lists you joined, and get a plain list of the senders that have no working opt-out so you can filter or block just those.
Add to Chrome, freeClearing what's already piled up
Filters only handle future mail, so the existing backlog needs a separate pass. Search by sender or by category:promotions with a date bound, review the results, then select and delete. Deleted mail sits in Trash for 30 days and still counts against your storage quota until you empty it, which is the step people skip when they wonder why the quota didn't move. The full method is in how to delete multiple emails in Gmail at once.
Archiving is not a smaller version of deleting. It removes the Inbox label and leaves the message in All Mail, using the same storage it always did. Archive things you might need. Delete things you won't. For rules that auto-archive mail on arrival, see the dedicated guide.
Common questions
Does Gmail delete spam automatically?
Yes. Anything Gmail files in Spam is deleted automatically after 30 days. You can clear it sooner with Delete all spam messages now at the top of the Spam view. You do not need a filter for mail that already lands in Spam.
How do I make Gmail auto delete emails from a sender?
Search for the sender, open Show search options, click Create filter, and choose Delete it. Gmail applies it to future mail. Check the search results first, because the filter becomes a permanent rule and Gmail does not ask again.
Which senders should never get an auto-delete filter?
Anything touching banking, taxes, medical care, insurance, or account security. Also any sender that uses one domain for both marketing and receipts, because a domain-level rule will catch the shipping confirmation along with the sale email.
Can I auto delete the Promotions tab?
Not with a single toggle. You'd need a filter on category:promotions, which will eventually delete a receipt or a discount code you wanted. Unsubscribing from the senders is the safer answer.
Is an auto-delete filter the same as unsubscribing?
No. A filter hides mail after it arrives. Your address stays on the sender's list and they keep sending. Unsubscribing is a request to the sender to stop, and it is the only one of the two that reduces what is actually delivered to your account.
Do deleted emails free up Gmail storage?
Only once they leave Trash. Deleted mail sits in Trash for 30 days and still counts against your quota until then. Empty Trash to reclaim the space immediately. Archiving frees nothing.
Want it done for you? Gmail Unsubscribe finds every mailing list in your Gmail and unsubscribes you from the ones you pick, through each sender's own unsubscribe. The free plan covers 25 senders a month, unsubscribed and cleared out.
Add to Chrome, free