Home / Wiki / B / Buy/Sell Tax

Buy/Sell Tax

Cryptocurrency and Digital AssetsUpdated 05 Nov 2026

A buy/sell tax is a fee written into a token's smart contract that takes a percentage of each purchase or sale of the token. When someone buys or sells on a decentralized exchange (DEX), the contract withholds the tax and sends it wherever the code directs: a marketing or development wallet, the token's liquidity pool, a burn address or existing holders. It is sometimes called a transfer tax or transaction fee, although it is not a government tax.

Buy/sell taxes became widespread in 2021 on meme coins launched as BEP-20 tokens on BNB Smart Chain and traded on PancakeSwap (CAKE), and they also appear on Ethereum tokens traded on Uniswap (UNI). They are a tokenomics feature, separate from the network's gas fee and the exchange's own trading fee. Because the contract owner can often change them, they are closely linked to scams such as the honeypot and the rug pull.

01

Buy/sell tax in plain terms

Think of a private club that charges a toll at the door, both when you come in and when you leave. Part of the toll pays the club's staff, part goes into a kitty shared by members who stay, and part is thrown away to keep membership scarce. Members agree to the rule when they join.

A token with a buy/sell tax works the same way: every trade pays a toll set in the code. The danger is that, in many of these clubs, the owner can raise the exit toll at any time. If the exit toll reaches 100%, nobody can leave with anything.

02

How the tax works

The contract overrides the standard transfer function. When it detects that tokens are moving to or from a registered DEX pair, it deducts a percentage before crediting the recipient. The buyer therefore receives fewer tokens than the DEX quoted, and the seller receives less of the paired asset. Buyers usually have to raise their slippage tolerance above the tax rate, or the DEX router will reject the trade.

The amount received after tax is:

Anet=A×(1−τ)A_{\text{net}} = A \times (1 - \tau)
  • AnetA_{\text{net}} is what the trader actually receives.
  • AA is the amount the trade would deliver with no tax.
  • τ\tau is the tax rate, as a decimal.

Worked example: a token charges 5% on buys and 8% on sells. A trader buys tokens worth $1,000 and receives tokens worth 1,000×0.95=9501{,}000 \times 0.95 = 950 dollars. If the price is unchanged and the trader sells at once, they receive 950×0.92=874950 \times 0.92 = 874 dollars, a round-trip loss of about 12.6% before gas and DEX fees. The token must rise about 14.4% (since 1,000÷874≈1.1441{,}000 \div 874 \approx 1.144) just to break even.

03

Common uses

  • Reflections. Part of each tax is redistributed to holders in proportion to their balance. SafeMoon, launched on BNB Smart Chain in 2021, popularised a 10% fee split between reflections to holders and additions to liquidity; in November 2023 the U.S. Securities and Exchange Commission (SEC) charged the company and its executives with fraud and unregistered securities sales.
  • Auto-liquidity. Part of the tax is swapped and added to the DEX pool, aiming to deepen liquidity over time.
  • Burns. Part is sent to a dead address, shrinking supply; see burning tokens.
  • Team funding. Part goes to a marketing or development wallet, in effect a revenue stream for the project.
  • Anti-bot measures. Very high taxes in the first blocks after launch are used to deter a sniper bot, then lowered.
04

Variable taxes and honeypot risk

A variable buy/sell tax is one that changes over time or can be changed by the contract owner. Some schedules are fixed in code, for example a high launch tax that falls to a lower rate after a set number of blocks. Others are controlled by an owner-only function that can set any rate. The variable buy/sell tax entry points here, because the risks are the same.

The main danger is a honeypot: a token whose owner raises the sell tax to 90–100%, or blocks selling, so buyers can enter but cannot exit with value. The owner then sells into the pool or removes liquidity, a pattern covered under rug pulls generally and the soft rug pull in particular. High taxes also hide price action: because sellers lose a large slice, charts can look healthier than real demand, and heavy taxes are sometimes combined with wash trading or a pump and dump.

05

How traders check a token

Before buying, cautious traders read the verified contract at its contract address on a block explorer, looking for fee functions, maximum-tax limits, blacklists and whether ownership has been renounced. Automated scanners and a rug check can simulate a buy and a sell to measure the real tax. Data sites such as DEX Screener flag some taxed tokens, and liquidity locking reduces, but does not remove, the risk. A tax that the owner can raise without limit is widely treated as a warning sign in guides to identifying cryptocurrency scams.

Last updated 05 Nov 2026