- Yes, a Solana token account can be closed when the applicable token program's closure requirements are satisfied and the required authority approves the operation.
- For a normal token account, the token balance generally must be zero before the account can be closed.
- Closing a token account removes that account and transfers its remaining lamports to the specified destination account.
- Burning, selling, or transferring the last token does not automatically close the token account.
- Do not treat every zero-balance account as safe to close without checking its program, state, authority, and whether you still need it.
Yes. Solana token accounts can be closed, and closing an eligible account can return the SOL held in that account to a destination account.
This is the mechanism behind reclaiming the rent-exempt balance from unused token accounts.
But there is an important distinction:
An empty token account is not automatically deleted, and a zero token balance alone is not a complete safety check.
Before closing an account, you should verify what the account is, which token program controls it, whether its token balance satisfies the closure requirements, and whether the correct authority can approve the operation.
What does closing a token account mean?
A token account is an on-chain Solana account used to store token-related state.
While it exists, the account also holds lamports needed for its rent-exempt balance.
When a valid close instruction is executed, the token account is removed and its remaining lamports are transferred to a specified destination.
Conceptually:
Token account
├── Token balance: 0
└── Lamports: 2,039,280
↓ valid close instruction
Token account removed
+
2,039,280 lamports transferred
to the destination account
For a standard 165-byte SPL Token Account, 2,039,280 lamports = 0.00203928 SOL is the familiar rent-exempt amount.
That exact figure should not be assumed for every token account because account size and structure can vary.
Does the token balance need to be zero?
For an ordinary token account, yes: its token amount generally needs to be zero before it can be closed.
If the account still contains tokens, you first need to decide what should happen to them.
Depending on your intent, that might mean:
- keeping the tokens;
- transferring them elsewhere;
- selling them through an appropriate application; or
- deliberately burning unwanted tokens.
If you want to permanently destroy unwanted tokens, see the Burn tool and the token-burning guides before approving a transaction.
Does reaching zero automatically close the account?
No.
This is one of the most important points to understand about Solana token accounts.
Suppose you have:
Token balance: 10
and then transfer or sell all 10 tokens.
The token balance becomes:
Token balance: 0
but the token account can remain open.
The same general situation can occur after tokens are burned: removing the tokens and closing the account are distinct operations.
That is why wallets can accumulate empty token accounts over time.
What happens to the SOL when the account is closed?
The remaining lamports in the token account are sent to the destination specified by the close instruction.
For many wallet-cleanup workflows, that destination is the user's wallet.
For example:
Before
Wallet: X SOL
Empty token account: 0.00203928 SOL
After successful closure
Wallet: X SOL + released lamports
Token account: closed
This is why the SOL associated with account rent is often described as a refundable storage deposit rather than a permanently spent fee.
The close transaction itself can still incur network fees, and a third-party service may charge a separate service fee.
See Fees for the fees applicable to Your Free SOL.
Who is allowed to close a token account?
A valid close operation must be authorized according to the token account's authority configuration and the rules of the token program governing that account.
For ordinary wallet-controlled token accounts, the wallet owner is commonly the relevant authority, but you should not assume that every account has the same authority setup.
Accounts can have different configurations, and applications can create accounts for specialized purposes.
A safe workflow therefore checks the actual account data rather than assuming:
wallet can see account
→ wallet can always close account
Those are not equivalent statements.
Can you close an Associated Token Account?
An Associated Token Account, or ATA, is still a token account.
If it satisfies the applicable closure requirements and the authorized party approves the instruction, it can be closed.
However, closing an ATA does not prevent the same associated token account address from being created again later when needed.
For example, if you later need to receive that token again, an application may recreate the ATA and fund the required rent-exempt balance.
Can you close a token account that still has tokens?
For the standard token-account workflow, not while it still has a nonzero token balance.
The token amount must first be brought to zero through an intentional action.
A simplified decision tree looks like this:
Does the token account contain tokens?
|
+----+----+
| |
Yes No
| |
Keep, Check account state,
transfer, program and authority
sell or requirements
burn |
| |
+----> If eligible and intended
|
v
Close account
The important word is intentional.
A cleanup tool should not decide that an asset is worthless simply because you do not recognize it.
What about frozen token accounts?
Frozen or otherwise specially configured token accounts need additional care.
Their state can affect which operations are permitted.
Similarly, Token-2022 introduces extensions and additional account behavior that should not be reduced to assumptions based only on traditional SPL Token accounts.
This is one reason a cleanup scanner should inspect the actual on-chain account rather than merely count token balances.
Token Program vs Token-2022
Solana supports both the original Token Program and Token-2022.
The basic concept of token accounts exists in both, but Token-2022 supports extensions that can change account size or behavior.
A robust account-closing workflow should therefore identify:
| Check | Why it matters |
|---|---|
| Governing token program | Determines which program rules apply |
| Token amount | Helps establish whether the account is empty |
| Account state | Can affect permitted operations |
| Account size | Can affect the rent-exempt balance |
| Authority | Determines who can authorize closure |
| Lamport balance | Determines what the account currently holds |
| Extensions | May introduce additional behavior or restrictions |
This is also why assuming every closable token account contains exactly the same amount of SOL is unsafe.
Can closing an account delete the token itself?
No.
Closing your token account does not delete the token mint or remove the token from Solana for everyone else.
These are different objects.
Token mint
|
+-- User A token account
|
+-- User B token account
|
+-- User C token account
Closing User A's eligible token account affects that account. It does not close the mint or the token accounts belonging to other users.
Likewise, burning tokens reduces token supply according to the token program's rules, while closing an account removes the account itself.
Is closing a token account the same as burning tokens?
No.
They are separate operations with different purposes.
| Operation | What it does |
|---|---|
| Burn tokens | Permanently destroys a specified token amount |
| Close token account | Removes an eligible token account and releases its remaining lamports |
A burn can result in a zero token balance, but the account may still remain open afterward unless it is separately closed.
Conversely, an ordinary token account containing tokens generally cannot simply be closed as a substitute for burning those tokens.
If your goal is removing unwanted assets, see Burn Unwanted Tokens on Solana once that workflow is relevant.
How do you find accounts that might be closable?
First identify the token accounts associated with your wallet.
You can do this using:
- Solana RPC;
- an explorer;
- developer tooling; or
- a wallet scanner.
For the technical and user-facing methods, see How to Find Token Accounts on Solana.
After finding the accounts, filter them by their actual on-chain state rather than by token name alone.
How do you safely close an unused token account?
A typical cleanup workflow is:
- Identify the token accounts associated with your wallet.
- Verify which token program governs each account.
- Check that the account's token balance satisfies the closure requirements.
- Review the account state, authority, and any relevant extensions.
- Confirm that you no longer need the account.
- Review the SOL that would be released and any applicable transaction or service fees.
- Inspect the prepared transaction in your wallet.
- Approve the transaction only if the accounts and actions match your intent.
Do not provide a seed phrase or private key to perform this process.
A non-custodial service should prepare transactions for your wallet to approve rather than take custody of your private keys.
How does Your Free SOL handle empty accounts?
Your Free SOL can scan the connected wallet's public on-chain data for eligible empty token accounts and show the reclaimable SOL before you approve the transaction.
The purpose of the scan is to reduce the manual work of identifying accounts and calculating their balances.
You remain responsible for reviewing what you sign in your wallet.
For broader cleanup that includes unwanted token accounts and wallet clutter, see Wallet Cleanup.
You can also review How It Works, Security, and FAQ before approving a transaction.
How much SOL can you get back?
There is no correct universal answer such as:
number of empty accounts × 0.002 SOL
For standard 165-byte SPL Token Accounts, the familiar rent-exempt minimum is 0.00203928 SOL, but different account structures can require different balances.
More importantly, the amount actually released by closing an account comes from that account's remaining lamports.
So the accurate calculation is based on the accounts themselves.
For a deeper explanation, see How Much Does Solana Rent Cost?.
Should you close every empty token account?
Not necessarily.
An account may be empty today but useful again later.
Closing and later recreating an account can add unnecessary transactions and require the rent-exempt balance to be funded again.
A sensible cleanup decision considers:
- whether you recognize the token;
- whether you expect to use it again;
- whether the account is actually eligible for closure;
- how much SOL would be released;
- transaction and service fees; and
- whether the prepared transaction matches what you intend to do.
The goal should be intentional account cleanup, not maximizing the number of accounts closed.
Is closing a token account reversible?
The close transaction itself should be treated as a real on-chain action, not as an undoable UI preference.
Once the transaction is confirmed, that account no longer exists in its previous funded state and its remaining lamports have been transferred to the destination.
An associated token account can potentially be created again later, but that is a new account-creation action and may require funding the rent-exempt balance again.
Therefore, review the transaction before signing rather than relying on the possibility of recreating an account later.
The simple answer
Yes, you can close an eligible Solana token account.
For an ordinary token account, its token balance generally needs to be zero, the applicable account conditions must permit closure, and the required authority must approve the transaction.
When the close succeeds, the account is removed and its remaining lamports are transferred to the specified destination.
What you should not assume is that every zero-balance account is automatically safe to close.
Find the account, inspect its actual state, confirm that you no longer need it, and review the transaction before approving it.
If your goal is specifically to recover SOL held in eligible empty token accounts, continue with How to Reclaim SOL Rent on Solana.