How to Cancel iCloud Mail Custom Domain via Cloudflare
This guide walks you through canceling an iCloud Mail custom domain that you previously set up through Cloudflare. You’ll learn the exact steps to remove the domain from your iCloud account and update your DNS records in Cloudflare so your email stops routing to iCloud. Before you begin, make sure you have access to both your iCloud account (with the domain still active) and your Cloudflare dashboard, and that you have a backup of any emails or settings you want to keep.
What You’ll Need
- Access to your iCloud account with the custom domain active (sign in at icloud.com).
- Access to your Cloudflare account with the domain’s DNS zone.
- Your domain’s registrar login (if you need to change nameservers or remove Cloudflare entirely).
- An alternative email address to receive Apple’s confirmation emails during the removal process.
Step-by-Step
- Back up your iCloud Mail data. Before canceling, export any important emails, contacts, or calendar data associated with the custom domain. Use Mail’s export features or forward critical messages to another account.
- Sign in to iCloud.com with your Apple ID. Go to Account Settings (click your name in the top-right corner, then “Account Settings”).
- Navigate to Custom Email Domain. In Account Settings, scroll to the “Custom Email Domain” section. Click “Manage” next to the domain you want to cancel.
- Remove the domain from iCloud. Look for an option like “Remove Domain” or “Delete Domain.” Apple will ask you to confirm; read the warnings about email loss and click “Remove” to proceed. You may need to verify with your Apple ID password or a two-factor code.
- Wait for Apple’s confirmation. Apple will send a confirmation email to your primary (non-custom) email address. This may take a few minutes. Do not skip this step—your domain isn’t fully removed until you confirm.
- Open the confirmation email and click the link to finalize the removal. This step is critical; without it, the domain may remain linked to your iCloud account.
- Sign in to Cloudflare. Go to dash.cloudflare.com and select the domain you’re removing from iCloud.
- Remove iCloud-specific DNS records. In the DNS management page, delete the records that iCloud asked you to add. These typically include:
- MX records pointing to
mx01.mail.icloud.comandmx02.mail.icloud.com(or similar). - TXT records for SPF (e.g.,
v=spf1 include:icloud.com ~all). - CNAME records for
sig1._domainkeyandsig2._domainkey(used for DKIM). - Any other records you added specifically for iCloud Mail, such as
autodiscoveror_imapSRV records.
To delete, click “Edit” on each record and then “Delete,” or use the bulk delete option if available.
- MX records pointing to
- Update your email routing (optional). If you want to keep using the domain for email with another provider, add the appropriate DNS records for that provider now. If you’re stopping email entirely, leave the DNS empty or set an MX record to a null value (like
.) to prevent email bouncing. - Verify DNS changes. After deleting records, wait for the TTL (time-to-live) to expire. You can use Cloudflare’s DNS lookup tool or a third-party service to confirm that no iCloud MX or TXT records remain.
- Remove Cloudflare from the domain (optional). If you no longer want Cloudflare to manage your DNS, change your nameservers at your registrar to those provided by your new DNS host (or the registrar’s defaults). This step is only necessary if you’re moving away from Cloudflare entirely.
Common Mistakes
- Skipping the confirmation email: Many users think the domain is removed after step 4, but Apple requires email confirmation. Without it, the domain stays linked.
- Forgetting to delete DNS records: Leaving iCloud MX records in place means your domain will still try to route email to iCloud, causing delivery failures after you cancel.
- Deleting the wrong records: If you have other services on the domain (like a website), be careful not to delete A or CNAME records for “www” or the root domain. Only remove the ones you added for iCloud Mail.
- Not backing up emails: Once the domain is removed, access to emails on that domain through iCloud may be lost permanently. Export first.
- Changing nameservers too early: If you remove Cloudflare before iCloud finishes processing the removal, you may lose DNS resolution and email will fail.
Tips
- Before starting, take a screenshot of your current DNS records in Cloudflare. This helps you restore them if you make a mistake.
- Use a third-party email testing tool (like MXToolbox) after deletion to confirm your MX records no longer point to iCloud.
- If you plan to move email to another provider, set up the new provider’s DNS records before removing iCloud’s records to minimize downtime.
- Consider setting up email forwarding for a few months to catch any messages sent to your old custom domain address.
- Keep your primary iCloud email address active—Apple will send the confirmation there, and you need it to complete the process.
Troubleshooting
I didn’t receive the confirmation email. Check your spam folder. If it’s not there, go back to iCloud Account Settings, click “Manage” on the domain, and look for a “Resend” option. If that fails, contact Apple Support.
The domain still appears in iCloud after I clicked the link. Wait a few minutes and refresh the page. If it persists, log out of iCloud and log back in. If it still shows, try removing it again; sometimes the process takes a few attempts.
Email is still being delivered to iCloud after deletion. This is usually a DNS caching issue. Wait for the TTL (often 300 seconds or less in Cloudflare) to expire. You can also use Cloudflare’s “Purge Cache” option for the DNS records, though it’s not always necessary.
I accidentally deleted the wrong DNS record. If you have a backup (from the tip above), restore it in Cloudflare. If not, you may need to re-add the record manually. For example, if you deleted your A record for the root domain, you’ll need to know your web host’s IP address.
I can’t sign in to Cloudflare. Use the “Forgot password” link to reset your password. If you’ve lost access to the email associated with your Cloudflare account, contact Cloudflare support with proof of domain ownership.
The domain is still linked to iCloud but I’ve already removed the DNS records. That’s fine—the iCloud link is independent of DNS. Complete the removal in iCloud first, then clean up DNS. If you removed DNS first, email will fail, but you can still cancel the iCloud domain by following the steps.
Frequently Asked Questions
Will I lose my emails when I cancel the custom domain? Yes, you may lose access to emails sent to that domain through iCloud. Back them up before canceling.
Can I cancel only one domain if I have multiple? Yes, in iCloud Account Settings, you can manage each domain separately and remove only the one you want.
Do I need to delete the DNS records in Cloudflare before canceling in iCloud? No, it’s better to cancel in iCloud first, then remove the DNS records. This avoids email disruption during the process.
What happens to my domain’s DNS if I don’t remove the iCloud records? Your domain will continue to try to send email to iCloud, which will fail since the domain is no longer linked. You’ll get bounce-back errors.
Can I reuse the same custom domain with iCloud later? Yes, you can re-add it after a waiting period (Apple may impose a cooldown). You’ll need to re-verify the domain and add the DNS records again.
Is it possible to cancel the domain without Cloudflare? Yes, but this guide focuses on Cloudflare. The iCloud removal steps are the same; only the DNS management differs.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.