Gmail filters that auto-delete are the most-regretted setting in email management. The promise sounds perfect: sender X never bothers you again. The trap is permanent — anything Gmail auto-deletes and purges from Trash after 30 days is gone for good, with no recovery path, not even for Google Workspace admins. This guide shows you exactly how to set up a delete filter in 90 seconds, explains when that’s the right call, and gives you the safer archive-first alternative that handles 90% of cases without the risk.
TL;DR — The 90-second setup and the risk
To auto-delete emails from a specific sender: open Gmail on desktop → click the search box search options arrow → enter the sender in the “From” field → click “Create filter” → check “Delete it” → click “Create filter” again. Done in under 90 seconds. The risk: Gmail permanently purges Trash after 30 days. Anything deleted by this filter is unrecoverable once that window closes.
| Use case | Recommended action |
|---|---|
| Known spam / scam sender | Delete it filter — low regret risk |
| Auto-warranty / phishing forwards | Delete it filter — no value to recover |
| Newsletters you unsubscribed from but still arrive | Archive + label (safer) |
| Vendor emails you rarely need | Archive + label (safer) |
| Receipts, order confirmations | Keep in inbox or archive — never delete |
| Colleague / client domain | Never auto-delete |
Reserve the delete action for senders where the probability of ever needing any message from them is genuinely zero.
How Gmail filters work
A Gmail filter is a rule that runs on every incoming email matching your criteria and applies one or more actions automatically — before the message ever reaches your inbox. Filters run on Google’s servers, not your device, so they work even when Gmail is closed.
Every filter has two parts: criteria and actions.
Criteria you can use:
- From — sender address or domain (e.g.,
@newsletters.example.com) - To — recipient address (useful for address aliases)
- Subject — full or partial subject line match
- Has the words — keyword appears anywhere in the email body or subject
- Doesn’t have — exclude emails containing a specific word
- Has attachment — toggle to match only messages with files attached
- Size — filter by email size (greater than / less than, in MB or KB)
- Date within — match emails within a date range (useful for retroactive bulk runs)
Actions you can apply:
- Skip the Inbox (Archive it)
- Mark as read
- Star it
- Apply the label
- Forward it to
- Delete it
- Never send it to Spam
- Always mark it as important / Never mark it as important
- Categorize as (Primary, Social, Promotions, Updates, Forums)
Multiple actions can be combined on a single filter. Archiving and labeling simultaneously is the most useful combination for keeping a clean inbox without losing data.
For the full syntax behind criteria — including boolean operators, wildcards, and subject-line matching — the Gmail search operators complete list covers every option with examples.
How to set up an auto-delete filter
Filter creation requires Gmail on desktop (mail.google.com). The path is: search box → search options → enter criteria → Create filter → check “Delete it” → Create filter. The entire process takes under 90 seconds once you know the sender address.
Here are the exact steps as of mid-2026:
Step 1 — Open the search options panel
In Gmail on desktop, click the small arrow or search options icon at the right edge of the search bar. A panel expands with labeled fields for From, To, Subject, Has the words, Doesn’t have, Has attachment, and Size.
Step 2 — Enter your filter criteria
For a sender-based delete filter, type the sender’s address in the From field. To catch all emails from an entire domain, use @domain.com without a name prefix (e.g., @spammydomain.net). You can combine criteria — for example, From + Subject keyword — to narrow the scope and reduce false positives.
Before proceeding, click the Search button to preview which existing emails match your criteria. This preview is the single most important step: it tells you what the filter will catch, including any legitimate emails you may have forgotten about.
Step 3 — Click “Create filter”
After reviewing the search results, return to the search options panel and click Create filter at the bottom right of the panel.
Step 4 — Choose “Delete it”
A checklist of actions appears. Check Delete it. You can also check Also apply filter to matching conversations at this point to retroactively process existing emails — read the next section before checking this box, as it has significant consequences.
Step 5 — Confirm
Click Create filter to save. The filter is now active. Gmail will automatically move all future matching emails directly to Trash on arrival.
Alternatively, if you have a specific email you want to use as the template: open the email, click the three-dot menu (More), select Filter messages like these, and Gmail pre-fills the From address. Then follow steps 3-5.
What “Delete it” actually does — the 30-day window
Gmail’s “Delete it” filter action moves matching emails directly to Trash on arrival — they never appear in your inbox. Google automatically and permanently purges Trash after 30 days. After that point, no recovery is possible, including for Google Workspace administrators.
This is the piece most guides understate. The delete action is not “hide this email” — it is a countdown timer to permanent loss.
The 30-day window works as follows:
- Email arrives, filter fires, email moves to Trash immediately
- The email sits in Trash for up to 30 days
- On day 30 (approximately — Google’s purge schedule runs on its own cadence), the email is permanently deleted from Google’s servers
- No recovery method exists after this point
During the 30-day window, you can recover a message. Open the Trash folder (left sidebar in Gmail, you may need to click “More” to see it), find the email, select it, and use Move to Inbox or apply a label to rescue it.
What you cannot recover: any email purged past the 30-day window. This includes cases where you set up the filter and forgot about it for two months while traveling. Gmail does not offer a “restore from backup” feature for regular consumer accounts.
The scenario that generates the most regret: filtering all emails from @company.com domain of a vendor, then needing to retrieve an invoice, purchase confirmation, or support ticket number 45 days after the filter was created. The invoice no longer exists.
For most situations, the archive-instead-of-delete pattern for promotional emails eliminates inbox clutter with zero data loss risk. Permanently deleting emails is covered separately if you want a manual, controlled deletion workflow.
The safer alternative: archive and label instead
Replace “Delete it” with “Skip the Inbox (Archive it)” plus “Apply the label: [name]” for any sender where you have even a 5% chance of needing a message later. Archived emails are searchable, never appear in your inbox, and are never purged. Use delete only for senders where no message has any conceivable future value.
Here is the same filter setup but with archiving:
- Follow steps 1-3 from the previous section
- Check Skip the Inbox (Archive it)
- Check Apply the label: — create a label like “Auto-archived/Newsletters” or “Auto-archived/Vendors”
- Optionally check Mark as read — so the label does not show unread counts
- Click Create filter
The result: emails from that sender arrive silently, bypass your inbox, carry a label you can search or browse, and are never at risk of permanent loss. Gmail’s storage quota applies, but unless you receive tens of thousands of large-attachment emails, the storage overhead is trivial.
When archive beats delete every time:
- Newsletters (you might reference an article later)
- Vendor confirmations and receipts (you will reference these for returns, warranties, or taxes)
- Platform notification emails (account activity logs have audit value)
- Emails from domains where the organization might change over time (a newsletter service might later send a legitimate transactional email from the same domain)
When delete is actually the right call:
- Phishing or scam senders where you have already reported the address
- Auto-warranty SMS-forward services (a known spam category where the entire message history has zero value)
- Old mailing lists you cannot unsubscribe from that serve no purpose
- High-volume garbage senders where you have already tried unsubscribing
Before creating a delete filter, check whether an unsubscribe link exists and works. Gmail’s own automatic unsubscribe for Gmail feature handles many commercial senders automatically. A successful unsubscribe is cleaner than a filter because it stops the email at the source.
Applying a filter to existing emails
Check “Also apply filter to matching conversations” during filter setup to process existing emails in your inbox and All Mail. For a delete filter, this moves all currently matching emails to Trash immediately. Review your search results preview carefully before enabling this option — it is not reversible once the filter saves and runs.
The retroactive option is powerful and risky in equal measure. Before checking that box:
- Run the search manually (Step 2 above) and scroll through every result
- Identify any email you want to keep — move or label it first, before creating the filter
- Only then create the filter with the retroactive option checked
For bulk-deleting emails that already exist outside of a filter workflow, how to archive emails in bulk and how to permanently delete emails cover targeted selection approaches that give you more control.
One specific edge case: if you are cleaning up a heavily cluttered inbox and want to mark all emails as read before running a bulk archive or delete operation, that order of operations avoids the unread counts masking emails you have not yet evaluated.
The mobile limitation
Gmail filter creation is web-only as of mid-2026. You cannot create, edit, or delete filters from the Gmail app on iOS or Android. Filters created on desktop work on all platforms — they run on Google’s servers and affect all Gmail clients automatically.
This limitation has been present since Gmail filters were introduced and has not changed through multiple Gmail app redesigns. The mobile limitation does not affect filter execution — a filter you create on desktop fires correctly for emails received on mobile.
If you use Gmail primarily on your phone, you will need to open a browser on any device at mail.google.com to set up or modify filters. The desktop Gmail UI works on mobile Safari or Chrome in desktop mode if you cannot access a computer.
Troubleshooting: filter not firing
The most common reasons a Gmail filter stops working: the sender’s address changed slightly, the filter criteria use a plain keyword that does not match the actual sender format, the filter conflicts with a forwarding rule, or the email is being caught by Gmail’s spam filter before the user filter runs.
Work through this checklist when a filter is not having the expected effect:
1. Verify the sender address exactly. Open a recent email from the sender, click the sender name to expand the full “From:” address. Copy it verbatim into your filter. Many newsletters use rotating subdomains (e.g., mail123.newsletter.com vs mail456.newsletter.com) — use @newsletter.com to catch the domain regardless of subdomain.
2. Check whether the email is landing in Spam first. Gmail’s spam detection runs before user filters. If an email goes to Spam rather than Inbox, your filter may not fire as expected. Add Never send it to Spam as an additional action on your filter, or use -is:spam to understand the flow.
3. Look for conflicting filters. Open Settings > See all settings > Filters and Blocked Addresses. If two filters match the same email and specify conflicting actions, Gmail applies both where possible — but priority conflicts can cause unexpected outcomes. Audit for duplicates.
4. Test with Has the words. If your From: filter is not catching everything, try switching to a Has the words criterion using a unique string from the sender’s emails. The Gmail search operators complete list includes the full syntax for combining criteria.
5. IMAP client interactions. If you access Gmail via an IMAP email client (Outlook, Apple Mail, Thunderbird), server-side filters still fire — but client-side rules in those applications may interfere with what you see. Server-side Gmail filters always take priority.
6. Forwarding rules. Gmail processes automatic forwarding before user filters in certain configurations. If you forward your Gmail to another address, some messages may not be subject to filters in the expected way. Check Settings > See all settings > Forwarding and POP/IMAP.
How to audit and remove bad filters
Open Settings > See all settings > Filters and Blocked Addresses to see every active filter. Each filter shows its criteria and actions. Delete any filter that is no longer needed, conflicts with another, or was set up with “Delete it” for a sender where you now want to retain messages.
A filter audit is worth doing every 6-12 months. Common problems that audits catch:
- Overly broad criteria — a Has the words filter matching a common word that also catches legitimate emails
- Delete filters for senders that became relevant — the auto-warranty spam domain that was later acquired and now sends legitimate messages
- Duplicate filters — two filters matching the same sender, one archiving and one deleting, creating unpredictable behavior
- Orphaned label filters — filters applying a label that no longer exists, creating unlabeled archived emails
To remove a filter: Settings > See all settings > Filters and Blocked Addresses > click Delete next to the filter. Gmail asks for confirmation. Deleting a filter does not restore emails already processed by it.
To export your filters before making changes: at the bottom of the Filters and Blocked Addresses page, click Export. Gmail saves your filters as an .xml file you can re-import later if needed. Use this as a backup before any bulk filter cleanup.
For related email organization strategies, how to organize work emails covers a comprehensive system that reduces the need for delete filters entirely by building a sustainable inbox structure from the start. And if your inbox is already overwhelmed with messages you want gone, how to empty Gmail trash bin walks through forcing an immediate purge instead of waiting for the 30-day automatic cycle.

Alexis Dollé, email expert for 10+ years. Founder of Email Tools. I test every Gmail feature and productivity tool myself, then write about them the way I’d explain them to a friend — no marketing fluff, no sponsored rankings, every claim sourced.
LinkedInSources & references
- Google Support — Create rules to filter your emails. Confirms filter creation path (search options panel → criteria → Create filter → actions), retroactive “Also apply filter to matching conversations” option, and filter management via Settings > Filters and Blocked Addresses. Accessed 2026-05-19. support.google.com/mail/answer/6579
- Google Support — Search operators you can use with Gmail. Full list of filter criteria syntax including From:, To:, Subject:, has:attachment, larger:, smaller:, and boolean operators. Accessed 2026-05-19. support.google.com/mail/answer/7190
- Google Support — Gmail Trash and storage policies. Confirms 30-day Trash retention before permanent deletion. Accessed 2026-05-19. support.google.com/mail/answer/7401
Frequently asked questions
Can Gmail automatically delete emails from a specific sender?
Yes. Create a filter with ‘From: sender@example.com’ as the criterion, then choose ‘Delete it’ as the action. Gmail will immediately move all matching incoming messages to Trash. Emails sit in Trash for 30 days before Google permanently deletes them — after that, recovery is impossible even for Google Workspace admins.
How do I stop emails from a sender without deleting them?
The safer approach is to create a filter with ‘Skip the Inbox (Archive it)’ plus ‘Apply the label: [label name]’. Messages arrive silently, are never in your inbox, and remain searchable. Use ‘Delete it’ only for senders you are 100% certain you will never need to reference again.
Does a Gmail filter apply to existing emails or only new ones?
By default, a new filter applies only to incoming messages. When setting up the filter, check ‘Also apply filter to matching conversations’ to run it retroactively against all existing emails that match the criteria. The Delete action will move all matching existing emails to Trash if that box is checked.
Can I create Gmail filters on my phone?
No. As of mid-2026, Gmail filter creation requires the Gmail web interface (mail.google.com on desktop). You can view and receive the effects of filters on mobile, but you cannot create or edit filters from the Gmail iOS or Android app.
What happens to emails auto-deleted by a Gmail filter?
They go to Trash immediately. Gmail keeps Trash for 30 days and then permanently deletes the contents. During those 30 days you can recover a message by opening Trash, selecting it, and clicking ‘Move to inbox’. After 30 days: gone permanently, no recovery.
How many filters can Gmail hold?
Gmail allows up to 1,000 filters per account. Google Workspace accounts have the same per-user limit. Most users hit organizational problems long before this ceiling — use the Filters and Blocked Addresses settings page to audit and prune filters that overlap or conflict.
Related: Gmail search operators complete list — master the syntax that powers every filter criterion. How to permanently delete emails — manual controlled deletion without the auto-delete risk. Automatic unsubscribe in Gmail — stop emails at the source before reaching for a filter.