FixesUpdated 23 Oct 20261 min read

Solana "transaction too large" error: the 1,232-byte limit

The fix

A Solana transaction must fit in 1,232 bytes, which is the IPv6 minimum packet size of 1,280 bytes minus 48 bytes of headers. Many accounts or instructions push it over.

What the error means

Transaction too large

A Solana transaction must fit in 1,232 bytes, which is the IPv6 minimum packet size of 1,280 bytes minus 48 bytes of headers. Many accounts or instructions push it over.

Where it comes fromSolana network limit
Code1,232-byte limit

How to fix it

  1. Use a versioned transaction with an address lookup table to reference accounts by index.
  2. Split the action across several transactions, for example batch airdrops into groups.
  3. Remove optional instructions such as an extra priority fee instruction or memo.

If that is not it

  • Some SDKs report this as an encoding or serialization error rather than "too large".

More fixes: how to decode any Solana error code and why Solana transactions fail.

Source

Error text and code from Solana transaction documentation, read on 24 October 2026.

Questions people ask

What is the maximum size of a Solana transaction?

1,232 bytes for the current format.

How many accounts can a transaction use?

64 in the legacy format.