How to Use PancakeSwap: Connect a Wallet and Swap Tokens

Updated Sources checked

The short answer

To use PancakeSwap, open the official site from a bookmark, connect a self-custody wallet, choose the network, pick the two tokens, enter an amount, check the fee, price impact and slippage in the swap details, approve the token if asked, and confirm in your wallet.

PancakeSwap is a decentralized exchange: you trade from your own wallet and there is no account to create. This guide covers a first swap. Labels and layouts change, so follow the meaning of each step. For an overview of the platform, see the PancakeSwap review.

Before you start

  • A self-custody wallet that supports the network you want, with some of the token you will sell and some of the chain’s native coin for gas (for example BNB on BNB Chain). If you need one, see how to create a crypto wallet.
  • Your recovery phrase kept offline. No genuine site or support agent will ask for it.
  • A bookmarked official address. Copycat sites, sponsored search ads and fake apps imitate PancakeSwap. Open it from your bookmark only.

How to swap on PancakeSwap

  1. Open the official site and connect your wallet. Pick your wallet from the list and approve the connection in its pop-up. Connecting shows your address and balances to the site but does not move funds.
  2. Choose the network. PancakeSwap’s docs list eleven chains: BNB Chain, Ethereum, Solana, Base, Arbitrum, Aptos, ZKsync, Linea, Monad, Robinhood and opBNB. Make sure your wallet supports the one you pick. Solana and Aptos use different wallets from the EVM chains.
  3. Select the token you pay with and the token you want. Check the contract address of any token you don’t recognize. Scam tokens copy real names and logos.
  4. Enter the amount. The page shows the estimated amount you receive.
  5. Open the swap details. The docs say to check the “Fee” section in the swap details for what your swap is charged. The Smart Router may route through V3, V2, StableSwap or market-maker liquidity. For the fee levels, see PancakeSwap fees.
  6. Check slippage and price impact. Slippage is the worst price you will accept. If it is too low the swap fails; too high and a fast market or a bot can fill you at a much worse price. See what slippage is.
  7. Approve the token, if asked. The first time you sell a token, your wallet asks you to let a PancakeSwap contract spend it. This is its own transaction with its own gas fee. Limit the approval to the amount you need if your wallet allows it.
  8. Confirm the swap and read your wallet’s summary: what you send, what you receive and on which network.
  9. Check the result. The new token should appear in your wallet. If not, add it by contract address. You can view the transaction on a block explorer; see what a block explorer is.

Other things you can do

PancakeSwap’s docs list more than swaps: limit and TWAP orders, crosschain swaps, liquidity pools, yield farming, Cake staking and perps. Each has its own risks and costs.

  • Liquidity pools. You deposit two tokens and earn a share of swap fees, but you carry impermanent loss and smart-contract risk. For stablecoin pools, see how to add liquidity on PancakeSwap Infinity.
  • Perps. These use leverage. A position can be liquidated and the margin lost after a move against you. Only trade with money you can afford to lose.

If a swap doesn’t work

  • Not enough gas. Add some of the chain’s native coin to the same wallet.
  • The swap reverts. The price moved past your slippage limit, or a token takes a fee on transfers. Refresh the quote, try a smaller amount, and avoid raising slippage far.
  • The token doesn’t show up. Paste the contract address from the project’s official page, and compare it across sources.
  • Wrong network. Tokens on one chain don’t show on another. Switch networks in the app and your wallet.
  • A transaction is stuck. Look it up on a block explorer. Low gas can leave it pending, and your wallet may let you speed it up or cancel it.

Worked example: swapping 100 of one token for another

This is an example with round numbers and made-up percentages. Suppose you want to swap 100 USDT for another token on BNB Chain.

  1. Connect your wallet and check that it is on BNB Chain, with a little BNB for gas.
  2. Pick USDT as the token you pay with and the target token as the one you receive. Check the target’s contract address.
  3. Enter 100. Suppose the page shows an estimate of 0.2 of the target token.
  4. Open the details. Suppose the fee is 0.25% (a made-up figure), which is 0.25 USDT, and price impact is 0.1%.
  5. Set slippage at the default or a small value such as 0.5%. That means the swap fails if the price moves worse than that.
  6. Approve USDT in the first transaction, then confirm the swap in the second. Each has its own gas fee.
  7. Check the new token in your wallet.

If price impact shows 5% or more on a small trade, the pool is thin. Stop and check the token.

Common questions

Do I need an account?

No. You connect a wallet. There is no sign-up, and no one can reset a lost recovery phrase.

Why does my swap need two transactions?

The first is an approval that lets the contract spend your token. The second is the swap itself. Each costs gas.

What does slippage mean?

It is the worst price move you will accept between confirming and the swap filling. Too low and the swap fails; too high and you can get a worse price.

Why did my transaction fail but I still paid gas?

A failed transaction still uses network resources, so gas is charged. Raise gas slightly or reduce the size and try again after refreshing the quote.

Stay safe on PancakeSwap

  • Fake front-ends. Check the web address before connecting. Never type a recovery phrase on a website.
  • Token approvals. Each approval lets a contract spend that token until revoked, and a malicious or compromised contract can drain it. Review and revoke old approvals with a token-approval checker or your wallet’s settings.
  • Scam tokens. Anyone can create a token and a pool. See what a rug pull is.
  • No reversals. A confirmed swap can’t be undone and there is no support desk to refund it.
  • Learn the basics first with what a DEX is.

Sources

  1. docs.pancakeswap.finance supports: Supported chains and product list
  2. docs.pancakeswap.finance supports: Fee section in swap details; Smart Router sources
  3. docs.pancakeswap.finance supports: V2 and V3 swap fees