How to Set Up DKIM in Namecheap

Add email authentication to prevent spoofing and improve deliverability.

Check if your DKIM is configured correctly

What is DKIM and Why Do You Need It?

DKIM (DomainKeys Identified Mail) adds a digital signature to your outgoing emails, proving they actually came from your domain and haven't been tampered with.

  • Digital signature — adds cryptographic proof to every email
  • Prevents spoofing — stops attackers from faking your domain
  • Improves deliverability — authenticated emails reach the inbox
  • Works with SPF & DMARC — completes the email authentication trio

Before You Start

Checklist before adding DKIM:

  • Your domain is using Namecheap DNS (BasicDNS or PremiumDNS)
  • You have the DKIM key from your email provider
  • You know your DKIM selector (e.g., "google", "selector1")
Note: DKIM keys come from your email provider (Google Workspace, Microsoft 365, etc.), not from Namecheap. You'll need to get the key first, then add it to Namecheap DNS.

How to Get Your DKIM Key

Google Workspace

  1. Go to admin.google.com → Apps → Google Workspace → Gmail
  2. Click "Authenticate email"
  3. Select your domain → "Generate new record"
  4. Copy the DKIM key (selector is usually google)

Microsoft 365

  1. Go to Microsoft 365 Defender portal
  2. Email & collaboration → Policies → DKIM
  3. Select your domain → Enable
  4. Copy both CNAME records (selector1 and selector2)

Other Providers

  • • Check your email provider's documentation
  • • Look for "DKIM", "Email Authentication", or "Domain Verification"

Step-by-Step: Adding DKIM in Namecheap

1Log in to Namecheap

  1. Go to namecheap.com and sign in
  2. Go to Domain List → click "Manage" on your domain

2Go to Advanced DNS

Click the "Advanced DNS" tab

3Add the DKIM Record

For Google Workspace (TXT Record):

  • Type: TXT
  • Host: google._domainkey
  • Value: (paste your DKIM key from Google)
  • TTL: Automatic

For Microsoft 365 (CNAME Records):

Record 1:

  • Type: CNAME
  • Host: selector1._domainkey
  • Target: selector1-yourdomain-com._domainkey.yourdomain.onmicrosoft.com
  • TTL: Automatic

Record 2:

  • Type: CNAME
  • Host: selector2._domainkey
  • Target: selector2-yourdomain-com._domainkey.yourdomain.onmicrosoft.com
  • TTL: Automatic

4Save and Enable

  1. Click the green checkmark to save
  2. Go back to your email provider and enable/verify DKIM

Common Namecheap DKIM Mistakes

1. Adding the full domain in Host field

Use google._domainkey notgoogle._domainkey.yourdomain.com

2. Forgetting to enable DKIM in email provider

The DNS record alone isn't enough — you must also enable DKIM in your email provider's admin panel.

3. Wrong record type

Google uses TXT records, Microsoft uses CNAME records. Don't mix them up.

4. Truncated DKIM key

Some DKIM keys are very long. Make sure you copy the entire value without cutting it off.

5. Wrong selector

Double-check the selector matches what your provider expects (e.g., "google" for Google Workspace).

How to Verify Your DKIM Record

After adding the record, verify it's working:

  • Use our free scanner to check if DKIM is detected
  • Or use terminal: dig TXT google._domainkey.yourdomain.com
  • Your email provider's admin panel should show "Authenticated" status

DKIM Selectors by Provider

ProviderSelector(s)Record Type
Google WorkspacegoogleTXT
Microsoft 365selector1, selector2CNAME
Mailchimpk1CNAME
SendGrids1, s2CNAME
Amazon SES(custom)CNAME
HubSpoths1, hs2CNAME
Zoho MailzmailTXT

Related Guides

Is Your DKIM Working?

Scan your domain for free. We'll detect your DKIM selectors, verify your configuration, and show you exactly what needs to be fixed.

Check Your Domain

Free scan. Fix for €49 one-time.