What is rent (Solana)?

A minimum SOL balance an account must hold to stay in Solana's state, sized to cover roughly two years of storage cost and refundable when the account is closed.

Not yet verifiedHow we verify

3 min read

In this entry

A minimum SOL balance an account must hold to stay in Solana's state, sized to cover roughly two years of storage cost and refundable when the account is closed.

Accounts holding at least this amount are rent-exempt and are never charged again; accounts below it can be purged (source: the Solana documentation). In practice it means opening a token account, a stake account, or an on-chain program costs a small deposit rather than a fee.

The name is misleading in current practice. Nothing is deducted periodically from a properly funded account. It functions as a refundable storage deposit, and the confusion it causes is mostly about why a wallet shows less spendable SOL than its total balance.

How it works

Every account on Solana occupies space that validators must store and serve. The protocol prices that space with a minimum balance proportional to the account's size.

  1. Rent-exempt minimum. An account holding at least the threshold for its data size is exempt from any ongoing charge (source: the Solana documentation).
  2. Deposits scale with size. A token account is small, so its deposit is small. A deployed program is much larger, so deploying costs proportionally more.
  3. Refunds on close. Closing an account returns the deposit to whoever the close instruction names. An unused token account is therefore recoverable value rather than a sunk cost.
  4. Under-funded accounts can be purged. An account below the threshold is not protected, which is the original meaning of the term.

Because token balances live in separate accounts rather than in the wallet address itself, receiving a new spl token for the first time creates an account and requires a deposit. That is why a first receipt sometimes fails on a wallet holding no SOL at all.

Example

Illustrative arithmetic. Suppose a token account's rent-exempt minimum is about 0.002 SOL. You hold twelve different tokens, so twelve token accounts exist, holding roughly 0.024 SOL in deposits.

Your wallet reports a total of 1.5 SOL but shows about 1.476 SOL as spendable, and the difference is those deposits. Close the eight token accounts you no longer use and roughly 0.016 SOL returns to your spendable balance. The exact minimum depends on account size and on the protocol parameters at the time, so treat the figures as illustrative and check the current values in the Solana documentation.

Why it matters when you buy

Two practical consequences. You need a small SOL balance before receiving any Solana token, so withdrawing a token to an empty wallet can fail. And unused token accounts hold recoverable deposits, which most people never reclaim. Moving crypto off an exchange covers the withdrawal sequence, and the chain pages put Solana's costs next to other networks.

spl token — balances held in separate accounts; program — deployed code that also needs a deposit; pda — program-derived accounts with their own deposits; network fee — the separate per-transaction cost; gas — the equivalent concept elsewhere; address — what an account is keyed by.

Questions

Am I being charged rent continuously?

No, not if the account meets the rent-exempt minimum, which wallets fund automatically. The balance is a deposit that sits there, not a recurring deduction.

Can I get the deposit back?

Yes. Closing an account returns its deposit. Wallets increasingly offer a way to close empty token accounts and recover the SOL, which adds up if you have accumulated many.

Why did my token withdrawal to a new wallet fail?

Probably because the wallet held no SOL, so there was nothing to fund the token account the transfer needed to create. Send a small amount of SOL first, then retry.