How to Block All Emails from a Specific Domain in Gmail

Spam filters are excellent at catching generic junk mail, but what if a persistent marketing company, an annoying political campaign, or a relentless recruiter keeps emailing you from different addresses? If they constantly switch between [email protected] and [email protected], blocking individual email addresses won’t solve the problem. Instead, you need to block their entire domain.

Step 1: Create a Custom Filter

Gmail doesn’t have a simple “Block Domain” button, but you can achieve the exact same result by creating an automated filter that sends the domain straight to the trash.

  1. Open Gmail in your web browser.
  2. Click the Show search options icon (it looks like three horizontal lines with sliders) located on the right side of the main search bar.
  3. In the From field, type an asterisk followed by the “@” symbol and the domain name you want to block. For example: *@annoyingcompany.com
  4. Leave all other fields blank.
  5. Click the Create filter button at the bottom of the search box.

Step 2: Choose the Action

Now that you have isolated the domain, you must tell Gmail what to do with those emails.

  1. You will see a list of checkboxes representing different actions.
  2. To completely block the domain, check the box next to Delete it. (Alternatively, if you just want to hide them but keep a record, you can check “Skip the Inbox” and “Apply the label: Junk”).
  3. To ensure you also delete any emails they have already sent you, check the box at the very bottom that says Also apply filter to matching conversations.
  4. Click the blue Create filter button.

Gmail will immediately purge the existing emails. Going forward, any message sent from any address ending in that specific domain will be silently deleted before it ever reaches your inbox.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.

Receive our best articles and tips delivered straight to your inbox.