# What is the difference between SPF, DKIM and DMARC?

> SPF lists which servers may send email for your domain, DKIM adds a cryptographic signature to each message, and DMARC tells receiving servers what to do when a message fails those checks and where to send reports.

URL: https://harer.io/qa/what-is-the-difference-between-spf-dkim-and-dmarc/
Updated: 2026-11-22

## Quick answer
SPF lists which servers may send email for your domain, DKIM adds a cryptographic signature to each message, and DMARC tells receiving servers what to do when a message fails those checks and where to send reports. Most businesses need all three.
| Record | Answers the question | Where it lives |
| --- | --- | --- |

| SPF | Is this server allowed to send for the domain? | TXT record on the domain |

| DKIM | Was this message signed by the domain and left unchanged? | TXT or CNAME at a selector name |

| DMARC | What should happen if SPF and DKIM do not line up with the From address? | TXT record at _dmarc |

## Do I need all three?
Yes, in most cases. Major mailbox providers increasingly expect authenticated mail, and DMARC only works when SPF or DKIM pass for your domain.
Setup steps: [How do I set up business email on my own domain?](https://harer.io/guides/set-up-business-email/)

## Questions and answers

### What is the difference between SPF, DKIM and DMARC?
SPF lists which servers may send email for your domain, DKIM adds a cryptographic signature to each message, and DMARC tells receiving servers what to do when a message fails those checks and where to send reports. Most businesses need all three.

## Sources
- [RFC 7208: Sender Policy Framework (SPF)](https://datatracker.ietf.org/doc/html/rfc7208)
- [RFC 6376: DomainKeys Identified Mail (DKIM)](https://datatracker.ietf.org/doc/html/rfc6376)
- [RFC 7489: DMARC](https://datatracker.ietf.org/doc/html/rfc7489)
