Change or Lock a Solana Transfer Fee
Change what your tax token charges, or give up the right to change it ever again.
Wallet not connected
Connect your wallet to change or lock your token's transfer fee. You sign every action yourself, and nothing is custodial.
How to change or lock a Solana transfer fee
- Connect the wallet holding the fee authority. That is the wallet nominated when the token was created, and no other wallet can change the rate.
- Paste the token's mint address and press Read. This is free and signs nothing.
- Look at what came back: what the token charges right now, whether a change is already scheduled, and whether the rate can still be moved at all.
- To change the rate, enter a new percentage and cap. Setting 0 stops the token charging anything.
- Remember that a change is scheduled, not instant. The token program applies it at a future epoch, roughly a day or two out, and keeps charging the old rate until then.
- To lock the rate forever, use the lock action at the bottom. It gives up the authority permanently, and there is no undo.
Common questions
I changed the fee and it is still charging the old rate. Why?
Because a fee change is scheduled rather than immediate. The token program writes your new rate with an activation epoch in the future, usually a day or two out, and keeps charging the previous rate until the chain reaches it. This is deliberate: it stops anyone raising a tax and catching holders in the same block. The panel shows you which rate is live and when the new one starts.
What does locking the rate actually do?
It gives up the transfer-fee-config authority permanently, so the rate stays exactly where it is for the life of the token. Nobody can raise it, lower it or remove it after that, including you and including us. It is the transfer-fee equivalent of revoking a mint authority, and buyers read it the same way.
If I lock the rate, do I lose the fees I have already earned?
No, and this is worth being clear about. Collecting withheld fees uses a different authority, the withdraw authority, which locking does not touch. You can lock the rate and carry on collecting exactly as before. The two are separate powers and only one of them is being given up.
Can I remove the transfer fee completely?
You can set the rate to 0, which means no fee is taken on any transfer. The extension itself stays on the mint permanently and cannot be removed, so explorers will still show the token as having a transfer fee mechanism. Setting 0 and then locking is the closest thing to removing it, and it is verifiable by anyone.
Can I add a transfer fee to a token that does not have one?
No. Token extensions are fixed at creation and cannot be added afterwards. If your token was created without the transfer fee extension, or as a standard SPL token, there is no rate to change and no way to introduce one. You would have to create a new token.
Why does the Rug Check flag my token when the fee is modest?
It is not flagging the rate, it is flagging that the rate can still be raised. While the fee authority exists, whoever holds it can move the rate up to 100% after people have bought, which is a real power over everyone holding. Lock it and that finding goes away, because the risk genuinely no longer exists.
The change you make is not the change they feel, yet
The most surprising thing about this page is that nothing you do here happens immediately. Token-2022 stores two rates and an activation epoch. When you set a new fee, it goes into the second slot with a start epoch in the future, and the old rate carries on being charged until the chain gets there.
That is not a limitation to work around. It is the token program protecting holders from precisely the power this page grants: without it, a creator could raise a tax to 100% and drain the next person to sell in the same block. The delay gives anyone watching time to notice and act. Your token's holders benefit from it, and so does your credibility.
Locking, and what it is worth
Our Rug Checker reports a token whose fee authority is still live as one whose tax can be raised, and counts it against the token. That is a fair reading: the ability to change a tax after people have bought is a genuine power over them, whatever you intend to do with it.
Locking removes the power rather than promising not to use it. That is the entire value. A promise is worth what people think of you; a revoked authority is worth the same to a stranger who has never heard of you, and they can check it in ten seconds.
Two authorities, and only one is being given up
- The fee authority decides what the token charges. This is what locking gives up.
- The withdraw authority collects what has already been withheld, over on Collect Transfer Fees. Locking does not touch it.
People conflate these and then hesitate to lock, because it feels like giving up the income. It is not. You can lock the rate today and collect fees for years.
Turning a tax off
Setting the rate to 0 stops the token charging anything. The extension stays on the mint forever, so explorers will still show that the token has a transfer fee mechanism, but the mechanism takes nothing.
If you have decided the tax was a mistake, set it to 0 and then lock it. That combination is permanent, obvious on-chain, and about as close to undoing the decision as the standard allows.
Related tools
- Create a token with a transfer fee: Tax Token Creator.
- Collect what has been withheld: Collect Transfer Fees.
- The other permanent trust actions: Revoke Authorities.
