The fastest way to stop junk email is to use your email provider's built-in filters

Every major email service — Gmail, Outlook, Yahoo Mail — has a spam filter that runs automatically. It catches most junk before it reaches your inbox. But the filter learns from what you do, so the more you mark messages as spam, the better it gets at recognizing similar ones.

You do not need to install anything or pay for a service. The filter is already there. You just need to tell it what is junk by clicking the spam or trash button on individual messages. After you mark a few emails from the same sender as spam, the filter starts catching their future messages on its own.

If you want to go further, most email providers let you create rules that automatically delete or sort messages based on the sender's address or words in the subject line. This takes a few minutes to set up but stops the most persistent senders without you having to see their messages at all.

Key Takeaways

  • Mark junk messages as spam in your email inbox — this trains your provider's filter to catch similar messages automatically.
  • Use the unsubscribe link at the bottom of marketing emails if you want to stop hearing from a legitimate business, but never click unsubscribe on emails you think are scams.
  • Create email rules or filters to automatically delete messages from specific senders or with certain words in the subject line.
  • Do not reply to junk email, click links in it, or read attachments from unknown senders, even to unsubscribe.
  • If you signed up for something and no longer want those emails, look for an unsubscribe link in the footer — it is usually required by law for marketing messages.

How to mark spam and train your email filter

Open the junk email and look for a button labeled "Report spam," "Mark as spam," or a trash icon. Click it. The message moves to your spam folder, and your email provider notes that this sender or this type of message is unwanted.

Do this consistently. If you get five emails from the same sender and mark all five as spam, the filter learns to catch the sixth one automatically. The more you mark, the smarter the filter becomes at spotting similar messages from other senders too.

Gmail's spam filter is particularly aggressive — it catches roughly 99.9% of spam before it reaches your inbox. Outlook and Yahoo are also strong, though they may let more through. If you are getting a lot of junk, it usually means either your address was sold to marketers, or you signed up for something and did not unsubscribe properly.

When to use the unsubscribe link and when to avoid it

Legitimate marketing emails — from retailers, newsletters, services you signed up for — have an unsubscribe link at the very bottom of the message. It is usually small text that says "Unsubscribe" or "Manage preferences." Clicking it removes you from that sender's mailing list. This is the right move if you genuinely do not want to hear from them anymore.

Do not click unsubscribe on emails you think are scams or phishing attempts. Clicking the link tells the scammer your email address is real and active, which makes you a more valuable target. Instead, mark these as spam and delete them. A real company will not send you an email asking you to verify your password or banking information — that is always a scam.

If you signed up for a service and now get daily emails you did not expect, unsubscribe is your friend. But if you do not recognize the sender at all, or the email looks suspicious, use spam instead.

Creating rules to automatically sort or delete emails

In Gmail: Open an email from the sender you want to block. Click the three dots in the top right, then "Block [sender]." Gmail will automatically send all future emails from that address to spam. You can also create more complex rules by going to Settings, then Filters and Blocked Addresses, and clicking "Create a new filter." You can filter by sender, subject line, or words in the body of the email.

In Outlook: Right-click a message from the sender you want to block and select "Junk," then "Block Sender." Or go to Settings, then Mail, then Junk Email, and add addresses to the Blocked Senders list. You can also create rules by going to Settings, Mail, Rules, and "Add new rule."

In Yahoo Mail: Click the three dots on a message and select "Block sender." To create more detailed rules, go to Settings, then Filters, and "Add new filter." You can filter by sender address, subject line, or message content.

Rules are useful when you get repeated emails from the same address or when you notice a pattern — for example, all messages with "act now" in the subject line, or all messages from a particular domain. Set up a rule once and it works forever.

Why you should not reply to or click links in junk email

Replying to junk email, even to say "stop sending me messages," tells the sender that your address is real. This makes you more valuable to scammers and spammers, who sell lists of active addresses to other bad actors. You will likely get more junk, not less.

Clicking links in suspicious emails can install malware, steal your password, or trick you into giving up personal information. If an email claims to be from your bank or a service you use but asks you to click a link to "verify your account," it is a phishing attempt. Go directly to the website by typing the address yourself instead of clicking the link.

Downloading attachments from unknown senders is equally risky. Attachments can contain viruses or ransomware. If you do not recognize the sender and did not expect the file, do not open it.

What to do if your email address is on too many lists

If you are drowning in junk email, your address may have been sold to marketers or exposed in a data breach. You have a few options. The slowest but most thorough approach is to unsubscribe from legitimate marketing emails one by one — this takes time but works. The faster approach is to mark everything as spam for a week or two, which trains your filter to catch similar messages automatically.

You can also create a separate email address just for online shopping, signups, and services you do not trust. Use your main address only for people and organizations you know. This is not foolproof — your address can still be breached — but it reduces the amount of junk that reaches your primary inbox.

If you want to check whether your address has been exposed in a known breach, you can search it on haveibeenpwned.com. This is a free tool that shows which data breaches included your email. Knowing this does not undo the breach, but it tells you whether to expect more junk or phishing attempts targeting you.

How to spot junk email before you open it

Junk email often has telltale signs. The sender's address may look slightly off — for example, "paypa1.com" instead of "paypal.com," or a long string of random numbers. The subject line may use urgency ("Act now," "Verify when ready") or promise something too good to be true ("You have won a prize," "Claim your refund"). The message may ask you to click a link or read something, or it may ask for personal information like your password or Social Security number.

Legitimate companies do not ask for passwords or sensitive information by email. If you are unsure whether an email is real, go to the company's website directly — do not click the link in the email — and look for a contact page or support number. Call or message them to ask whether they sent you that email.

Your email provider's spam filter catches most of this automatically, but learning to spot junk yourself is useful when something does slip through.

Frequently Asked Questions

Does marking something as spam hurt the sender?

No. Marking an email as spam only affects your own inbox and trains your email provider's filter. The sender does not get notified. It is purely for your protection and does not have any consequence for them.

Can I unblock a sender if I blocked them by mistake?

Yes. In Gmail, go to Settings, Filters and Blocked Addresses, find the sender, and click "Unblock." In Outlook, go to Settings, Junk Email, and remove them from the Blocked Senders list. In Yahoo, go to Settings, Filters, and delete the rule. You can unblock anyone at any time.

What if I block someone and they keep emailing me from a different address?

Create a filter that catches emails based on the subject line or content rather than just the sender's address. For example, if someone keeps emailing you about the same topic from different addresses, you can create a rule that automatically deletes anything with certain words in the subject line. This stops the pattern rather than just one sender.

Is it safe to use third-party spam-blocking apps?

Your email provider's built-in filter is usually enough. Third-party apps ask for access to your email account, which adds risk. If you do use one, research it first and check the reviews. Stick with well-known services from companies with a track record, not random apps from the app store.

Why do I still get spam even though I marked it as spam before?

Spammers often use new email addresses or slightly different sender names to get around filters. If you keep getting similar junk from different senders, create a filter based on the subject line or content instead of the sender's address. You can also check whether your address is on a public list — sometimes junk comes from lists that are sold and resold.