---
title: "How to Create a Solana Tax Token (Token-2022 Transfer Fees), No Code"
canonical: https://solforger.io/blog/how-to-create-a-solana-tax-token-token-2022-transfer-fees/
author: "Marcus Feld — Solana engineer, SolForger"
published: 2026-06-20
updated: 2026-10-31
category: "Token creation"
tool: https://solforger.io/create-tax/
description: "Create a tax token on Solana with the Token-2022 transfer-fee extension: a percentage withheld on every transfer, no contract code. How it works, what to set."
---

# How to Create a Solana Tax Token (Token-2022 Transfer Fees), No Code

## Key takeaways

- A Solana tax token is created with the Token-2022 program's transfer-fee extension, which withholds a set percentage of every transfer on-chain with no custom contract code.
- Token-2022 transfer fees are set in basis points, where 100 basis points equals 1%, alongside a maximum fee per transfer; SolForger's tax creator takes a 0.1–10% rate and sets that maximum to the full supply, so it is uncapped in practice.
- Token-2022 transfer fees are not sent to the treasury on each transfer; they are withheld in recipients' token accounts until the withdraw-withheld authority collects them.
- Creating a Token-2022 tax token on SolForger costs 0.4 SOL plus network rent, with 0.1 SOL more for each authority revoked.
- Token-2022 tax tokens are supported by major Solana wallets and DEX aggregators but not by every venue, so their compatibility is narrower than a standard SPL token's.

A "tax token" charges a fee on every transfer and routes it to you — the mechanic behind reflection tokens, treasury-funding tokens, and a lot of meme-coin tokenomics. On Ethereum that meant writing and auditing a custom contract. On Solana it doesn't: the [Token-2022 program](https://spl.solana.com/token-2022) has a **transfer-fee extension** built in, so the tax is enforced by the token itself, with no contract code at all. Creating one means making a Token-2022 mint with that extension switched on and a fee rate set; on the forge, a no-code creator does it in one signed transaction for 0.4 SOL plus network rent, with the rate entered as a percentage from 0.1% to 10%.

This guide covers what the extension does — the rate, the cap, and the authorities, and which of them the forge sets for you — the compatibility trade-off nobody mentions up front, and how to collect what you've accrued.

## SPL vs Token-2022: why a tax token is different

A normal token uses the original SPL Token program, which has no concept of a transfer fee. A tax token uses **Token-2022** (also called Token Extensions), a separate, newer program that keeps everything SPL does and adds optional features — confidential transfers, interest, and the one we care about here, **transfer fees**. If you want a plain token, use SPL; the difference is laid out in [SPL vs Token-2022](https://solforger.io/blog/spl-token-vs-token-2022-which-should-you-use/). You reach for Token-2022 specifically when you need an extension like a built-in tax.

> The tax isn't a contract bolted onto the token — it's a property of the token itself, enforced by the program on every transfer. Nothing to deploy, nothing to audit.

## How the transfer-fee extension works

Three numbers define a tax token, and it's worth understanding each before you set them.

**The fee rate, in basis points.** Fees are set in basis points where **100 basis points = 1%**. A 2% tax is `200`, a 5% tax is `500`. On each transfer, that percentage is withheld from the amount moved — send 1,000 tokens at 2% and the recipient gets 980, with 20 withheld. The forge's tax creator takes the rate as a percentage (0.1–10%) and converts it to basis points for you.

**The maximum fee cap.** This is an absolute ceiling on any single transfer's fee, expressed in tokens. It protects large transfers from a runaway cut — without a cap, a 2% fee on a ten-million-token transfer is 200,000 tokens, which may be more than you intend. Set the cap to the most you'd ever want a single transfer to pay. The forge's tax creator doesn't set one: it sets the maximum to the token's full supply, so in practice every transfer pays the full percentage.

**The authorities.** Two matter for a tax token: the **transfer-fee-config authority** (who can change the fee rate later) and the **withdraw-withheld authority** (who can collect the accrued fees). You can keep these, or revoke the config authority to prove the rate can never change — a trust signal, since buyers dislike a tax that can be raised on them after they buy. The forge sets both authorities to your wallet and has no step to revoke the config authority; if you want the rate locked, do that afterward with another Token-2022-aware tool.

## Where the collected tax actually sits

This surprises people, so it's worth being precise. Fees are **not** deposited into your treasury on each transfer. They're withheld inside the **recipients' token accounts** as transfers happen, accumulating there. To collect, the **withdraw-withheld authority** sweeps those withheld amounts into your treasury wallet in a separate on-chain action, whenever you decide to. So "collecting the tax" is a step you take, not something that happens automatically — budget for doing it periodically. On tokens from the forge the withdraw-withheld authority is your own wallet, and the forge doesn't have a fee-collection tool yet, so withdraw with another Token-2022-aware tool; until then the fees stay withheld on-chain.

## The compatibility trade-off — read this first

Here's the honest caveat most tax-token guides skip. Because Token-2022 is a newer, separate program, **support isn't universal.** Major wallets and the leading DEX aggregators handle transfer-fee tokens, and coverage keeps improving, but some venues, integrations, and tools still don't fully support them, and a few surface warnings on them. A transfer fee also interacts with automated market makers in ways a plain token doesn't — the pool has to account for the withheld amount.

The practical rule: **decide you need the on-chain tax badly enough to accept narrower compatibility.** If you just want a normal tradable token, an [SPL token](https://solforger.io/blog/how-to-create-a-solana-token/) trades everywhere with no caveats. If the tax is core to your design, use Token-2022 — and test that the token trades where your holders will actually trade before you build around it.

## How to create a tax token, step by step

1. **Connect your wallet** and open the [tax token creator](https://solforger.io/create-tax/). It's non-custodial — your keys never leave your wallet.
2. **Set the basics** — name, symbol, decimals, and supply, plus an optional logo and description. The logo and description are hosted as a metadata file, and its link is written into the token's own Token-2022 metadata, which is where wallets look for the image. You can replace the logo later at the [metadata tool](https://solforger.io/metadata/), which edits Token-2022 metadata on the mint too, until you lock it there.
3. **Set the transfer tax** as a percentage, from 0.1% to 10%. Pick a rate you can defend to buyers; most tokens sit at 1–5%.
4. **Choose whether to revoke mint and freeze authority**, 0.1 SOL each. The fee-config and withdraw-withheld authorities both go to your wallet; there's no separate treasury input and no per-transfer cap.
5. **Review the assay line and sign.** The mint, extension, metadata, and supply settle in one atomic transaction, with every cost itemized first: the 0.4 SOL creation fee, network rent, and 0.1 SOL for each authority you revoke.

## Setting a fee that doesn't scare buyers

A tax rate is a tokenomics decision with a hard ceiling: set it too high and you've built a soft honeypot. Buyers can technically sell a token with a punishing transfer fee, but they lose most of the proceeds to the tax, so they treat it exactly like a token they [can't sell](https://solforger.io/blog/how-to-check-if-a-solana-token-is-a-honeypot-or-rug-pull/) — and avoid it. A modest, stable, capped fee reads as legitimate tokenomics; an extreme one reads as a trap. If you also revoke the fee-config authority so the rate can't be raised later, buyers can verify the tax will stay what it is — which is worth more than a couple of extra percent.

## After launch

Publish a [token certificate](https://solforger.io/certificate/) so buyers can see the token program, mint and freeze authority, supply, and top holders, read live from the chain; the fee rate itself is listed with the mint's extensions on an explorer such as [Solscan](https://solscan.io). Then collect your accrued fees on whatever schedule makes sense. The [tax token creator](https://solforger.io/create-tax/) sets the token up in one signed transaction, with the rate and every cost spelled out before you approve.

## Frequently asked questions

### What is a tax token on Solana?

A tax token is a Token-2022 token with the transfer-fee extension enabled, so a percentage you set is withheld on-chain every time the token is transferred. The fee is enforced by the token program itself — there is no smart contract to write or audit. You collect the accumulated fees to a treasury wallet whenever you choose.

### How are transfer fees set on a Token-2022 token?

In basis points, where 100 basis points equals 1%. So a 2% tax is 200 basis points. The extension also stores a maximum fee — an absolute ceiling on how much any single transfer can be charged. Both are stored on the mint and enforced automatically. SolForger's tax creator takes the rate as a percentage from 0.1% to 10% and sets the maximum to the full supply, so it is uncapped in practice.

### Where do the collected taxes go?

Fees are withheld in the recipients' token accounts as transfers happen, then swept to your treasury by the withdraw-withheld authority. Nothing lands in the treasury automatically on each transfer — you (or the authority you designate) withdraw the accumulated fees on-chain when you want to collect.

### Do all wallets and exchanges support Token-2022 tax tokens?

Support has grown but is not universal. Major wallets and the leading Solana DEX aggregators handle Token-2022 transfer-fee tokens, but some venues and older integrations do not, and a few list them with warnings. Test that your token trades where you need it to before you build a community around it.

### What is a reasonable transfer fee percentage?

Most tax tokens use a modest rate, commonly 1–5%. A very high transfer fee eats most of a sale and behaves like a soft honeypot — buyers can technically sell but lose most of the proceeds to the tax, so they treat it as a trap. Keep the rate low enough that the token stays worth trading.
