How do I set up DKIM for Mailgun?
The main step to set up DKIM for Mailgun, from its documentation: add the SPF and DKIM TXT records. Checked October 22, 2026.Last checked
Where this comes from
- Add the SPF and DKIM TXT records
help.mailgun.com/hc/en-us/articles/32884700912923-Domain-Verification-Setup-Guide · read 2026-10-22
The steps, in order
| Name | What the documentation says | Source |
|---|---|---|
| 1. Add the SPF and DKIM TXT records | “We will add two separate TXT records, one for SPF and one for DKIM. These are required to send and receive email with Mailgun” | help.mailgun.com/hc/en-us/articles/32884700912923-Domain-Verification-Setup-Guide · read 2026-10-22 |
| DKIM | A TXT record with the public key Mailgun shows for the domain | help.mailgun.com/hc/en-us/articles/32884700912923-Domain-Verification-Setup-Guide · read 2026-10-22 |
Related questions
- What does Google Workspace say about DKIM?
- What does Google Workspace say about DKIM selector?
- What does Google Workspace say about DKIM key length?
- What does HubSpot say about DKIM?
Mailgun email authentication guide →
Built from public pages on the dates shown. Prices and features change, so check the source before you buy. Outlevo sells outbound software and is not affiliated with the companies named unless the page says so.