Provider guide · updated 2026-09-03
Google Workspace: SPF, DKIM and DMARC setup
Google Workspace needs one SPF include, a DKIM key generated in the Admin console, and a DMARC record. Bulk senders to Gmail also have alignment and unsubscribe requirements.
SPF for Google Workspace
Google publishes its sending ranges under _spf.google.com. Add that include to the SPF record on your root domain. A domain may have only one SPF record, so if one already exists, add the include to it rather than creating a second TXT record.
If other services send as your domain (a CRM, a newsletter tool, a helpdesk), their includes belong in the same record. Keep the total DNS lookups under the limit of 10.
| Type | Name | Value |
|---|---|---|
| TXT | example.com | v=spf1 include:_spf.google.com ~allMerge with an existing SPF record instead of adding a second one. |
DKIM: generate and publish the key
DKIM for Workspace is generated in the Admin console. Google recommends a 2048-bit key. The default selector is google, so the record name is google._domainkey on your domain. After the TXT record resolves, return to the console and turn on signing.
Wait for DNS to propagate before starting authentication. Google notes it can take up to 48 hours, although most changes are visible much sooner.
- Open Google Admin console and go to Apps, then Google Workspace, then Gmail, then Authenticate email.
- Select the domain, choose Generate new record, and pick 2048-bit key length.
- Copy the TXT record host name (google._domainkey) and value, then add it at your DNS host.
- Once the record resolves, click Start authentication.
| Type | Name | Value |
|---|---|---|
| TXT | google._domainkey.example.com | v=DKIM1; k=rsa; p=<public key shown in Admin console>The public key is unique to your domain. Copy it exactly from the Admin console. |
DMARC: start at p=none
Publish DMARC at _dmarc on your domain with p=none first. That policy asks receivers to report but not to act, so you can see which sources fail before enforcing. Add a rua address to receive aggregate reports.
Move to p=quarantine and later p=reject only after reports show that every legitimate sender passes SPF or DKIM in alignment with your domain.
| Type | Name | Value |
|---|---|---|
| TXT | _dmarc.example.com | v=DMARC1; p=none; rua=mailto:[email protected]Use a mailbox or reporting service you actually monitor. |
Google's sender requirements
Google's email sender guidelines apply to any domain that sends to Gmail. All senders must publish SPF or DKIM, have valid forward and reverse DNS on sending hosts, and keep spam complaint rates low. Google names 0.3 percent as the rate to stay below in Postmaster Tools.
Senders that Google classifies as bulk (roughly 5,000 or more messages per day to Gmail) must also publish DMARC, align the From domain with SPF or DKIM, and include one-click unsubscribe headers in marketing mail.
Meeting these requirements avoids policy-based rejection. It does not by itself guarantee inbox placement, which also depends on reputation and recipient engagement.
