ESP

SPF, DKIM & DMARC for Klaviyo

Everything Klaviyo needs to send authenticated mail as your domain: the SPF include, the DKIM setup, and the DMARC record that ties it together, in the correct order.

Klaviyo authentication specification

RecordValue for KlaviyoNotes
SPF includeAssigned in the dashboardCosts one of the 10 allowed DNS lookups
DKIM selectorklaviyoVerify with the DKIM checker after setup
DMARC location_dmarc.yourdomain.comOne record covers every sender, Klaviyo included
DNS record typesCNAME and/or TXT as the steps stateKeep mail records unproxied (DNS only)

Klaviyo gotcha: Klaviyo is DKIM-centric: it provisions a dedicated sending domain (return-path CNAME) plus DKIM CNAMEs; there is often no SPF include to add at all.

SPF which servers may send DKIM proves mail is intact DMARC policy + reports Receiver checks all three pass INBOX fail SPAM / REJECT DMARC requires at least one pass (SPF or DKIM) with domain alignment
How SPF, DKIM, and DMARC work together on every message Klaviyo sends

Step 1: Verify your domain in Klaviyo

Before any records, Klaviyo must recognize your domain. In Klaviyo's settings, find Sending domains / Sender authentication / Verified domains, add your domain, and complete whatever verification it asks for (usually a TXT token or a dashboard confirmation). Records you publish before this step often don't activate.

Step 2: Add Klaviyo to your SPF record

Klaviyo assigns your SPF value when you authenticate the domain: the dashboard displays an include: string (or a return-path CNAME that plays the same role). Copy it from there rather than from an old tutorial; providers rotate infrastructure, and the dashboard value is always current.

Rules that matter: your domain has exactly one SPF record (two = permerror), and every include: costs one of the 10 allowed DNS lookups. If you're stacking several services, run the SPF checker after this step; if the meter is near 10, the SPF flattener fixes it free.

Step 3: Publish Klaviyo's DKIM key

In Klaviyo's domain/authentication settings, generate the DKIM key. Klaviyo shows you a DNS record to create:

  • Type CNAME or TXT, exactly as their dialog states.
  • Host/name: klaviyo._domainkey.
  • Value: the long key string. Paste it verbatim; no added quotes or spaces.

Once the record propagates (minutes), click the verify/generate button in Klaviyo so the service starts actually signing mail. Publishing DNS without triggering the signer is the classic half-done setup. Confirm the key is live with the DKIM checker.

Step 4: Publish (or update) DMARC

Create a TXT record at _dmarc.yourdomain.com. Starting value, with your address in the reporting tag:

v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

With Klaviyo now passing SPF and DKIM, your aggregate reports will show aligned passes. After a clean reporting cycle, step the policy up to quarantine, then reject, using the roadmap in the DMARC guide. Build the record with the DMARC generator, verify with the DMARC checker.

Step 5: Verify the whole stack

Send a test message from Klaviyo to yourself, then open its Show original / View source and check the Authentication-Results line: SPF pass, DKIM pass, DMARC pass. Or scan everything at once with the homepage security scanner.

Frequently asked questions

Does Klaviyo need its own DMARC record?+

No. DMARC is published once for your domain and covers every legitimate sender, including this service. The service just needs SPF and DKIM set up so DMARC sees aligned passes.

Where do I find the exact DNS values for Klaviyo?+

In the service's own domain-authentication settings page. Providers rotate infrastructure, so the in-app values always beat tutorials. This guide gives the process and the known values.

Can I use this domain with multiple sending services?+

Yes: each service adds its own include (or CNAMEs) and DKIM selector. Watch the SPF 10-lookup limit as senders stack, and flatten if you approach it.

How long until Klaviyo DNS changes take effect?+

The DNS records verify within minutes to an hour, but receiver-side caches obey the old record's TTL. Check worldwide agreement with the propagation checker before your first campaign.

Why do my Klaviyo emails still go to spam after authentication?+

Authentication is necessary but not sufficient: sender reputation, list quality, warm-up, and content also score your mail. Verify SPF, DKIM, and DMARC all pass first, then address engagement factors.

Do I need a separate SPF record for Klaviyo?+

Never. A domain has exactly one SPF record; adding a second one breaks both. Instead, add the service's include mechanism to your existing record.

Should I send Klaviyo mail from a subdomain instead?+

Often yes: a dedicated subdomain (mail.yourdomain.com) isolates campaign reputation from your corporate mail and only needs its own records. Both approaches support full authentication.

How do I confirm Klaviyo's DKIM is actually working?+

Send a test message and read the Authentication-Results header for dkim=pass, or run the selector through the DKIM checker to confirm the key is live in DNS.

Verify your setup

Related guides

Last verified: 2026-09-06