ML-DSA key and signature sizes by parameter set

ML-DSA-44, ML-DSA-65 and ML-DSA-87 have public keys of 1312, 1952 and 2592 bytes and signatures of 2420, 3309 and 4627 bytes, per RFC 9881 and RFC 10073.

On this page

ML-DSA key and signature sizes at a glance

If you are sizing certificates, tokens or firmware that carry ML-DSA material, the first numbers to plan around are the public key and signature lengths. According to RFC 9881, the ML-DSA-44, ML-DSA-65 and ML-DSA-87 public keys are 1312, 1952 and 2592 bytes, and their signatures are 2420, 3309 and 4627 bytes. RFC 10073 gives the same public key and signature sizes for the non-hybrid ML-DSA rows in its Appendix A. These are the figures that drive how large a certificate, a signed token or a firmware image becomes, and they are the ones to confirm against the RFC text for the exact parameter set you intend to deploy.

This table is most useful to the teams who own the artifacts that will grow: certificate authorities and platform teams estimating chain size, identity and token engineers checking the size of signed payloads, and firmware teams budgeting storage and signature verification space on constrained devices. Each row pairs one parameter set with its security category, so you can compare the three levels side by side. The signature column is usually the larger concern for embedded and bandwidth-limited deployments, while the public key column matters most when keys are stored or transmitted alongside certificates.

Before you rely on these figures in a design, confirm which document and version your implementation follows, because encodings and wrapping structures can add bytes around the raw key and signature values. Private key handling differs from the public side: RFC 9881 defines the private key seed as 32 bytes for every parameter set, while the expanded key is much larger, so check which form your library stores. Any product claim about compliance or readiness should come from the vendor or an independent assessor, not from this table, which reports only sizes.

ML-DSA public key, private key and signature sizes in bytes

This table compares the byte sizes of the public key, the private key seed, the expanded private key and the signature for each ML-DSA parameter set, mapped to NIST security categories 2, 3 and 5. Read each row as one parameter set and each column as one size in bytes, and note that the seed and the expanded key are two different private key forms. Across all three sets, signatures are the largest item, so they are the main sizing concern for certificates, tokens and firmware.

Parameter setPublic key (bytes)Private key seed (bytes)Expanded private key (bytes)Signature (bytes)
ML-DSA-44 (NIST category 2)13123225602420
ML-DSA-65 (NIST category 3)19523240323309
ML-DSA-87 (NIST category 5)25923248964627
Source for public key and signature sizesRFC 9881, section 4 and Appendix B, Table 2RFC 9881, section 6RFC 9881, section 6RFC 9881, Appendix B, Table 2
Cross-check of non-hybrid rowsRFC 10073, Appendix ARFC 10073, Appendix A (seed)Not listed in RFC 10073RFC 10073, Appendix A
Expanded key as reported by liboqsNot listed on the liboqs pageNot listed on the liboqs page2560, 4032 and 4896 bytes, as listed on the liboqs pageNot listed on the liboqs page

How to read each column of the ML-DSA size table

Each row of the ML-DSA size table is one parameter set, and each column is a separate size figure that comes from a different place in RFC 9881. The public key column comes from section 4 of RFC 9881, where the ML-DSA-44 public key is given as an OCTET STRING of 1312 bytes. The ML-DSA-65 public key is 1952 bytes and the ML-DSA-87 public key is 2592 bytes, as given in the same section. The signature column comes from Appendix B, Table 2 of RFC 9881, which lists 2420 bytes for ML-DSA-44, 3309 bytes for ML-DSA-65 and 4627 bytes for ML-DSA-87. When you copy a figure into a certificate, token or firmware budget, record the section it came from so a reviewer can check it against the specification.

The private key appears in two forms, and the table keeps them apart on purpose. The seed is a 32-byte OCTET STRING, and RFC 9881 section 6 defines it that way for every parameter set, so the seed column reads 32 for all three rows. The expanded key, labeled expandedKey in the same section, is a separate and much larger figure: 2560 bytes for ML-DSA-44, 4032 bytes for ML-DSA-65 and 4896 bytes for ML-DSA-87. Do not add the seed to the expanded key or treat one as a substitute for the other. Confirm which form your key store, HSM or library exports before you size storage, because the difference is roughly two orders of magnitude.

The parameter set names map to NIST PQC security categories. RFC 9881 section 3 says ML-DSA has three parameter sets for categories 2, 3 and 5, and Appendix B, Table 2 pairs each set with its (k,l) values: 4,4 for category 2 (ML-DSA-44), 6,5 for category 3 (ML-DSA-65) and 8,7 for category 5 (ML-DSA-87). Choose the set by the category your policy or customer requires, then read down that row. For the category mapping as implemented in a particular library, check the library's own documentation, because the liboqs ML-DSA page, read on 4 December 2026, lists the same levels 2, 3 and 5 but is a separate source from the RFC.

Where ML-DSA signature and key sizes affect your systems

ML-DSA public keys and signatures are much larger than the classical values many systems were built around, and the size depends on the parameter set you choose. The cards below cover the places where those sizes tend to surface, each tied to a figure in the reference table.

Certificate chains with large public keys

A certificate carries the subject's public key, so an ML-DSA-65 key of 1952 bytes or an ML-DSA-87 key of 2592 bytes makes each certificate in a chain larger than a comparable classical key. The RFC 9881 public key sizes are fixed per parameter set, so the increase is predictable for each certificate you issue. Before rollout, check how your PKI tooling, certificate stores and CA software handle keys of these lengths, and confirm the chain length you expect to deploy. The sources do not give handshake sizes, so measure those in your own environment.

RFC 9881 text

Signatures in tokens and signed messages

Each ML-DSA signature is 3309 bytes for ML-DSA-65 and 4627 bytes for ML-DSA-87, compared with the 2420 bytes of ML-DSA-44. Anything that embeds a signature in a token, header or message body will grow by that amount per signature. Check the size limits of the formats you use, such as JWT or other signed token types, and of any message or log field that stores signatures. Confirm the exact encoding in your implementation, because the sources list raw signature lengths only.

RFC 10073 text

Storage of expanded private keys

RFC 9881 defines the private key seed as 32 bytes for every parameter set, but the expanded key is 2560 bytes for ML-DSA-44, 4032 bytes for ML-DSA-65 and 4896 bytes for ML-DSA-87. Your key store, hardware security module or secrets manager must accept whichever form your library exports. Decide which form you store, since the seed is much smaller and the expanded key is much larger. Confirm the format your chosen library and HSM support before you size storage.

liboqs ML-DSA docs

Fixed-size buffers and field limits

Code that reads keys or signatures into fixed-size buffers will fail if the buffer is sized for classical values. Review every allocation, struct field and database column that holds a public key, signature or private key, and compare each against the lengths for the parameter set you deploy. The RFC 9881 lengths are exact for each set, so you can check them directly. Test with the largest parameter set you plan to use, not only the smallest.

RFC 9881 text

Protocol and middlebox size limits

Protocols and network devices may impose their own limits on message or packet size, and larger keys and signatures can push traffic past them. The sources in this topic do not specify such limits for any particular protocol, so the thresholds that matter for your stack are not covered here. Ask each protocol vendor and device supplier for their documented maximum sizes, and test the parameter sets you plan to deploy against them.

ML-DSA-44, ML-DSA-65 and ML-DSA-87: figures and where each is named

ML-DSA-44 is the parameter set that RFC 9881 associates with NIST security category 2 and the (k,l) pair 4,4. Its figures are the smallest of the three sets, which matters most where certificate chains, tokens or firmware images are size constrained.

  • Public key: 1312 bytes, given as ML-DSA-44-PublicKey OCTET STRING (SIZE (1312)) in section 4 of RFC 9881.
  • Private key seed: 32 bytes, the seed defined in section 6 of RFC 9881 for every parameter set.
  • Expanded private key: 2560 bytes, as given in section 6 of RFC 9881 and matched by the liboqs secret key size for ML-DSA-44.
  • Signature: 2420 bytes, as listed in Appendix B, Table 2 of RFC 9881 and repeated in Appendix A of RFC 10073.
  • Locations: the RFC 9881 sections above, and the non-hybrid ML-DSA rows in Appendix A of RFC 10073.

Before you rely on these numbers, confirm that the library, certificate profile or token format you use reads the same encoding and that its size limits accept a 2420-byte signature. Check the exact parameter identifier against the version of RFC 9881 your implementation targets.

Check ML-DSA sizes before you size certificates, tokens or firmware

This sequence confirms which ML-DSA parameter set a system uses, then checks its public key and signature lengths against the buffers, message limits and vendor configurations that depend on them. The output is a sizing decision you can defend and a short list of vendor questions. Each step notes the source that supports the figure it relies on.

  1. Confirm the parameter set and its OID

    Identify which ML-DSA parameter set (ML-DSA-44, ML-DSA-65 or ML-DSA-87) your certificates, tokens or firmware signatures use. RFC 9881 maps these to NIST security categories 2, 3 and 5, so the parameter set tells you the category your design targets. Record the algorithm identifier (OID) for the parameter set in use, taken from RFC 9881, and check it against the OID in the certificate profile, token format or signing configuration. You are done when every system in scope names one parameter set and one OID, with the source recorded.

  2. Record the public key and signature lengths

    Write down the public key and signature lengths for the parameter set you confirmed. RFC 9881 gives public keys of 1312 bytes for ML-DSA-44, 1952 bytes for ML-DSA-65 and 2592 bytes for ML-DSA-87, and signatures of 2420, 3309 and 4627 bytes respectively, listed in its Appendix B, Table 2. Keep these figures in one reference table so the same numbers reach every design document. You are done when the table holds the public key and signature length for each parameter set in use, each traced to RFC 9881.

  3. Check lengths against buffers and message limits

    Compare the recorded lengths with every fixed buffer, field width and message size limit in the path. Look at certificate fields, token size budgets, firmware image headers, signature slots in flash, and any protocol message that carries a signature or key. A fixed buffer sized for classical signatures may be too small for ML-DSA, so flag every place where the old size was assumed. You are done when each buffer and limit in scope has a pass or fail result against the ML-DSA lengths, and each failure has an owner.

  4. Check the private key encoding before storage

    Confirm how the private key is stored, because RFC 9881 defines the private key as a 32-byte seed for every parameter set, and an expanded private key form is also defined in its section 6 at 2560, 4032 and 4896 bytes for ML-DSA-44, ML-DSA-65 and ML-DSA-87. Check which form your library or HSM uses, and size key storage for that form. The liboqs ML-DSA documentation lists the same expanded secret key sizes, so use it as a cross-check. You are done when the storage size for each key is recorded for the form your system uses, with the form named.

  5. Test sizes with a library in your environment

    Generate a key pair and a signature with a library you plan to deploy, such as liboqs, and measure the output lengths yourself. Compare the measured public key, secret key and signature lengths with the RFC 9881 and liboqs figures. Record the library name and version used, because a mismatch often means the encoding or the parameter set differs from what you assumed. You are done when the measured lengths match the reference values for the parameter set, or each difference is explained and written down.

  6. Check the encoding used by certificates and tokens

    Verify that the certificate, token or firmware format uses the same encoding for the public key and signature that your size tests assumed. RFC 9881 covers the encoding in X.509 certificates, and RFC 10073 lists the non-hybrid ML-DSA rows with the same public key, private key seed and signature lengths. Note any wrapper, such as an ASN.1 structure or a composite format, that adds bytes around the raw values. You are done when the encoding used by each format is documented and the added overhead, if any, is measured.

  7. Ask vendors which parameter set and encoding they use

    Send each vendor that issues certificates, tokens or firmware a written question asking which ML-DSA parameter set they use, which OID they encode, and what public key and signature encoding their products produce. Ask for the version and configuration in which this applies. Vendors should answer in writing, and their answers should match the lengths you tested. You are done when every in-scope vendor has answered, and each answer is checked against your sizing table.

What these ML-DSA size figures do not tell you

The figures on this page are the sizes given in the cited specifications, and they do not cover everything that ends up in a certificate, token or firmware image. RFC 9881 gives the raw lengths of the ML-DSA public key, private key seed, expanded private key and signature, but a certificate carries those values inside ASN.1 structures, with tags, lengths and an algorithm identifier wrapped around the BIT STRING or OCTET STRING. That encoding overhead is not included in the figures above, so a SubjectPublicKeyInfo or a signed certificate will be larger than the bare key or signature length. Measure the encoded object your system actually transmits or stores, using the encoder in your own toolchain, before you size a buffer or a packet budget.

Check which rows apply to your deployment. RFC 9881 defines non-hybrid ML-DSA, and RFC 10073 Appendix A lists non-hybrid ML-DSA rows with public keys of 1312, 1952 and 2592 bytes and signatures of 2420, 3309 and 4627 bytes. Composite or hybrid constructions that pair ML-DSA with a classical algorithm are defined elsewhere and have their own combined lengths, so do not add a classical key or signature to these figures by assumption. The private key figure also depends on the storage format: the RFC specifies a 32-byte seed, while the liboqs documentation lists expanded secret key sizes of 2560, 4032 and 4896 bytes. Libraries differ in which of these they store and export, so confirm which form your key store, HSM or library uses.

ML-DSA size questions people search

How big is an ML-DSA-65 signature in bytes?

An ML-DSA-65 signature is 3309 bytes, according to Appendix B, Table 2 of RFC 9881. ML-DSA-65 corresponds to NIST security category 3, and it sits between the smaller ML-DSA-44 signature (2420 bytes) and the larger ML-DSA-87 signature (4627 bytes). The size matters wherever a signature is stored or transmitted: in a certificate chain, a signed token, a firmware image header or a protocol message with a fixed field length. Size the field, buffer or parser for 3309 bytes, and confirm the figure against the version of the specification your library implements before you fix any limit in code. The number is a fixed property of the parameter set, so it does not vary with the message being signed.

How big is an ML-DSA-44 public key?

An ML-DSA-44 public key is 1312 bytes, given as an OCTET STRING of SIZE (1312) in section 4 of RFC 9881. The same value appears in Appendix A of RFC 10073 for the non-hybrid ML-DSA-44 row. ML-DSA-44 maps to NIST security category 2. For comparison, the ML-DSA-65 public key is 1952 bytes and the ML-DSA-87 public key is 2592 bytes. Engineers storing public keys in a trust store, a configuration file or a device provisioning record should allocate at least 1312 bytes per key for this parameter set and should not assume that the key size of one parameter set applies to another. Check the exact encoding and any wrapping in the certificate structure against the RFC before you rely on a byte count for a specific field.

What is the ML-DSA private key size?

The ML-DSA private key is stored as a 32-byte seed for every parameter set, according to section 6 of RFC 9881. The full expanded private key is larger: 2560 bytes for ML-DSA-44, 4032 bytes for ML-DSA-65 and 4896 bytes for ML-DSA-87, per the same section. The liboqs documentation for ML-DSA lists the same secret key sizes of 2560, 4032 and 4896 bytes, and it was read on 4 December 2026. When you handle private keys, the distinction matters for storage and for hardware security modules. A system that stores only the seed needs 32 bytes per key, while a system that stores the expanded key needs the larger figure. Confirm which form your implementation and key-management tooling exports, and record it in your inventory, since the two forms are not interchangeable.

Which ML-DSA parameter set corresponds to NIST category 5?

ML-DSA-87 corresponds to NIST post-quantum security category 5, according to section 3 and Appendix B, Table 2 of RFC 9881. Table 2 pairs the (k,l) values 8,7 with category 5, while ML-DSA-44 pairs with category 2 (k,l = 4,4) and ML-DSA-65 pairs with category 3 (k,l = 6,5). The category 5 parameter set has the largest sizes of the three: a public key of 2592 bytes, a signature of 4627 bytes and an expanded private key of 4896 bytes. Choosing category 5 increases the size of every stored or transmitted signature and key, so the decision should follow a documented requirement from your risk assessment, a contract or a federal customer, rather than being made by default. Ask your compliance team which category your obligations reference before you select a parameter set.

Does an ML-DSA signature fit in a single network packet?

The sources listed on this page give signature sizes but do not state a packet size, a maximum transmission unit or a fragmentation threshold, so they cannot answer whether a given signature fits in one packet. To answer the question, compare the signature length with the limits of your own network path. The signature sizes are 2420 bytes for ML-DSA-44, 3309 bytes for ML-DSA-65 and 4627 bytes for ML-DSA-87, per RFC 9881. A signature is one element of a larger message, so the question for a protocol is whether the total message, including certificates, headers and other fields, fits your limits. Measure the complete handshake or message in your environment, and check the packet and fragmentation behavior of the protocol and the middleboxes on your path. The certificate and handshake size pages cover that total.

How does an ML-DSA signature compare with RSA or elliptic curve sizes?

The sources listed on this page do not give RSA or elliptic curve signature or key sizes, so this page cannot state a direct comparison. For the ML-DSA side, the figures are 2420, 3309 and 4627 bytes for signatures and 1312, 1952 and 2592 bytes for public keys, per RFC 9881. For the classical comparison, use the classical signature size tables in the same content group, which carry the baseline figures and their sources. When you compare, match the security categories as well as the byte counts, because a larger classical key is not automatically a like-for-like match for a given ML-DSA category. Record the source of each figure and the version it applies to, and confirm the classical values against the standard that defines them before you publish a comparison in a design review or a customer document.

Where an ML-DSA public key and signature travel in an X.509 certificate and signed message

The diagram starts at the ML-DSA key pair. The public key is placed in the SubjectPublicKeyInfo of an X.509 certificate, where RFC 9881 defines it as an OCTET STRING whose length depends on the parameter set: 1312 bytes for ML-DSA-44, 1952 bytes for ML-DSA-65 and 2592 bytes for ML-DSA-87. The signing key produces a signature over the signed object, which RFC 9881 sizes at 2420, 3309 and 4627 bytes for the same three parameter sets. Check that the parameter set in the certificate's algorithm identifier matches the key and signature sizes you budget for, since the two sizes are set by the same choice.

Public key and signature sizes by ML-DSA parameter set, per RFC 9881.

How DeployOpen works on this

DeployOpen plans ML-DSA rollouts around the sizes each parameter set produces, since public keys, private key forms and signatures differ in length across the three parameter sets. We scope, build, document and hand over the work inside your own infrastructure, so your teams can review and confirm the figures for the versions they run.

How we scope

  • We confirm which ML-DSA parameter sets your certificates, tokens or firmware need before any work starts.
  • We record the public key, private key and signature sizes your components must accept, using the RFC 9881 and RFC 10073 tables.
  • Scope is agreed in writing as a fixed-scope engagement, with deliverables and timelines set before work begins.

How we build

  • We check that each system's buffers, parsers and storage fields accept the public key and signature lengths you will carry.
  • We test signing and verification with each parameter set in a lab that mirrors your environment before any rollout.
  • We note where private key storage differs between the 32-byte seed and the expanded key form, and set handling rules to match.

How we hand over

  • You receive documentation listing the size figures used, the source for each figure and the versions tested.
  • We provide a configuration record showing which parameter set each system uses and where its keys and signatures are stored.
  • We walk your engineering and compliance teams through the findings so they can review the sizes against their own requirements.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, so size assumptions stay checked as libraries change.
  • We recheck size figures when a library, certificate profile or specification version you run is updated.
  • Confirm compatibility for the exact versions you run, since the sources listed here do not establish interoperability for every release.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.