What is an MX record, and why does your email depend on it?
In short: An MX (Mail Exchange) record tells the internet which servers receive email for your domain, and in what order to try them. The lowest priority number is tried first. Without a valid MX record, your domain simply cannot receive mail. The MX record also reveals which provider (Google, Microsoft and so on) runs a domain's email.
On this page
What does an MX record actually do?
An MX record is a DNS entry that points your domain to its inbound mail servers. When someone sends you an email, their server looks up your domain's MX records to find out where to deliver it. Each MX record has two parts: a priority number and a hostname (the mail server). It's the postal address for your domain's inbox.
How does MX priority work?
A domain can list several MX records for redundancy. The lower the priority number, the higher the preference, so a record with priority 10 is tried before one with priority 20. If the primary server is unreachable, the sender falls back to the next. Equal priority numbers share the load. For example, Google Workspace typically publishes a single smtp.google.com MX; Microsoft 365 publishes a …mail.protection.outlook.com host.
What can an MX lookup tell you?
Beyond confirming a domain can receive mail, an MX lookup reveals the email provider behind a domain. If the MX points to google.com, it's Google Workspace; outlook.com or protection.outlook.com means Microsoft 365; others point to Zoho, Proofpoint, Mimecast and so on. This is handy for sales research, deliverability debugging, and verifying that a newly configured domain is pointed at the right provider.
What goes wrong with MX records?
The most common issues are: no MX record at all (the domain can't receive mail), MX pointing to a decommissioned server (mail bounces), a typo in the hostname, or an MX pointing to an IP address instead of a hostname, which is invalid because MX records must point to a name, not an IP. A quick MX lookup surfaces all of these.
Find any domain's mail servers, free
Look up MX records in priority order and auto-detect the email provider (Google, Microsoft, Zoho and more).
Open the MX Lookup tool →All free tools