Guides and sections

Cyber Guide

Blocking an email domain

Level: Beginner

Blocking a domain stops every email from addresses that end the same way after the @ sign, such as everything from @example.com. These guides show how to do it in Outlook, Gmail and Yahoo Mail.

By Schottlerworks. Last checked: November 2026.

Words used in these guides

An email address has two halves. In [email protected], sam is the person and example.com is the domain. Blocking a domain stops mail from every address that ends in it.

A blocked senders list is a list in your mail settings. Mail from anything on it is moved out of your inbox. A filter or rule is a saved instruction that handles each new email for you when it matches something you set.

When blocking a domain helps

  • A company or service keeps emailing you from many different addresses at the same domain, such as news@, offers@ and deals@.
  • You signed up to something once and cannot get off the list.
  • A site that is not trustworthy keeps sending you the same kind of mail.

When it will not help

  • The sender changes domain every time. Scam emails often do, so you end up blocking a new domain each day.
  • The sender uses a big public domain such as gmail.com or outlook.com. Blocking it would also block every real person who uses it.
  • The email is a phishing attempt, which is a message pretending to be someone you trust to get your password or money. Report these instead of only blocking them. How to spot and report a phishing email explains how.
  • Your account belongs to a workplace or school. An administrator may control the junk settings.

The guides

How to block a domain in Outlook

Outlook on the web, new and classic Outlook for Windows, Outlook for Mac and the phone app.

How to block a domain in Gmail

Why the Block button covers one sender, how to filter a whole domain, and what the phone app can do.

How to block a domain in Yahoo Mail

The website and the phone apps. Yahoo says this needs Yahoo Mail Plus.

Other providers

There is no guide for iCloud Mail or the Apple Mail app, because none of Apple's help pages describe a way to stop a whole domain.

What Apple does document is blocking one sender. On iPhone, open a message, tap the sender's address, tap View Contact Card, then tap Block this Contact. On a Mac, Mail has a Blocked pane under Junk Mail settings, described as blocking specific people or groups. On iCloud.com you can set up rules under Settings and Rules to move mail from a sender into a folder. Apple's page does not say a rule can match a whole domain.

Other providers, such as Proton Mail or a mailbox from your internet provider, are not covered yet. Check the provider's own help centre, and look for a blocked senders list that accepts a domain.

Sources

Each guide lists the official help pages its steps came from. The Apple note above comes from these pages.