Opens in a new tab

smtp.google.com and aspmx.l.google.com: Google Workspace’s MX records

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 isMailbox provider
MX records1 smtp.google.com
SPFinclude:_spf.google.com
DKIM selectorgoogle
TTLYour DNS host’s default
Taking effectUp 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.com
  • alt1.aspmx.l.google.com
  • alt2.aspmx.l.google.com
  • alt3.aspmx.l.google.com
  • alt4.aspmx.l.google.com
  • aspmx2.googlemail.com
  • aspmx3.googlemail.com
  • aspmx4.googlemail.com
  • aspmx5.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:

Know when your MX records change

Add your domain and we check its DNS on a schedule and email you when its records change — so a provider switch left half done, or an MX nobody meant to add, does not go unnoticed. Free for your first domain.

Create a free account