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 from | Solana runtime (transaction error) |
| Code | InsufficientFundsForFee |
How to fix it
- Add SOL to the fee-paying wallet. 0.01 SOL covers many ordinary transactions.
- Lower a very high priority fee in your wallet, bot or terminal settings; the priority fee is compute unit price times compute unit limit.
- 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
- If you have SOL but the transaction also creates accounts, you may be short on rent instead, see insufficient funds for rent.
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.


