Gmail Spam Filter Tips: Keep Junk Out and Important Mail In

Practical Gmail settings to cut spam: filters, blocking, plus addressing, tabs and what to do when real mail lands in spam.

By the TempMailify Editorial TeamUpdated November 12, 20263 min read
Quick answerReport spam instead of deleting it, create filters for repeat offenders, use plus addresses to trace leaks, and mark real messages as Not spam to train the filter.

Train the filter

Use Report spam on junk and Not spam on real mail that was misfiled. Gmail learns from these signals.

Create filters

Click the search options icon in the Gmail search bar, enter a sender or words, then choose Create filter to skip the inbox, label or delete automatically.

Block senders

Open a message, click the three dots, then Block. Future mail from that address goes to spam.

Stop new spam at the source

Use yourname+site@gmail.com to trace which site leaked your address, or a temporary inbox so your Gmail never appears on the list.

Filter examples you can copy

GoalSearch to useAction
Archive all newslettersunsubscribe -from:meSkip the inbox, apply label "Newsletters"
Catch a sender with many namesfrom:(*@example-promos.com)Delete it
Keep receipts togethersubject:(receipt OR order OR invoice)Apply label "Receipts", never send to spam
Mail to a plus tagto:you+shop@gmail.comApply label "Shopping"

Report spam versus delete

Deleting removes a message from your view but teaches Gmail nothing. Report spam moves it to the spam folder and feeds that signal into Gmail's filters, which helps you and other users. If a real message lands in spam, open it and choose Report not spam, so the filter learns in the other direction.

Gmail tabs and what they do

Gmail's Primary, Promotions, Social and Updates tabs sort mail by type, not by spam score. Promotions is where most newsletters go. If you miss important mail there, drag a message to Primary and confirm when Gmail asks whether to do this for future messages from that sender.

What Gmail requires of senders

Since February 2024, anyone sending large volumes to Gmail must authenticate with SPF and DKIM, publish DMARC, support one-click unsubscribe and keep reported spam below 0.3 percent. That is one reason spam in Gmail is easier to filter than it used to be: senders who do not follow the rules get rejected or filtered more often.

Block a sender versus unsubscribe

Blocking a sender in Gmail sends their future messages straight to spam. It works well for a single persistent address, but spammers rotate addresses, so it rarely helps against real spam. For legitimate newsletters, use Unsubscribe instead: it stops the mail at the source. Keep Block for people or companies that ignore unsubscribe requests.

When Gmail filters too much

If real emails keep going to spam, add the sender to your contacts, mark each one as not spam, and create a filter with "Never send it to Spam" for that address or domain. If a whole category goes missing, check the Promotions and Updates tabs before assuming they were filtered.

Your checklist

  • Report spam rather than delete.
  • Mark real mail as not spam.
  • Create filters for patterns.
  • Unsubscribe from real newsletters.

Terms used on this page

Spam
Unsolicited bulk email, usually commercial, sent without the recipient's consent.
SPF
Sender Policy Framework, a DNS record listing which servers may send mail for a domain, helping receivers detect spoofing.
DKIM
DomainKeys Identified Mail, a cryptographic signature added to emails so receivers can verify they weren't altered and came from the domain.
DMARC
A policy that tells receivers what to do with mail failing SPF or DKIM checks, and where to send reports.

Related guides

FAQ

How long does Gmail keep spam?

Messages in the Spam folder are deleted automatically after 30 days.

Can I see why Gmail sent something to spam?

Gmail shows a short reason in a banner at the top of the message.

Do filters apply to old mail?

You can choose to apply a new filter to matching existing conversations.

Is Gmail's spam folder emptied automatically?

Yes, after 30 days.

Try it free

A private disposable inbox with an Email X-ray for every message.

Get a temp email

Install TempMailify

Add TempMailify to your device for one-tap access, like a regular app.