Keep your bounce rate under 3%. Verify your email list with catch-all email verifier Giggal.ai

Glossary · DNS records

What is an MX record?

The short answer

An MX record is a line in your domain's DNS settings that says which mail server receives email for that domain. When someone emails you@example.com, their mail server looks up the MX record for example.com to find out where to deliver the message.

Also called: mail exchange record, mail exchanger record, MX DNS record

By · Updated · 4 min read

MX record: what to remember

  • MX stands for mail exchange. An MX record points your domain to the server that receives its email.
  • Without an MX record, nobody can email you: their messages bounce.
  • Each MX record has a priority number. The lowest number is tried first.
  • MX records are for receiving email. Sending is checked by other records: SPF, DKIM and DMARC.

What does MX record mean?

MX stands for mail exchange. An MX record is a short line in your domain’s settings that answers one question:

“Where should email for this domain be delivered?”

Think of your domain as a company building. People know the name of the company, but the postman needs to know which door the mail room is behind. The MX record is the sign that says “mail room this way”.

Every domain that receives email has at least one MX record. It lives in the domain’s DNS, which is the public list of settings for that domain.

How an MX record works

Say someone sends an email to maria@example.org.

  1. The sender’s mail server looks at the part after the @ sign: example.org.
  2. It asks DNS, what is the MX record for example.org?
  3. DNS answers with the name of a mail server, for example smtp.google.com.
  4. The sender’s mail server connects to that server and hands over the email.
  5. Maria’s email app then shows the message, using IMAP to read it from the server.

All of this takes about a second, and it happens for every email ever sent.

MX record examples

An MX record has three main parts: the domain it is for, a priority number and the mail server.

MX record for Google Workspace

Name Type Priority Value
@ MX 1 smtp.google.com

MX record for Microsoft 365

Name Type Priority Value
@ MX 0 example-com.mail.protection.outlook.com

The @ sign means “this domain itself”. For Microsoft 365, the value is your own domain with the dots turned into dashes, so example.com becomes example-com.

What is MX record priority?

A domain can have more than one MX record. The priority number decides the order.

  • The lowest number is tried first.
  • If that server does not answer, the next lowest is tried.

It is like having a main phone number and a backup number. Most small setups today have just one MX record, and that is fine.

Why MX records matter for cold email

MX records are about receiving, so it is easy to think they do not matter when you are sending. They do, for three reasons.

  • Replies need somewhere to go. The whole point of cold email is to get a reply. With no MX record, or a wrong one, replies bounce and you never see them.
  • Inbox providers check it. Gmail and Outlook are suspicious of email from a domain that cannot receive email. A missing MX record makes your sending domain look fake.
  • Warmup needs it. Warmup works by sending emails to your inbox and replying to them. That only works if your inbox can receive.

MX is one of four records every cold email domain needs. The other three are SPF, DKIM and DMARC. Together, the four are the base of your cold email infrastructure.

When you order inboxes from PureMail, our team adds the MX record and the other three records to each of your domains for you, for both Google Workspace inboxes and Microsoft 365 inboxes.

How to check an MX record (MX lookup)

An MX lookup shows you the MX record a domain has right now.

  1. Open a free MX lookup tool, such as MXToolbox.
  2. Type in the domain, without anything in front of it.
  3. Read the result: you should see the mail server name and its priority.

If the MX lookup comes back empty, the domain has no MX record and cannot receive email. If it shows a server you do not recognise, an old MX record was probably left behind.

Common MX record mistakes

  • Leaving the old MX record in place. If you move from one email provider to another and keep both MX records, some emails go to the old provider and seem to vanish.
  • Pointing the MX record at an IP address. An MX record must point to a server name, such as smtp.google.com, not to a number like 203.0.113.10.
  • A typo in the server name. One wrong letter and your email cannot be delivered.
  • Expecting it to work instantly. A new MX record can take anywhere from a few minutes to a day to be seen everywhere.
  • Confusing MX with SPF. The MX record is for incoming email. It does not give anyone permission to send email as your domain. Our guide to SPF, DKIM and DMARC covers the records that do.

FAQ

MX record: questions people ask.

01

What does MX record stand for?

MX stands for mail exchange, sometimes written mail exchanger. An MX record is the DNS record that names the mail server responsible for receiving email for a domain.

02

What is the MX record for Google Workspace?

For Google Workspace, the MX record is smtp.google.com with priority 1. Older Google Workspace setups use five records that start with aspmx.l.google.com, and those still work.

03

What is the MX record for Microsoft 365?

For Microsoft 365, the MX record is your domain name with dashes instead of dots, followed by .mail.protection.outlook.com, with priority 0. For example, example.com uses example-com.mail.protection.outlook.com.

04

What happens if a domain has no MX record?

Email sent to that domain usually cannot be delivered and is returned to the sender as a hard bounce. For cold email it also looks bad: a sending domain that cannot receive replies is a sign of a careless or fake sender.

05

How do I check an MX record?

Use any free MX lookup tool: type in the domain and it shows the MX records and their priorities. You can also see them in the DNS settings of the company where your domain is registered.

06

What does the priority number in an MX record mean?

The priority tells other mail servers which MX record to try first. The lowest number wins. If the first server does not answer, the next lowest number is tried. If you only have one MX record, the number does not matter much.

Still have a question? support@puremail.ai · contact us

Your next reply is one order away.

Google Workspace and Microsoft 365 inboxes from $2.90 a month, set up and connected to your sequencer today.