What is rent on Solana?

Guide·7 min read·1 of 5

Your wallet is holding SOL you cannot spend. Not because anyone is charging you, but because every account on Solana carries a storage deposit — one you can get back.

Rent is the small amount of SOL that every Solana account holds in order to stay on-chain. It is not a fee you pay over time, and nobody takes it from you. It is a deposit. As long as the account exists, the SOL sits there and cannot be spent. When the account is closed, the deposit is returned in full to whoever owns it.

Most people never notice this until they look. Then they find that a wallet they have used for a couple of years is quietly holding a few tenths of a SOL across dozens of accounts they forgot they ever created.

Why does Solana charge rent?

Every account on Solana lives in validator memory. Thousands of machines around the world each keep a copy of the entire account state so that any of them can validate a transaction instantly. That storage is not free, and without a cost attached to it there would be nothing stopping anyone from creating millions of empty accounts and bloating the state for everybody.

Rent is the mechanism that puts a price on that space. Early in Solana's history it worked like actual rent: accounts were charged periodically and could be deleted if their balance ran out. That model was retired. Today every account must be rent-exempt from the moment it is created, meaning it holds enough SOL up front to cover its storage permanently. No recurring charge, no risk of your account being wiped for non-payment.

The word “rent” stuck, which is why the concept confuses people. Nothing is being charged. Something is being held.

How is rent actually calculated?

The amount depends on one thing: how many bytes the account occupies. The formula is

rent-exempt minimum = (128 + data size in bytes) × 6,960 lamports

The 128 bytes are fixed overhead that every account carries regardless of what it stores. A lamport is one billionth of a SOL.

A standard SPL token account holds 165 bytes of data, so:

(128 + 165) × 6,960 = 2,039,280 lamports = 0.00203928 SOL

That number — roughly two thousandths of a SOL — is the figure to remember. It is what every ordinary token account in your wallet is holding.

You can check any size yourself with the Solana CLI:

solana rent 165

which prints the rent-exempt minimum for an account of that size.

How many token accounts do I have?

Almost certainly more than you think, because you rarely create them deliberately.

Solana does not track your token balances inside your wallet. It creates a separate account for every distinct token you hold — an Associated Token Account, or ATA. Buy a token on a DEX and an ATA is created. Receive an airdrop and an ATA is created, whether you wanted the token or not. Mint an NFT, get paid in a stablecoin, try a new protocol: each one leaves an account behind.

Selling the token empties the account. It does not remove it. The ATA stays on-chain at zero balance, still holding its 0.00203928 SOL deposit, indefinitely.

This is why the number climbs so quietly. An active wallet from a busy market cycle can easily carry a hundred or more of these, most of them empty, many of them for tokens the owner does not remember touching.

How much does it add up to?

At 0.00203928 SOL per account:

Empty accountsLocked SOL
50.0102
200.0408
500.1020
1000.2039
5001.0196

For a casual wallet this is small change. For someone who traded actively through an airdrop season, or who runs several wallets, it adds up to a real amount — and it has been sitting there doing nothing the entire time.

Closing an account costs a transaction fee, currently around 0.000005 SOL per signature. Against a 0.00203928 SOL recovery that is under a third of one percent, so the economics are never in question. What matters is how many accounts you can close per transaction, not whether closing is worth it.

Do Token-2022 accounts hold more rent?

Yes, and this trips people up.

Token-2022 is the newer token program, and it supports extensions: transfer fees, interest accrual, transfer hooks, immutable ownership, confidential balances. Each extension an account enables makes that account larger, and rent scales directly with size. A Token-2022 account with several extensions can hold noticeably more than the standard 0.00203928 SOL.

The practical consequence is that you cannot estimate your total by counting accounts and multiplying. Two wallets with the same number of accounts can hold different amounts. Any tool worth using reads the actual lamport balance of each account rather than assuming the standard figure.

Is the rent amount changing?

It is, and this is worth understanding properly because it is widely misreported.

Under SIMD-0437, Solana is reducing the lamports_per_byte constant from 6,960 to 696 — a tenfold cut — spread across five separate steps: 6,960 → 6,333 → 5,080 → 2,575 → 1,322 → 696. Each step sits behind its own feature gate and only advances when analysis says it is safe, so the rollout runs over quarters rather than weeks. The first step was scheduled for the week of 17 August 2026.

Two things follow from this, and only the second one is intuitive.

Your existing accounts are not repriced. The SOL already locked in your token accounts stays exactly where it is. When you close one of those accounts you recover its full lamport balance as it stands today, whatever the current constant happens to be. Nothing expires and there is no deadline.

New accounts created after each step will hold less. Once the reduction is fully live, a new token account will lock roughly 0.000204 SOL instead of 0.00203928 — a tenth of what it costs today.

Put together: the accounts sitting in your wallet right now hold more rent than any account created after the rollout completes. Not because of any urgency, but simply because they were created under the old constant. Run solana rent 165 at any time to see what the current figure is.

We went through the details in the Agave 4.2 rent reduction post.

How do I get my rent back?

You close the account. Closing an empty token account is a standard, single instruction in the SPL Token program — CloseAccount — that has existed since the beginning. It returns the account's entire lamport balance to a destination you choose and removes the account from state.

There are three practical routes: the Solana CLI, a wallet that offers the feature, or a dedicated cleaner that batches many accounts into as few transactions as possible. Each has different trade-offs, and we compare them properly in the three ways to close token accounts.

Whichever route you take, the rules are the same. The account must hold zero tokens before it can be closed, and only the account's owner can authorise it — which is why any tool doing this needs a signature from you and cannot act on its own. If you are weighing up whether a given tool is trustworthy, what you are actually signing walks through how to check.

What can't you reclaim?

Not every account in your wallet is a candidate.

Accounts still holding tokens cannot be closed until the balance is zero, so dust has to be swapped or burned first. Accounts frozen by the token's issuer are a special case: they close normally if the balance is already zero, but if they still hold tokens you are stuck, because you cannot transfer or burn out of a frozen account. Some protocol positions look like idle accounts but are in use, and closing them would break something. And a handful of accounts, including compressed NFTs, do not carry per-account rent in the first place, so there is nothing to recover.

The full list, and how to recognise each case, is in what you can't reclaim.

Is reclaimed rent free money?

No, and the framing matters.

It was always your SOL. It was locked as a deposit against storage you were using, and closing the account releases it because you are no longer using that storage. Nobody is giving you anything and nothing is being generated. You are ending a deposit.

That distinction is worth holding onto, because “free SOL” is the language used by a significant number of scam sites in this category. A legitimate tool tells you it is returning your own deposit and shows you exactly what you are signing. A tool promising free money is selling you something else.

It is also why the amounts are what they are. Reclaiming rent from a hundred accounts recovers about 0.2 SOL. That is worth doing, and it is not a windfall. Anyone advertising it as one is either confused or hoping you are. Believing them is one of the mistakes that cost people SOL.

Frequently asked questions

Will closing a token account delete my tokens?

No. An account must hold zero tokens before it can be closed. If it still holds a balance, the close instruction fails. Tokens are never destroyed by closing.

What happens if someone sends me that token again later?

A new token account is created automatically, with a fresh rent deposit. Nothing is lost — you simply hold that token again, in a new account, and can close it again when it is empty.

Can I check how much I have locked without connecting a wallet?

Yes. Reading account balances is public on-chain data and needs no signature or connection. Any tool that requires a wallet connection just to show you the number is asking for more than the task needs.

Does the SOL disappear if I never close the accounts?

No. Rent-exempt accounts are permanent. The deposit stays locked for as long as the account exists, with no expiry and no risk of loss. It is simply unavailable to you until you close it.

← Back to the guide overview