The fastest way to block spam on Gmail

Open the spam message in Gmail, click the three-dot menu in the top right, and select Block [sender's name]. Gmail will move that sender's future emails to your spam folder automatically. You can also report the message as spam at the same time, which helps Gmail's filters learn to catch similar messages from other people.

If you want to block someone without opening their email, hover over the message in your inbox list, click the three-dot menu that appears, and choose Block [sender's name]. The sender won't know they're blocked — their emails simply won't reach your inbox anymore.

Blocking works best for email addresses you recognize and want to stop hearing from. For unknown senders and mass marketing, Gmail's automatic filters and your own filter rules catch most of it before it reaches you. If spam is still getting through, the sections below show how to set up stronger filters and recognize what Gmail is already doing behind the scenes.

Key Takeaways

  • Click the three-dot menu on any email and select Block [sender's name] to send all future messages from that address to spam.
  • Gmail automatically filters most spam before it reaches your inbox, and you can report individual messages to improve its accuracy.
  • Create custom filters by going to Settings > Filters and Blocked Addresses to catch emails by subject line, sender domain, or keywords.
  • Unsubscribe links at the bottom of marketing emails remove you from legitimate mailing lists, though they do not work on true spam.
  • Never reply to or click links in unsolicited emails, as this confirms your address is active and can increase spam volume.

How Gmail's automatic spam filter works

Gmail filters roughly 99.9% of spam, phishing attempts, and malware before it reaches your inbox. The filter runs on every incoming message and looks for patterns — sender reputation, message content, links, attachments, and whether the email matches known spam campaigns. You do not have to turn this on or configure it; it is active by default on all Gmail accounts.

When Gmail thinks an email is spam, it goes to your Spam folder instead of your inbox. You can check your Spam folder to see what was caught — sometimes legitimate emails end up there by mistake. If you find a real message in Spam, click it, then click the three-dot menu and select Report not spam. This tells Gmail the sender is legitimate and helps the filter learn.

The automatic filter improves over time as you report spam and mark messages as spam yourself. Every time you click Report spam on a message, Gmail learns from that decision. If many Gmail users report the same sender, Gmail's filter catches their emails faster for everyone.

Creating custom filters to block specific senders or keywords

If certain types of emails keep reaching your inbox despite the automatic filter, you can create a custom filter to handle them. Go to Settings (the gear icon in the top right), then click See all settings. Select the Filters and Blocked Addresses tab, then click Create a new filter at the bottom.

In the filter window, you can search by sender address, subject line keywords, or words that appear in the email body. For example, you could filter all emails with "cryptocurrency" or "limited time offer" in the subject line. Once you set your search terms, click Create filter, then choose what Gmail should do with matching emails — send them to spam, delete them, or apply a label so you can review them later.

Custom filters are useful for blocking entire domains (like all emails from @spamcompany.com) or catching newsletters you no longer want. You can create as many filters as you need, and they work alongside Gmail's automatic spam detection rather than replacing it.

Unsubscribing from marketing emails

Legitimate marketing emails — from online stores, news services, or apps you signed up for — include an unsubscribe link at the very bottom. Click that link and you will be removed from the mailing list. This is different from blocking or reporting spam; unsubscribe tells the sender you no longer want their emails, and they honor that request.

Unsubscribe works only on emails from real companies that follow email marketing laws. True spam and phishing emails do not include working unsubscribe links. If you click an unsubscribe link and it does nothing, or if you get a confirmation email that never stops the messages, that sender is not following the rules — report those emails as spam instead.

Unsubscribing is faster than blocking if you receive occasional emails from a legitimate sender you simply do not want to hear from anymore. Blocking is better for unwanted personal emails or senders who ignore unsubscribe requests.

What to do if spam is still reaching your inbox

If spam continues to arrive despite Gmail's filters, check whether the emails are coming from slightly different addresses each time. Spammers sometimes change one letter or number in their address to get around blocks and filters. If you see a pattern — like emails from noreply-1@, noreply-2@, noreply-3@ — create a filter that catches the domain instead of individual addresses. In the filter window, use the sender field to search for just the domain part: @spamcompany.com.

You can also reduce spam by being careful where you share your email address. Do not post your address publicly online, and use a separate email account for online shopping or signing up for services if you want to keep your main inbox quieter. If you have already shared your address widely, spam may continue for months even after you block senders, because your address is on multiple spam lists.

If you receive phishing emails — messages pretending to be from your bank, PayPal, or Gmail itself — report them as phishing rather than just spam. Click the three-dot menu and select Report phishing. This alerts Gmail and helps protect other users from the same scam.

Managing blocked senders and unblocking if needed

To see everyone you have blocked, go to Settings, then Filters and Blocked Addresses, and scroll to the Blocked addresses section. Your blocked senders are listed there. If you want to unblock someone, click the X next to their name. Their emails will no longer go to spam automatically, though Gmail's general spam filter may still catch them if they look suspicious.

You might unblock someone if you blocked them by mistake, or if you blocked a sender years ago and now want to hear from them again. Unblocking does not restore old emails — messages that were sent while the block was active stay in your Spam folder or deleted, depending on Gmail's settings.

Why you should never reply to or click links in unsolicited emails

Replying to spam or clicking links in unsolicited emails tells the sender your address is active and monitored. This makes your email more valuable to spammers and can increase the volume of spam you receive. Even replying to say "stop sending me emails" confirms your address works and often leads to more spam, not less.

Phishing emails — which pretend to be from banks, payment services, or tech companies — often include links that steal your password or install malware. Never click a link in an unsolicited email asking you to verify your account, update payment information, or confirm your identity. Instead, go directly to the company's website by typing the address into your browser, or call their customer service number from their official website.

Frequently Asked Questions

Does blocking someone on Gmail prevent them from emailing me?

Blocking sends their emails to your spam folder automatically, so you will not see them in your inbox. However, they can still send emails — they just will not know the block is active. The sender does not receive a notification that they are blocked.

Can I block an entire domain instead of just one email address?

Yes, use a custom filter. Go to Settings > Filters and Blocked Addresses > Create a new filter. In the "From" field, type just the domain part: @company.com. Then set the filter to send matching emails to spam. This catches all emails from anyone at that domain.

What is the difference between blocking and reporting spam?

Blocking sends one sender's emails to spam. Reporting spam tells Gmail the message is spam, which helps Gmail's filter learn and catch similar emails from other senders. You can do both at once — Gmail offers to report when you block.

If I unsubscribe from a mailing list, will I stop receiving emails?

Yes, if the sender is a legitimate company following email laws. Unsubscribe links on real marketing emails remove you from the list within a few days. If emails continue after you unsubscribe, report them as spam — that sender is not following the rules.

Can I recover emails that went to spam by mistake?

Yes. Check your Spam folder, find the email, click it, then click the three-dot menu and select Report not spam. Gmail will move it back to your inbox and learn that similar emails from that sender are legitimate. You can also create a filter to prevent future emails from that sender from going to spam.