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.ioSaleshandyZapierMaken8n 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 / MX records / Cloudflare Email Routing

Cloudflare Email Routing MX records

Email Routing forwards mail for your domain to an inbox you already have. It needs three Cloudflare MX records, one SPF include and a DKIM key, and it does not share a domain with any other mail server.

Updated 2026-11-24

You want [email protected] to land in your existing Gmail or Outlook inbox without paying for a mailbox. Cloudflare Email Routing does that, and the whole setup is DNS: three MX records that point at Cloudflare, an SPF record and a DKIM key. Here are the exact values, what Cloudflare fills in for you, and the one rule that trips most people up: Email Routing replaces your mail server, it can't run next to one.

TL;DR

  • MX: three hosts under mx.cloudflare.net, usually route1, route2 and route3. Cloudflare assigns the priorities automatically, so they differ from zone to zone.
  • SPF: v=spf1 include:_spf.mx.cloudflare.net ~all on the root domain. DKIM: a TXT key at cf2024-1._domainkey.
  • No other MX records allowed. Cloudflare's docs: "Cannot use Email Routing with external mail servers."
  • Limits: 200 routing rules per domain, 200 destination addresses per account, 25 MiB per inbound message.

The Cloudflare Email Routing MX records

Cloudflare's DNS records reference lists three MX records on the root domain, and gives the priority as "Assigned automatically by Cloudflare" (Email Routing DNS records, checked 2026-11-24).

TypeNameValuePriority
MX@route1.mx.cloudflare.netset by Cloudflare
MX@route2.mx.cloudflare.netset by Cloudflare
MX@route3.mx.cloudflare.netset by Cloudflare
TXT@v=spf1 include:_spf.mx.cloudflare.net ~all
TXTcf2024-1._domainkeyDKIM public key provided by Cloudflare
; zone-file view of a live Email Routing domain (nim-lang.org, 2026-11-24)
nim-lang.org.  IN  MX  21 route3.mx.cloudflare.net.
nim-lang.org.  IN  MX  23 route2.mx.cloudflare.net.
nim-lang.org.  IN  MX  70 route1.mx.cloudflare.net.
nim-lang.org.  IN  TXT "v=spf1 include:_spf.mx.cloudflare.net include:spf.ahasend.com ~all"

Two naming schemes. Not every zone gets route1 to route3. Cloudflare's postmaster page uses amir, linda and isaac under mx.cloudflare.net as its example, with priorities 13, 86 and 24 (Email Routing postmaster, checked 2026-11-24). Both kinds are live: on 24 November 2026 nim-lang.org, qwik.dev, neovim.io and zod.dev published the route hosts, while nuxt.com and pnpm.io published amir, isaac and linda. Use whatever your own dashboard shows, and don't copy another domain's hosts or numbers.

Odd priorities are normal. nim-lang.org has 21, 23 and 70; neovim.io has 1, 3 and 40. All three hosts belong to Cloudflare, so the order only decides which one a sender tries first (how MX priority works).

Email Routing receives the message on Cloudflare's MX hosts, matches it to a rule and forwards it to a verified destination. It does not run alongside another mail server on the same domain.

How to set up Cloudflare Email Routing

You do this in the Cloudflare dashboard for a domain (zone) in your account.

  1. Remove other MX records. Delete MX records that point at any other mail service. Cloudflare refuses to onboard while they exist (error 2008, "Non-Cloudflare MX records exist").
  2. Enable Email Routing. Open Email Routing for the domain and let Cloudflare add its MX, SPF and DKIM records. Keep the values it writes.
  3. Add and verify a destination address. Add the inbox mail should go to and complete Cloudflare's verification for it. Rules that point at an unverified address stay disabled.
  4. Create routing rules. Map each custom address, such as hello@, to a verified destination or a Worker. Optionally add a catch-all rule.
  5. Check the result. Look up the domain with the Mail Exchange MX lookup, then send a test message from an outside account.

Cloudflare's address docs are blunt about step 3: "Before you can create a routing rule, you must add and verify at least one destination address" (Email Routing addresses, checked 2026-11-24). Subaddressing works too: mail to hello+invoices@ matches the hello@ rule unless you create a rule for the exact sub-address.

SPF, DKIM and DMARC with Email Routing

SPF. The record on your root domain is v=spf1 include:_spf.mx.cloudflare.net ~all. If you also send through another service, merge it into one record; Cloudflare's own example is v=spf1 include:_spf.mx.cloudflare.net include:_spf.google.com ~all, and it reminds you that SPF is "limited to 10 DNS lookups total". On 24 November 2026 the include resolved to ip4:104.30.0.0/19 and ip6:2405:8100:c000::/38, the same ranges the postmaster page lists.

DKIM. Email Routing publishes a key at cf2024-1._domainkey.yourdomain.com. When it forwards a message it adds two signatures, one for email.cloudflare.net and one for your domain, and it rewrites the envelope sender (SRS) so SPF can pass at the destination. The visible From header is left alone.

DMARC. Cloudflare adds a _dmarc record only if your domain doesn't have one yet. Inbound, Email Routing enforces the sender's policy: "Incoming emails are rejected if they fail authentication according to that domain's DMARC policy." It also warns that "restrictive DMARC policies might make forwarded emails fail to be delivered" and adds ARC headers to help (postmaster page, checked 2026-11-24). Build or check your own policy with the DMARC record generator (what DMARC does).

Sending. Email Routing is for incoming mail. Cloudflare's separate Email Sending product puts its records on a cf-bounce subdomain (MX, SPF and a cf-bounce._domainkey key), so the two don't collide.

How to check your setup

Run the domain through our MX lookup. You should see exactly three hosts under mx.cloudflare.net and nothing else. From a terminal:

dig +short MX yourdomain.com
dig +short TXT yourdomain.com
dig +short TXT cf2024-1._domainkey.yourdomain.com

Check SPF, DKIM and DMARC together with the email authentication checker. If a forwarded test lands in spam, paste its headers into the header analyzer to see which check failed and where.

Building a list of addresses on Cloudflare-routed domains? Correct MX records tell you a domain can receive mail. They say nothing about whether each address on your list exists. Before a campaign, verify the list with Mail Exchange: the free trial covers 25 checks, plans start at $49 a month for 10,000 verifications and daily checks on 10 sending domains, and unknown results are refunded.

Common Cloudflare Email Routing mistakes

  • Leaving the old provider's MX records. Mixing Cloudflare hosts with Google or Microsoft hosts sends part of your mail to each. Cloudflare blocks this at onboarding, but records added later by hand can recreate it (more MX mistakes).
  • Two SPF records. A second v=spf1 TXT record breaks SPF for both. Cloudflare: "Ensure only one SPF record exists." Use the SPF record generator to merge them.
  • An unverified destination. The rule exists but stays disabled until the destination address is verified.
  • Expecting a mailbox. Email Routing forwards incoming mail to destination addresses or Workers. It isn't a mailbox you log in to, and replying from the custom address needs a sending service.
  • Large attachments. Inbound messages over 25 MiB are rejected (Email Routing limits, checked 2026-11-24).

Catch-all rules and verification. A catch-all rule "forwards every email sent to your domain, including misspelled local parts, to a single destination". That makes the domain accept every address, so a verifier can't tell real addresses from typos and returns catch-all (risky) instead of deliverable (what a catch-all means for your list). The rule can also Drop mail instead of forwarding it.

Moving to or from Cloudflare Email Routing

Moving in from a paid mailbox: export or keep the old mailboxes first, then remove the old MX records and enable Email Routing. Mail in flight may still reach the old host until resolvers drop the cached records, so keep it running for a day or two (how to change MX records safely).

Moving out to a real mailbox provider such as Google Workspace or Microsoft 365: disable Email Routing, delete the three Cloudflare MX records and add the new provider's (Google Workspace, Microsoft 365). Remove include:_spf.mx.cloudflare.net from SPF once nothing forwards through Cloudflare any more.

Common questions

What are the MX records for Cloudflare Email Routing?

Three hosts under mx.cloudflare.net, usually route1.mx.cloudflare.net, route2.mx.cloudflare.net and route3.mx.cloudflare.net. Some zones get named hosts such as amir, linda and isaac instead. Cloudflare sets the priorities automatically, so use exactly what your dashboard shows.

Why are my Cloudflare MX priorities random numbers?

Cloudflare assigns them automatically, so every zone gets different numbers, for example 21, 23 and 70 on one live domain and 1, 3 and 40 on another. All three hosts are Cloudflare servers, so the values only decide which one senders try first.

Can I use Cloudflare Email Routing with Google Workspace or Microsoft 365 on the same domain?

Not on the same domain. Email Routing needs Cloudflare MX records only, and Cloudflare says it cannot be used with external mail servers. You can still forward to a Gmail or Outlook inbox as the destination address.

What SPF record does Cloudflare Email Routing use?

v=spf1 include:_spf.mx.cloudflare.net ~all on the root domain. If you send mail through other services, merge their includes into that one record instead of adding a second SPF record.

Does Cloudflare Email Routing make my domain a catch-all?

Only if you turn on the catch-all rule. With it, every address on the domain is accepted and forwarded, so email verifiers report addresses on that domain as catch-all (risky) rather than deliverable.

Start your free trial →