Google Workspace receives mail at a single MX host, smtp.google.com, at priority 1. Domains set up before 2023 usually have Google’s older set — aspmx.l.google.com and its alt1 to alt4 — which Google still supports: if mail arrives, nothing needs changing.
| What it is | Mailbox provider |
| MX records | 1 smtp.google.com |
| SPF | include:_spf.google.com |
| DKIM selector | google |
| TTL | Your DNS host’s default |
| Taking effect | Up to 72 hours for the new MX to be recognised |
Does your domain use Google Workspace?
Enter a domain: we read its MX records as a sending server does, name whose each host is, and say whether Google Workspace’s are all there — and what else is.
The MX records
What Google Workspace asks for:
example.com. MX 1 smtp.google.com.
Older names
These still receive mail, though Google Workspace now documents the records above:
aspmx.l.google.comalt1.aspmx.l.google.comalt2.aspmx.l.google.comalt3.aspmx.l.google.comalt4.aspmx.l.google.comaspmx2.googlemail.comaspmx3.googlemail.comaspmx4.googlemail.comaspmx5.googlemail.com
Worth knowing
Any account can use the single smtp.google.com record; the older aspmx values keep working. Google’s current page no longer lists the older hosts and their priorities — the names above are what the records on domains still using them show.
gmail-smtp-in.l.google.com is consumer Gmail’s own MX, for gmail.com — not a value for your domain.
Common mistakes
- Leaving the previous provider’s MX records in place: Google says mail may not work correctly with old or incorrect MX records.
- A trailing dot where the DNS host does not want one — or missing where it does.
Sending mail through Google Workspace too? Its SPF, DKIM and DMARC records, and a check of all three.
Questions
Should I replace aspmx.l.google.com with smtp.google.com?
You do not have to: Google still supports the older values. If you change, replace all five older records with the one new record, rather than adding it beside them.
Sources
Checked on 27 September 2026 against these official sources:
- Set up MX records for Google Workspace — knowledge.workspace.google.com
- Set up SPF — Apps & integrations — knowledge.workspace.google.com
- Set up DKIM — Security & data protection — knowledge.workspace.google.com