DKIM signs each message so receiving servers can check that your domain authorised it and that it was not changed on the way. Amazon SES can create and manage the keys for you (Easy DKIM) or use a key you supply (BYODKIM). The steps below follow the AWS DKIM documentation as of November 30, 2026.
Amazon SES DKIM Setup: Easy DKIM and BYODKIM
Set up DKIM in Amazon SES step by step: Easy DKIM CNAME records, console steps, BYODKIM keys, how to verify it, and fixes for pending or failed status.
Before you start
- Verify your domain as an identity in SES, in the Region you send from. DKIM is set up per Region.
- Have access to the domain's DNS.
- Only the domain in your From address needs DKIM, not the Return-Path or Reply-To domain.
Set up Easy DKIM
- Open the SES console and, under Configuration, choose Identities.
- Choose your identity of type Domain.
- On the Authentication tab, under DomainKeys Identified Mail (DKIM), choose Edit.
- Under Advanced DKIM settings, choose Easy DKIM.
- For the signing key length, choose RSA_2048_BIT (the default) or RSA_1024_BIT.
- Check Enabled under DKIM signatures and choose Save changes.
SES then adds a DKIM signature to every message sent from that identity (Easy DKIM).
Publish the three CNAME records
SES gives you three CNAME records. Their shape is:
TOKEN1._domainkey.example.com CNAME TOKEN1.SIGNING-HOSTED-ZONE
TOKEN2._domainkey.example.com CNAME TOKEN2.SIGNING-HOSTED-ZONE
TOKEN3._domainkey.example.com CNAME TOKEN3.SIGNING-HOSTED-ZONE
The hosted zone looks like dkim.us-west-2.amazonses.com, but it varies by Region and identity, so copy the names and values exactly as SES shows them. You can read them with the CLI:
aws sesv2 get-email-identity --email-identity "example.com"
The response's DkimAttributes contains Tokens and SigningHostedZone. If your DNS is in Route 53 and you let SES publish the records when creating the identity, SES adds them for you.
Verify that DKIM works
DNS changes can take up to 72 hours to be seen. Check a record yourself:
dig +short CNAME TOKEN1._domainkey.example.com
Then send a message to a mailbox you control and look for dkim=pass with your own domain in the headers. You may also see a second signature with d=amazonses.com; SES adds it, and AWS says you can ignore it.
Bring your own DKIM key (BYODKIM)
Choose BYODKIM if you need to control the key. It uses one TXT record instead of three CNAMEs. The key must be RSA, 1024 to 2048 bits, in PKCS #1 or PKCS #8 format.
openssl genrsa -f4 -out private.key 2048
openssl rsa -in private.key -outform PEM -pubout -out public.key
Publish the public key as a TXT record named selector._domainkey.example.com with the value p= followed by the key, without the BEGIN and END lines or line breaks. In the console, choose Provide DKIM authentication token (BYODKIM), paste the private key, enter the selector name, enable signatures and save. The selector must be 1 to 63 letters and digits, with no periods or symbols.
Keep a secure copy of the private key outside your SES account, so you can still use it if you ever move.
Fix common DKIM problems
| Symptom | Likely cause and fix |
|---|---|
| Status stays "pending verification" | Wait up to 72 hours. Check the record name: some DNS providers append the domain twice, giving ...example.com.example.com |
| Messages are not signed | DKIM is not enabled on the identity, or you verified a single address without configuring DKIM for it |
| Works in one Region only | Set DKIM up in each Region |
| Status "revoked" | Restart the DKIM setup from the beginning |
| BYODKIM verification fails | Check key format and length, and remove header, footer and line breaks from the public key |
| CNAMEs resolve but verification fails | Your DNS provider may not redirect CNAME records correctly; AWS suggests Route 53 as a fallback |
If you remove the DNS records later, SES disables DKIM signing and emails you (troubleshooting). DKIM is one part of authentication: add SPF through a custom MAIL FROM domain and publish DMARC too, as covered in the deliverability guide.
FAQ
How many DNS records does Amazon SES DKIM need?
Easy DKIM needs three CNAME records. BYODKIM needs one TXT record.
What DKIM key length does Amazon SES use?
Easy DKIM defaults to 2048-bit keys. BYODKIM accepts 1024 to 2048 bits.
How long does SES DKIM verification take?
It can take up to 72 hours for the DNS records to become visible.
Sources
- https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim.html
- https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-easy.html
- https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-easy-managing.html
- https://docs.aws.amazon.com/ses/latest/dg/send-email-authentication-dkim-bring-your-own.html
- https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html
- https://docs.aws.amazon.com/ses/latest/dg/troubleshoot-dkim.html
Related reading
Amazon SES Pricing: Cost per 1,000 Emails (2026)
Amazon SES pricing as of November 2026: $0.10 per 1,000 emails à la carte, or Essentials, Pro and Enterprise plans. With a cost calculator and examples.
Amazon SES Sending Limits: Sandbox and Quota Increases
Amazon SES sending limits: sandbox caps, daily quota, send rate, message size, recipients, throttling errors and how to request a quota increase.
IP Purity Check: How to Verify an IP for Email and Network Risk
Run an IP purity check with named lookup tools, compare risk and blocklist evidence, and find the actual IP that sends your email.
Scaleway Transactional Email Pricing: Plans, Limits & Costs
Compare Scaleway transactional email pricing, quotas, overages and limits, with a 125,000-email cost example and alternatives for campaigns and automation.