Solana Fee Calculator
All tools

“Insufficient funds for rent” on Solana

An account would be left with some SOL, but less than its rent-exempt minimum.

Transaction results in an account (1) with insufficient funds for rent

Cause

Every account that holds data or SOL must keep at least its rent-exempt minimum, which depends only on its size. The runtime checks this after the transaction runs: an account may end with zero lamports (it is then removed) or with at least the minimum, never with an amount in between.

The usual cases: sending almost all SOL out of a wallet and leaving a few thousand lamports behind; sending a new wallet less SOL than the minimum for an empty account; or a program creating an account without funding it fully.

Fix

  • Leave the wallet either empty or at or above the minimum for a 0-byte account — the rent calculator shows the current figure, read from the network.
  • When you fund a brand-new address, send at least that minimum.
  • When a program creates an account, the payer needs the minimum for that account's size on top of the network fee.

Fee charged? If the transaction landed and then failed this check, the network fee was charged; the transfer itself was reverted.

FAQ

What does “Transaction results in an account (1) with insufficient funds for rent” mean?

Every account that holds data or SOL must keep at least its rent-exempt minimum, which depends only on its size. The runtime checks this after the transaction runs: an account may end with zero lamports (it is then removed) or with at least the minimum, never with an amount in between. The usual cases: sending almost all SOL out of a wallet and leaving a few thousand lamports behind; sending a new wallet less SOL than the minimum for an empty account; or a program creating an account without funding it fully.

How do I fix it?

Leave the wallet either empty or at or above the minimum for a 0-byte account — the rent calculator shows the current figure, read from the network. When you fund a brand-new address, send at least that minimum. When a program creates an account, the payer needs the minimum for that account's size on top of the network fee.

Was I charged a fee?

If the transaction landed and then failed this check, the network fee was charged; the transfer itself was reverted.