How to Block a Domain in Gmail

Gmail logo

You may already be preventing emails from certain senders from flooding your inbox. However, sometimes you may 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 will automatically delete those messages. So they end up straight in the trash and not in your inbox. Whole domains like “@example.com” can get the same treatment. There are two methods to do this, the first being slightly faster, but the second allows you to block multiple domains at once.

Method 1: Create a filter from an email

Go to Gmail, log in and select an email from the domain you want to block. Click on the three dots on the top right of the message and select “Filter Messages Like This”.

Filter such messages in the More menu

The Create Filter window opens. Go to the email address that fills in automatically and remove everything to the left of the @ (at) symbol. Select “Create Filter”.

Beginning of email addresses removed

On the next screen, tick the option for Delete It. Optionally, you can apply the filter to all matching conversations. You see a number of other emails in your inbox from this sender.

Then click on “Create filter”.

Delete it marked

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

Note: If instead you select the Block option in the three dots drop-down box, all messages will be sent from it Email-address litter. This does not send messages from the domain to spam, only that special Email-address.

Method 2: Create a filter from the settings

You can also set up a filter in your Gmail settings to delete email from a domain. Click the gear icon in the top right and select “Show All Settings”.

See All Settings in Gmail

Select the Filters and Blocked Addresses tab and select “Create new filter”.

Create a new filter on the Filters and blocked messages tab

The Create Filter box appears. In the From field, enter the @ symbol followed by the domain, e.g. E.g. “@domain.com”.

Domain entered in the From field

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

Then click on “Create filter”.

Two domains in the From field

Check the Delete option, optionally apply the filter to matching conversations in your inbox, and choose Create Filter.

Delete it marked

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

Deleting emails you receive from a specific domain does not necessarily “block” that domain like sending to spam does. But it gives you the control to remove those messages before they end up in your Gmail inbox.

For more information, see How to unsubscribe from emails in Gmail.

Leave a Reply

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