How to Add a DMARC Record for Shopify
Learn how to set up a DMARC record for your Shopify store's custom domain. Protect your brand and improve email deliverability.
If you run a Shopify store with a custom domain, you need a DMARC record to protect your brand from email spoofing and improve deliverability. Shopify sends transactional emails (order confirmations, shipping updates, etc.) on your behalf, so proper authentication matters.
How Shopify Email Works
Shopify sends several types of email from your store's domain:
- Order confirmations and receipts
- Shipping notifications
- Abandoned cart emails
- Customer account emails (password resets, welcome emails)
- Shopify Email marketing campaigns (if enabled)
These emails show your custom domain in the From address, which means SPF, DKIM, and DMARC apply.
Prerequisites
Before adding DMARC:
- A custom domain connected to your Shopify store
- Access to your domain's DNS settings (at your registrar or DNS provider — not in Shopify)
- Shopify's sender authentication configured
Shopify's built-in authentication
Shopify automatically handles SPF and DKIM for emails sent through their platform. As of 2024, Shopify requires custom domain authentication for sender email addresses, which sets up the necessary SPF and DKIM records. Verify these are working before adding DMARC.
Step 1: Verify SPF and DKIM
Before adding DMARC, confirm your existing authentication is working.
Check SPF
Use SPF Record Check to verify your SPF record includes Shopify's sending servers.
Check DKIM
Use DKIM Test to verify DKIM is configured for your domain.
Authenticate Your Sender Domain in Shopify
If you haven't already:
- In your Shopify admin, go to Settings → Notifications
- Under Sender email, click your email address
- Follow the prompts to authenticate your domain
- Add the DNS records Shopify provides (CNAME records for DKIM)
- Click Verify once the records are added
Step 2: Create Your DMARC Record
Start with monitoring to make sure everything works:
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com
Replace dmarc@yourdomain.com with a dedicated email address for DMARC reports.
Use DMARC Creator to customize additional options.
Step 3: Add the DNS Record
You add the DMARC record at your DNS provider, not in Shopify. Shopify doesn't provide DNS management for TXT records like DMARC.
Go to your domain's DNS management:
- If your domain is registered with Shopify: Go to Settings → Domains → Manage domain → DNS settings
- If your domain is at an external registrar: Log in to that provider's DNS settings
Add a TXT record:
| Field | Value |
|---|---|
| Type | TXT |
| Host/Name | `_dmarc` |
| Value | `v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com` |
| TTL | 3600 (or default) |
Note: Some DNS providers require the full hostname _dmarc.yourdomain.com while others auto-append the domain.
Step 4: Verify Your Record
Wait a few minutes to a few hours for DNS propagation, then verify:
Step 5: Monitor and Enforce
Review Reports (2-4 Weeks)
After adding your DMARC record with p=none, monitor the reports. Look for:
- Shopify's sending IPs passing SPF and DKIM
- Any third-party email services you use (Klaviyo, Mailchimp, etc.) passing authentication
- Unauthorized senders attempting to use your domain
Move to Quarantine
Once reports look clean:
v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com
Move to Reject
After quarantine runs without issues:
v=DMARC1; p=reject; rua=mailto:dmarc@yourdomain.com
Third-Party Email Services
Most Shopify stores use additional email services. Each needs proper authentication:
Klaviyo
Klaviyo requires you to authenticate your sending domain:
- In Klaviyo, go to Settings → Domains
- Add and verify your domain
- Add the DNS records Klaviyo provides
Mailchimp
- In Mailchimp, go to Settings → Domains
- Verify your domain
- Add their DKIM and SPF DNS records
Other Services
Any service sending email from your domain needs:
- Its sending servers included in your SPF record (or using their own authenticated domain)
- DKIM configured to sign with your domain
- Proper alignment with your From address
Check each service's documentation for their specific DNS records.
Don't forget third-party senders
The most common cause of DMARC failures in Shopify stores is third-party apps and services that send email from your domain without proper authentication. Audit all your email-sending services before moving to quarantine or reject.
Shopify-Managed Domains
If you purchased your domain through Shopify:
- Go to Settings → Domains in your Shopify admin
- Click your domain
- Click DNS settings
- Add a TXT record with
_dmarcas the name and your DMARC value
Shopify's domain management supports TXT records, so you can add DMARC directly.
Troubleshooting
DMARC Record Not Found
- Verify you added the record at your DNS provider (not in Shopify's email settings)
- Check the hostname is
_dmarc(not_dmarc.yourdomain.comif your provider auto-appends) - Wait for DNS propagation
Shopify Emails Failing DMARC
- Verify Shopify's sender authentication is complete in Settings → Notifications
- Check that DKIM CNAME records from Shopify are correctly added
- Make sure SPF includes Shopify's servers
Third-Party App Emails Failing
- Identify which app is sending the failing email (check DMARC reports)
- Configure that app's email authentication
- Some apps send from their own domain — these won't affect your DMARC
Marketing Emails Failing
- If using Shopify Email: authentication is handled automatically
- If using Klaviyo, Mailchimp, etc.: authenticate your domain within that service
- Check the From address matches your authenticated domain
Complete Checklist
- [ ] Shopify sender domain authentication completed
- [ ] SPF verified with SPF Record Check
- [ ] DKIM verified with DKIM Test
- [ ] DMARC TXT record added at
_dmarc.yourdomain.com - [ ] Record verified with DMARC checker
- [ ] Third-party email services authenticated (Klaviyo, Mailchimp, etc.)
- [ ] Monitoring reports for 2-4 weeks before enforcing
Monitor Your DMARC Records
Checking once is good. Monitoring continuously is better. The Email Deliverability Suite watches your SPF, DKIM, DMARC, and MX records daily and alerts you when something breaks.
Never miss a DMARC issue
Monitor your SPF, DKIM, DMARC and MX records daily. Get alerts when something breaks.
Start Monitoring