DeFi · How-to
What Is PancakeSwap and How to Use It: Step-by-Step Guide
PancakeSwap is a decentralised exchange that started on BNB Chain and lets you swap tokens, provide liquidity and stake CAKE from your own wallet. This guide covers how it works, how to make your first swap, and how to avoid the common mistakes.
By the DappsAtlas editorial team · Updated

What is PancakeSwap?
PancakeSwap is a decentralised exchange (DEX) that launched in 2020 on what was then called Binance Smart Chain, now BNB Chain. It lets you swap one token for another directly from your own crypto wallet, with no order book, no company holding your funds and no account to register.
It began as an automated market maker (AMM) in the style of Uniswap V2, with cheaper fees and faster confirmations than Ethereum at the time. Since then it has added concentrated-liquidity pools (often called V3), support for several other blockchains, and a wider set of products around the core exchange.
The main parts of the platform are:
- Swap: trade tokens against liquidity pools.
- Liquidity: deposit token pairs into pools and earn a share of trading fees.
- Farms: stake liquidity-provider positions to earn extra rewards, usually in CAKE.
- Staking and locking: stake or lock CAKE for rewards and governance influence.
- Extras: products such as a lottery, prediction markets, perpetual trading and token launch tools, which have changed over the years.
CAKE is the platform's native token. Anyone can trade on PancakeSwap, but the project is run by a core team and a community governance process, and which features exist at any moment can change. Treat this guide as a map of how things work, and confirm the current product list inside the app and in the official documentation.
How does PancakeSwap work?
A traditional exchange matches buyers with sellers. PancakeSwap instead uses liquidity pools: smart contracts holding two tokens, such as BNB and USDT. When you swap, you add one token to the pool and take the other out, and a pricing formula adjusts the price based on the new balance.
This means three things for you as a user:
- Price depends on pool size. A large pool absorbs your trade with little price movement. A small pool moves a lot, which is called price impact.
- Liquidity providers are the counterparty. People who deposit tokens into the pool earn a share of the fees you pay on each swap.
- Anyone can create a pool. There is no listing committee for open pools, which is why fake or dangerous tokens can appear.
The interface also contains a router that can split a trade across several pools or hop through intermediate tokens to find a better price. You do not choose the path manually in most cases.
V2 and V3 pools. V2-style pools spread liquidity across the entire price range, which is simple but capital-hungry. V3-style pools let providers choose a price range, concentrating their funds where trading happens. That can earn more fees per dollar deposited, but the position stops earning when the price leaves the range, and it needs more active management.
All of this runs on smart contracts. You sign each action in your wallet, and the blockchain records it. Nobody at PancakeSwap can reverse a swap you have confirmed.
What do you need before using PancakeSwap?
Before your first trade, set up four things.
1. A self-custody wallet. Common choices are browser extension wallets and mobile wallets that support BNB Chain. Write down your recovery phrase offline and never type it into a website, a chat or a form. Anyone with the phrase controls your funds.
2. The right network. PancakeSwap is multi-chain. Choose the network inside the app and make sure your wallet is connected to the same one. BNB Chain is the original and most commonly used.
3. Gas tokens. Every transaction needs the network's gas token. On BNB Chain that is BNB. Keep a small amount beyond what you plan to trade, because approvals, swaps and liquidity actions each cost gas.
4. Funds to trade. If you hold crypto on a centralised exchange, withdraw it to your wallet. Many exchanges, including OKX, Bitget and Gate, list BNB and other BNB Chain assets. When you withdraw, select the correct network. Sending funds on the wrong network can mean permanent loss.
A useful habit is to send a small test amount first. Wait for it to arrive, then send the rest.
Checking the site. Scammers run copycat sites and buy ads for them. Type the address from the official documentation or use a bookmark you created from a trusted source. Do not click sponsored public reporting to reach a DEX. If a site asks for your recovery phrase, it is fraudulent.
How do you swap tokens on PancakeSwap, step by step?
This is the standard flow for a swap. Menu names may change slightly, but the sequence stays the same.
- Open the official site from your bookmark and choose the network at the top.
- Connect your wallet. Approve the connection in the wallet pop-up. Connecting does not move funds.
- Open the Swap page and choose the token you are paying with in the top box.
- Choose the token you want in the lower box. If it is not in the list, paste the token's contract address, taken from an official source such as the project's own site or a trusted data aggregator.
- Enter an amount. Review the quoted output, the price impact and the route.
- Approve the token if prompted. This one-time transaction lets the router spend that specific token. Native gas tokens such as BNB do not need approval.
- Confirm the swap. Your wallet shows a final prompt with the gas fee. Check it and sign.
- Wait for confirmation. On BNB Chain this is usually quick. You can then see the received token in your wallet, and you may need to import it manually if it does not appear.
Check before you sign:
- The contract address of the output token matches the official one.
- Price impact is small for the size you are trading.
- The approval amount is what you expect. Many wallets let you limit approvals instead of granting unlimited spending.
If the quote looks far better than the market, treat it as a warning. It is often a fake or illiquid token.
How do slippage, price impact and fees work?
Three settings and numbers decide how much a trade really costs you.
Slippage tolerance. The price can change between when you click and when the transaction confirms. Slippage tolerance is the maximum worsening you accept. If the price moves beyond it, the transaction fails instead of executing at a bad rate. Low values protect you but can cause failed transactions on volatile tokens. High values reduce failures but invite sandwich attacks, where a bot trades around yours to extract value. Raise it only as much as needed.
Price impact. This is how much your own trade moves the pool price. A large impact figure means the pool is thin compared with your trade. Splitting a large order, choosing a deeper pool or using a different pair can help.
Fees. You pay three kinds of cost:
- Swap fee: a percentage of the trade, which depends on the pool type. V3-style pools offer several fee tiers, and the app shows which is used.
- Gas fee: paid to the network, not PancakeSwap. It varies by chain and congestion.
- Token taxes: some tokens take a fee on every transfer inside their own contract. This is separate from PancakeSwap and shows up as less received than quoted.
Fee levels are adjusted by governance from time to time, so read the current figures in the app or documentation. Some wallets and the interface also offer protection settings against front-running, such as private transaction routing. Use them where available, particularly for larger trades.
How do you add liquidity on PancakeSwap?
Providing liquidity means depositing two tokens into a pool so others can trade against them. In return you earn a share of that pool's swap fees.
Basic steps for a pool:
- Open the Liquidity or Pools section and choose to add liquidity.
- Pick the token pair and the fee tier if the pool type offers one.
- For a V3-style pool, choose a price range. A narrow range can earn more fees but is out of range more easily. A wide range behaves more like a V2 pool.
- Enter the amount of one token. The interface calculates the matching amount of the other.
- Approve both tokens if needed, then confirm the deposit.
- Receive a position, either as LP tokens or as an NFT that represents your range.
Impermanent loss. If the prices of the two tokens diverge, the pool automatically rebalances you into more of the falling token. Compared with simply holding both tokens, you can end up with less value even though you earned fees. It is called impermanent because it shrinks if prices return, but it becomes real when you withdraw. Pairs of two similarly priced assets, such as two stablecoins, have much lower exposure.
Other risks: a token in the pair can be a scam and drop to zero, and a smart contract bug can affect any pool.
To exit, use the remove liquidity option, withdraw both tokens and collect any unclaimed fees. Do not assume the displayed yield will continue. It changes with trading volume and pool size.
What are farms, staking and veCAKE?
Farms. Many pools have an optional farm. You take your LP position, stake it in the farm, and earn CAKE rewards on top of trading fees. Which pools qualify and how much they reward is set through governance and can change often. The reward is paid in a volatile token, so its value can fall while you hold it.
Syrup Pools and CAKE staking. Staking CAKE has historically earned rewards in CAKE or other tokens. Terms differ by pool type, and some products have lock periods, so read the current terms before depositing.
veCAKE locking. Locking CAKE for a fixed period gives veCAKE, a vote-escrowed position. Longer locks give more weight. The weight is used for governance and for directing rewards to specific pools. This model is similar to those used by Curve, and in the wider DeFi ecosystem, tools such as Convex Finance and vfat.io exist to manage similar farming strategies. The key point is that you cannot easily exit a lock early, so lock only what you can leave untouched.
Checking numbers. APR and APY figures shown in the app are estimates based on recent activity. They are not promises. Check the live figure on the pool page, compare it with the pool's trading volume and the token's price trend, and be skeptical of very high numbers, which are usually paid in a token that is inflating.
Before you stake anywhere, confirm that you are on the official site and read the contract address for the staking pool against the documentation.
What other products does PancakeSwap offer?
Over the years PancakeSwap has added products that go beyond swaps and pools. The exact list changes, so treat these as examples and check the app for what is live and available in your region.
- Perpetual trading: leveraged trading on price movements. Leverage can wipe out your whole deposit quickly. Use it only if you understand liquidation prices and funding costs.
- Prediction markets: short-round games where you bet on whether a price goes up or down. These are gambling products. You must be 18 or older, or the legal age where you live, and you need to check your local laws before taking part. Never spend money you cannot afford to lose.
- Lottery: a ticket-based draw paid in CAKE, which is also a gambling product with the same age and legal requirements.
- Token launch tools: earlier formats such as Initial Farm Offerings gave users early access to new tokens. New token launches carry high risk.
- NFT and gaming features: these have been added and retired over time.
If you are a project and want to launch a token with liquidity, services such as Team Finance offer liquidity locking and vesting, which show buyers that the team cannot withdraw pool funds at will.
If you want to compare the platform with other DEXs, such as Bitflow on Stacks, look at supported chains, liquidity depth for the tokens you trade, fee structure and audit history rather than marketing claims.
As a rule, stick to swaps and low-risk pools until you are comfortable with the mechanics. Each extra feature adds its own risks.
How can you use PancakeSwap safely?
Most losses on DEXs come from user-side mistakes, not from the exchange contract failing. Use this checklist.
Before trading
- Use only a bookmarked official address, never links from ads, direct messages or social media replies.
- Verify the token contract address from the project's own channels. Tokens often share names and tickers with real ones.
- Check liquidity. A token with a tiny pool can be impossible to sell at a fair price.
- Be careful with tokens that you did not buy but that appeared in your wallet. Do not interact with them or try to sell them.
During trading
- Keep slippage as low as the trade allows.
- Read each wallet prompt. A swap should not ask you to sign an unrelated message or give access to all your tokens.
- Prefer exact approval amounts instead of unlimited approvals.
After trading
- Review and revoke old token approvals with a reputable approval checker, particularly on a wallet you use a lot.
- Use a separate wallet for experiments, and keep long-term holdings in a hardware wallet.
- Keep a record of transactions, because tax rules in many countries treat swaps as taxable events.
Smart contract risk. PancakeSwap's contracts have been audited and have operated for years, but audits do not remove risk. Do not put in more than you can afford to lose.
Scam signs: a token you cannot sell, an offer of guaranteed returns, a request for your recovery phrase, or someone offering help in a private chat. All are red flags.
Where to check current fees, yields and status
Some figures change constantly, so do not rely on any number in an article, including this one. Check these directly:
- Swap and pool fees: shown on the swap page and each pool page, and explained in the official documentation.
- Gas costs: shown in your wallet before you sign. They depend on the network and on congestion.
- APR and APY: shown on farm and staking pages as estimates. Compare them with volume and token price history.
- Total value locked and volume: DeFi data dashboards track these for PancakeSwap and for competing exchanges. They show how deep the liquidity is.
- CAKE supply and emissions: the official documentation and governance posts describe how issuance and burning work, and these rules have changed more than once.
- Supported chains and products: the network selector and the app's menu show what is currently available.
- Audits and security notes: the official documentation lists audit reports. Read the date and the scope.
Where PancakeSwap fits. It is a general-purpose DEX with a large user base on BNB Chain and several other networks. If you mainly want to lend or borrow, a money market such as Compound V3 or Fluid Lending serves that need better. If you want to swap on a Bitcoin-focused chain, a DEX built there may suit you better. Use PancakeSwap when you want to trade BNB Chain-native tokens, or provide liquidity on those pairs.
Your next steps. Start with a small swap of a major token pair, read the transaction in a block explorer, and check your approvals afterwards. Once that feels routine, look at pools with stable pairs before considering volatile ones.
Frequently asked questions
Do I need an account to use PancakeSwap?
No. PancakeSwap is non-custodial, so you connect your own wallet and keep control of your keys. Most core features, such as swaps and liquidity, do not require an account or identity check on the protocol itself. Some features, such as prediction games, have regional restrictions or terms you must accept, so check the rules that apply to you.
What token do I need to pay gas on PancakeSwap?
You need the network's gas token. On BNB Chain that is BNB, and each other supported network uses its own gas token, often ETH. Gas is separate from the token you want to swap, so keep a small reserve of it for approvals and trades.
What is CAKE used for?
CAKE is PancakeSwap's native token. Its uses have changed over time, but it has been used for staking, farm rewards, governance voting through locking, and some product features. Check the official documentation for its current utility and supply rules before buying it.
Is PancakeSwap safe?
Not automatically. The protocol is a long-running, widely used exchange, but every token listed through open pools can be created by anyone, including scammers. Risks include fake tokens, phishing sites, impermanent loss, unlimited token approvals and smart contract bugs. Careful verification lowers these risks but does not remove them.
Why does my swap fail with a slippage or price error?
The token may have a transfer tax, low liquidity, or a slippage setting that is too tight for market movement. Some tokens charge a fee on every transfer, and that fee must fit inside your slippage tolerance. A failed transaction still costs gas, so look at the token's details before raising slippage.
Can I earn money by providing liquidity?
Yes. Provide liquidity to a pool and you earn a share of trading fees, and some pools also offer extra CAKE rewards through farms. You also take on impermanent loss and token risk. Returns change constantly, so read them from the interface and treat any figure as temporary.
Mentioned in this guide
dApps in this guide
vfat.io is a non-custodial, multi-chain yield aggregator and portfolio manager built on the Sickle smart contract wallet, for active DeFi farmers.
Team Finance is a non-custodial platform where token projects create tokens, lock liquidity and team tokens, set up vesting, run staking pools and airdrops.
Bitflow is a Stacks-based DEX and swap aggregator for Bitcoiners, with DCA, limit orders and HODLMM concentrated liquidity pools.
Convex Finance is a DeFi yield platform that boosts rewards for Curve, Frax and f(x) liquidity providers and lets CVX lockers vote on emissions.
Fluid is an Instadapp DeFi protocol combining lending and a DEX on one liquidity layer, for users who want yield, isolated-vault borrowing and swaps.
OKX is a major centralized crypto exchange for spot and derivatives trading, earn products and a Web3 wallet, with its own OKB token.
Bitget is a centralized exchange for crypto spot and futures that also offers tokenized stocks, commodities and forex in one account, for active traders.
Gate is a centralized crypto exchange founded in 2013 offering spot, futures, stocks and earn products for traders who want one multi-asset account.
Common is a non-custodial ZK privacy dapp on Arbitrum and Aleph Zero EVM that lets users shield funds and withdraw to a new, unlinkable wallet.
Keep reading
Related guides
DeFi · How-to
What Is SushiSwap? How to Use This DeFi Platform Step by Step
SushiSwap is a community-governed decentralized exchange where you swap tokens and earn fees by supplying liquidity. This guide explains how it works, how to make your first swap and pool deposit, and the risks to manage.
DeFi · Explainer
Uniswap v4 Explained: Hooks, Singleton Design and Flash Accounting
Uniswap v4 keeps v3's concentrated liquidity but rebuilds the plumbing: one contract holds every pool, and hooks let developers attach custom logic to each one. This guide explains how it works, what it enables and where the risks sit.
Airdrop and rewards · Review
Galxe Review: Quests, Credentials and Web3 Reputation
Galxe is a Web3 quest and credential platform where projects hand out badges, NFTs and token rewards for completing tasks. This review explains how it works, what it is good for, and where the risks are.
Airdrop and rewards · Airdrop guide
How to Claim the Hop Airdrop: Eligibility, Steps and Safety
The HOP token was distributed to early users of Hop Protocol, a cross-chain bridge for Ethereum rollups. This guide covers who qualified, how the claim worked, how to check whether it is still open, and how to avoid the fake claim sites that follow every airdrop.
DeFi · Explainer
What Is PantherSwap? A Simple Explanation for 2026
PantherSwap is a decentralised exchange and yield farm on BNB Chain where users swap tokens, supply liquidity and stake to earn rewards. This guide explains how it works in plain terms and how it differs from the unrelated Panther Protocol.
DeFi · Explainer
What Is Olympus DAO? How OHM, Bonds and Cooler Loans Work in 2026
Olympus DAO is an Ethereum protocol that issues OHM, a token designed to be backed by a shared treasury rather than a fixed peg. This guide explains how the treasury, bonding, staking, Cooler Loans and governance fit together, and what risks to weigh before using any part of it.
DeFi · Explainer
What Is PantherSwap? A Simple Explanation for DeFi Users
PantherSwap is a decentralized exchange and yield farm on BNB Chain. This guide explains what it does, how swaps, liquidity pools and farming work, and what to check before using it.
DeFi · Explainer
What Is NFT Farming and How Does It Work in 2026?
NFT farming means depositing an NFT into a smart contract to earn token rewards. This guide explains how the process works, where the rewards come from, and what to check before you deposit.