UK web hosting · 24/7 live chat Black Friday + Cyber Monday: hosting + free domain £19.99 Open a ticket Client login

Guide

MX records explained: how email finds your domain

By Limitless Hosting · 5 min read · Updated 18 November 2026

MX records are DNS entries that tell the internet which mail server accepts email for your domain. MX stands for mail exchanger. When someone emails you@yourbusiness.co.uk, their mail system looks up your domain's MX records to find where to deliver the message. If they point to the wrong place, your mail goes missing, so check them whenever you change host or email provider.

See the plans

The basics

How an email finds its way to you

When you send an email, your mail system does not know where the recipient's mailbox lives. It asks the Domain Name System, the internet's address book, a simple question: which server handles mail for this domain? The answer comes from the domain's MX records.

An MX record has two parts: the name of a mail server, and a number called the priority. The sender tries the server with the lowest number first. If that server is down, it tries the next one. That is how a domain can have a main mail server and a backup.

MX records are separate from the records that point your website to a server. You can host your website in one place and your email in another, and many businesses do. The MX records decide where email goes. The A records decide where the website goes. Our guide to what DNS is covers the wider picture.

An example

What MX records look like

NameTypePriorityPoints to
yourbusiness.co.ukMX10mail.yourbusiness.co.uk
yourbusiness.co.ukMX20backup-mail.example.net

The numbers are only a ranking. Lower is tried first. The names are examples. Use the values your email provider gives you.

Why they matter

What goes wrong when MX records are wrong

Mail never arrives

If MX records point to a server that does not hold your mailbox, messages bounce or vanish.

Mail goes to the old host

After moving host, old MX records can keep sending new mail to the old server for days.

Two providers fight

Mixing records from two providers can split your mail so only some of it reaches you.

Spam and spoofing

Missing MX records make a domain look abandoned, which can hurt trust and filters.

Slow changes

DNS changes take time to spread, so a mistake can take hours to fully fix.

Easy to fix

Most problems are fixed by replacing the records with the right ones and waiting.

Checking

How to check and change your MX records

Find out where your DNS is managed

Your DNS lives at the company whose nameservers your domain uses. That may be your registrar or your host. If unsure, look up your domain's nameservers.

Open the DNS settings

Find the DNS zone editor for your domain and look at the MX records already there.

Compare with your provider's instructions

Your hosting or email provider lists the exact MX records you need. Copy them exactly, including the priority numbers.

Remove old records

Delete any old MX records that belong to a previous provider, so only the right ones remain.

Wait and test

Allow some time for the change to spread, then send test emails to the address from another account and check they arrive.

Moving host

MX records when you move your website

A very common mistake is moving a website to a new host and accidentally breaking email. If you change your domain's nameservers to the new host, your DNS zone moves with them, and the MX records must be recreated there. If the new zone has no MX records, or has the wrong ones, mail stops.

To avoid this, list your existing MX records before you change anything, and make sure the new DNS zone has the right ones from the start. If your email is hosted elsewhere, for example with a different provider, copy those records across exactly.

Our guides to pointing a domain to hosting and the website migration checklist include email in the steps. If mail still goes astray, see fixing email that is not sending or receiving.

Worked example

A worked example: mail stops after a website move

A bakery moves its website to a new host and changes its domain nameservers on a Friday. By Monday, customers say their emails to orders@thebakery.co.uk are bouncing. The website is fine, but mail has stopped.

The cause is simple. The old DNS zone at the previous provider held the MX records pointing to the bakery’s mail server. When the nameservers changed, the domain started using the new host’s DNS zone, which had no MX records at all. With nothing to look up, sending servers gave up.

The fix is to open the DNS zone at the new host and add the correct MX records, copied from the email provider’s instructions. Within a short time mail flows again. The lesson is to copy every record, not only the ones for the website, before you change nameservers.

Beyond MX

MX records and the other mail records

MX records route incoming mail, but three other records decide whether your outgoing mail is trusted. SPF lists the servers allowed to send for your domain. DKIM adds a digital signature to each message. DMARC tells receiving servers what to do with mail that fails the checks.

If you move email to a new provider, update all of them, not only the MX records. Old SPF entries for a previous provider can cause good mail to fail, and a missing DKIM key can send your messages to spam. Our guide to SPF, DKIM and DMARC shows how they fit together.

Keep a copy of your DNS records somewhere safe. A screenshot or exported file means you can rebuild the zone quickly after a mistake, and it makes any future move far less stressful.

Testing

How to test that your MX records work

After you change MX records, do not assume it worked. Send a test message to the address from an outside account, such as a personal webmail address, and confirm it arrives. Then reply from the business mailbox and check the reply reaches the outside account.

Free online tools can look up your MX records and show what the internet sees, which is useful when your own screen and the real world disagree. If the tool shows old values, the change has not finished spreading, so wait and test again.

Finally, check from more than one network if you can. A result on your office network might come from a cached copy of the old records. Testing from a phone on mobile data gives a second opinion and often shows whether the change has reached the wider internet.

Unlimited email accounts on every plan

Create as many mailboxes on your own domain as you need, with UK servers in London and live chat open 24/7, from 84p a month (£10.03 billed yearly).

See the plans

FAQ

Common questions

What does MX stand for?

Mail exchanger. An MX record names the server that handles incoming email for a domain.

What does the priority number mean?

It ranks mail servers. The sender tries the lowest number first and moves to the next if that server does not answer.

Can I have more than one MX record?

Yes. Many domains list a main server and one or more backups, each with its own priority.

How long do MX changes take?

Often within minutes, but they can take several hours to spread fully, depending on the record lifetime set before the change.

Do MX records affect my website?

No. They only affect email. Website traffic is directed by other records, such as A and CNAME records.

Get email on your own domain

Unlimited email accounts on every plan, with a 15-day money-back guarantee.

See the plans .co.uk and .uk domains £9.99

From 84p a month, billed yearly
15-day money back
Get started