DKIM 1024-bit key
1024-bit DKIM keys still validate, but RFC 8301 recommends at least 2048 bits. Create a 2048-bit key under a new selector in your sending service, publish it, switch signing to it, then retire the old key.
Updated 8 October 2026 by Mohamed Arkid
RFC 8301 requires DKIM keys of at least 1024 bits and recommends at least 2048. A 1024-bit key still validates everywhere, so this is not urgent, but it is weaker than current practice and some sending services now default to 2048.
Some services do not offer 2048-bit keys at all: Resend's documentation says it does not support them. If yours is one of these, the key still meets the minimum, and a 2048-bit key means sending through a service that offers one.
How to rotate the key
- In your sending service, create a 2048-bit key, ideally under a new selector.
- Publish it in DNS at
<selector>._domainkey.example.com. - Switch signing to the new selector and check a sent message shows
dkim=pass. - Keep the old record for a few days so mail already in transit still validates, then remove it.
A 2048-bit key is longer than 255 characters, the limit of one string in a TXT record. It has to be split into several strings in the same record; most DNS dashboards do this for you.
Questions
Is a 1024-bit DKIM key still accepted?
Yes. RFC 8301 requires at least 1024 bits, so receivers still verify these keys. 2048 bits is the recommendation.