DMARC, SPF and DKIM for Klaviyo
Updated 2026-11-21
Klaviyo is an email and SMS marketing platform. New accounts send from a shared Klaviyo domain, so recipients see "via klaviyomail.com" and nothing aligns with your own domain. To reach p=reject, you set up a branded sending domain (Klaviyo also calls it a dedicated sending domain) on a subdomain such as send.example.com. This guide follows Klaviyo's help center, read in November 2026. For background on each standard, see SPF explained, DKIM explained and DMARC explained.
What Klaviyo sends from
Three identities matter for a message from [email protected]:
- From address. The address you set on the campaign or flow. Klaviyo says to use an address on your root domain that can receive replies, such as
[email protected], and not the sending subdomain: "If the subdomain is in your from-address, you will not receive replies from recipients." Service domains (Klaviyo Helpdesk) are the exception. - Return-Path (envelope sender). Klaviyo says: "With Klaviyo, the Return-Path domain depends on your sending setup. It can use a shared Klaviyo domain, such as klaviyomail.com, your branded sending domain, or one of its subdomains." Klaviyo handles bounces for it. As of November 2026 the help center does not say exactly which name your account gets; check the
smtp.mailfromvalue in a test message. - DKIM signing domain (
d=). By default it is a Klaviyo domain "such as klaviyomail.com". With a branded sending domain, "your email is DKIM-signed by your own domain in addition to a shared Klaviyo domain." The help center does not print an exampled=value for a customer domain.
A branded sending domain has a send type: Marketing (campaigns and flows, the default), Transactional (flow messages designated as transactional) or Service (Helpdesk replies). You can have one active branded sending domain per send type, each on its own subdomain, and "All branded sending domains in the account must use the same root domain." Klaviyo's examples are send for marketing, updates for transactional and support for service. It says to avoid mail, which is "typically reserved for an inbox setup".
SPF
Klaviyo publishes no include for your root domain. As of November 2026 it says: "You do not need to add a separate SPF TXT record to send email through Klaviyo. SPF is already configured for Klaviyo’s shared sending domains. For a branded sending domain, the NS or CNAME records you add during setup connect it to the SPF records Klaviyo manages." Receivers check SPF on the Return-Path domain. Klaviyo says its NS or CNAME records enable SPF, but which name the Return-Path uses is not documented.
Two rules from Klaviyo's DNS troubleshooting article:
- "Do not add a TXT record at a host that already has a CNAME for Klaviyo." With Static routing,
send.example.comis a CNAME. - With Dynamic routing, records you add at your DNS provider for the delegated subdomain "won't take effect". Add any records of your own for it in Klaviyo instead.
You still need SPF on example.com for your other senders, such as your mailbox provider. One name may hold only one SPF record. In this typical setup, include:_spf.example.net is a placeholder for "another service":
example.com TXT "v=spf1 include:_spf.example.net ~all"
This record uses 1 DNS lookup by itself; the limit is 10 for the whole tree (RFC 7208). Klaviyo adds no lookups here. The included record can add more inside its own tree, so count it with the SPF lookup counter. Klaviyo's tips say an SPF record ends "with a result such as ~all or -all". We recommend ~all: RFC 9989 warns that -all can get a message rejected in SMTP before DMARC runs, even when aligned DKIM would pass, and that mail never shows up in your aggregate reports.
DKIM
DKIM comes with the branded sending domain. Klaviyo "requires up to 3 CNAME or 4 NS records for email authentication, and one TXT record for domain ownership verification." The values below are Klaviyo's examples for send.example.com. Its own note: "The actual record values for your account will be different."
Dynamic routing (recommended by Klaviyo). You delegate the sending subdomain with NS records. Klaviyo says the NS values "can vary by account region":
send.example.com NS ns1.klaviyo.com
send.example.com NS ns2.klaviyo.com
send.example.com NS ns3.klaviyo.com
send.example.com NS ns4.klaviyo.com
example.com TXT "klaviyo-site-verification=<your public API key, as shown in Klaviyo>"
Klaviyo then hosts that zone and keeps its DKIM records locked in Manage DNS zone.
Static routing. Use it if your DNS provider does not support NS records. A first marketing domain looks like this:
send.example.com CNAME 1.klaviyodns.com
km1._domainkey.example.com CNAME km1._domainkey.1.klaviyodns.com
km2._domainkey.example.com CNAME km2._domainkey.1.klaviyodns.com
example.com TXT "klaviyo-site-verification=<your public API key, as shown in Klaviyo>"
Transactional domains use kt1/kt2, service domains ks1/ks2, and a second domain of the same type the next pair (km3/km4). Static domains set up before send types existed keep legacy selectors; one article names kl1 and kl2, another "kl/kl2 or kl1/kl2", and a third just kl. Leave those records unchanged. Klaviyo does not document the key length.
DMARC alignment
DMARC passes when SPF or DKIM passes and the authenticated domain aligns with the From domain. Relaxed alignment, the default, needs the same organizational domain. Strict alignment needs an exact match.
- Shared sending domain. Klaviyo says its "Return-Path and DKIM domains do not align with your brand’s From Address domain". Klaviyo advises staying on it only if your domain does not use
p=quarantineorp=reject. - Branded sending domain. Klaviyo says a branded domain like
send.example.com"aligns under DMARC’s relaxed alignment mode" for[email protected]. Its DMARC article puts the weight on DKIM: "A branded sending domain lets you align the domain used for DKIM authentication with your from-address domain." - SPF. Klaviyo warns that "SPF authentication can pass while SPF alignment fails" and that DMARC still passes if DKIM aligns. Treat DKIM as the leg you rely on.
Because the help center does not state the exact d= and Return-Path names, we recommend relaxed alignment: leave adkim and aspf out. Check one real message before choosing strict. Klaviyo also notes, as of November 2026, that Gmail requires bulk senders to authenticate with both SPF and DKIM; Google counts 5,000 or more emails a day to personal Gmail accounts as bulk.
Step by step to p=reject
- Add the branded sending domain. Click your company name in the bottom left, then Settings, Domains, Add domain; choose the Email type, confirm the root domain, enter an unused subdomain such as
send, and pick Dynamic or Static routing (Owner, Admin, Manager or Campaign Coordinator role required). - Publish the records. Choose Connect with Entri or Set up manually and add the NS or CNAME records and the
klaviyo-site-verificationTXT record exactly as shown; Klaviyo says DNS updates can take up to 48 hours. - Publish DMARC with p=none and a report address. If example.com has no DMARC record, Klaviyo's Add DMARC record option creates
v=DMARC1; p=none; add aruaaddress, as in the first record below, and if a record already exists, edit it instead, because the standard allows only one DMARC record per name. - Verify and activate. Select Verify, wait for Verified, then select Activate; Klaviyo recommends pausing flows and campaigns before activating your first marketing domain, and new accounts warm it over 2 to 4 weeks.
- Read the reports and fix other senders. Check that Klaviyo mail passes DKIM aligned with example.com, then give every other legitimate source aligned DKIM or SPF.
- Move to p=quarantine. When the reports show only legitimate mail passing, change the policy to
p=quarantineand keep reading reports. - Move to p=reject. After a period at quarantine without unexpected failures, change the policy to
p=rejectand keep watching for new senders.
_dmarc.example.com TXT "v=DMARC1; p=none; rua=mailto:[email protected]"
_dmarc.example.com TXT "v=DMARC1; p=reject; rua=mailto:[email protected]"
Klaviyo says reports sent to an address on another root domain need a TXT authorization by that domain's owner. Some receivers support a test flag (t=y in RFC 9989, pct in RFC 7489), but neither is a safety net: RFC 7489 says unknown tags must be ignored (section 6.3), so a receiver that implements only RFC 7489 can apply p=reject; t=y as a full reject. Step from p=none to p=quarantine to p=reject instead.
Common mistakes
- Tightening DMARC on the shared domain. Without a branded sending domain, Klaviyo mail has no aligned identifier, so
p=quarantineorp=rejecthurts your own campaigns. - The sending subdomain in the From address. Replies to
@send.example.comdo not reach you. Use an address on example.com. - A second SPF record. Klaviyo needs no SPF change. If another service needs one, merge it into the existing record.
- A TXT record on a Klaviyo host. Do not add TXT at a host that has a Klaviyo CNAME. For a Dynamic domain, add records in Klaviyo's Manage DNS zone panel.
- Proxied records. Klaviyo says proxying (Cloudflare in particular) "blocks Klaviyo from verifying the record". Keep it off.
- The domain added twice. If your DNS host appends the root domain, enter only
sendorkm1._domainkey. If a CNAME resolves tosomething.klaviyodns.com.example.com, add a trailing period to the value. - Removing the DKIM underscores. For Static routing, Klaviyo says the underscores in the DKIM CNAME names are required. If your provider cannot store them, use Dynamic routing.
How to check it
Run the email security check after each step. Count the lookups in your root SPF record with the SPF lookup counter. In the DKIM selector finder, look for km1 and km2 on example.com (Static marketing) or the selector shown in your headers (Dynamic). Build each DMARC stage with the DMARC record generator.
Klaviyo also tells you to check the header of a sent message, one for each send type you use. In Authentication-Results, look for dkim=pass with your own domain, the smtp.mailfrom domain and dmarc=pass with header.from=example.com.
Frequently asked questions
Do I need to add Klaviyo to the SPF record on my root domain?
No. As of November 2026 Klaviyo says: "You do not need to add Klaviyo to your root domain’s SPF record." For a branded sending domain, the NS or CNAME records you add during setup connect it to SPF records Klaviyo manages. Keep the SPF record on your root domain for your other senders.
Which DKIM selectors does Klaviyo use?
With Static routing, as of November 2026: km1 and km2 for marketing, kt1 and kt2 for transactional and ks1 and ks2 for service domains. A second domain of the same send type gets the next pair, such as km3 and km4. Older static domains keep legacy selectors such as kl1 and kl2. With Dynamic routing there are no selector CNAMEs at your DNS host; Klaviyo serves the DKIM records and says it can use other selectors, such as mtd.
Can I stay on Klaviyo's shared sending domain with p=reject?
Klaviyo advises against it. It says to use a shared sending domain only if your domain does not use a DMARC policy of p=quarantine or p=reject, because those policies can send mail from a shared domain to spam or get it rejected. Its Return-Path and DKIM domains do not align with your From domain.
Should I choose Dynamic or Static routing?
Klaviyo recommends Dynamic, which uses NS records and lets Klaviyo host the sending subdomain. Choose Static, which uses CNAME records, if your DNS provider does not support NS records. Both give you DKIM signed by your own domain.
Sources
- How to set up a branded sending domain, Klaviyo Help Center, fetched 2026-11-21.
- DNS and SPF setup troubleshooting in Klaviyo, Klaviyo Help Center, fetched 2026-11-21.
- Understand the domains that play a role in email deliverability, Klaviyo Help Center, fetched 2026-11-21.
- Understanding email authentication, Klaviyo Help Center, fetched 2026-11-21.
- Understanding branded vs. shared sending domains, Klaviyo Help Center, fetched 2026-11-21.
- Understanding what a branded sending subdomain is, Klaviyo Help Center, fetched 2026-11-21.
- How to manage DNS records for a dynamic branded sending domain, Klaviyo Help Center, fetched 2026-11-21.
- Troubleshooting branded sending domain issues, Klaviyo Help Center, fetched 2026-11-21.
- How to verify email authentication configurations, Klaviyo Help Center, fetched 2026-11-21.
- RFC 9989: Domain-Based Message Authentication, Reporting, and Conformance (DMARC), RFC Editor, fetched 2026-11-21.
- RFC 7208: Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1, RFC Editor, fetched 2026-11-21.
- RFC 7489: Domain-based Message Authentication, Reporting, and Conformance (DMARC), RFC Editor, fetched 2026-11-21.