PancakeSwap guide: how it works, key features, and how to use it safely on BSC
PancakeSwap is the main DEX on BNB Smart Chain. This guide explains how the AMM model works, the difference between V2 and V3, slippage tolerance, impermanent loss, the bStocks integration, and the security practices that matter before you start.

PancakeSwap runs on an AMM model where trades execute against liquidity pools, not an order book. This guide covers how swaps, liquidity provision, yield farming, limit orders, and the tokenized stocks integration work — plus the price impact, impermanent loss, and security considerations every user needs to understand.
PancakeSwap is the primary decentralized exchange (DEX) on BNB Smart Chain and one of the largest DEXes across all EVM-compatible blockchains by trading volume. It uses an automated market maker (AMM) model, meaning trades execute against liquidity pools rather than a traditional order book. Understanding this distinction matters before you use it, because the rules of how prices work, how fees apply, and what risks exist are fundamentally different from trading on a centralized exchange like Binance.
What PancakeSwap is and how it works
In a traditional order book exchange, a buyer and a seller must match for a trade to happen. On PancakeSwap, you trade against a pool of two tokens locked in a smart contract. If you want to swap BNB for USDT, you send BNB to the pool and receive USDT in return. The pool's price is determined by the ratio of the two tokens at any moment: more USDT relative to BNB means BNB costs more. Your trade moves that ratio, making the price slightly worse for larger trades. This price movement from your own trade is called price impact.
PancakeSwap operates under several versions simultaneously. V2 is the original AMM, still heavily used for most token pairs. V3 introduced concentrated liquidity, where liquidity providers can specify price ranges, making capital more efficient. The Infinity (V4) upgrade, announced in 2026, introduces a plugin architecture that allows developers to add custom logic to pools through hooks. For basic trading, you interact primarily with V2 or V3 depending on which pool has better liquidity for your pair.
CAKE is PancakeSwap's native token, used for governance voting, staking in the Syrup Pool, and various platform incentive programs. The supply is deflationary by design: PancakeSwap burns CAKE weekly from trading fees, position closure fees, and other revenue sources. As of mid-2026, PancakeSwap had completed over 36 consecutive months of net supply reduction through these burns.
Key features you will actually use
PancakeSwap has expanded significantly beyond token swaps. The features most relevant to regular users are:
- Swap: the core function. Select input and output tokens, review slippage tolerance and price impact, and confirm. For stablecoin pairs or major tokens (BNB, ETH, BTC), slippage of 0.5% or less is normal. For smaller tokens with lower liquidity, you may need 1–5% or more, and price impact can be significant on larger trades.
- Limit orders: allows setting a target price for a swap that executes when the market reaches it, routed through off-chain keepers. Useful for entering or exiting positions at specific prices without watching the market manually, but execution depends on keeper availability and is less reliable than centralized exchange limit orders during extreme volatility.
- Liquidity provision: you can provide equal value of two tokens to a pool and earn a share of trading fees. On V2, the fee is 0.25% per swap for most pools (0.17% to LPs, 0.03% to the treasury, 0.05% buyback). On V3, fee tiers vary by pool (0.01%, 0.05%, 0.25%, 1%). In return for providing liquidity, you receive LP tokens representing your share. The primary risk is impermanent loss.
- Yield farming: deposit LP tokens into farm contracts to earn additional CAKE rewards on top of trading fees. Farms have variable APRs that change with CAKE price and the amount of capital in each farm. The CAKE earned is a separate income stream from LP fees.
- Syrup Pool (CAKE staking): stake CAKE to earn CAKE or other project tokens. The simplest way to earn yield if you already hold CAKE. APR varies with the staking amount and lock duration.
- Perpetuals and Options: PancakeSwap has added perpetual futures trading and binary options. These are significantly higher risk products than spot trading and involve leverage. Beginners should not start here.
- bStocks (tokenized stocks): as of 2026, PancakeSwap integrated trading for tokenized US stocks on BSC through bStocks. These represent equity positions as on-chain tokens and trade 24/7 regardless of traditional market hours. See our article on tokenized stocks for details on how these work and their specific risks.
Slippage tolerance and price impact
Two settings matter for every swap: slippage tolerance and price impact. They are related but different.
Slippage tolerance is the maximum percentage change in price you will accept between when you submit the transaction and when it executes on-chain. BSC is fast (3-second block times), but price can still move between submission and execution, especially for volatile tokens or during high activity. Setting slippage too low causes transactions to fail (the token "Expected to receive X but would receive Y, which exceeds tolerance"). Setting it too high means you accept being front-run or sandwiched by MEV bots that exploit the gap between your stated willingness and the actual price.
Price impact is how much your specific trade moves the pool price. A 1% price impact means your trade alone moves the price 1% against you. For large trades in thin liquidity pools this can be 10% or more. PancakeSwap shows price impact before you confirm; treat anything above 2-3% as a warning that you are trading in a pool with insufficient liquidity for your trade size.
Impermanent loss: what it is and when it matters
Impermanent loss (IL) is the difference between the value of your LP position versus simply holding the same tokens. It occurs because the AMM rebalances token ratios as prices change. If BNB doubles in price, the pool sells some of your BNB as it rises (capturing fees for other traders), leaving you with less BNB appreciation than if you had just held. The "loss" is called impermanent because it fully reverses if prices return to their original ratio, but if they do not return, it becomes a permanent cost.
Impermanent loss is most significant in volatile token pairs. Stablecoin-stablecoin pairs (USDT/USDC) have nearly zero IL because both prices are stable. A stablecoin-BNB pair has moderate IL. Two volatile tokens paired together can have severe IL during large price movements. Fee earnings from trading activity can compensate for IL in high-volume pools, but this is not guaranteed.
Security practices for using PancakeSwap
PancakeSwap's smart contracts have been audited by multiple firms and have operated for several years without major exploits. The main risks are not in the protocol itself but in how users interact with it:
- URL verification: always go to pancakeswap.finance directly. Phishing sites mimicking PancakeSwap's interface are common and will steal your tokens when you sign transactions. Bookmark the real URL.
- Token contract verification: on BSC, anyone can create a token with any name, including tokens named "BNB" or "CAKE." When swapping an unfamiliar token, paste the contract address into BscScan to verify it is the legitimate token. PancakeSwap shows contract addresses in the token selection interface.
- Scam tokens with the same name: a token called "PancakeSwap" or "CAKE v2" is almost certainly a scam. Use the official CAKE contract address (0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82 on BSC) to verify you are trading the real token.
- Token approval amounts: when PancakeSwap asks you to Approve a token before swapping, you are granting the router contract permission to spend that token from your wallet. The default is often "unlimited approval." You can set a specific amount instead. Unlimited approvals for contracts you regularly use are a reasonable tradeoff; for new or unaudited contracts, approve only the amount you intend to use.
- Revoke unused approvals: use revoke.cash or BscScan's token approval checker periodically to see what contracts have approval to spend your tokens, and revoke any that are no longer needed.
Common mistakes on first use
The most common issues for new users: setting slippage too low (transaction fails) or too high (getting sandwiched); trading a scam token with the same name as a legitimate one; forgetting that LP positions require active management during volatile markets; and providing liquidity to a new or unaudited project's pool because the APR looks high, without understanding that both the liquidity and the farm contract could be malicious.
Start with small amounts and use only established token pairs (BNB, USDT, BUSD, CAKE, ETH, BTCB) until you understand the mechanics. Read what MetaMask is asking you to sign before confirming. PancakeSwap will show you what the transaction does; take a moment to verify it matches your intention.
Frequently asked questions
What is impermanent loss on PancakeSwap?
Impermanent loss is the difference between the value of your LP position and simply holding the same tokens. It occurs because the AMM rebalances token ratios as prices change. It fully reverses if prices return to their entry ratio, but if they do not, it becomes a permanent cost. It is largest in volatile token pairs and negligible in stablecoin-stablecoin pairs.
What slippage should I set on PancakeSwap?
For major pairs (BNB/USDT, ETH/USDT), 0.5% or less is normal. For smaller tokens with lower liquidity, 1-3% may be needed. Setting slippage very high (5%+) exposes you to sandwich attacks by MEV bots. Setting it too low causes transaction failures.