Solana Fees and Rent Explained
The base fee
Every transaction pays a fee in SOL, set by the protocol and tied mainly to the number of signatures. It is small compared with many other networks, but it is not zero, which is why a wallet that holds tokens but no SOL cannot move them. Keep a little SOL for fees. The amount is a network parameter that can change, so this page gives no figure.
Priority fees
When many people want to get transactions processed at once, you can add a priority fee. It is based on how much computation you request and how much you offer per unit. A higher offer makes it more attractive for a leader to include your transaction sooner. In quiet periods it is often unnecessary. The topic is expanded in Slippage and Priority Fees on Solana Explained.
Rent and rent exemption
Storing data on chain uses resources, so accounts must hold a minimum balance of lamports based on their size. Accounts that meet this are called rent exempt and persist indefinitely. In practice, the minimum is a deposit, not a recurring charge, and it can be recovered when an account is closed and its lamports are returned. See Solana Accounts and Programs Explained for background on accounts.
Where you notice rent
- Receiving a token for the first time may require a new token account, which needs its own deposit.
- Apps that create accounts on your behalf usually include that deposit in the transaction cost.
- Closing unused accounts can return the deposit, which is why some tools offer cleanup. Use only trusted tools, and be wary of scams described in airdrop scam warnings.
The accounts in question are explained in Token Accounts and Associated Token Accounts Explained.
Fees on a swap
A swap can involve several kinds of cost at once: the network fee, a possible priority fee, any rent for new accounts, and trading costs from the venue and the pool. Price impact and slippage also affect what you receive, see What Is a Liquidity Pool in Crypto. Check the transaction preview in your wallet.
Reading the numbers
After a transaction, an explorer shows the fee paid. The walkthrough in How to Read a Solana Transaction on an Explorer shows where to look. If something costs far more than you expected, stop and verify before approving again.
A good rule is to keep a small buffer of SOL in any wallet you use, so that you can always pay for a transaction, including one that moves tokens out in a hurry. Running a wallet down to nothing can leave tokens temporarily stuck until you add SOL again.
Fee levels and rules are set by the network and can be adjusted through its governance and software updates, so treat any specific number you read elsewhere as a snapshot. When in doubt, the live estimate in your wallet and the fee shown on a past transaction are the numbers that count.
Frequently asked questions
Why do I need SOL to move other tokens?
Network fees are paid in SOL. Without any SOL in your wallet, you cannot pay for a transaction that moves a token.
What is a priority fee?
An optional extra payment that makes your transaction more attractive to include sooner when the network is busy.
What is rent exemption?
A minimum lamport balance an account must hold to stay on chain indefinitely. It works like a deposit that can be recovered when the account is closed.
Is rent charged every month?
Not for rent exempt accounts, which is the normal case. You hold a deposit instead of paying a recurring fee.
Do failed transactions cost money?
They can. A fee may still apply for an attempt that was processed and then failed.
How much does a transaction cost?
It depends on current network settings and any priority fee you add. Your wallet shows an estimate before you approve.
Keep reading
- How Solana Transactions Work
A clear look at how a Solana transaction is built, signed, sent and confirmed, including instructions, accounts, the recent blockhash and what finality means. - Slippage and Priority Fees on Solana Explained
Slippage is the gap between the price you expect and the price you get. Priority fees pay for faster processing. Learn how to set both when swapping on Solana. - Token Accounts and Associated Token Accounts Explained
Why Solana wallets need a separate token account for each token, what an associated token account is, and how it affects receiving, sending and closing them. - How to Read a Solana Transaction on an Explorer
A generic walkthrough of a Solana transaction page: signature, status, fee payer, instructions, balance changes and logs, and what each field tells you.
All How to buy and stay safe guides | Back to top | Search the site
Main pages: What is QNT? | Token information | How to buy | FAQ