Cloudflare Email Routing: Free Domain Forwarding Setup
Cloudflare Email Routing lets you create up to 999 custom email addresses at your own domain (like you@yourdomain.com) and forward them to any existing inbox, such as Gmail or Outlook, completely free. You configure it in the Cloudflare dashboard without touching server settings, and it handles incoming mail only—there is no outgoing SMTP server. This guide walks through the exact steps, the DNS records involved, and the common pitfalls to avoid.
What Cloudflare Email Routing Actually Does
Email Routing is a free add-on for any domain whose DNS is managed by Cloudflare. It works by creating special DNS records that tell the internet where to deliver mail for your domain. When someone sends to hello@yourdomain.com, Cloudflare receives the message, then re-sends it to the destination address you chose. The recipient sees the mail in their normal inbox, and replies go back to the original sender—unless you set up a separate sending service.
The service is limited to forwarding. You cannot send email from the custom address using Cloudflare alone. For outgoing mail, you would need a third-party SMTP service or a provider like Gmail’s “Send mail as” feature. This is a common point of confusion, so it is worth stating clearly: Cloudflare Email Routing is one-way.
Prerequisites Before You Start
- A domain name registered with any registrar (e.g., Namecheap, GoDaddy, Google Domains).
- Your domain’s DNS nameservers must point to Cloudflare. This is mandatory—Email Routing will not activate otherwise.
- Access to the inbox you want to forward to. You will need to click a verification link sent to that address.
- A Cloudflare account (free tier is sufficient).
If your domain is already on Cloudflare, you can skip the nameserver step. If not, you will need to update the nameservers at your registrar to the ones Cloudflare provides after you add the site. Propagation usually takes a few hours but can be up to 48.
Step-by-Step Setup
- Add your domain to Cloudflare (if not already there). Follow the onboarding prompts to scan existing DNS records.
- Open Email Routing: In the left sidebar, click Email > Email Routing.
- Enable Email Routing: Click the Get started button. Cloudflare will show you the DNS records it needs to add automatically.
- Add destination address: Enter the email address (e.g., yourname@gmail.com) where you want mail forwarded. Cloudflare sends a verification email—click the link in it.
- Create a custom address: Under Routing rules, click Add address. Enter the local part (the part before @) and select your domain. Choose the destination from the verified list.
- Wait for DNS activation: Cloudflare automatically adds the MX and TXT records. It may take a few minutes to show as active.
That is the entire process. You can create multiple custom addresses, each forwarding to different destinations, or use a catch-all rule to forward everything from your domain to one inbox.
DNS Records Explained
Email Routing relies on two types of DNS records. Cloudflare adds them automatically, but you should understand them for troubleshooting.
- MX record: This tells other mail servers where to deliver mail for your domain. Cloudflare sets it to
route1.mx.cloudflare.netandroute2.mx.cloudflare.netwith a priority of 30 and 20 respectively. If you had existing MX records (e.g., from a previous provider), they will be removed or overwritten. - TXT record: A SPF record with value
v=spf1 include:_spf.mx.cloudflare.net ~all. This authorizes Cloudflare’s servers to send mail on your behalf (for forwarding purposes). Without it, some receiving servers might mark forwarded mail as spam.
You should not manually edit these records unless you fully understand the implications. Cloudflare manages them automatically and will warn you if you attempt to change them.
Common Problems and Fixes
Emails not arriving: First, check that the destination address is verified. Then look at the Email Routing dashboard—if it says “DNS records not active,” wait a few minutes or check the DNS tab for conflicts. If you previously had an MX record for another service, that could conflict.
Catch-all not working: If you set up a catch-all rule, it only applies to addresses that don’t match a specific rule. If you also created an individual address, that one takes priority. Also, catch-all rules cannot be used with custom addresses that have the same local part—they override.
Replies going to wrong address: When you reply to a forwarded email, the reply goes to the original sender, not through Cloudflare. The recipient sees your real email address (e.g., yourname@gmail.com) in the “From” field. To send as your custom address, you need to configure your email client to use an SMTP relay service that supports your domain.
Forwarding loops: If you forward a@yourdomain.com to b@yourdomain.com and then b@yourdomain.com back to a@yourdomain.com, you create a loop. Cloudflare detects and blocks this, but it is best to avoid such configurations.
Costs and Limitations
Email Routing is completely free—no hidden charges, no per-address fees, no volume caps mentioned in Cloudflare’s documentation. However, there are practical limits:
- Up to 999 custom addresses per domain.
- Forwarding is limited to incoming mail only. No outgoing SMTP.
- Attachments are forwarded as-is, but there is a maximum message size (typically 25 MB, similar to most email services).
- You cannot use the service for bulk sending or marketing—it is meant for personal or small business use.
For a small business, this is often sufficient. For heavy transactional email (e.g., newsletters, order confirmations), you would need a dedicated email service.
Alternatives to Cloudflare Email Routing
If Cloudflare does not fit your needs, here are common alternatives:
- ImproveMX: Free email forwarding with a simple web dashboard. You add a few DNS records and create aliases. Similar limitations—no outgoing mail.
- Forward Email: Open-source forwarding service that also offers optional SMTP for sending. Free tier available, but you must host or use their paid plan for full features.
- Zoho Mail: Free plan for up to 5 users with full webmail, including sending. You get a real mailbox, not just forwarding, but you must manage spam and storage.
- Google Workspace: Paid, but gives you full Gmail on your domain. Overkill if you only need forwarding.
Each has trade-offs. Cloudflare is the easiest if you already use it for DNS, because the records are managed automatically.
Frequently Asked Questions
Can I send email from my custom address using Cloudflare?
No. Cloudflare Email Routing only forwards incoming mail. To send, you must use an external SMTP service or configure your email client to send through a provider like Gmail’s “Send mail as” feature, which requires verifying domain ownership.
Will my forwarded emails be marked as spam?
Cloudflare adds SPF and DKIM records to help authenticate your domain. However, because the email is re-sent from Cloudflare’s servers, some strict filters might flag it. Checking your spam folder and adding the sender to contacts usually helps.
Does Email Routing work with subdomains?
Yes, you can set up routing for subdomains like mail.yourdomain.com by adding that subdomain as a separate zone in Cloudflare. The same process applies, but you need to configure DNS for that subdomain.
What happens to my existing email provider’s MX records?
When you enable Email Routing, Cloudflare replaces the MX records with its own. If you were using another email service (like Gmail for your domain), that service will stop receiving mail. You should migrate or disable that service first.
Is there a limit on the number of forwarded emails per day?
Cloudflare does not publicly publish a daily cap. The service is designed for normal personal or small business use, not bulk sending. If you send thousands of emails per day, you should use a dedicated email service.
Can I use a custom address with a subdirectory or alias?
You can create any local part (the part before @) that is a valid email address, such as info@, support@, or sales+2024@. The plus sign is allowed and works as a tag in most providers.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.