You are moving a domain to Google Workspace, or auditing one that is already there, and you need the exact MX values. Here they are, straight from Google's admin help and checked against live DNS on 2026-11-24.
TL;DR
- New setups: one MX record.
smtp.google.com, priority1(Google Workspace admin help, checked 2026-11-24). - Older domains often show five records starting with
aspmx.l.google.com. Google says the legacy values "are still supported" and, if mail works, "no changes are required". - SPF:
v=spf1 include:_spf.google.com ~all. DKIM: selectorgoogle, generated in the Admin console. DMARC: start atp=none.
The exact Google Workspace MX records
Google's current instruction is a single MX record for every account. Any account can use it, including old ones.
| Type | Host / name | Value (points to) | Priority | TTL |
|---|---|---|---|---|
| MX | @ | smtp.google.com | 1 | Your DNS host's default |
example.com. 3600 IN MX 1 smtp.google.com.
Some DNS panels want the value with a trailing dot (smtp.google.com.), most add it for you. The host is @ or blank for the bare domain; some panels want the domain name itself.
The legacy ASPMX set
Google's help says that if you started using Google Workspace before 2023, "your domain might have different MX record values that start with 'aspmx'". Google's current page no longer lists those hosts. This is the set we see in live DNS on long-running Google Workspace domains (checked 2026-11-24):
example.com. 3600 IN MX 1 aspmx.l.google.com.
example.com. 3600 IN MX 5 alt1.aspmx.l.google.com.
example.com. 3600 IN MX 5 alt2.aspmx.l.google.com.
example.com. 3600 IN MX 10 alt3.aspmx.l.google.com.
example.com. 3600 IN MX 10 alt4.aspmx.l.google.com.
Even older setups sometimes list aspmx2.googlemail.com and aspmx3.googlemail.com instead of the alt3 and alt4 hosts. If your domain has any of these and mail arrives, leave it alone. Don't add the legacy hosts to a new setup: use smtp.google.com.
Why five records used to be needed and one is enough now comes down to MX priority: senders try the lowest number first and fall back to higher ones (RFC 5321, section 5.1). Our guide to MX priority explains the fallback rules.
How to set up the Google Workspace MX record
- Add your users first. Create the mailboxes in Google Workspace before you touch DNS, so mail has somewhere to land the moment the MX record changes.
- Open your DNS host. Sign in where your domain's DNS is hosted (your registrar, Cloudflare, or your web host) and find the MX records section.
- Remove the old MX records. Delete every MX record that points to your previous provider. Google warns that mail "might not work correctly" if old or incorrect MX records stay.
- Add the Google record. Add one MX record: host
@(or blank), valuesmtp.google.com, priority1, TTL your DNS host's default. - Wait and check. Google allows up to 72 hours for the change to be recognized. Check the result with an MX lookup, then send a test message from an outside account.
If you are replacing a live mail system, lower the TTL on the old MX records to 300 seconds a day ahead, then switch. Our page on changing MX records safely has the full cutover plan.
SPF, DKIM and DMARC for Google Workspace
The MX record only routes incoming mail. Outgoing mail needs authentication, or Gmail, Yahoo and Microsoft will treat it with suspicion.
| Record | Type | Host | Value |
|---|---|---|---|
| SPF | TXT | @ | v=spf1 include:_spf.google.com ~all |
| DKIM | TXT | google._domainkey | The public key from the Admin console (v=DKIM1; k=rsa; p=...) |
| DMARC | TXT | _dmarc | Start with v=DMARC1; p=none; rua=mailto:[email protected] |
- SPF. Google gives
v=spf1 include:_spf.google.com ~alland says "Google recommends you use ~all". A domain may have only one SPF record, so add other senders as extrainclude:terms in the same record, and stay within the 10-lookup limit of RFC 7208. Google allows up to 48 hours for SPF to start working (Google: set up SPF, checked 2026-11-24). - DKIM. In the Admin console go to Apps, Google Workspace, Gmail, Authenticate email, and generate a key. The default selector is
google, so the TXT record goes atgoogle._domainkey. Pick 2048-bit unless your DNS host can't store it (then 1024). You must wait 24 to 72 hours after turning on Gmail before the key is available, and after adding the record you return to the same page and start authentication (Google: set up DKIM, checked 2026-11-24). - DMARC. Google's guide starts with
p=noneand a reporting address, then moves toquarantineorrejectonce reports show your mail passes. Google's own example addspct,adkimandaspftags (Google: set up DMARC, checked 2026-11-24).
Background on each record: SPF, DKIM and DMARC.
How to check your Google Workspace MX record
Check yours with our MX lookup: it runs in your browser and shows each host with its priority. From a terminal:
$ dig MX example.com +short
1 smtp.google.com.
C:\> nslookup -type=mx example.com
A correct new setup returns exactly one line. If you see smtp.google.com plus anything that isn't Google, the old provider's record is still there and some mail will go to it. To check SPF, DKIM and DMARC in one pass, use the email authentication checker. Our guide to checking MX records covers PowerShell and DNS-over-HTTPS too.
Common Google Workspace MX mistakes
- Old records left in place. A leftover record at priority 0 or 10 from the old host wins or shares the traffic. Symptom: some messages never show up in Gmail.
- Mixing the old and new values. Google's instruction is to remove any other MX records. If you move to
smtp.google.com, delete all five ASPMX records. - Two SPF records. Adding a second
v=spf1TXT record for Google instead of merging it makes SPF fail with a permanent error. - DKIM generated but never started. Publishing the TXT record isn't enough; you also have to start authentication in the Admin console.
- Wrong host. Entering
example.comin a panel that appends the domain creates a record forexample.com.example.com.
More symptoms and fixes are in MX record mistakes and how to fix them.
What Google-hosted domains mean for list verification
Google Workspace accepts mail for unknown addresses on many domains, because admins turn on catch-all routing. In Mail Exchange's checks of 779,784 unique business addresses across 200,799 domains (17 Oct to 22 Nov 2026, mostly B2B contact lists), 51.9% of the 83,789 Google Workspace domains where our catch-all test reached a verdict accepted mail for any address. So an MX record pointing at Google tells you the domain receives mail, not that a given mailbox exists. Details in Is Google Workspace a catch-all? and Google mailboxes.
Common questions
What is the MX record for Google Workspace?
For new setups it is a single record: smtp.google.com with priority 1. Domains that started before 2023 may use a set of records starting with aspmx (aspmx.l.google.com at priority 1 and four alt hosts), which Google says are still supported.
Should I switch from the ASPMX records to smtp.google.com?
You don't have to. Google says that if your email is working, no changes are required, and the legacy values are still supported. If you do switch, replace the whole ASPMX set with the one smtp.google.com record rather than mixing them.
What priority should smtp.google.com have?
Google lists priority 1. With a single MX record the number itself makes no practical difference, because there is nothing else to compare it with, but use 1 to match Google's instructions.
What is the SPF record for Google Workspace?
v=spf1 include:_spf.google.com ~all. If you already have an SPF record for another sender, add include:_spf.google.com to that record instead of creating a second one.
How long do Google Workspace MX changes take?
Google says it can take up to 72 hours for new MX records to be recognized. Lowering the TTL on the old records a day before the switch shortens the overlap.