How to Switch Web Hosting Without Losing Your Email

VenbitThe Venbit TeamSeptember 4, 2026(updated)5 min read

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.

Key takeaways

  • 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, not one.
  • 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. Here's the safe way through it.

The reason this feels scary is that hosting and email often 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:

RecordWhat it controlsIf it's lost
A recordPoints your domain at your website's server.Your website goes offline or shows the wrong page.
MX recordPoints 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.
The DNS records that decide where things go

When you move hosts, the new host often sets up fresh DNS 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 actually 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.

RecordWhat it doesWhat breaks if it's lost
MXNames 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 really came from you and wasn't altered. Google Workspace and Microsoft 365 usually set this up as a CNAME, other providers as 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.
APoints your domain at the server hosting your website.The site goes down or shows the new host's placeholder page.
CNAMEAliases 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.
Your copy-it-down checklist, and what each one costs you

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

  1. 1Record 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.
  2. 2Confirm 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.
  3. 3Lower 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.
  4. 4Set 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.
  5. 5Move 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.
  6. 6Update 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.
  7. 7Test before you celebrate. Load your website. Send yourself an email from an outside account and confirm it arrives. Send one out and confirm it doesn't land in spam. Only when all three work is the move truly done.

The safest setup going forward

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.

When you'd rather hand the whole move to us

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, which start at $99 a month, 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.

More website answers

Every question in this series, from Website Problems, Solved.

Symptoms & emergencies22
What happens if...15
Cost & pricing9
Plans & hiring11
Ownership & switching15
Platform-specific7
Seattle & local2
Venbit

The Venbit Team

Web design & SEO, Seattle

Venbit is a Seattle-area web design, SEO, and digital marketing studio. 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.

Common questions

Questions, answered straight.

Straight answers about website fixes for your business. If yours isn't here, ask us directly and we'll give it to you straight.

Ask the team

Only if the MX records get lost in the move. Email breaks when the new host sets up fresh DNS without carrying over the records that route your mail. If you record every DNS record before you start and re-enter your MX and email records after, your email keeps working throughout. Planning is what prevents the problem.

Treat them as two separate jobs, even if you do them the same day. Get the website working on the new host first, then handle email as its own step. Bundling them into one rushed change is exactly how MX records get dropped. Separating them keeps each move simple and easy to verify.

The hands-on work is usually a few hours. After you update DNS, the change propagates across the internet over anywhere from a few minutes to a day, depending on your TTL setting. Lowering your TTL beforehand shortens that window. Plan to keep the old host live for about a week to be safe.

An MX (mail exchange) record tells the internet which server should receive email for your domain. It's the single most important record for keeping email alive during a host move. If it's missing or wrong after you switch, incoming mail bounces or disappears. Copying it exactly is the key to not losing email.

Yes. If your email is on a separate service like Google Workspace or Microsoft 365, moving your website won't touch it at all. If your email currently lives on your web host, record the MX records first, then either recreate them on the new host or move email to a dedicated service so it's independent going forward.

Free 30-minute strategy call

Let's talk about your project.

Tell us what you need and we'll give you an honest read on the project, the timeline, and what it takes, before you spend a dollar. Based in Seattle, working across the Puget Sound.

4.8 on Google 5.0 on Yelp