The consensus is that while 1024 bits is the minimum supported DKIM key length, 2048 bits is the recommended standard for security and performance. Some experts and marketers are using and advocating for 4096-bit keys for enhanced future-proof security, but the practical benefits beyond 2048 bits are debated. Proper implementation and provider support are crucial factors. The appropriate key length can also depend on the size and security needs of the business.
8 marketer opinions
The discussion around DKIM key lengths reveals a range of perspectives, from the practical minimum of 1024 bits to the increasingly prevalent use of 4096-bit keys. While some marketers highlight the enhanced security offered by longer keys like 2048 bits or greater, others suggest that 2048 bits strikes a balance between security and performance. Some also point out that the right key length depends on the size of the business.
Marketer view
Email marketer from AuthSMTP says that 2048-bit key length is the most common and offers a good balance between security and performance.
11 Jan 2024 - AuthSMTP
Marketer view
Email marketer from MXToolbox shares that increasing the DKIM key length improves security, advising users to check with their provider regarding support for key sizes greater than 2048 bits.
27 May 2025 - MXToolbox
2 expert opinions
Experts suggest that while longer DKIM keys offer greater security, there's a point of diminishing returns. 1536 bits is considered sufficient against brute force attacks, and the RFC requires support for 2048-bit keys. Exceeding 2048 bits may not provide significant practical benefits for most senders, making proper implementation and monitoring more crucial than solely relying on key length.
Expert view
Expert from Word to the Wise explains that while longer keys offer greater security, the practical benefits of exceeding 2048 bits are debatable for most email senders. They emphasize the importance of proper implementation and monitoring over solely relying on key length.
2 Feb 2024 - Word to the Wise
Expert view
Expert from Email Geeks explains that 1536 bits is long enough for brute force attacks and the RFC requires 2048 bit keys to be supported, anything longer is implementation defined.
19 Jun 2023 - Email Geeks
4 technical articles
Documentation across various sources indicates a consensus that the recommended DKIM key length is 2048 bits to meet modern security standards and prevent signature forgery. While the minimum supported key length is 1024 bits, using longer keys is generally advised for enhanced security.
Technical article
Documentation from ietf.org defines that implementations MUST support a minimum key length of 1024 bits. It also recommends using longer keys where possible, noting the security benefits.
27 Jun 2022 - ietf.org
Technical article
Documentation from Google says that the DKIM key should be 2048 bits if possible to meet modern security standards.
6 Nov 2023 - Google Workspace Admin Help
Can DKIM be set up on a subdomain, and which domain should be used for signing?
Do DKIM selectors affect email reputation?
Does rotating DKIM keys improve email deliverability and how should DKIM keys be rotated?
How can I find the source and purpose of emails originating from unrecognized IP addresses?
How can you deduce inbox placement metrics using per-ISP open rates and manage bot opens?
How do I find the DKIM selector for my domain in Dmarcian or Hubspot?
How do I generate an a=rsa-sha256 key for DKIM?
How should DKIM selector names be interpreted and what is the recommended DKIM key size?