Insufficient funds for rent: what it means
Transaction results in an account (N) with insufficient funds for rentThis error means a transaction would leave an account with less SOL than the rent-exempt minimum, or the payer cannot cover the new account rent. Add a little SOL to the paying wallet and retry.
The exact error
This comes from the Solana runtime (InsufficientFundsForRent). The number in brackets is the index of the account in the transaction that would end up below the rent-exempt minimum.
What the error means
Every Solana account must hold a minimum SOL balance, called the rent-exempt balance. A transaction fails if it would create an account without enough SOL to cover it, or leave one below the minimum.
Common causes
- Your wallet is nearly empty and cannot pay rent for a new token account (about 0.002 SOL each).
- You sent almost all your SOL, leaving the wallet below the minimum.
- A launch or airdrop needs SOL for many new accounts at once.
Fix
- Check your SOL balance and add a small buffer.
- Retry the transaction.
- For airdrops, add up the rent for every new recipient account before you start.
Background: what Solana rent is. You can recover locked rent with empty account cleanup.
Questions
How much SOL should I keep?
Enough for the rent of any new accounts plus network fees. Keep a small buffer.
Is rent lost?
No. It is a deposit you recover when the account is closed.
