Opens in a new tab

SPF include: what it does, and what it costs

include: authorises the servers another domain’s SPF record authorises. It is how services say which servers they send from: include:_spf.google.com, include:sendgrid.net. It is also where most SPF records run out of DNS lookups.

Syntaxinclude:<domain>
DNS lookupsOne, plus every lookup inside the included record
Included domain has no SPF recordpermerror — the whole record fails
Defined inRFC 7208 §5.2

What it does

The receiver evaluates the named domain’s SPF record as if it were checking mail from that domain. If that evaluation passes, the include matches and your record passes. If it fails, softfails or is neutral, the include simply does not match, and your record carries on to its next term — the included record’s own all never ends yours.

Two outcomes are not so forgiving. If the included domain publishes no SPF record, or its record is broken, your whole record returns permerror. If its DNS times out, yours returns temperror.

The name is misleading: include does not paste the other record into yours. It asks a question about it.

Examples

v=spf1 include:_spf.google.com include:sendgrid.net ~all

Google Workspace and SendGrid servers pass.

See what your own SPF record says

Every term of your published record, read and explained — including this one.

Common mistakes

  • Including a domain that publishes no SPF record — include:gmail.com, or a service’s website domain — which makes the whole record fail.
  • Including services that send with their own bounce domain (Mailchimp, Postmark, Amazon SES by default): your record is never checked for their mail, so the include costs lookups and does nothing.
  • Including the same service twice, or a domain that includes you back (a loop).

What we recommend

Include only services that send with your domain as the bounce address, and remove includes for services you have stopped using. Our email setup guides say which services need one.

SPF and DKIM setup for each sending service →

Follow every include in your record →

Questions

Why does one include use several lookups?

The included record can contain includes, a and mx terms of its own, and every one of them counts against your ten. include:mailgun.org, for example, costs five.

Sources

Checked on 25 September 2026 against these official sources:

Know when your records change

Add your domain and we monitor its SPF, DKIM and DMARC every day, read the DMARC reports receivers send you, and email you when a record changes or a sender starts failing. Free for your first domain.

Create a free account