How to check a Solana token before closing its account
How to check a Solana token before closing its empty account: match the account to its mint, confirm a zero balance, then review token risks if needed.
The Tareom Editors5 min read

Before closing a Solana token account, match it to the mint you intend to check, confirm its token balance is zero, and review the mint’s risk signals if you are unsure about the token.
Say your wallet shows several token accounts and one appears empty. Each token account is tied to a specific mint, which identifies the token, and has an owner authority. The account and the mint are separate on-chain objects, so start by identifying the exact account rather than relying on a token name or icon.
That distinction also separates a mint review from a rent-recovery task. A rugcheck before closing empty Solana accounts is a useful example because it covers both questions while keeping them distinct. A rugcheck reviews a token for warning signs; closing the account concerns the account’s balance and authorities.
Match the account to the mint before closing it
On Solscan, open the token account address and read its mint, owner, token balance, and any close authority shown. Compare the mint address with the token you meant to check. Token names can be similar, so use the address to confirm you have the right asset.
The token account address and mint address refer to different objects. The token account holds a balance for one mint. The mint identifies the token and has its own on-chain state. Closing the account does not close, rename, or otherwise change that mint.
Next, confirm the token balance is zero. The Solana Program Library (SPL) Token close-account instruction requires a zero token balance. If the account still holds tokens, it is not ready for this closure step; first decide how to handle that balance. A displayed value of zero is the key balance check, not the token’s market value or the amount of SOL in the account.
Also review the owner and close authority. The owner authority controls the token account, while a close authority, if one is set, can be relevant to who may close it. Make sure the account and the authority details fit the wallet flow you plan to use. Solana also has Token-2022 accounts, so confirm the account’s token program when checking it in an explorer or wallet; do not assume every token account uses the same program.
Use a mint risk review only when you need one
If you are uncertain about the token project, run rugcheck on the mint address and read the reported signals. This is a review of the mint and token project, not a check that proves a particular token account is empty or safe to close.
Pay attention to control and distribution signals, including whether mint or freeze authority remains, what the liquidity looks like, and how concentrated the token’s holders are. These details can help you judge whether to interact with the token or project. They do not replace the account checks: you still need the correct account, a zero token balance, and an appropriate authority for closure.
Consider two accounts in the same wallet. Both show a zero balance, both match the intended mint, and both have the authority details needed for the wallet’s close flow. In the first case, you recognize the token and do not need a project-risk review. You can proceed with the account check and closure preparation. In the second, you are unsure about the token, and the mint review shows concerning control or holder-distribution signals. That gives you a reason to avoid further interaction with the token project, but it does not change the fact that the account is a separate object with a zero balance. The difference changes your decision about the mint, not the account’s balance requirement.
Once the account is correctly identified and its token balance is zero, closing it sends its lamports to the destination specified for the transaction. Those lamports are the account’s SOL balance, which can include rent deposited when the account was created. Verify the refund destination in the trusted wallet flow before signing. The mint remains unchanged, whether or not you ran a token risk review.
Related
How do I find a token account’s mint address on Solana?
Open the token account in Solscan or another Solana explorer and read its mint field. Match that full address to the token you intended to check before taking action.
What does closing a Solana token account do?
Closing an eligible empty token account sends its lamports to a chosen destination. It closes that account; it does not close the mint or remove the token project from Solana.
- Open the wallet’s token accounts and select the intended empty account.
- Record its address, then confirm its mint, owner, close authority, and zero token balance in an explorer.
- If you are unsure about the token, review the mint’s risk signals.
- Use a trusted wallet flow, verify the refund destination, and sign only when the account details match.