Solana Rent and Token Accounts Explained for pump.fun Devs
What Solana rent is, why every token account holds about 0.002 SOL, why launch wallets need extra SOL, and how to get that rent back by closing accounts.
By DevBundler Team · · 5 min read
The short answer
On Solana, every account must hold a minimum SOL balance, called rent, to stay on chain. A token account holds about 0.002 SOL of rent, which is why each pump.fun launch wallet needs a little SOL on top of its buy. The rent is not a fee: you get it back when you close an empty token account.
Key takeaways
- Rent is a deposit, not a fee: every Solana account holds a minimum balance based on how much data it stores.
- A token account holds about 0.002 SOL of rent and returns it when the account is closed.
- A wallet needs a token account for every coin it holds, so buying a new coin creates one and costs that deposit.
- This is why DevBundler asks for about 0.003 SOL extra per launch wallet and about 0.03 SOL extra for the dev wallet.
- Closing token accounts you no longer use returns their rent to you; you can only close an account with a zero balance.
Rent on Solana is a refundable deposit. Every account, whether it is a wallet, a token mint or a token balance, has to hold a minimum amount of SOL to stay on chain. For a token account that is about 0.002 SOL. You get it back when you close the account.
That one fact explains a lot of small mysteries: why a buy cost slightly more than you sent, why a launch wallet needs SOL on top of its buy, and why "empty" wallets still seem to hold a bit of value.
What is rent on Solana?
Validators have to store every account. To stop the chain filling up with junk, Solana requires each account to hold a SOL balance in proportion to the space its data takes. An account holding at least that much is called rent exempt, and new accounts must be rent exempt from the start.
The deposit stays inside the account. Nobody collects it. When the account is closed, the SOL goes back to whoever closes it, normally the owner.
~0.002 SOL
rent in a token account
under 0.001 SOL
rent-exempt minimum for a plain wallet
1
token account per coin, per wallet
What is a token account?
A Solana wallet does not hold tokens directly. For every coin it owns, there is a separate token account that records the balance, linked to the wallet and to the coin's mint.
The usual kind is an associated token account. Its address is worked out from the wallet address and the mint address, so any app can find a wallet's balance for a given coin without asking.
Your wallet
holds SOL and signs the buy
Token account created
about 0.002 SOL of rent locked inside
Tokens arrive
the balance lives in that token account
Close later
once it is empty, the rent comes back
The first time a wallet buys a coin, the buy creates this account and the wallet pays the deposit. The second buy of the same coin reuses it, so it costs only the trade and the fees.
Why do launch wallets need extra SOL?
Because a launch is the first buy for every wallet in it. Each buyer wallet creates a token account for the new coin. Add network fees, and that is why DevBundler asks for about 0.003 SOL on top of each wallet's buy amount.
The dev wallet carries more. It pays for the coin's own accounts as well, which is roughly 0.03 SOL extra, plus the Jito tip and the platform fee.
| Wallet | Needs on top of its buy | What the extra pays for |
|---|---|---|
| Dev wallet | ~0.03 SOL, plus tip and fee | The coin's accounts, its own token account, fees |
| Each buyer wallet | ~0.003 SOL | Its token account rent and network fees |
DevBundler's launch table shows each wallet's balance and what it needs, flags any wallet that is short, and will not let you launch until every wallet is covered. If you are planning funds ahead of time, how much SOL to launch on pump.fun puts all of it together.
Is rent a fee?
No, and the difference matters when you add up a launch's costs.
Rent vs fees
| Rent | Network and priority fees | Jito tip | |
|---|---|---|---|
| Refundable | Yes, when the account closes | No | No |
| Who receives it | Stays in the account | Validators | Jito tip account |
| Size | ~0.002 SOL per token account | Small, varies with load | You choose it |
So when you work out whether a coin made money, the rent in its token accounts is still yours. It is just parked.
How do you get rent back?
Close the token account. Two conditions apply:
- The account must hold zero tokens. Sell them, send them elsewhere, or burn them first.
- The owner has to sign the close, so you need the wallet's key (or a tool that holds it, like DevBundler).
Most wallet apps have a way to close empty accounts, sometimes buried in a settings menu. In DevBundler, the consolidate tool can close empty token accounts while it sweeps SOL back into one wallet, which is handy after a launch where 11 wallets each opened one. Consolidating SOL from many wallets walks through it.
What happens to a wallet at zero?
When a plain wallet is drained to exactly zero SOL, it stops existing as an account on chain. That sounds alarming, but nothing is lost: the address and its key still work. The moment someone sends SOL to it again, the account comes back and the wallet can sign as before.
This is why sweeping old launch wallets to zero is safe. You can fund the same address again for a later launch if you want to, and its past transactions stay on the public record either way. The one thing a zero-balance wallet cannot do is pay for anything, including the fee to close its own token accounts, so close those first and sweep last.
How much rent are you sitting on?
Count your token accounts. Ten launch wallets that each traded three coins hold 30 token accounts, about 0.06 SOL of rent in total, if none were closed. It is not a fortune, but it is money doing nothing, sitting in hot wallets that should be close to empty. How to keep launch wallets safe explains why small balances matter.
Quick reference
- Rent is a deposit held in each account, proportional to its data size.
- Token account: about 0.002 SOL. Plain wallet minimum: a little under 0.001 SOL.
- First buy of a coin creates a token account; later buys of the same coin reuse it.
- Close empty token accounts to get rent back.
- Fees and tips are spent; rent is not.
Frequently asked questions
›What is rent on Solana?
Rent is the minimum SOL balance an account must hold to exist on chain, based on the size of its data. Accounts hold enough to be rent exempt, and the deposit comes back when the account is closed.
›How much does a Solana token account cost?
About 0.002 SOL, held as rent inside the account. It is refunded to you when you close the account after emptying it.
›Why did buying a token cost more SOL than I expected?
If your wallet did not already hold that token, the buy created a token account, which locked about 0.002 SOL of rent. Network and priority fees add a little more.
›How do I get my rent back on Solana?
Empty the token account by selling or sending the tokens, then close it. The rent goes back to the wallet. Tools like DevBundler's consolidate can close empty token accounts for many wallets at once.
Keep reading
Consolidating SOL From Many Wallets After a Launch
How to sweep SOL from your launch wallets back into one: what to sell first, closing token accounts to reclaim rent, and the order that avoids stuck dust.
· 4 min read
How Much SOL Do You Need to Launch on pump.fun?
How much SOL a pump.fun launch really costs: the buys, about 0.003 SOL per wallet, 0.03 SOL for the dev wallet, the Jito tip and fees, with three worked budgets.
· 5 min read
How to Create and Fund Launch Wallets for a pump.fun Bundle
Set up a dev wallet and buyer wallets for a pump.fun bundle: generating or importing keys, labels and groups, how much SOL each needs, and distributing SOL in one step.
· 4 min read