What is a Google MX Record and How Do You Set It Up?

Melody Jaimon • October 28, 2022

Google MX records provide a way to direct Google and other search engines to your mail server. Without these records, mail from your domain is often rejected as spam or sent to the spam folder. This is because other email servers won’t accept email from your domain if they don’t have an MX record pointing to it.


Moreover, setting up Google MX records also helps you from gaining the reputation of being a spammer. For this reason, establishing this record is essential for anyone who uses Gmail or any other Google account for their business or personal account.



What Exactly Is an MX Record?

MX stands for Mail eXchange. It’s a DNS record that tells email servers where to send messages for your domain. In other words, it’s used to route emails destined for your domain.


There can be multiple MX records for a single domain. This is because you may have more than one mail server handling email for your domain. Each mail server will have its own MX record. The records will be given a priority number so that email servers know which server to try first, second, third, and so on.


If one mail server is down, the email will be routed to the next available mail server according to the MX record priorities.


Different MX Record Values

There are different values that can be used for MX records. The most common values are:

Priority Time to Live (TTL) Value / Answer / Destination
1 3600 aspmx.l.google.com
5 3600 alt1.aspmx.l.google.com
5 3600 alt2.aspmx.l.google.com
10 3600 alt3.aspmx.l.google.com
10 3600 alt4.aspmx.l.google.com
  • Priority: This is the priority of the mail server. A lower number indicates a higher priority. For example, a mail server with a priority of 1 is tried before a mail server with a priority of 10.


  • Value: This is the hostname of the mail server.


  • TTL: This is the time-to-live value. It tells DNS servers how long they should cache the MX record. The TTL value is set in seconds.


The above values are just some of the most common ones. There are other values that can be used as well, but these are the most important ones.



How to Add Gmail MX Records to a New Domain

If you're setting up a new domain, you'll need to add Google's MX records to your DNS settings. This process is different for each domain registrar, but the steps are generally similar.


Step 1: Sign in to your domain host account

Log in to your account with your domain registrar. Locate the DNS management page. This is sometimes called "DNS Settings," "DNS Management" or something similar. Add the MX records provided by Google to your DNS settings. 

adding an MX record

Step 2: Add the MX record to your DNS settings

Copy the MX records provided by Google.

adding the MX record

Add the MX records one by one, ensuring that each record has its own unique priority number. 


The priority numbers tell Gmail which MX record to attempt first if there are multiple records with the same hostname.


And that's it! You've successfully added Google's MX records to your new domain.



Step 3: Verify that the MX records were added correctly

After you've added the MX records, wait a few hours for the changes to propagate across the internet. It will take up to 48 hours for the MX records to be fully propagated.



Email Authentication

Email authentication is a method of verifying that an email message is really from the sender. It's important to set up email authentication for your domain because it helps prevent your emails from being marked as spam.


There are two main types of email authentication: SPF and DKIM.


  • SPF (Sender Policy Framework) is an email authentication method that identifies which mail servers are allowed to send emails on behalf of your domain. 



You can set up both SPF and DKIM for your domain in order to fully authenticate your emails.



Final Thoughts

Google MX Records are important for routing emails destined for your domain. There can be multiple MX records for a single domain, each with its own priority number. You'll also need to set up SPF and DKIM for email authentication.


If you have any questions, please feel free to leave a comment below.

See How Our Agency Can Drive Massive Amounts of Traffic to Your Website

Website Design designed for your audience and to be found on Google Searches
SEO - unlock relevant and increased SEO traffic. 

Paid Media - effective paid strategies with a clear ROI.

Get Started

Love My Online Marketing has 10+ Years of working alongside businesses and helping them grow. Discuss your options for online success from website Design and Development through to Google Marketing.

Get in Touch

Do you want more traffic and business leads?

Love My Online Marketing is determined to make a business grow. Our only question is, will it be yours?

Let's Chat
A man is typing on a laptop computer on a wooden table.
By Melody Jaimon June 6, 2025
Many overlook the footer, but in 2025 it’s a strategic asset. Explore footer design ideas that can enhance your website’s performance. Read the full blog.
A man is typing on a keyboard while another man points at a computer screen.
June 2, 2025
Discover the 2025 software development process from a marketer’s perspective. Learn how modern dev cycles, agile methods, and cross-functional collaboration impact marketing success.
A person is using a cell phone in front of a laptop.
By Melody Jaimon May 26, 2025
Microsoft Teams Not Syncing on Mobile? Here's the Real Fix (2025 Guide) If your Microsoft Teams app isn't syncing on your iPhone or Android, you're not alone — and no, it's not just a glitch. This quick, step-by-step guide shows you how to fix Teams not syncing on mobile in under 2 minutes. No tech jargon, no guesswork — just the actual solution that works in 2025. Perfect for remote teams, business owners, and anyone who relies on Teams for work. 👉 Click here for the fix that actually works
A laptop computer is open to a website on a wooden table.
By Melody Jaimon May 23, 2025
Over 58% of Google searches end without a click. Find out how zero-click searches impact website traffic and what marketers can do to stay visible.
A woman is sitting at a table using a laptop computer.
By Melody Jaimon May 15, 2025
SEO pricing in Australia ranges widely in 2025. Learn what impacts cost, what to avoid, and how Love My Online Marketing structures SEO for ROI. Read more.
A person is holding a cell phone in their hand with social media icons coming out of it.
By Melody Jaimon May 15, 2025
This strategic 9-post monthly plan helps you stay consistent on social media, boost engagement, and simplify your content creation. Read the full guide.
Google Business Profile zoomed in by magnifying glass
By Melody Jaimon May 14, 2025
Learn how to add a digital marketing agency to Google Business Profile in this quick step-by-step guide with photos.
A woman is sitting at a desk using a laptop computer.
By Melody Jaimon May 13, 2025
Worried about YouTube suspension? Learn the top causes and how to avoid them to keep your channel safe, secure, and thriving. Read the full guide now.
A man is using a smart phone with social media icons coming out of it.
By Melody Jaimon May 12, 2025
Launched your site? Learn practical ways to promote your new website design on social media using creative, engaging post ideas that boost visibility and drive traffic. Read the full guide now.
A notebook with the words call to action written on it
By Melody Jaimon April 8, 2025
Effective CTAs guide users through your site and drive action. Learn best practices for creating clear, visible, and persuasive CTAs that actually convert.
More Posts