The fastest way to stop spam 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. You do not have to turn it on or configure anything. The filter learns from the messages you mark as spam, so the more you report junk, the better it gets at catching similar messages on its own.
The second layer is your own inbox rules. Most email providers let you create filters that automatically send messages from certain senders or with certain words straight to spam or delete them. This is where you handle the newsletters you no longer read, the notifications from sites you forgot about, and the repeat offenders that slip through the automatic filter.
A third option — and the one that stops the most spam before it ever reaches you — is to unsubscribe from mailing lists you actually signed up for. Legitimate marketing emails have an unsubscribe link at the bottom, usually in small text. One click removes you from that sender's list. This does not work on true spam (which comes from scammers), but it cuts the volume of unwanted mail you have to deal with significantly.
Key Takeaways
- Mark unwanted messages as spam in your email provider so the filter learns to catch similar ones automatically.
- Create inbox rules to automatically delete or folder messages from specific senders or with specific words.
- Unsubscribe from legitimate mailing lists using the link at the bottom of the email — this stops the sender from contacting you again.
- Never reply to spam, click links in suspicious emails, or confirm your email address by responding, as this tells scammers your address is active.
- Use a separate email address for online shopping, signups, and forms to keep your main inbox cleaner.
How to set up filters in Gmail, Outlook, and Yahoo Mail
In Gmail, open any message from a sender you want to block. Click the three dots in the top right, then select "Block [sender]." Gmail will automatically send all future messages from that address to spam. If you want more control — for example, to catch messages with certain words or from a whole domain — click the three dots again and choose "Create filter." You can then tell Gmail to skip the inbox, delete, or mark as spam based on sender, subject line, or message content.
In Outlook, right-click a message and select "Junk" then "Block Sender." To create a rule that catches multiple messages at once, go to Settings (the gear icon), then "Mail" > "Junk email." Under "Safe Senders and Domains," you can add addresses you trust. Under "Blocked Senders," add addresses or domains you want to skip entirely. You can also create more detailed rules by going to Settings > "Mail" > "Rules" and choosing conditions like sender address, subject keywords, or message size.
In Yahoo Mail, hover over a message and click the trash icon, then select "Block sender." To set up filters, click the gear icon, go to "Settings," then "Filters." Click "Add Filter," name it, and set the condition (sender, subject, or message content) and the action (delete, move to folder, or mark as spam). Yahoo will explore the rule to all future messages that match.
Why you should not reply to or click links in spam
When you reply to spam — even to say "stop sending me emails" — you confirm to the sender that your email address is active and monitored. Scammers sell lists of confirmed active addresses to other scammers, and your inbox volume will increase. The same thing happens if you click a link in a suspicious email or enter your email address on a form you do not recognize.
Legitimate companies include unsubscribe links because they are required by law to do so. Scammers do not. If you are unsure whether an email is real, go directly to the company's website by typing the address into your browser — do not click the link in the email. Then log in and check your account settings or contact the company through their official customer service channel.
Using a separate email address to reduce spam in your main inbox
One of the most effective long-term strategies is to keep your primary email address private and use a second address for online shopping, social media signups, and forms. Your main address stays clean because fewer companies and services have it. Your secondary address collects the marketing emails and notifications, and you can check it on your own schedule or let spam pile up without it affecting your important messages.
You can create a free second email address in minutes using Gmail, Outlook, or Yahoo. Some people create a third address specifically for one-time signups or services they are not sure about. When that address gets too much spam, they straightforward stop checking it and create a new one. This costs nothing and takes no time.
What to do about spam that looks like it comes from your bank or a company you use
Phishing emails are spam designed to look like they come from your bank, PayPal, Amazon, or another service you trust. They ask you to "verify your account," "confirm your password," or "update your payment method." These are scams. Real companies never ask you to confirm sensitive information by email.
If you receive an email claiming to be from your bank or a service you use, do not click any link in the email. Instead, open your browser, go directly to the company's website, and log in. If there is a real issue with your account, you will see a message when you log in. You can also call the customer service number on the back of your credit card or on the company's official website.
Report the phishing email to your email provider by marking it as spam or phishing. In Gmail, click the three dots and select "Report phishing." In Outlook, click the three dots and choose "Report" > "Report phishing." In Yahoo, click the three dots and select "Report as spam." This helps the email provider block similar messages for other users.
How spam filters learn and improve over time
Email filters use two methods to catch spam. The first is a blocklist — a database of known spam senders and phishing domains that the email provider maintains. When a message arrives from an address or domain on the blocklist, it goes straight to spam. The second is machine learning, which means the filter looks at patterns in messages you mark as spam and learns to recognize similar ones automatically.
This is why marking spam as spam matters. Every time you report a message, you teach the filter a little more about what you consider junk. Over weeks and months, the filter gets better at catching similar messages before they reach your inbox. If you delete spam instead of marking it as spam, the filter does not learn from it.
Some email providers also look at how many people mark a message as spam. If thousands of users report the same email, the provider adds it to the blocklist so it stops reaching anyone. This is why spam volume often drops after a few weeks — the filter catches on and blocks the campaign.
Frequently Asked Questions
Can I block an entire domain so I never see emails from anyone at that company?
Yes. In Gmail, create a filter and use the condition "from:@domain.com" (replace domain.com with the actual domain). In Outlook, add the domain to your Blocked Senders list. In Yahoo, create a filter with the sender condition set to "@domain.com." All future messages from anyone at that domain will be blocked.
What if spam is coming from my own email address?
This usually means your email address was used in the "from" field of a spam message, but the email did not actually come from your account. Scammers do this to make spam look more trustworthy. Your email provider knows the difference and will not block your own messages. If you are concerned your account was hacked, change your password when ready and check your account activity for any logins you do not recognize.
Does marking something as spam hurt the sender?
No. Marking a message as spam only affects your own inbox — it tells your email provider to filter similar messages for you. It does not notify the sender or prevent them from sending to other people. The only way to stop a legitimate sender is to unsubscribe using the link in their email.
Should I use a third-party spam filter app?
Your email provider's built-in filter is usually enough. Third-party apps can add extra layers, but they cost money and require you to give them access to your email. Start with the free tools your email provider gives you — filters, blocklists, and marking spam — before paying for additional software.
Is it safe to unsubscribe from emails I do not recognize?
Unsubscribing from a legitimate mailing list is safe. Clicking unsubscribe on a phishing email or obvious scam is not, because it confirms your address is active. Use this rule: if the email looks suspicious, came from an address you do not recognize, or is asking for sensitive information, mark it as spam instead of unsubscribing. If it looks like a normal marketing email from a real company, unsubscribing is fine.