Protect new mailboxesFresh mailboxes burn fast on a dirty list

Verify every lead before the first send and keep bounces low from day one.

Verify 25 emails free →
Product Bulk verificationReal-time APISignup form widget Catch-all detectionRole and disposable flagsFree email checker
Solutions Cold email agenciesSales teams and SDRsDevelopers and SaaS InstantlySmartleadApollolemlistClayHubSpotMailchimpWoodpeckerReply.ioSaleshandyZapierGoogle SheetsMaken8n All integrations
Mailboxes Google Workspace mailboxesOutlook mailboxesNew cold domain checklist
Compare vs ZeroBouncevs NeverBouncevs Emailable Pricing comparedCredit expiry comparedAll comparisons
Resources GuidesBounce rate benchmarksHow many bounces burn a domain?MX records MX lookupDomain health reportEmail list cleanerAll MX Tools
Pricing
Home / Learn / What is an MX record?

What is an MX record?

An MX (mail exchange) record is a DNS entry that says which servers accept email for a domain, and in what order to try them.

Updated 2026-11-24

Illustration for "What is an MX record?"

You typed an address, hit send, and your mail server had to work out where acme.com keeps its mail. The answer comes from one small DNS entry: the MX record. If it's missing or wrong, the message bounces before any mailbox is even asked.

TL;DR

  • An MX record lists the mail servers for a domain, each with a priority. Lower numbers are tried first (RFC 5321).
  • No MX, or a "null MX", usually means the domain can't receive mail. We mark those addresses undeliverable: invalid_domain. That was 0.9% of the 779,784 addresses we checked between 17 Oct and 22 Nov 2026.
  • The MX host also tells you who runs the mailbox. In our data, 51.9% of Google Workspace domains were catch-all against 0.1% of Microsoft 365 domains, so the MX host predicts how a list will verify.

The short definition

When you send to [email protected], your mail server asks DNS for the MX records of acme.com. The answer is a list of host names, each with a number called the preference or priority. The standard is blunt about the order: "Lower numbers are more preferred than higher ones" (RFC 5321, section 5.1, checked 2026-11-22). Your server tries the lowest number first and falls back to the others only if that server can't be reached.

MX records are one of the oldest record types in DNS. They only route mail. They don't say who may send mail for the domain (that's SPF), and they don't say whether a given mailbox exists (that's what a mailbox check is for).

How to read an MX record

acme.com.  3600  IN  MX  10 mx1.acme-mail.example.
acme.com.  3600  IN  MX  20 mx2.acme-mail.example.
FieldExampleWhat it means
Nameacme.com.The domain after the @ sign
TTL3600How many seconds resolvers may cache the answer (3600 = 1 hour)
TypeMXMail exchange
Priority10, 20Lower is tried first; 10 before 20
Exchangemx1.acme-mail.example.The host name of the mail server

Two rules trip people up:

  • Equal priorities share the load. If several servers have the same number, RFC 5321 says the sender "MUST randomize them to spread the load". The actual value of the number doesn't matter, only the order. Priority 0, 1 and 10 all work the same if they're the only record.
  • The exchange must be a real host name. It can't be an IP address, and RFC 2181, section 10.3 says the value of an MX record "must not be an alias" (a CNAME). Some servers tolerate it anyway; don't rely on that.

What the big providers ask for, checked 2026-11-22:

ProviderMX valuePriority
Google Workspacesmtp.google.com (domains set up before 2023 may still use the older aspmx hosts, which Google says are still supported)1
Microsoft 365A host under mail.protection.outlook.com, copied from the admin center for your domain"the highest value available, typically 0", TTL 3600

Sources: Google Workspace admin help and Microsoft 365 admin docs.

RFC 5321: lower preference numbers are tried first, and servers that share a number split the load at random. The number itself only matters relative to the others.

How to look up an MX record

Any of these works:

# macOS / Linux
dig MX acme.com +short
10 mx1.acme-mail.example.
20 mx2.acme-mail.example.

# Windows
nslookup -type=mx acme.com

To check many domains at once, the free email authentication checker shows MX, SPF, DKIM and DMARC side by side for up to 25 domains. For a single address, the free email checker goes further and runs the mailbox check too.

When a domain has no MX record

Three situations look similar but mean different things:

What DNS returnsWhat the standard saysMail Exchange result
The domain doesn't existNowhere to deliverundeliverable: invalid_domain
A null MX: MX 0 .RFC 7505 (June 2015): the domain accepts no mail; receivers should reject with 556 and enhanced code 5.1.10undeliverable: invalid_domain
No MX, but an A or AAAA recordRFC 5321 treats the domain "as if it was associated with an implicit MX RR"undeliverable: invalid_domain (see below)
The lookup times out or failsTry again laterunknown: dns_error, credit refunded

The implicit-MX fallback is the one judgment call. Strictly, a sender may deliver to the domain's web server address when there's no MX. In practice, domains without MX records almost never run a mail server there, so we follow how the large verifiers behave and treat MX-less domains as invalid. If that fallback matters for your list (some old self-hosted setups rely on it), tell us through contact.

How common is this? In Mail Exchange's checks of 779,784 unique business addresses across 200,799 domains (17 Oct to 22 Nov 2026, mostly B2B contact lists), 6,854 addresses, or 0.9%, sat on a domain that doesn't receive mail. That's small next to the 6.7% where the domain was fine but the mailbox itself was rejected, but it's the cheapest bounce to prevent: one DNS lookup catches it. Typo domains such as gmial.com and companies that let their domain lapse are the usual causes (hard bounces explained).

What the MX host tells you about a list

The host name in the MX record usually names the mail provider. Hosts under Google's mail domains mean Gmail or Google Workspace; hosts under outlook.com or a Microsoft protection domain mean Microsoft 365. Other hosts are a mix: Zoho, Proton, self-hosted servers and security gateways that sit in front of another provider.

That matters because providers answer verification checks differently. Here is the catch-all share by mail host from the same dataset, counting domains where our catch-all test reached a verdict:

Mail host (from MX)DomainsShare catch-all
Google Workspace83,78951.9%
Other hosts54,07025.6%
Microsoft 36551,8530.1%
All189,71230.2%

Mail Exchange data, 17 Oct to 22 Nov 2026. The sample is mostly business contacts from B2B PR, media and marketing lists, not a random sample of all email, and results also depend on how each provider answers verification checks.

So a list heavy in Google Workspace companies will have far more "accepted, but can't be confirmed" results than a list of Microsoft 365 companies, which reject unknown recipients by default. Read more in is Google Workspace a catch-all? and is Microsoft 365 a catch-all?, or see Zoho Mail.

Mail Exchange checks of 779,784 business addresses, 17 Oct to 22 Nov 2026, domains where the catch-all test reached a verdict. Mostly B2B contact lists, not a random sample of all email.

MX records and email verification

The DNS check is step two of the six checks Mail Exchange runs, right after syntax. If the domain has no usable MX, we stop there: there's no server to ask. If it does, the MX host is the server we connect to for the SMTP mailbox check, and the backup MX is tried if the first one can't be reached.

Having an MX record only proves the domain can receive mail. It doesn't prove jane@ exists. That's why the next steps ask the mail server about the specific address, without sending a message (how to verify without sending), and then test a random address to detect catch-all domains.

Authentication is not verification. SPF, DKIM and DMARC describe how a domain sends mail. MX describes where it receives mail. None of them says whether a mailbox exists. Authenticate your sending domain (what is DMARC?) and verify your list.

Common MX mistakes

  • Old MX records left behind after a migration. Microsoft tells admins to remove MX records that point to the previous provider, or give them a lower priority (a higher number) than the Microsoft 365 record. Otherwise some mail keeps going to the old system.
  • An MX that points to a CNAME or an IP address. Not allowed by RFC 2181; some senders will fail.
  • A typo in the exchange name. DNS happily publishes a record that points at a host that doesn't exist. Every sender then gets a connection failure.
  • Null MX on a domain you send from. RFC 7505 warns that receivers may reject mail whose sender domain publishes a null MX (550 with 5.7.27).

If you buy or build lead lists, the MX check alone removes dead domains for free. Mail Exchange runs it on every address, and plans for the full check start at $49 a month for 10,000 verifications and daily checks on 10 sending domains (pricing).

Common questions

What does MX stand for?

Mail exchange. An MX record is a DNS record that names the server, or servers, that receive email for a domain, each with a priority number. Lower numbers are tried first.

What happens if a domain has no MX record?

The mail standard (RFC 5321) lets a sender fall back to the domain's A or AAAA record, but in practice most such domains don't run a mail server. Mail Exchange marks addresses on a domain with no MX, or with a null MX, as undeliverable with the reason invalid_domain.

Does an MX record prove an email address is valid?

No. An MX record proves the domain is set up to receive mail. It says nothing about whether a particular mailbox exists. That takes an SMTP mailbox check, which asks the mail server about the specific address without sending a message.

What is MX priority?

MX priority (the preference value) is the number in front of each mail server in the record. Senders try the lowest number first and move to higher numbers only if that server can't be reached. Servers with the same number share the load at random.

How do I check a domain's MX record?

Run dig MX example.com on macOS or Linux, or nslookup -type=mx example.com on Windows. The free Mail Exchange email authentication checker also shows a domain's MX, SPF, DKIM and DMARC records together, for up to 25 domains at once.

Start your free trial →