Skip to content

Services · by Cloudflare

Cloudflare Email Routing

Forward messages sent to an address like hello@yourdomain.com into an inbox you already use.

If your website lists a contact address, you may want mail to arrive in the inbox you check every morning. Cloudflare Email Routing lets you create an address at your domain and choose where incoming messages should go.

Set up a contact address and send it a message from a second account. Then check the destination inbox. If you also want replies to come from your domain, you’ll need to set up outgoing mail separately.

When to use it
When people should reach you at your own domain, and that domain is in your Cloudflare account.
When to skip it
When a mailbox service already receives mail for this domain. Changing its mail-routing records can interrupt delivery.
What it costs
Free. Incoming email is unlimited on the Workers Free plan. Checked 2026-11-09.

Get email at your own domain with Cloudflare Email Routing

Make an address like hello@yourname.com that forwards to the inbox you already use.

You’ll need

  • A domain in your Cloudflare account. If it’s with another seller, add it to Cloudflare first.
  • An inbox you already use, like Gmail, where the email should arrive.
  • A second email account to send the test from.
  • Cloudflare account. Free to create.

Your part

  • Add your domain and your inbox in the Cloudflare dashboard.
  • Click the verification link Cloudflare sends to your inbox.
  • Create the routing rule and send a test email.

Copy the prompt for these steps

All 5 steps, in one prompt
I’m following “Get email at your own domain with Cloudflare Email Routing” on BuildLadder.
What the guide says I’ll end up with: Email sent to an address at your domain arrives in your own inbox, and you’ve tested it from another account.
This comes from https://buildladder.com/tools/cloudflare-email-routing#email. If you can open web pages, read https://buildladder.com/tools/cloudflare-email-routing.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address.

How to work with me:
- Go through the steps below in order, one at a time.
- Do what you can yourself in this folder: write code, run commands, check settings. If a service has an official command-line tool, like the Vercel CLI, you can offer to use it. Ask me before you install anything, sign in to anything or spend money.
- When a step needs me, like making an account or clicking in a dashboard, tell me exactly what to do in small steps. Then wait until I say it’s done.
- The actions, checks and fixes in each step were written for me, the reader. Where one says “your AI tool”, that means you, and “Say:” means something I would say to you.
- Never ask me to paste passwords or secret keys into this chat. I type those into the service’s own settings.
- After each step, tell me how to check it worked. Once Git is set up, save a version each time a step works. Then ask if I’m ready for the next one.
- Use plain words. I may never have coded before.

## Step 1 of 5: Check your domain doesn’t already get email

I want an email address at my own domain that forwards to the inbox I already use, with Cloudflare Email Routing.
First ask me my domain.
Look up its current MX records and tell me in plain words which service gets its email today, if any. Don’t change any DNS records.
If it already gets email, like through Google Workspace, tell me to stop, because Email Routing would take over.
If it gets no email, tell me it’s safe to go on, and check that the domain uses Cloudflare’s nameservers.

It worked when: Your AI tool says the domain gets no email today and uses Cloudflare’s nameservers.

If something goes wrong:
- Your AI tool says the domain already gets email. Don’t turn on Email Routing for it. Make new addresses in the mailbox service it uses, like Google Workspace, instead.
- Your domain isn’t in your Cloudflare account. Add it to Cloudflare and switch its nameservers where you bought it. Copy your existing records across first.

## Step 2 of 5: Turn on Email Routing for your domain

This step is mine to do. Walk me through it, one action at a time:
- Sign in to the Cloudflare dashboard.
- Go to Compute, then Email Service, then Email Routing.
- Select Onboard Domain, and choose your domain.
- Read the list of records Cloudflare will add. Then select Done.

It worked when: Email Routing shows your domain as onboarded.

If something goes wrong:
- You can’t find Compute or Email Service in the menu. Type Email Routing into the dashboard’s search box and open it from there.

## Step 3 of 5: Add and verify your inbox

This step is mine to do. Walk me through it, one action at a time:
- In Email Routing, open Destination Addresses.
- Under Destination addresses, type the inbox you already use, like you@gmail.com, and submit it.
- Open that inbox. Find the email from Cloudflare and select Verify email address.

It worked when: Your inbox shows as verified under Destination addresses.

If something goes wrong:
- The verification email doesn’t arrive. Look in the spam folder. Check you typed the address correctly, then add it again.

## Step 4 of 5: Create a routing rule

This step is mine to do. Walk me through it, one action at a time:
- In Email Routing, select your domain and open the Routing Rules tab.
- Select Create routing rule.
- In Email pattern, type the part before the @, like hello, and select your domain.
- For Action, choose Send to an email. For Destination, choose your verified inbox.
- Select Save.

It worked when: The Routing Rules tab shows a rule with your new address and your inbox.

If something goes wrong:
- Your inbox isn’t in the Destination list. It isn’t verified yet. Click the link in Cloudflare’s verification email, then try again.

## Step 5 of 5: Send a test email

This step is mine to do. Walk me through it, one action at a time:
- From a different email account, send an email to your new address, like hello@yourname.com.
- Open your own inbox and look for it. If it isn’t there, look in the spam folder.
- Put the new address on your website, like on the contact page. Ask your AI tool to make the change.

It worked when: The test email arrives in your inbox.

If something goes wrong:
- The email never arrives. Check the rule and the destination on the Routing Rules tab. Send again from an account that isn’t your destination inbox.
- Your replies show your inbox’s address, not hello@yourname.com. Forwarded email is answered from your inbox. To reply from your domain, check a mailbox service’s send-from-domain options and price.

The steps

  • Steps marked AI tool are done by your AI tool when you paste the prompt. The rest are yours.
  • Save a version after every step that works.
  • If a screen looks different from a step, ask your AI tool where the setting moved.
  • Never paste a password or secret key into the chat.
  1. Email Routing turned on, with your inbox verified

    Check your domain doesn’t already get email

    AI tool

    Email Routing changes your domain’s MX records, which decide where its email goes. If the domain already gets email somewhere, turning this on would stop that.

    It worked when: Your AI tool says the domain gets no email today and uses Cloudflare’s nameservers.

    Your AI tool says the domain already gets email.

    Don’t turn on Email Routing for it. Make new addresses in the mailbox service it uses, like Google Workspace, instead.

    Your domain isn’t in your Cloudflare account.

    Add it to Cloudflare and switch its nameservers where you bought it. Copy your existing records across first.

  2. Turn on Email Routing for your domain

    You

    Cloudflare adds the records that send your domain’s email to it: MX records, plus SPF and DKIM records that help forwarded email get trusted.

    1. Sign in to the Cloudflare dashboard.
    2. Go to Compute, then Email Service, then Email Routing.
    3. Select Onboard Domain, and choose your domain.
    4. Read the list of records Cloudflare will add. Then select Done.

    It worked when: Email Routing shows your domain as onboarded.

    You can’t find Compute or Email Service in the menu.

    Type Email Routing into the dashboard’s search box and open it from there.

  3. Add and verify your inbox

    You

    Cloudflare only forwards to inboxes you’ve proved are yours. You add your inbox once, and it works for every domain in your account.

    1. In Email Routing, open Destination Addresses.
    2. Under Destination addresses, type the inbox you already use, like you@gmail.com, and submit it.
    3. Open that inbox. Find the email from Cloudflare and select Verify email address.

    It worked when: Your inbox shows as verified under Destination addresses.

    The verification email doesn’t arrive.

    Look in the spam folder. Check you typed the address correctly, then add it again.

  4. An address at your domain that reaches your inbox

    Create a routing rule

    You

    A routing rule says where email for one address goes. For example, hello@yourname.com goes to your Gmail.

    1. In Email Routing, select your domain and open the Routing Rules tab.
    2. Select Create routing rule.
    3. In Email pattern, type the part before the @, like hello, and select your domain.
    4. For Action, choose Send to an email. For Destination, choose your verified inbox.
    5. Select Save.

    It worked when: The Routing Rules tab shows a rule with your new address and your inbox.

    Your inbox isn’t in the Destination list.

    It isn’t verified yet. Click the link in Cloudflare’s verification email, then try again.

  5. Send a test email

    You

    A test from a different account proves the address works. Some inboxes drop email that seems to come from themselves.

    1. From a different email account, send an email to your new address, like hello@yourname.com.
    2. Open your own inbox and look for it. If it isn’t there, look in the spam folder.
    3. Put the new address on your website, like on the contact page. Ask your AI tool to make the change.

    It worked when: The test email arrives in your inbox.

    The email never arrives.

    Check the rule and the destination on the Routing Rules tab. Send again from an account that isn’t your destination inbox.

    Your replies show your inbox’s address, not hello@yourname.com.

    Forwarded email is answered from your inbox. To reply from your domain, check a mailbox service’s send-from-domain options and price.

Compare Cloudflare Email Routing with the other options

Stuck? Try these, in order
  1. Stop asking it to “fix it”. Say exactly what’s wrong.

    Paste this into the same chat. It asks your AI tool to find the problem with you.

    Troubleshooting prompt
    I’m following “Cloudflare Email Routing” on BuildLadder and something isn’t working.
    This comes from https://buildladder.com/tools/cloudflare-email-routing. If you can open web pages, read https://buildladder.com/tools/cloudflare-email-routing.md for the current version. BuildLadder guide, tool, concept, answer and setup pages all work this way: add .md to the address.
    
    Ask me which step I’m on, what I tried and what happened, one question at a time. Look at the files in this folder if you can. Then explain the problem in plain words and suggest the smallest fix. Don’t change anything that already works.

  2. Check the service isn’t down.

    If you use one of these, open its status page before changing any code: Supabase, Vercel, Netlify, Cloudflare, Stripe, Clerk, Firebase, Resend, GitHub, Expo, Claude, OpenAI.

  3. Go back to your last saved version.
    Troubleshooting prompt
    Take my product back to the last saved version that worked. First show me which version that is and what will change. Don’t delete anything else.

  4. Make the change smaller.
    Troubleshooting prompt
    Let’s make a smaller change. Undo what you just tried. Then do only the first part of it, and tell me how to check that part works before we go on.

  5. Ask a person.

    Copy this, fill in each line, and post it in a community like r/vibecoding. Take out any keys or passwords first.

    Problem report
    What I'm building: (one sentence)
    What I asked my AI tool to do: (the last request)
    What I expected: (what should happen)
    What happened instead: (what you see)
    The exact error, if any: (copy it here)
    What I've tried: (each attempt, in order)
    My tools: (AI tool, website or app, hosting)

Look things up

Questions people ask

Words used on this page

MX record
An MX record is a DNS record that says which service receives email for your domain. Only one service can receive it, so a new MX record changes where your domain’s email goes.
Nameserver
A nameserver is the service that holds your domain’s DNS records. Changing nameservers hands control of all those records to a new company.
Domain
A domain is the name people type to reach your website, like buildladder.com. You rent it from a domain seller, usually for a yearly fee, and point it at your hosting.
SPF
SPF is a DNS record that lists which services may send email for your domain. An inbox checks it to see whether the server that sent an email was allowed to.
DKIM
DKIM is a signature your sending service adds to each email. Inboxes check it against a key in your domain’s DNS records, which proves the email came from your domain and wasn’t changed on the way.

Official pages

Updated · Cloudflare