Solana Rent

Understand Solana rent exemption, why accounts hold lamports, how token account funding works, and when eligible SOL can be reclaimed.

Solana accounts that store data generally need a minimum lamport balance to remain rent-exempt. As a result, some token accounts can continue holding SOL even after their token balance reaches zero.

This section explains how Solana rent exemption works, why token accounts require funding, how account balances can be recovered, and which conditions determine whether an account can be closed.

Understanding Solana rent
  • A Solana account's rent-exempt minimum depends on the amount of data it stores.
  • A zero token balance does not mean that the token account has zero lamports.
  • An eligible token account can be closed and its remaining lamports transferred to a destination account.
  • The account owner or configured close authority must authorize a token-account closure.
  • Burning tokens and closing token accounts are separate actions.
  • The actual reclaimable amount should be read from the account's current on-chain balance rather than assumed from a fixed estimate.

What is Solana rent?

Solana accounts store data that programs and applications use on-chain. The account model therefore requires a minimum lamport balance based on the account's data size.

For most wallet users, the important concept is rent exemption. An account funded above the applicable minimum can remain on-chain without being subject to ordinary rent collection.

The commonly used phrase “Solana rent” can therefore refer to either the network's account-storage model or the lamports held to keep an account rent-exempt.

Why do token accounts hold SOL?

A Solana token account is an on-chain account that stores token information such as the mint, token amount, owner, and relevant authorities.

Because it stores data, the account needs an applicable rent-exempt balance. That balance remains in the account while the account exists.

If the token balance later reaches zero, the token account may still remain on-chain with its lamports inside it.

Is Solana rent refundable?

In eligible cases, yes.

When an eligible account is closed, its remaining lamports can be transferred to a destination account specified by the close instruction.

The exact rules depend on the account type, token program, account state, authority configuration, and any extensions attached to the account.

This is why a wallet-cleanup tool should inspect the actual on-chain account before presenting it as eligible for closure.

Rent exemption and token accounts

The most common wallet-cleanup use case involves empty token accounts.

Important concepts include:

  • token balance;
  • account lamport balance;
  • token program;
  • account owner;
  • close authority;
  • destination account;
  • account size;
  • Token-2022 extensions.

These details explain why some accounts can be closed while others cannot. Token-2022 accounts may require additional space and different handling because extensions can change account size or behavior.

Reclaiming SOL from eligible accounts

A typical cleanup process is:

  1. Identify token accounts associated with the wallet.
  2. Determine which accounts satisfy the relevant closure requirements.
  3. Review the accounts and the lamports that may be returned.
  4. Confirm the destination account and any applicable fees.
  5. Review the transaction instructions in the wallet.
  6. Sign the transaction.
  7. Wait for confirmation and verify the result.

Learn more about Solana rent

The guides in this section explain rent exemption, token-account funding, refundable lamports, account closure, and the difference between closing an account and burning tokens.

Explore guides

explanation

Can You Get Solana Rent Back?

Yes. Learn when Solana rent-exempt SOL can be reclaimed, which token accounts can be closed, and what happens when you recover the balance.

explanation

How Much Does Solana Rent Cost?

Learn how Solana rent is calculated, why token accounts often hold about 0.002 SOL, and how account size determines the refundable rent-exempt balance.

explanation

Why Does My Solana Wallet Have Rent?

Learn why Solana accounts hold SOL for rent, why empty token accounts can keep a refundable balance, and when that SOL can be reclaimed.