Set up email on a Cloudflare domain
Two things trip people up on Cloudflare: the orange-cloud proxy toggle (must be off for email records) and Cloudflare Email Routing (conflicts with any third-party mail server, must be disabled first). This guide covers both, links to Cloudflare's own docs for the registrar-side clicks, and gives you the exact values to paste.
Last verified: May 27, 2026
Open the DNS panel
Sign in at dash.cloudflare.com (opens in a new tab). Click your account, then click the domain you're setting up.
In the left sidebar, navigate to DNS → Records.
Disable Cloudflare Email Routing (if active)
Cloudflare offers a free Email Routing feature for forwarding inbound email to other providers. It conflicts with running a third-party mail server like MailSprout. Cloudflare insists on owning MX when Email Routing is active.
In the left sidebar, click Email → Email Routing. If the status shows anything other than disabled, click the gear icon (Settings tab) and disable Email Routing.
Delete existing email records
Back on the DNS Records page, scroll through the records and delete any of:
- Any
MXrecords (often pointing atroute1.mx.cloudflare.netor your old provider) - Any
TXTstarting withv=spf1 - Any
CNAMEnamedautoconfigorautodiscover - Any
TXTnamed_dmarc
Add the MailSprout DNS records
Click Add record for each row below. Critical: for every record, the Proxy status column must be “DNS only”(gray cloud), not “Proxied” (orange cloud). Cloudflare proxying breaks email; DNS lookups need to resolve directly.
| Type | Host / Name | Value | TTL |
|---|---|---|---|
| MX | @ | fusion.mxrouting.net (priority 10) | 3600 |
| Cloudflare puts Priority in a separate field. Set to 10. | |||
| MX | @ | fusion-relay.mxrouting.net (priority 20) | 3600 |
| A second MX as the backup. Priority 20 means Cloudflare only uses this if the priority 10 host is unreachable. | |||
| TXT | @ | v=spf1 include:mxroute.com -all | 3600 |
| SPF. | |||
| TXT | (copy from dashboard) | (copy from dashboard) | 3600 |
| Both the host and the value for this record are unique to your domain. Open your MailSprout dashboard and copy them exactly as shown. | |||
| TXT | _dmarc | v=DMARC1; p=quarantine; rua=mailto:postmaster@yourdomain.com | 3600 |
| Replace yourdomain.com in the rua= line with your actual domain. | |||
Leave TTL at the default (typically 3600 / 1 hour) on every row.
Verify in MailSprout
Cloudflare propagates DNS changes essentially instantly. Wait 30 seconds, then go to your MailSprout dashboard, click into the domain, and press Verify DNS. Status should flip to Ready immediately.
Add your first email account
Click Add account on the verified domain page. Type a name (e.g. hello), submit, and use the QR code on your iPhone for instant Apple Mail setup.
Troubleshooting
Verification fails right after I added the records.
Cloudflare keeps re-adding an MX record I deleted.
My domain status says "Pending Nameserver Update".
I use Cloudflare for DNS but my domain is registered elsewhere.
Free Cloudflare plan vs. paid: does it matter?
On a different registrar?
The #1 registrar by market share. Most small businesses start here.
Popular among indie founders and developers.
Indie-hacker darling. Fast, cheap, fair pricing.
Includes former Google Domains customers who got migrated here.
Long-time favorite of founders and writers.
Huge in Europe. Their UI is a labyrinth, but we map it out.
Stuck on a step?
Email support@mailsprout.io with the step number and a screenshot. We reply same day.