The fastest way to stop junk email depends on your email provider
Most email providers have a built-in block or spam filter that catches unwanted messages automatically. Gmail, Outlook, Yahoo Mail, and Apple Mail all let you mark messages as spam with one click, which trains the filter to catch similar messages in the future. You can also create rules that automatically delete or sort emails from specific senders or with certain words in the subject line.
The difference between marking as spam and creating a rule matters: marking spam teaches the filter to recognize that type of message across all your mail, while a rule handles only emails from addresses or domains you specify. For persistent senders, a rule is faster. For new spam patterns, marking as spam is more effective.
Key Takeaways
- Mark unwanted emails as spam in your provider's interface — this trains the filter and removes the message in one action.
- Create filters or rules to automatically delete or move emails from specific senders, domains, or with certain subject words.
- Unsubscribe from legitimate mailing lists using the unsubscribe link at the bottom of the email, which is different from blocking spam.
- Never reply to or click links in obvious spam, as this confirms your address is active and usually increases junk mail.
- Block specific senders in your contacts or settings to prevent their messages from reaching your inbox.
How to mark email as spam in Gmail
Open the email you want to block. Click the trash or delete icon at the top of the message, then select "Report spam" from the menu that appears. Gmail will move the message to your Spam folder and learn to filter similar messages automatically.
If you want to block all future emails from that sender without reporting spam, open the message and click the three-dot menu icon in the top right. Select "Block [sender name]" from the dropdown. Gmail will send their messages directly to spam from that point forward.
How to mark email as spam in Outlook and Outlook.com
Select the email you want to block from your inbox. Click "Junk" in the toolbar at the top, then choose "Block Sender" or "Report as Junk". Outlook will move the message to your Junk folder and add that sender to your blocked list.
To create a rule that handles multiple senders at once, go to Settings (the gear icon in the top right), then select "View all Outlook settings". Click "Mail" and then "Rules". Click "Add new rule" and set conditions like "From contains [word]" or "Subject contains [word]", then choose "Move to folder" and select Junk or Deleted Items.
How to block email in Yahoo Mail and Apple Mail
In Yahoo Mail, open the unwanted email and click the trash icon. A menu will appear asking if you want to block the sender — select yes. Yahoo will move the message to spam and block future emails from that address.
In Apple Mail on Mac or iPhone, select the email and click the flag or menu icon. Choose "Mark as Junk" or "Block Sender" depending on your device. On iPhone, swipe left on the email and tap the trash icon, then tap "Block Sender" from the options that appear.
Creating filters to sort or delete junk automatically
Filters work differently than blocking a single sender — they catch entire categories of mail based on words, domains, or patterns. In Gmail, click the search box at the top and then click the filter icon (three horizontal lines). Type the sender address, subject words, or domain you want to filter. Click "Create filter" and choose "Delete it", "Skip the inbox", or "explore the label" to sort it into a folder.
In Outlook, go to Settings > Mail > Rules > Add new rule. Set the condition (for example, "From contains @example.com" to block an entire domain) and the action (Delete, Move to Junk, or Move to a specific folder). Click Save. In Yahoo Mail, click Settings > Filters and create a new filter with the same approach.
A common use is blocking entire domains — for instance, if you receive spam from many addresses at the same company, create a filter where "From contains @spammydomain.com" and set it to delete automatically. This catches new addresses from that domain without needing to block each one individually.
The difference between spam, blocking, and unsubscribing
Spam is unsolicited bulk email, usually from unknown senders. Blocking prevents a specific sender from reaching you. Unsubscribing removes you from a mailing list run by a legitimate business or organization.
Legitimate marketing emails, newsletters, and notifications from services you signed up for should be unsubscribed from, not blocked. Look for an "Unsubscribe" link at the very bottom of the email — clicking it removes your address from that sender's list. This is faster than blocking because the sender stops sending to you, rather than you filtering out their messages.
If an email claims to have an unsubscribe link but doesn't, or if unsubscribing doesn't work after a week, then mark it as spam or block the sender. Legitimate senders honor unsubscribe requests within a few days.
What not to do when you receive junk email
Do not reply to spam, even to say "stop sending me emails". A reply confirms your address is active and monitored, which makes you a more valuable target. Spammers often sell lists of active addresses to other spammers.
Do not click links or read attachments from unknown senders, even out of curiosity. Clicking a link in spam can trigger malware downloads or confirm your address is active. Attachments in spam frequently contain viruses or ransomware.
Do not call phone numbers listed in spam emails. Scammers use fake urgency ("Your account is locked") to trick you into calling, then use the call to steal information or money. If you think an email is from your bank or a service you use, close the email and call the official number from your statement or the company's website instead.
Frequently Asked Questions
Can I block an entire domain or email address pattern?
Yes, using filters. In Gmail, create a filter where "From contains @domain.com" and set it to delete or skip the inbox. In Outlook, use Rules with the same approach. This catches all emails from that domain without blocking each sender individually.
What if I block someone by mistake?
You can unblock them. In Gmail, go to Settings > Filters and Blocked Addresses and click "Unblock" next to the sender. In Outlook, go to Settings > Mail > Junk email and remove them from the Blocked Senders list. In Yahoo Mail, go to Settings > Blocked Addresses.
Why do I still get spam after marking it as spam?
Spammers often use new email addresses or domains, so the filter cannot recognize them as the same sender. If you receive spam from many different addresses, create a filter based on subject words or domain patterns instead of individual senders. If spam is overwhelming, check your privacy settings to make sure your address is not publicly listed.
Is it safe to unsubscribe from emails I don't recognize?
Unsubscribing from legitimate marketing emails is safe. However, do not unsubscribe from obvious spam — clicking the unsubscribe link confirms your address is active. If an email looks like a scam or phishing attempt, mark it as spam instead of unsubscribing.
Can I block emails by subject line or content?
Yes, using filters. In Gmail, create a filter where "Subject contains [word]" or "Has the words [phrase]" and set the action to delete or move to a folder. In Outlook, use Rules with similar conditions. This is useful for blocking emails about specific topics without blocking the sender entirely.