What is the maximum DMARC record length?

Still have a question, spotted an error, or have a better explanation or a source we should cite?

Ever copied a DMARC record into your DNS and wondered if it's actually going to fit? Here's the thing: DNS has a hard limit of 255 characters per string in a TXT record. Your DMARC record can absolutely exceed that, but you'll need to split it across multiple quoted strings.

It's simpler than it sounds. If your record hits the limit, you just break it into chunks like this: "first-chunk" "second-chunk" "third-chunk". Each chunk stays under 255 characters, and the DNS system reads them as one record. Most DMARC records stay pretty compact (usually under 200 characters), so you won't hit this issue unless you're adding tons of reporting addresses or complex subdomain policies.

Next step: use the DMARC Parser to check if your current record's syntax is valid and see exactly how long it is.

Contributors

Who worked on this answer

Every name links to their profile. Every company links to their site. Real people, real accountability.

Ask an AI · tailored to your setup

Get a personalized explanation for your specific email setup.

I read this on the Email Almanac about "What is the maximum DMARC record length": "DNS has a hard limit of 255 characters per string in a TXT record. Your DMARC record can absolutely exceed that, but you'll need to split it across multiple quoted strings." Help me understand how this applies to MY specific situation. I need: 1. A simpler explanation of the key concepts 2. What I should check or configure for my setup 3. Common mistakes to avoid 4. How to verify I have it right --- My details (fill in what applies the more you share, the better the advice): - Email platform/ESP: e.g. Mailchimp, SendGrid, Postmark, HubSpot, custom SMTP - Domain(s): your sending domain(s) - Sending volume: e.g. 5,000/month or 500/day - Domain registrar: e.g. GoDaddy, Cloudflare, Namecheap - DNS provider: same as registrar / Cloudflare / Route53 / other - Current records: SPF: yes/no, DKIM: yes/no, DMARC: yes/no - DMARC policy (if set): none / quarantine / reject - Multiple sending services?: list all ESP, CRM, transactional, etc. - Subdomains used for email: e.g. mail.example.com, em.example.com - Using email forwarding?: yes/no this affects SPF/DKIM - Any current authentication failures: describe if you see SPF/DKIM/DMARC failures

Edit the yellow boxes, then send to the AI of your choice.