Tx Doctor / Solana error library / Not enough SOL for rent

InsufficientFundsForRent

Solana error: Not enough SOL for rent (InsufficientFundsForRent)

Creating or funding an account would leave it below the rent-exempt minimum, so the network rejected the transaction.

Why it happens

How to fix it

  1. Fund the account with at least the rent-exempt minimum (about 0.00089 SOL for a basic account, about 0.00204 SOL for a token account).
  2. Top the wallet up with a small amount of SOL and retry.
  3. If you are sweeping a wallet, keep enough SOL behind for rent.

What it looks like in the logs

Transaction simulation failed: InsufficientFundsForRent

Seeing this error right now? Paste your transaction signature and get the exact instruction, program and code that failed.

Diagnose my transaction

Related Solana errors

Account would not be rent exempt

Token 0x0

Not enough SOL to pay the fee

InsufficientFundsForFee

Compute budget exceeded

ProgramFailedToComplete

Not enough token balance

Token 0x1