How To Auto Delete Spam In Gmail

Written by David Morelo

Gmail automatically moves spam to the Spam folder and deletes it after 30 days — but if junk is flooding your inbox before filters catch it, that's too long to wait. This guide shows how to set up Gmail filters to auto-delete spam as it arrives, and what to do when filters alone aren't enough.

Why Automate Spam Deletion?

Spam accounts for 45% of all email traffic, eating up storage and burying important messages. Beyond the clutter, spam can contain malicious links or phishing attempts — so the less time it spends in your inbox, the better. Automating deletion means you never have to open it in the first place.

Auto-deletion doesn't just apply to spam either — you can auto-delete emails from specific senders, domains, or with certain keywords too.

How To Automatically Delete Spam In Gmail

Gmail lets you create filters to automate email actions. Follow the steps below to set up auto-delete for spam — on web or mobile.

Creating filters in Gmail is straightforward for any user. Read more about how to create a Gmail filter for spam control.

How to Auto-Delete Spam in Gmail: Web Browser

  1. Open Gmail and log in.
  2. Click the gear icon in the top right corner.
  3. Choose See all settings from the drop-down menu.
  4. How to auto-delete spam in GmailHow to auto-delete spam in Gmail
  5. Go into the Filters and Blocked Addresses tab.
  6. Click Create a new filter.
  7. Create a new filter in GmailCreate a new filter in Gmail
  8. Fill in the filter criteria (sender address, domain, or keywords).
  9. Click Create filter.
  10. Check Delete it, and check Also apply filter to matching conversations to remove existing emails too.
  11. Click Create filter to confirm.

How to Auto-Delete Spam in Gmail: Mobile

💡 Note: Gmail's mobile app doesn't support creating filters. Use the Gmail web version, or use a third-party tool like Clean Email, which lets you build Auto Clean rules directly from your phone.

Here's how to set up an Auto Clean rule in Clean Email:

  1. Download the Clean Email app for iOS or Android.
  2. Connect your Gmail account and wait for your data to sync.
  3. Choose Auto Clean from the left-side dashboard.
  4. Click Create Rule (or the ✚ icon if you already have rules).
  5. Name the rule and tap Any sender or recipients.
  6. Create Rule in the Clean Email Mobile AppCreate Rule in the Clean Email Mobile App
  7. In the drop-down, choose Sender Domain, then type and select the domain to block.
  8. Choose your action — Trash or Delete permanently.
  9. Click Create Rule.
Auto-Delete Emails in the Clean Email Mobile AppAuto-Delete Emails in the Clean Email Mobile App

The rule runs continuously in the background, so matching messages are deleted automatically without any manual effort.

When Filters Aren't Enough

Spammers constantly find new ways to slip through filters. If junk keeps reaching your inbox, these additional steps help:

1. Block Senders

Blocking stops messages from a specific sender from reaching your inbox entirely. Open the message, click More (three dots, top right), and choose Block [sender name]. You can also paste addresses directly into the blocked list under Gmail Settings → Filters and Blocked Addresses.

Block senders in GmailBlock senders in Gmail

2. Report Spam

If a suspicious message lands in your inbox rather than the Spam folder, click the Report spam icon (exclamation mark) at the top of the message. This teaches Gmail's filter to recognize similar emails and catch them automatically in the future.

Report the Spam in GmailReport the Spam in Gmail

3. Unsubscribe from Mailing Lists

For recurring unwanted newsletters, use the Manage Subscriptions feature in Gmail, that shows all your active subscriptions in one place and lets you unsubscribe quickly. This action removes you from that sender's list so new messages stop arriving — without having to filter or block each one individually.

Unsubscribe from Mailing ListsUnsubscribe from Mailing Lists

4. Use Screener

Screener acts as a first line of defense by holding emails from unknown senders before they reach your inbox. You can quickly allow trusted messages or block unwanted ones, preventing spam from ever appearing in your main view.

Block an Email Address with Screener in Clean EmailBlock an Email Address with Screener in Clean Email

📌 Need to auto-delete emails by age, size, or keyword — not just spam? See the full guide: How to Auto-Delete Emails in Gmail


Auto Deleting Spam in Gmail — FAQs

Is there a way to automatically delete spam in Gmail?

Yes — create a filter under Settings → Filters and Blocked Addresses, set your criteria (sender, domain, or keywords), and select Delete it as the action.

How do I stop spam emails permanently in Gmail?

Combine three steps: create a filter to auto-delete incoming spam, block persistent senders, and unsubscribe from mailing lists you didn't opt into.

How do I block spam in Gmail without opening it?

In Clean Email, you can preview messages without opening them, so you can decide what to do safely. From the preview, you can block the sender, unsubscribe, or delete the email entirely — no need to open the message or risk interacting with harmful content.

How often does Gmail empty the spam folder?

Gmail automatically deletes emails in the Spam folder after 30 days.

Try Clean Email for Free
*****4.5based on 3,300 user reviews
Get Started
InboxClean Your Mailbox

Use tools like Cleaning Suggestions and Smart Folders to help you quickly clean out an overloaded inbox

Mute unwanted emailsUnsubscribe

Keep unwanted emails out of your inbox by unsubscribing—even from email lists that don’t have an unsubscribe link

Clean your emailsKeep it Clean

Automate repetitive tasks with Auto Clean rules to archive emails as they become old or to sort them into folders

Background
Use filters to find emails you want to clean.Arrow
Screener FeatureArrow
UnsubscribeArrow
Auto CleanArrow
Sender SettingsArrow