FixesUpdated 23 Oct 20261 min read

"Insufficient funds for fee" on Solana: fix

The fix

The fee payer does not hold enough SOL to pay the base fee (5,000 lamports per signature) plus any priority fee the transaction sets.

Tools covered

  1. PhantomSelf-custodial crypto wallet and trading app covering tokens, prediction markets, perps, a desktop Terminal and a Visa card.UpVisit
  2. SolflareSelf-custody Solana wallet for trading, staking and holding, with a Shield hardware wallet.UpVisit

What the error means

Insufficient funds for fee

The fee payer does not hold enough SOL to pay the base fee (5,000 lamports per signature) plus any priority fee the transaction sets.

Where it comes fromSolana runtime (transaction error)
CodeInsufficientFundsForFee

How to fix it

  1. Add SOL to the fee-paying wallet. 0.01 SOL covers many ordinary transactions.
  2. Lower a very high priority fee in your wallet, bot or terminal settings; the priority fee is compute unit price times compute unit limit.
  3. If you hold only tokens, swap a little into SOL first or use a route that pays fees for you, such as gasless swaps where offered.

If that is not it

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

Source

Error text and code from Solana SDK transaction and instruction error definitions (anza-xyz/solana-sdk); Solana fee documentation, read on 24 October 2026.

Questions people ask

What is the minimum SOL to send a transaction?

The base fee is 5,000 lamports (0.000005 SOL) per signature, plus any priority fee and rent for new accounts.

Why do bots need more SOL?

They set priority fees and tips to land faster, and often create token accounts, which need rent.

"Insufficient funds for fee" on Solana: fix | Jumpbit