The fastest way to block junk mail depends on your email provider
Most email providers — Gmail, Outlook, Yahoo — have a built-in block feature that takes 10 seconds to use. You open the junk message, click a menu button (usually three dots), and select "Block sender" or "Block this address". The sender's future messages go straight to spam automatically. This works for individual addresses, not for entire companies sending from multiple addresses, but it stops the most common problem: one person or bot repeatedly mailing you.
If you get junk from many addresses at once — like a company that rotates sender addresses to bypass filters — blocking one address at a time is useless. In that case, you need filters, which are rules you set once that catch mail matching a pattern. A filter might say "if the subject line contains 'limited time offer', send it to spam" or "if the sender's address ends with @badcompany.com, delete it". Filters catch future mail automatically without you doing anything each time.
The third option is unsubscribing, which works only if the sender is a legitimate business required by law to include an unsubscribe link. Scammers and spammers do not include real unsubscribe links, so unsubscribing from them just confirms your address is active and gets you more mail. Only unsubscribe from messages that look like they came from a real company — newsletters, promotional emails, account notifications you signed up for.
Key Takeaways
- Blocking a sender takes seconds and stops that one address from reaching your inbox, but does not work if the sender uses many different addresses.
- Filters catch mail by pattern — subject line, sender domain, keywords — and work automatically on all future mail matching that pattern.
- Unsubscribing only works for legitimate businesses and should never be used on obvious scams, because it confirms your address is real.
- Gmail's spam filter learns from what you mark as spam, so reporting junk mail trains the system to catch similar messages for you.
- Never reply to junk mail, click links in it, or confirm your address — these actions tell spammers your inbox is active and worth targeting.
How to block a single sender in Gmail, Outlook, and Yahoo
In Gmail, open the junk message. Click the three-dot menu icon in the top right of the email. Select "Block [sender's name]". Gmail moves that sender's future messages to spam automatically. You can also report the message as spam at the same time by clicking "Report spam" instead — this helps Gmail's filter learn to catch similar messages from other senders.
In Outlook (including Hotmail), open the junk message. Click the three-dot menu at the top. Select "Block" or "Junk" depending on your version. Choose "Block sender" from the dropdown. Outlook adds the address to your blocked list and sends future mail to the junk folder. You can also click "Report" to send the message to Microsoft's spam team, which helps improve the filter for all Outlook users.
In Yahoo Mail, open the junk message. Click the three-dot menu. Select "Block sender". Yahoo moves that address to spam and blocks future messages. If the message looks like a phishing attempt or scam, click "Report as phishing" or "Report as spam" instead — Yahoo uses these reports to improve its filters.
After you block a sender, check your spam folder occasionally for the first week to make sure legitimate mail is not being caught by mistake. If you see a message from a sender you actually want to hear from, click it and select "Not spam" or "Move to inbox" — this trains your email system to treat that sender differently going forward.
Creating filters to catch patterns of junk mail
Filters work by matching rules you set. If you get junk mail from many addresses but they all have something in common — the same company name in the subject line, the same domain, the same keywords — a filter can catch all of it at once. Filters are more powerful than blocking because they work on patterns, not just individual addresses.
In Gmail, click the search box at the top. Click the downward arrow to expand search options. Enter the pattern you want to filter — for example, type the sender's domain in the "From" field, or a keyword in the "Subject" field, or a phrase that appears in the body. Click "Create filter with this search". Check the box next to "Skip the inbox (Archive it)" or "Delete it" or "explore the label" depending on what you want to happen. Click "Create filter". From now on, any mail matching that pattern goes to the folder you chose automatically.
In Outlook, go to Settings (the gear icon). Click "View all Outlook settings". Go to "Mail" then "Rules". Click "Add new rule". Give the rule a name. Under "When the message arrives", set your condition — for example, "from [domain]" or "subject contains [word]". Under "Do the following", choose "Move to folder" and select Junk or Deleted Items. Click "Save". Outlook applies the rule to all future mail matching that condition.
In Yahoo Mail, click the settings icon (gear). Select "More Settings". Go to "Filters". Click "Add new filter". Enter a name for the filter. Under "Filter criteria", choose what to match — sender, subject, or body text. Enter the pattern. Under "Then", choose what to do — move to spam, delete, or explore a label. Click "Save". Yahoo applies the filter to new mail going forward.
Unsubscribing from legitimate mailing lists
Legitimate businesses — retailers, newsletters, services you signed up for — are required by law to include an unsubscribe link at the bottom of their emails. If you see an unsubscribe link and the email looks like it came from a real company, clicking it removes you from that mailing list. This is different from spam, which is mail you never signed up for and that comes from scammers or bots.
Before you unsubscribe, check that the email actually came from the company it claims to be from. Scammers often fake the sender's name or use a lookalike domain. Look at the sender's actual email address — if it says "noreply@amazon.com" it is probably real, but if it says "noreply@amaz0n-find.com" or "amazon@randomdomain.net" it is fake. Do not unsubscribe from fake emails, because clicking any link in them — including unsubscribe — tells the scammer your address is active.
If you unsubscribe and keep getting mail from the same sender, the company either ignored your request or you are getting mail from a different sender using a similar name. Block the address or create a filter instead. If the company is a known retailer or service and keeps mailing you after you unsubscribe, you can report them to the Federal Trade Commission at reportfraud.ftc.gov, though this does not stop the mail when ready.
Why you should never reply to or click links in junk mail
Replying to junk mail, clicking links in it, or confirming your address in any way tells spammers and scammers that your inbox is active and worth targeting. Even replying with "stop sending me mail" or "unsubscribe" confirms the address is real. Spammers sell lists of active addresses to other spammers, so one reply can lead to more junk mail from many senders.
Clicking links in junk mail is especially dangerous because the link might lead to a fake website designed to steal your password or credit card information, or it might read malware onto your computer. If you are not sure whether an email is real, go directly to the company's website by typing the address into your browser — do not click any link in the email. For example, if you get an email claiming to be from your bank, go to your bank's website directly rather than clicking a link in the email.
The safest approach is to delete or mark as spam without opening any attachments or clicking any links. Your email system learns from what you mark as spam, so reporting junk mail trains the filter to catch similar messages in the future.
Preventing junk mail before it starts
The best way to reduce junk mail is to be careful about where you give out your email address. When you sign up for a website, newsletter, or service, read the privacy policy to see whether the company sells your address to other companies. Some sites have a checkbox that says "I agree to receive promotional emails from partners" — uncheck this box if you do not want to receive mail from other companies.
If you sign up for many websites or services, consider using a separate email address for shopping, signups, and newsletters. This keeps your main email address cleaner and makes it easier to abandon the secondary address if it gets too much junk mail. Some email providers let you create aliases or temporary addresses that forward to your main inbox, which gives you the same benefit without managing multiple accounts.
Never post your email address publicly on social media, forums, or websites unless necessary. Bots scan the internet for email addresses and add them to spam lists. If you must post your address, write it as "name at domain dot com" instead of "name@domain.com" so bots cannot read it automatically.
What to do if your email address is on a spam list
If you suddenly get a lot of junk mail after years of little or none, your address may have been sold to spammers or exposed in a data breach. This is not your fault, but you can slow it down. Mark all the junk mail as spam — your email system learns from this and catches similar messages. Create filters for common patterns you notice. Block individual senders if the same address mails you repeatedly.
Do not change your email address unless the junk mail becomes overwhelming. Changing addresses is inconvenient and does not may provide the new address will stay clean — it just delays the problem. Most junk mail eventually slows down as spammers move on to fresher lists.
If you want to check whether your address has been exposed in a known data breach, you can search it at haveibeenpwned.com, which is a free service that tracks public breaches. This does not stop junk mail, but it tells you whether your address was compromised and might help you decide whether to change passwords on important accounts.
Frequently Asked Questions
Does marking mail as spam actually help?
Yes. When you mark a message as spam, your email provider's filter learns from it. Gmail, Outlook, and Yahoo all use machine learning to improve their spam detection based on what users report. Reporting junk mail helps protect not just your inbox but other users' inboxes too, because the system learns to catch similar messages from other senders.
Can I unsubscribe from mail I never signed up for?
Only if the email includes a real unsubscribe link and looks like it came from a legitimate company. If the email looks like a scam or phishing attempt, do not click the unsubscribe link — it confirms your address is active. Block the sender or create a filter instead. Real companies are required by law to include unsubscribe links; scammers usually do not.
What if I block someone and then need to hear from them again?
You can unblock a sender in Gmail by going to Settings, then Filters and Blocked Addresses, finding the blocked address, and clicking "Unblock". In Outlook, go to Settings, then "Junk email", find the address in your blocked senders list, and click the X to remove it. In Yahoo, go to Settings, then "Blocked addresses", and click "Unblock" next to the sender. After you unblock, their mail goes to your inbox normally again.
Will blocking a sender stop them from seeing that I opened their email?
Blocking happens after you receive the email, so if you already opened it, the sender may have already seen that. Some emails contain tracking pixels that notify the sender when you open the message. To prevent this in the future, do not open junk mail before blocking it. Most email providers let you disable image loading by default, which prevents tracking pixels from working — check your email settings for "Images" or "Display images" options.
Can I filter mail by multiple conditions at once?
Yes. In Gmail, you can add multiple conditions when you create a filter — for example, "from this domain AND subject contains this word". In Outlook and Yahoo, the process is similar: you set multiple criteria and the filter applies when all of them match. This is useful for catching mail that is specifically from one company using certain keywords, rather than catching all mail from that company or all mail with that keyword.