The fastest way to stop spam is to block the sender, filter by keywords, and unsubscribe from legitimate mailing lists
Blocking spam permanently works in layers. Most email providers let you block individual senders so their messages skip your inbox entirely. You can also set up filters that automatically delete or sort emails containing certain words or coming from certain domains. For marketing emails that are actually legitimate — they have an unsubscribe link at the bottom — unsubscribing removes you from that sender's list, though it takes a few days to take effect. The combination of these three approaches stops most spam before you ever see it.
The catch is that no single action blocks everything. A spammer using a new email address each time will bypass your block list. A filter looking for the word "viagra" won't catch "v1agra" or "v!agra". Unsubscribing only works if the sender is actually honoring unsubscribe requests, which legitimate businesses do but scammers do not. The goal is to reduce the volume to a manageable level, not to achieve zero spam.
Key Takeaways
- Blocking a sender in Gmail, Outlook, or Yahoo takes one click and sends all future emails from that address to trash or a spam folder.
- Filters let you automatically sort or delete emails based on sender address, subject line, or keywords, and work on new messages going forward.
- Unsubscribe links at the bottom of marketing emails are legally required in most countries and usually work within three to five business days.
- Spammers often use new email addresses or spoofed sender names, so blocking one address does not stop the same person sending from a different one.
- Never reply to spam, click unsubscribe on suspicious emails, or confirm your email is active — these actions tell spammers your address is monitored.
How to block a sender in your email provider
In Gmail, open the spam email, click the three-dot menu in the top right, and select "Block [sender name]". All future emails from that address go to your spam folder automatically. You can also block a sender by right-clicking their name in your inbox and choosing "Block".
In Outlook (including Hotmail), open the email, click the three dots at the top, select "Junk", then "Block Sender". Emails from that address move to your Junk folder. If you want to block an entire domain — for example, all emails from anyone@spammydomain.com — use the Junk menu and choose "Junk Email Options", then add the domain to the "Blocked Senders" list.
In Yahoo Mail, click the three dots next to the email, select "Block", and confirm. Yahoo also lets you block entire domains through Settings > Security and Privacy > Blocked Addresses.
Blocking works only on emails from that exact address. If a spammer sends from a new address the next day, the block does not explore. This is why blocking alone is not enough — you also need filters to catch patterns.
Setting up filters to catch spam patterns
Filters are rules you create that automatically sort, delete, or flag emails matching certain conditions. They work on new messages only, not on spam already in your inbox. In Gmail, go to Settings > Filters and Blocked Addresses > Create a New Filter. You can filter by sender address, subject line keywords, or words in the email body. For example, you could create a filter that sends all emails with "weight loss" or "casino" in the subject directly to trash. Once you create the filter, click "Create Filter" and choose "Delete it" or "Skip the Inbox" (which sends it to spam).
In Outlook, go to Settings > Mail > Junk Email > Blocked Senders, Safe Senders, and Safe Domains. You can add sender addresses or entire domains to the blocked list. Outlook also has a "Focused Inbox" feature that learns which emails you open and which you ignore, gradually filtering out the ones you never read.
In Yahoo Mail, go to Settings > Security and Privacy > Filters. Create a filter by sender, subject, or message content, and choose whether to delete, move to spam, or mark as read automatically.
Filters are most useful when you notice a pattern — the same word appearing in multiple spam emails, or emails from a range of similar addresses. A filter for "noreply@" combined with a keyword like "confirm your account" can catch phishing emails pretending to be from your bank. Be careful not to filter too broadly; a filter for "click here" might catch legitimate emails from services you actually use.
When and how to unsubscribe safely
Legitimate marketing emails — from retailers, newsletters, or services you signed up for — include an unsubscribe link at the very bottom, usually in small text. This link is legally required in most countries under laws like the CAN-SPAM Act in the United States and GDPR in Europe. Clicking it removes you from that sender's mailing list. It usually takes three to five business days to take effect, so you may see one or two more emails before they stop.
Unsubscribe only from emails you recognize. If you do not remember signing up for something, or if the email looks suspicious (misspelled company name, urgent language, requests for passwords), do not click the unsubscribe link. Scammers sometimes include fake unsubscribe links that confirm your email is active and monitored, which makes you a target for more spam.
A safe way to test whether an unsubscribe link is real is to look at the sender's address. Legitimate companies use their own domain (like noreply@amazon.com). Scammers often use free email services (like gmail.com or yahoo.com) or misspelled domains (like amaz0n.com). If the sender address looks wrong, delete the email instead of unsubscribing.
Unsubscribing works only if the sender is actually honoring requests. Legitimate businesses do this because they are required to by law and because sending to people who do not want mail wastes their money. Scammers ignore unsubscribe requests entirely, which is why blocking and filtering are more reliable for actual spam.
Why you should never reply to spam or confirm your email
Replying to spam, even to say "stop sending me emails", tells the spammer that your email address is active and monitored. They then sell your address to other spammers or use it more aggressively themselves. The same goes for clicking links in suspicious emails, even if you are just trying to unsubscribe — clicking confirms the address works.
Some spam emails ask you to "confirm your email" or "verify your account" by clicking a link or entering information. Never do this. These are phishing attempts designed to steal your password or personal information. Real companies do not ask you to confirm your email by clicking a link in an unsolicited email. If you are worried an email is real, go directly to the company's website by typing the address in your browser, do not click the link in the email.
The safest action with spam is to delete it or mark it as spam without opening it. If you do open it by accident, just delete it. Do not reply, do not click anything, do not unsubscribe unless you are certain the sender is legitimate.
Using advanced filters for phishing and spoofed emails
Spammers often fake the "From" address to make an email look like it came from your bank, PayPal, or another trusted company. This is called spoofing. Gmail and Outlook both show a small warning icon next to emails that fail authentication checks — these are often spoofed. If you see a warning, the email did not actually come from the company it claims to be from.
In Gmail, you can create a filter that catches spoofed emails by looking for emails that claim to be from a trusted company but come from a suspicious domain. For example, if you get an email claiming to be from your bank but the sender address is from a free email service, create a filter that deletes anything with your bank's name in the subject but from a non-bank domain.
Outlook's Clutter feature learns over time which emails you ignore and automatically moves similar ones out of your inbox. The more you mark emails as junk, the better it gets at recognizing patterns. You can also enable Safe Senders to whitelist addresses you trust, ensuring they always reach your inbox even if they might otherwise be flagged.
What to do if spam is overwhelming
If you are receiving hundreds of spam emails per day, your email address may have been sold to multiple spammers or exposed in a data breach. In this case, blocking and filtering individual senders is not practical. Instead, consider creating a new email address for important accounts (banking, work, medical) and using your current address only for services you do not mind losing access to.
Before you abandon an email address, check whether it has been exposed in a known breach. Go to haveibeenpwned.com and enter your email address. If it shows up, that explains why you are getting so much spam. The site does not fix the problem, but it tells you whether your address was compromised and which services were affected. Change your password on those services when ready.
If spam is coming from a specific company or service, you can report it to the Federal Trade Commission at reportfraud.ftc.gov. This does not stop the spam directly, but it helps the FTC track patterns and take action against large-scale spammers. You can also report phishing emails to the company being impersonated — most have a fraud or security email address on their website.
Frequently Asked Questions
Does marking an email as spam do the same thing as blocking the sender?
Marking as spam trains your email provider's filter to recognize similar emails in the future, but it does not block that specific sender. Blocking is stronger — it sends all future emails from that address to spam automatically. Use both: mark the email as spam to help the filter learn, then block the sender to stop that address when ready.
Can I block an entire domain so I never get emails from anyone at that company?
Yes, in Outlook and Yahoo you can add entire domains to your blocked list. In Gmail, you can create a filter that catches all emails from a domain and deletes them. This is useful if you are getting spam from multiple addresses at the same company, but be careful not to block a domain you might legitimately need to receive from.
What if I unsubscribed but I am still getting emails from that sender?
If you unsubscribed from a legitimate company and still receive emails after five business days, contact their customer service directly through their website. If it is actual spam pretending to be from a company, the unsubscribe link was fake — block the sender and report it as phishing instead.
Is it safe to use third-party spam-blocking apps?
Third-party apps can add extra filtering, but your email provider's built-in tools are usually sufficient and do not require you to give another company access to your email. Start with blocking, filtering, and unsubscribing through Gmail, Outlook, or Yahoo. If spam is still overwhelming, then consider a third-party tool, but read its privacy policy first to understand what data it collects.
Why do I keep getting spam even though I never signed up for anything?
Your email address may have been exposed in a data breach, sold by a website you did sign up for, or straightforward guessed by spammers using common name patterns. Spammers also buy lists of email addresses from data brokers. This does not mean you did anything wrong — it is common. Blocking, filtering, and reporting are your best defenses.