There's an 78.3% chance your domain can be spoofed right now. Run DMARC Check

How to add an SPF record in Namecheap (plus DKIM and DMARC)

Namecheap keeps DNS records under a tab called Advanced DNS, which is easy to miss if you're looking for a "DNS" menu. Here's the exact path and what goes in each field for SPF, DKIM, and DMARC.

Updated July 25, 2026

Where DNS lives in Namecheap

  1. Sign in at namecheap.com → Domain List → Manage next to your domain.
  2. Open the Advanced DNS tab.
  3. Under Host Records, click Add New Record for each record below.

Add the SPF record

Add New Record → TXT Record, Host @, and the value from your email platform — our setup guides list the exact include: for every major provider. If a v=spf1 record already exists (Namecheap's Private Email preconfigures one), merge into it: a domain gets one SPF record only.

v=spf1 include:zohomail.com ~all
Example value for a domain sending through Zoho Mail

Add the DKIM record

Copy the record from your sending platform (how to enable DKIM). TXT-style keys go in as TXT Record with the selector in Host (e.g. google._domainkey). CNAME-style records (SendGrid, Microsoft 365, most ESPs) go in as CNAME Record — Host is the selector, Target is the platform's hostname, pasted exactly.

Add the DMARC record

Namecheap's Add New Record menu has a dedicated "DMARC Record" type on some plans; it's just a TXT record at _dmarc either way. Build the value with our DMARC generator and start at p=none with a reporting address.

v=DMARC1; p=none; rua=mailto:reports@yourdomain.com
TXT Record → Host: _dmarc, Value:

Verify it worked

Namecheap's BasicDNS propagates within about 30 minutes. Confirm with the email health check — it validates all three records and catches duplicated SPF, the most common Namecheap issue thanks to Private Email's preset record.

Sources and further reading

Common questions

I don't see Advanced DNS — only Domain and Products tabs.+

Advanced DNS only appears when the domain uses Namecheap's own nameservers (BasicDNS or PremiumDNS). If you've pointed nameservers at another provider — commonly Cloudflare or your web host — DNS records must be added there instead, and Namecheap's editor is inactive.

Namecheap added a mail settings dropdown that changed my records — what happened?+

The Mail Settings selector on the Domain tab (Email Forwarding, Private Email, Custom MX) rewrites MX records when changed. It doesn't touch SPF/DKIM TXT records, but switching it can silently replace your MX — check the Host Records table after changing it.

How do I add SPF for Namecheap Private Email?+

Private Email domains normally get `v=spf1 include:spf.privateemail.com ~all` preconfigured. If you also send through another platform, add that platform's include into the same record rather than creating a second one.