What are token transfer fees (tax tokens)?
A tax token takes a fee on every transfer. On Solana this is Token-2022's transfer fee extension: a rate in basis points with a maximum per transfer, withheld in the recipient's account until the withdraw authority collects it. How it works, who gets the fees and what buyers should check.
The short answer
A transfer fee, or "tax", is a cut taken every time a token moves, including buys and sells through a pool. On Solana it is built into the Token-2022 program as the transfer fee extension. The creator sets a rate in basis points (100 bps = 1%) and a maximum fee per transfer, and whoever holds the withdraw authority collects what builds up.
How the extension works
| Setting | What it does |
|---|---|
| Fee rate | Basis points taken from each transfer, up to 10,000 (100%) |
| Maximum fee | A cap per transfer, so very large transfers pay at most this amount |
| Withheld amount | The fee stays in the recipient's token account, locked, until collected |
| Withdraw withheld authority | The key that can collect withheld fees from accounts or from the mint |
| Transfer fee config authority | The key that can change the rate and maximum |
Example: at 50 bps with no binding cap, a 1,000-token transfer delivers 995 tokens and withholds 5. Anyone can run the permissionless harvest instruction to move withheld fees from token accounts to the mint, which holders need before closing an account; only the withdraw authority can then take them out. Fee-bearing tokens must be moved with transfer_checked, so old integrations that use plain transfer fail.
What buyers should check
- The current rate and cap. A token can launch at 0% and be raised later by the config authority; a rate change takes effect two epochs later (an epoch is about two days).
- Who holds the authorities. If the config authority is not revoked, the tax can go up to 100%.
- Other extensions. Transfer hooks and a permanent delegate can block or take tokens, see Token-2022 scam traps.
- Venue support. Some DEXs and bots do not support every Token-2022 extension.
For creators
The fee is set when the mint is created, see how to create a tax token, then collected with a withdraw instruction, see how to collect transfer fees. Read its disclosure section before you pick a rate.
How we checked
Solana Program Library Token-2022 extension docs, 24 October 2026.
Questions
What is a tax token on Solana?
A Token-2022 token with the transfer fee extension, which takes a set share of every transfer, including buys and sells.
Where do Token-2022 transfer fees go?
They are withheld in the recipient's token account until the withdraw authority collects them, after anyone harvests them to the mint.
Can the transfer fee be changed after launch?
Yes, by the transfer fee config authority if it is not revoked. The new rate applies two epochs later.
What is the maximum transfer fee?
The rate can be set up to 10,000 basis points (100%), with a separate maximum amount per transfer.
Can I close a token account with withheld fees?
Not until the withheld fees are harvested to the mint, which anyone can do.
