The short answer
You can switch web hosting without losing email, but only if you plan the DNS first. Email breaks during a move when the MX records get dropped along with the old host. The fix is to record every DNS record before you touch anything, move your website and email as separate steps, and lower your DNS timing beforehand.
What to know
- Email breaks during host moves because the MX records that route mail get lost or overwritten.
- Record every DNS record (MX, A, CNAME, TXT) before you change anything.
- Treat your website and your email as two separate moves.
- Lower your DNS TTL a day ahead so changes take effect quickly and cleanly.
- Keep the old host active for a week after the switch as a safety net.
You can absolutely switch web hosts without losing a single email, as long as you handle the DNS deliberately. Almost every horror story about email vanishing during a host move comes down to one thing: the mail-routing records got dropped when the website moved. The fix is to know what those records are before you start, and to move your website and your email as two separate jobs. The safe way through it follows.
The reason this feels scary is that at most shared hosts, hosting and email ride on the same account, so it looks like moving one must break the other. It doesn't have to. Once you see the pieces, the whole thing is methodical rather than nerve-wracking.
Why email breaks during a host move
Your domain's DNS is a small set of records that tells the internet where to send different kinds of traffic. Two of those records matter most here:
| Record | What it controls | If it's lost |
|---|---|---|
| A record | Points your domain at your website's server. | Your website goes offline or shows the wrong page. |
| MX record | Points your domain's email at your mail server. | Incoming email bounces or silently disappears. |
| TXT records (SPF, DKIM) | Prove your email is legitimate so it isn't marked as spam. | Your outgoing mail starts landing in junk folders. |
When you move hosts and point your nameservers at the new one, its fresh DNS zone starts with only the website record filled in. If your old email lived on the old host, its MX record doesn't come along, and mail stops arriving. That's the whole failure, and it's completely avoidable.
What you'll need
- Login access to where your DNS is currently managed (your registrar, old host, or a service like Cloudflare).
- Your new hosting account, ready to go.
- A clear note of where your email lives now (your old host, or a service like Google Workspace or Microsoft 365).
- About an hour, plus a quiet day when a brief hiccup wouldn't hurt.
DNS records to copy before you move
Open your DNS panel and copy every one of these into a document before you change a thing. The first four are your email. Lose one and mail either stops arriving or starts getting treated as spam, and you won't always find out quickly.
| Record | What it does | What breaks if it's lost |
|---|---|---|
| MX | Names the mail server that receives email for your domain. | Incoming mail bounces or disappears. This is the record that ruins host moves. |
| SPF (TXT) | Lists which servers are allowed to send mail using your domain. | Outgoing mail fails authentication checks, so it lands in junk or gets rejected. |
| DKIM (TXT or CNAME) | Publishes the key that signs your outgoing mail so the receiver can confirm it came from you and wasn't altered. Microsoft 365 sets this up as a CNAME, and most other providers, Google Workspace included, use a TXT record. | Signatures stop verifying, deliverability drops, and DMARC starts failing too. |
| DMARC (TXT on _dmarc) | Tells receiving servers what to do when SPF or DKIM fails, and where to send the reports. | You lose your protection against someone spoofing your domain, and the reports that tell you it's happening stop arriving. |
| A | Points your domain at the server hosting your website. | The site goes down or shows the new host's placeholder page. |
| CNAME | Aliases subdomains like www, mail, webmail, and autodiscover to another hostname. | www stops resolving, and mail apps lose the autodiscover and webmail addresses they use to connect. |
Copy anything else you find too, even records you don't recognize. Verification TXT records for Google, Microsoft, or a payment processor look like junk and aren't. If a line exists, it exists for a reason, so bring it with you.
How to switch hosts and keep your email
- 01Record every existing DNS record first. This is the step that saves you. Log into wherever your DNS lives and write down, or screenshot, all of it: every A, CNAME, MX, and TXT record, exactly as written. This is your safety copy. If anything goes wrong, you can put it all back.
- 02Confirm where your email is hosted. Look at your MX records. If they point to your old web host, your email is on that host and you'll need to plan for it. If they point to Google or Microsoft, your email is separate and moving your website won't touch it at all. That's the easy case.
- 03Lower your DNS TTL a day ahead. TTL is how long the internet caches your records. Drop it to 300 seconds (five minutes) the day before you switch. This makes your later changes take effect in minutes instead of hours, so any hiccup is short.
- 04Set up the website on the new host before switching anything. Upload your files, restore your database, and confirm the site works on the new host using a temporary preview or the host's staging URL. Nothing is live yet, so there's no risk here.
- 05Move email as its own separate step, if it needs moving. If your email was on the old host, get the new mailboxes ready first, or better, move email onto a dedicated service like Google Workspace or Microsoft 365 so it never rides on your web host again. Copy over existing messages before you cut anything.
- 06Update the DNS to point at the new host, and re-enter your MX and TXT records. Change the website (A) record to the new host. Then carefully re-enter your MX and email TXT records from the copy you made in step one. Do not rely on the new host to fill these in for you.
- 07Test before you celebrate. Load your website, then send yourself an email from an outside account and confirm it arrives, and send one out to confirm it doesn't land in spam. The move is done only when all three work.
The safest setup after the move
The single best thing you can do to make future moves painless is to stop letting your email live on your web host. When your email runs on a dedicated service like Google Workspace or Microsoft 365, changing hosts becomes a website-only job, and your mail never even notices. It's worth doing once so you never have to think about this again.
If you're switching hosts as part of leaving a developer or agency, the how to fire your web developer guide covers securing your accounts before you make the move.
Get help with the move
Host migrations are routine for us and nerve-wracking for most owners, which is exactly the kind of task worth handing off. We map your current DNS, move the site, keep email intact, and stay on the old host until we've confirmed nothing broke. It's included in our maintenance plans, or we can handle a one-time migration.
We're near Seattle and have moved sites for businesses across the Puget Sound and around the country since 2011. If the email part is what's making you hesitate, that's the part we're most careful about. Give us a call at (425) 314-1415 and we'll talk it through.
Get help from Venbit
More website guides
Every question in this series, from Fix website problems.
Symptoms & emergencies17
- What Size Should Images Be for a Website?
- Why Is My Logo Blurry on My Website? How to Fix It
- Images Not Loading on My Website? 9 Causes and Fixes
- Why Is My Website Down Right Now? How to Fix It
- Why Does My Website Say "Account Suspended"?
- Why Is My Contact Form Not Sending Emails?
- There Has Been a Critical Error on This Website: How to Fix It
- Why Is My Website Showing "Not Secure" in Chrome?
- Squarespace Site Not Showing Up on Google? How to Fix It
- Why Did Google Remove My Website From Search Results?
- Why Did My Website Traffic Suddenly Drop? Top Causes
- Why Is My Website Slow on Mobile but Fast on Desktop?
- Why Does My Website Look Broken on My Phone?
- Why Do My Website Images Look Blurry or Broken?
- How to Tell If Your Website Has Been Hacked
- "This Site May Be Hacked": How to Remove Google's Warning
- How to Fix the "Deceptive Site Ahead" Warning
What happens if...11
- Hosting Company Shut Down? What to Do in the First 24 Hours
- How to Get Your Website Files From Your Hosting Company
- Hosting Expired and Your Website Is Down? What You Can Recover
- How to Recover a Deleted Website
- How to Move a Website to a New Host Without Downtime
- Is My Web Host Going Out of Business? Signs to Check
- What Happens If My SSL Certificate Expires?
- What Happens If My Domain Name Expires?
- What Happens If Your Web Host Goes Out of Business?
- What Happens If You Stop Paying Your Web Developer?
- Why Are My Business Emails Going to Spam?
Plans & hiring1
Ownership & switching11
- How to Find Out Who Built Your Website
- How to Find Out Who Owns a Domain Name
- Locked Out of Your Own Website? How to Get Access Back
- How to Transfer a Website to a New Developer
- Website Ownership Checklist for a Small Business
- What Is My Website Built With? How to Check in Seconds
- How to Find Out Who Hosts and Manages Your Website
- What to Do When Your Web Developer Disappears
- How to Switch Web Hosting Without Losing Your Email (you are here)
- Who Is My Email Provider? How to Find Out in Two Minutes
- How to Back Up a WordPress Website Yourself
Platform-specific3
Seattle & local1
The Venbit Team
Web design & SEO, Mill Creek, WA
Venbit is a web design, SEO, and digital marketing studio in Mill Creek, Washington. Since 2011 we've designed, built, and ranked small-business websites for clients across the Puget Sound and around the country, so the numbers and advice here come from real projects, not a content mill.
