The fastest way to clear junk mail is to use your email provider's built-in filters and block senders you don't recognize
Most junk mail never needs manual work. Gmail, Outlook, Yahoo Mail, and Apple Mail all have automatic spam detection that catches the bulk of unsolicited messages before they reach your inbox. The mail that does slip through can be moved to spam in one click, and after you mark a few messages from the same sender, the system learns to filter them automatically.
For mail that keeps coming back from senders you recognize but don't want to hear from — newsletters you signed up for years ago, promotional emails from retailers, notifications from apps — you have two options: unsubscribe or create a filter rule. Unsubscribe works if the sender is legitimate and includes an unsubscribe link at the bottom of the email. A filter rule works for anything else, and lets you automatically send future messages to spam, delete them, or move them to a folder you check less often.
The difference between spam and junk is important. Spam is unsolicited mail from unknown senders, usually trying to scam you or sell you something fraudulent. Junk is legitimate mail you no longer want — it's annoying but not dangerous. Your email provider handles spam automatically. Junk requires you to take action, because the sender has a real relationship with you or your email address.
Key Takeaways
- Mark unwanted mail as spam once, and your email provider will automatically filter future messages from that sender.
- Unsubscribe links at the bottom of legitimate marketing emails are the fastest way to stop receiving them permanently.
- Create a filter rule to automatically delete, archive, or sort mail from senders you recognize but don't want to read.
- Never click links or reply to messages from unknown senders, even to unsubscribe — that confirms your email address is active and will bring more spam.
- Avoid posting your email address on public websites, and use a separate email address for online shopping and signups to keep your main inbox cleaner.
How to mark mail as spam in Gmail, Outlook, Yahoo, and Apple Mail
Open the message and look for a trash icon, delete button, or three-dot menu. In Gmail, click the trash icon at the top of the email. In Outlook, click the trash icon or the "Junk" button in the toolbar. In Yahoo Mail, click the trash icon. In Apple Mail, click the trash icon in the toolbar. After you mark a message as spam or junk, the system moves it to your spam folder and learns to filter future messages from that sender.
The first time you mark mail from a sender as spam, it's a one-time action. After you've marked two or three messages from the same sender as spam, most providers will automatically send all future mail from them to spam without asking. This works best for bulk senders — newsletters, promotional emails, notifications from websites you've visited. It works less reliably for mail from free email addresses or spoofed addresses, because spammers often change their sender address to avoid filters.
If you accidentally mark something as spam, you can recover it. In Gmail, go to the All Mail folder, find the message, and click "Not spam" to move it back to your inbox. In Outlook, go to the Junk folder, right-click the message, and select "Not junk". In Yahoo Mail, open the Spam folder, select the message, and click "Not spam". In Apple Mail, select the message in the Junk folder and click "Not junk" in the toolbar. Your provider will then learn that future mail from that sender should go to your inbox.
How to unsubscribe from newsletters and marketing emails
Legitimate marketing emails — from retailers, news sites, apps, and services you've signed up for — must include an unsubscribe link by law in most countries. Look at the very bottom of the email. You'll see a small link that says "Unsubscribe", "Manage preferences", "Update subscription settings", or something similar. Click it.
Unsubscribe links take you to a webpage where you can confirm you want to stop receiving mail from that sender. Some let you choose which types of emails to receive instead of unsubscribing completely — for example, you might keep order confirmations but turn off promotional emails. After you unsubscribe, it usually takes three to five business days for the sender to remove you from their list, though some senders process it when ready.
Never reply to an email asking to be removed, and never click a link in the email that says "click here to unsubscribe" unless it's from a sender you trust. Scammers use fake unsubscribe links to confirm your email address is active, which leads to more spam. Legitimate unsubscribe links take you to a website where you confirm your request. If you're unsure whether a sender is real, mark the email as spam instead of unsubscribing.
How to create filter rules to automatically sort or delete mail
Filter rules let you automatically move, delete, or label mail based on the sender, subject line, or keywords. In Gmail, open a message from the sender you want to filter. Click the three-dot menu and select "Filter messages like this". A dialog box opens where you can choose to skip the inbox (send to archive), mark as spam, delete automatically, or explore a label. Click "Create filter" to save the rule.
In Outlook, open a message from the sender. Click the three-dot menu, select "Junk", then "Block". Outlook will automatically send all future mail from that sender to your Junk folder. If you want more control — for example, to move mail to a specific folder instead of deleting it — right-click the message, select "Rules", then "Create rule". You can then choose to move messages to a folder, mark them as read, or delete them.
In Yahoo Mail, open the message. Click the three-dot menu and select "Create filter". You can filter by sender, subject line, or keywords in the body. Choose whether to delete, move to a folder, or mark as spam. In Apple Mail, select the message, go to the Mail menu, and select "Create rule". You can filter by sender, subject, or content, and choose to move the message to a folder, mark it as read, or delete it.
Filter rules are useful for mail you want to keep but not see in your inbox — for example, notifications from apps, receipts from online shopping, or newsletters you want to read but not when ready. Create a folder called "Receipts" or "Newsletters" and set a rule to move those messages there automatically. You can then check that folder once a week instead of having those messages clutter your inbox.
Why your email address gets on junk mail lists in the first place
Your email address ends up on junk mail lists in three main ways. First, you sign up for something — a website account, a newsletter, a free trial, a contest — and the company sells or shares your email address with other businesses. Second, your email address is posted publicly somewhere online — a forum, a comment section, a business website — and automated tools harvest it. Third, a spammer guesses your address by trying common name patterns at your email provider.
You can't prevent all of this, but you can reduce it. Use a separate email address for online shopping, signups, and contests. Keep your main email address private — don't post it on social media, forums, or public websites. When you sign up for something, look for a checkbox that says "I agree to receive marketing emails" and uncheck it if you don't want promotional mail. Some websites have a privacy setting that lets you hide your email from other users.
If you've been using the same email address for years, it's probably on dozens of junk mail lists already. Unsubscribing from each one takes time, but it works. Mark obvious spam as spam, unsubscribe from legitimate marketing emails, and create filter rules for the rest. After a few weeks, your inbox will be noticeably quieter.
What to do if spam suddenly increases or changes
If you suddenly start receiving a lot more spam than usual, or if the spam changes character — for example, you start getting messages about topics you've never searched for — your email address may have been exposed in a data breach. Check Have I Been Pwned (haveibeenpwned.com) by entering your email address. The site will tell you whether your address appeared in any known breaches.
If your address was in a breach, change your password when ready, especially if you use the same password on other websites. Enable two-factor authentication on your email account if your provider offers it. This adds a second layer of security so that even if someone has your password, they can't access your account without a code from your phone.
If the spam is coming from a specific topic — for example, lots of messages about weight loss or cryptocurrency — someone may have signed your email address up for mailing lists as a prank or to harass you. Unsubscribe from as many as you can, mark the rest as spam, and create filter rules to catch similar messages. If the harassment continues or escalates, contact your email provider's support team.
Frequently Asked Questions
Is it safe to click unsubscribe links?
Unsubscribe links from legitimate companies are safe. Look for links at the bottom of the email that take you to a website where you confirm your request. Never click a link in the middle of an email that says "click here to unsubscribe" — that's usually a scam. If you're unsure whether a sender is real, mark the email as spam instead.
Will marking mail as spam hurt the sender?
No. Marking mail as spam only affects your own inbox — it tells your email provider to filter future messages from that sender. The sender won't know you marked them as spam, and it won't affect their ability to send mail to other people. It's a private action that only you see.
Can I recover mail I accidentally deleted?
Yes. Deleted mail goes to your Trash or Deleted Items folder first, where it usually stays for 30 days before being permanently removed. Open that folder, find the message, and move it back to your inbox. After 30 days, the message is gone permanently, so recover it before then if you need it.
What's the difference between archive and delete?
Archive removes mail from your inbox but keeps it in a searchable folder (usually called "All Mail" in Gmail or "Archive" in other providers). Delete moves mail to Trash, where it stays for 30 days before being permanently removed. Archive is better if you might need the mail later. Delete is better if you never want to see it again.
Do filter rules work retroactively on old mail?
No. Filter rules only explore to new mail arriving after you create the rule. They don't affect messages already in your inbox. If you want to clean up old mail from a sender, select all their messages manually and move them to a folder or delete them.