Token-2022 Accounts: Rent, Extensions and How to Close Them
Updated · 5 min read
Token-2022, also called Token Extensions, is the newer Solana token program. Many recent tokens use it, and its accounts behave a little differently from classic SPL token accounts.
Why Token-2022 accounts can lock more SOL
Extensions add data to accounts. Because rent depends on account size, a Token-2022 account with extensions needs a larger deposit than a standard 165-byte account.
Extensions that affect closing
The transfer fee extension can leave withheld fees inside an otherwise empty account. Those must be harvested before the account can be closed. Mints can also use a default frozen state or a permanent delegate, which change what the holder is able to do.
Closing Token-2022 accounts
The close instruction is the same concept but is sent to the Token-2022 program instead of the classic token program. RecycleTokens scans both programs and builds the right instruction for each account automatically.
Check your wallet for locked SOL
Scan any Solana address for empty token accounts and see exactly how much rent you can reclaim. Free to check, non-custodial to close.
Frequently asked questions
How do I know if a token uses Token-2022?
Block explorers show the owning program of the mint. Token-2022 mints are owned by the Token Extensions program rather than the classic Token program.
