Guide · Updated December 2026

Klaviyo SPF, DKIM and DMARC: what to set up and why

If you've been asked to add a Klaviyo SPF record, the good news is you probably don't need to touch your main SPF record at all. A branded sending domain takes care of SPF and DKIM. DMARC is the one you add yourself.

What each record does

RecordQuestion it answersWho sets it up
SPFIs this server allowed to send for this domain?Handled by your Klaviyo sending domain records
DKIMWas this message signed by the domain it claims to be from, and left unchanged?Handled by your Klaviyo sending domain records
DMARCDo SPF or DKIM line up with the visible From domain, and what should happen if they don't?You, on your root domain

How Klaviyo handles SPF and DKIM

When you set up a branded sending domain in Klaviyo, you choose a subdomain such as send.yourbrand.co.uk. Klaviyo generates a small set of DNS records for it. Once added and verified, mail is sent from that subdomain with SPF and DKIM both aligned to your brand.

Because SPF is checked against the sending subdomain, you generally don't add Klaviyo to the SPF record on your root domain. That's helpful, because root SPF records have a limit of ten DNS lookups and are easy to break when lots of tools send on your behalf.

To set it up: Settings → Domains in Klaviyo, add the sending domain, copy the records into your DNS host and verify. If you use Cloudflare, set the records to DNS only rather than proxied.

Adding DMARC

DMARC lives at _dmarc.yourbrand.co.uk as a TXT record. Since 2024, Gmail and Yahoo expect bulk senders to have one. A sensible path:

  1. Start with monitoring: v=DMARC1; p=none; rua=mailto:dmarc-reports@yourbrand.co.uk
  2. Read the reports for a few weeks. They show every service sending as your domain: Klaviyo, Google Workspace or Microsoft 365, your help desk, Shopify notifications and so on.
  3. Fix anything failing. Usually a tool that needs its own DKIM setup.
  4. Tighten the policy to p=quarantine, and later p=reject if you want the strongest protection against spoofing.

Raw DMARC reports are XML and hard to read; a free report reader makes them much easier. Klaviyo's article on understanding DMARC covers the Klaviyo side.

Checking it all passes

  1. Send a campaign preview to a Gmail address.
  2. Open it, click the three dots and choose Show original.
  3. Look for SPF: PASS, DKIM: PASS and DMARC: PASS, and check the domains shown matches your sending domain.

For ongoing monitoring, set up Google Postmaster Tools for your domain. It shows authentication rates, spam rate and domain reputation week by week.

Common mistakes

  • Adding Klaviyo to root SPF "just in case". It doesn't help and uses up lookups.
  • Two SPF records on one domain. Only one is allowed; merge them.
  • Jumping straight to p=reject. If a tool you rely on isn't authenticated, its mail will be rejected, which can include password resets and order emails.
  • Proxied records in Cloudflare. Verification fails until they're set to DNS only.

Authentication is the start, not the finish

Passing SPF, DKIM and DMARC gets you through the door. Whether you land in the inbox depends on list quality and engagement. If you're still seeing problems after authentication passes, work through our guide to Klaviyo emails going to spam, most issues are covered there.

Questions people ask

Do I need to add Klaviyo to my SPF record?

Usually not. When you set up a branded sending domain in Klaviyo, SPF and DKIM are handled on that sending subdomain through the DNS records Klaviyo generates, so your root domain's SPF record stays as it is.

What DKIM record does Klaviyo use?

Klaviyo generates the DKIM records you need as part of the branded sending domain setup. Add them exactly as shown in your Klaviyo domain settings, then verify.

Does Klaviyo require DMARC?

Gmail and Yahoo require bulk senders to publish a DMARC record on their domain. Klaviyo's guidance follows this, so you should add one to your root domain if you don't already have it.

How do I check SPF, DKIM and DMARC are passing?

Send a test email to a Gmail address, open it, choose Show original and look for PASS next to SPF, DKIM and DMARC. Google Postmaster Tools also shows authentication rates over time.

Keep reading

Bring us the ambition. We’ll build the system behind it.