How to Block a Domain in Gmail

You may already be blocking emails from certain senders from flooding your inbox. But sometimes you will receive multiple emails with different addresses, but all from the same domain. You can block this entire domain in Gmail. Here’s how.

To block an email address in Gmail, you can create a filter that automatically deletes those messages. So they go straight to the Trash folder rather than staying in your inbox. Entire domains, such as “@example.com”, may receive the same treatment. There are two methods to do this, the first being slightly faster but the second allowing you to block multiple domains at once.

Method 1: Create a filter from an email

Head toward Gmail, sign in and select an email address from the domain you want to block. Click on the three dots at the top right of the message and select “Filter messages like this”.

Filter similar posts in the More menu

You will see the Create Filter window open. Go to the auto-filling email address and delete everything to the left of the @ (At) symbol. Select “Create filter”.

Start of e-mail addresses removed

On the next screen, check the option to delete it. Optionally, you can choose to apply the filter to all matching conversations. You will see a number of other emails in your inbox from this sender.

Then click on “Create a filter”.

Delete He marked

In the future, emails from this domain will be deleted rather than arriving in your inbox.

To note: Choosing the Block option from the three-dot drop-down list instead sends all messages of that e-mail address to spam. This does not send domain messages to spam, only that particular e-mail address.

Method 2: Create a filter from parameters

You can also set up a filter from your Gmail settings to remove emails from a domain. Click the gear icon in the top right and select “See all settings”.

See all settings in Gmail

Select the Filters and blocked addresses tab and choose “Create a new filter”.

Create a new filter in the Filter tab and blocked messages

You will see the Create Filter box appear. In the From field, enter the @ symbol followed by the domain, for example “@domain.com”.

Domain entered in the From field

The advantage of using this method is that you can enter more than one domain. Simply separate them with “OR” as in “@domain1.com OR @domain2.com”.

Then click on “Create a filter”.

Two domains in the From field

Check the Delete option, optionally apply the filter to the corresponding conversations in your inbox and select “Create filter”.

Delete He marked

Just like the first method explained above, all new emails from this domain will be automatically deleted when they arrive.

Deleting emails you receive from a particular domain does not necessarily “block” that domain, but sending it to spam does. But it allows you to delete those messages before they arrive in your Gmail inbox.

To learn more, see how unsubscribe from emails in Gmail.