Uniswap is the largest decentralised exchange (DEX) in DeFi. It lets you swap one token for another directly from your own wallet, with no account, no sign-up, and no middleman holding your funds. This guide explains how it works and walks you through your first swap safely.
Risk warning: Token swaps are irreversible. Prices can move sharply, fees apply, and scam tokens are common. Only swap funds you can afford to lose, and double-check every detail before approving.
What is Uniswap?
Traditional exchanges match buyers and sellers using an order book. Uniswap uses an Automated Market Maker (AMM) instead. Liquidity providers deposit pairs of tokens into pools, and you trade against those pools at a price set by a formula. The practical upshot for you as a beginner:
- You trade directly from your wallet (such as MetaMask). Uniswap never takes custody of your money.
- Anyone can list a token, so the existence of a token on Uniswap is not an endorsement. Scam tokens are everywhere.
- Trades cost a swap fee plus network gas.
Before you start
You will need:
- A self-custody wallet set up and backed up. If you have not done this, read our How to Set Up MetaMask guide first.
- Some ETH (or the native token of whichever network you use) to pay gas fees.
- The token you want to swap from, already in your wallet.
Beginners should consider using a low-fee network such as Base, Arbitrum or Polygon rather than Ethereum mainnet, where gas can cost more than a small trade itself.
Step 1: Go to the official site
Type app.uniswap.org into your browser yourself. Fake Uniswap sites promoted through ads and search results are a leading cause of beginner losses. Bookmark the real site once you reach it.
Step 2: Connect your wallet
- Click Connect in the top right.
- Choose your wallet (e.g. MetaMask).
- Approve the connection request in your wallet pop-up. This only shares your public address and costs nothing.
Step 3: Choose your tokens
- In the You pay box, select the token you are swapping from and enter an amount.
- In the You receive box, select the token you want.
- Verify the token contract address. For anything other than major assets, copy the official contract address from the project's own website or a trusted source like CoinGecko, and confirm it matches what Uniswap shows. Many scams use a real token's name with a fake contract.
Step 4: Check the swap details
Before you approve anything, read the summary carefully:
- Rate: how many tokens you receive per token spent.
- Price impact: how much your own trade moves the price. A high price impact (more than ~1-2%) on a small trade is a red flag for low liquidity or a scam token.
- Slippage tolerance: the maximum price movement you will accept before the trade fails. The default (often 0.5%) is fine for liquid tokens. Setting it very high can let bots sandwich your trade and cost you money.
- Network fee: the gas cost, paid to the blockchain.
Step 5: Approve the token (first time only)
For ERC-20 tokens, the first time you trade a particular token you must grant Uniswap permission to move it. This is the token approval transaction.
- Where possible, approve only the amount you intend to trade rather than an unlimited allowance.
- This approval costs gas but does not move your tokens yet.
Step 6: Confirm the swap
- Click Swap.
- Your wallet pops up with the final transaction. Review the amounts and gas one last time.
- Confirm. The swap is broadcast to the network and is usually complete within seconds to a minute.
Once confirmed, the new token appears in your wallet. You may need to add the token to your wallet manually using its contract address to see the balance.
Managing risk and approvals
- Revoke old approvals. Over time you accumulate token approvals to various sites. Periodically review and revoke unused ones with a tool like revoke.cash.
- Beware of "free" airdropped tokens. Random tokens that appear in your wallet may be bait. Interacting with them can drain your funds. Do not try to swap mystery tokens.
- Slippage and MEV. On volatile tokens, bots can profit at your expense. Keep slippage as low as practical and trade liquid pairs while learning.
Frequently asked questions
Do I need an account? No. Uniswap has no accounts or KYC. Your wallet is your identity.
Why did my transaction fail but still cost gas? Failed transactions still consume gas because the network did work to process them. Common causes are slippage being exceeded or insufficient gas.
Is Uniswap safe? The core protocol is heavily audited and battle-tested. Most losses come from fake sites, scam tokens, and risky approvals, not the protocol itself.
Which Uniswap version should I use? The official app routes your trade across versions automatically. Beginners do not need to choose manually.
Next steps
Now that you can swap tokens, learn how liquidity actually works behind the scenes with our Understanding Liquidity Pools guide, and review Security Best Practices before committing larger amounts.