Solana Token-2022: When to Use Transfer Fees vs. Transfer Hooks

A November 14, 2026 explanation of Solana Token-2022 distinguishes two extensions that can affect a transfer but serve different purposes: Transfer Fee and Transfer Hook.

If the requirement is to change the amount transferred, use the Transfer Fee extension. It is built into Token-2022’s transfer logic and withholds tokens according to a fee rate and a maximum fee. This makes it a token-economic rule.

If the requirement is to check whether a transfer is allowed, consider a Transfer Hook. During a transfer, Token-2022 calls an external program through CPI. The explanation identifies allowlists, KYC checks, pauses and rate limits as possible policy checks.

The distinction matters when designing a same-token transfer tax. The explanation says the source and destination accounts are generally read-only to the hook, and the hook cannot re-enter Token-2022. Under those constraints, a hook cannot directly deduct that tax. Choose the fee extension for a change to the transfer amount; choose a hook for a check on transfer permission.

Further reading