Safety Guides

What Is DeFi and How Does It Work?

DeFi, short for decentralised finance, is the name for financial services that run as smart contracts on a blockchain instead of inside a bank or exchange. You can swap tokens, lend them, borrow against them or earn fees by providing liquidity, all from a wallet you control and without opening an account. That freedom is real, and so are the risks: there is no customer support that can reverse a mistake, and hacks drain hundreds of millions of dollars every year. This guide explains how DeFi works and how to approach it carefully.

Quick answer

DeFi is a set of financial applications built from smart contracts on public blockchains, mostly Ethereum and networks like Solana, BNB Chain, Base, Arbitrum and Tron. The main building blocks are decentralised exchanges, lending and borrowing protocols, stablecoins and liquidity pools. You use them by connecting your own wallet, not by creating an account. On 3 November 2026, about 81.8 billion dollars was locked in DeFi protocols according to DefiLlama, well below the record of about 177.5 billion dollars in November 2021.

What ‘decentralised’ means here

In traditional finance, a company holds your money, runs the system and can freeze or reverse transactions. In DeFi, the rules live in smart contracts on a public blockchain, and your assets stay in your wallet until you send them to a contract. Anyone can read the code, and anyone with a wallet can use it.

That said, ‘decentralised’ is a spectrum. Many DeFi apps have admin keys that can pause or upgrade contracts, a company that runs the website, and a small group holding most governance tokens. Always ask who can change the rules. If smart contracts are new to you, start with what Ethereum is.

Decentralised exchanges (DEXs)

A decentralised exchange lets you swap one token for another directly from your wallet. Most DEXs do not use an order book like a normal exchange. Instead, they use liquidity pools: contracts holding two tokens, with a formula that sets the price based on how much of each is in the pool. When you buy one token, its amount in the pool falls and its price rises.

This design means anyone can list any token, which is why DEXs are full of scam tokens, and why large trades in small pools suffer from slippage. See crypto swap vs crypto exchange and crypto slippage explained.

Liquidity pools and impermanent loss

The tokens in a pool come from liquidity providers, ordinary users who deposit both tokens and earn a share of trading fees. The catch is impermanent loss: if the price of one token changes a lot compared with the other, the pool's formula rebalances your deposit so you end up with more of the token that fell and less of the one that rose. Fees may or may not make up for it. Many beginners deposit into high-yield pools without understanding this and later find they would have been better off simply holding the tokens.

Lending and borrowing

Lending protocols let you deposit tokens to earn interest and let others borrow them. Borrowers must deposit collateral worth more than the loan, for example 150 dollars of ETH to borrow 100 dollars of USDC. If the collateral's value falls too far, the protocol automatically sells it to repay the loan. This is called liquidation, and it happens without warning calls or grace periods.

Overcollateralised loans sound odd at first: why borrow if you already have more? People do it to access cash without selling their crypto, or to take leveraged positions, which multiplies both gains and losses.

Stablecoins: the backbone of DeFi

Most DeFi activity is priced in stablecoins such as USDC, USDT and DAI. They make it possible to lend, borrow and trade without constant price swings in the unit of account. They also carry their own risks, from issuer reserves to the network you hold them on. For the reward-earner's view, see stablecoin rewards vs volatile crypto rewards.

What TVL means and why it moves

Total value locked, or TVL, is the dollar value of all tokens deposited in DeFi contracts. It is the most quoted DeFi metric, but it is not the same as user money flowing in or out. Because TVL is measured in dollars, it falls when token prices fall, even if nobody withdraws anything.

According to DefiLlama, TVL fell from about 144.5 billion dollars in November 2025 to about 81.8 billion in November 2026, with Ethereum holding a little over half of the total. Some of that drop reflects lower token prices, and some reflects users leaving after a year of large hacks.

Where DeFi yields come from

A yield always comes from somewhere. If you cannot name the source, assume the risk is hidden.

  • Trading fees paid by people swapping in a pool.
  • Interest paid by borrowers on lending protocols.
  • Staking rewards from a proof-of-stake network; see proof of stake explained.
  • Token incentives: new tokens printed by the protocol to attract deposits, often falling in value as they are sold.
  • Unsustainable sources: new depositors paying earlier ones, which is how many collapses start.

The risks, honestly

DeFi removes some risks of centralised finance and adds others.

  • Smart-contract bugs: a single flaw can let attackers drain a protocol. BeInCrypto counted 121 DeFi hacks in 2026 with about 942 million dollars stolen.
  • Admin and governance risk: a team or a few large holders may be able to change contracts.
  • Oracle manipulation: protocols depend on price feeds that can be manipulated in thin markets.
  • Liquidation risk: borrowed positions can be sold automatically during a crash.
  • Approval risk: unlimited approvals can let a malicious or hacked contract empty a token from your wallet.
  • Front-end phishing: fake copies of real DeFi websites drain wallets that connect to them.

Your wallet is the account

In DeFi there is no username or password reset. Your wallet and its seed phrase are the account. That makes basic wallet hygiene more important than any yield. Use a separate wallet for DeFi experiments, keep only what you can afford to lose in it, and review permissions regularly. Read wallet drainer vs token approval and how to revoke token approvals before you start.

DeFi and regulation in the EU

MiCA, the EU's crypto-asset regulation, mainly covers companies that provide crypto services and issue stablecoins. Fully decentralised protocols without an identifiable operator are largely outside its direct scope, but the websites, front ends and stablecoins around them often are not. In practice, this means the app you use may geo-block EU users or remove some tokens, while the underlying contracts keep running. Our guide on MiCA vs DAC8 explains what changes for EU users more broadly.

A careful first step into DeFi

If you want to try DeFi, keep the first experiment small and boring. Swap a few dollars of a major stablecoin on a well-known DEX on a low-fee network, check the transaction on a block explorer, and then revoke the approval you just gave. You will learn how gas, slippage and approvals work in practice, at almost no risk. Skip anything that promises fixed high returns, needs you to send funds to an address in a chat, or asks for your seed phrase.

Sources checked on December 2, 2026

TVL figures come from DefiLlama via the cited summaries and were checked on the review date. Hack statistics come from the named report.

Scam-aware reminder

Be careful with websites that promise unrealistic rewards, ask for deposits before withdrawal, or require suspicious wallet connections. Small reward sites should never need your seed phrase.

FAQ

What is DeFi in simple terms?

Financial services such as swapping, lending and borrowing that run as smart contracts on a blockchain and are used directly from your own wallet.

Is DeFi safe?

It carries significant risks, including contract hacks, scams, liquidations and approval exploits. Use small amounts and a separate wallet.

What is TVL?

Total value locked: the dollar value of all tokens deposited in DeFi protocols. It also falls when token prices fall.

Do I need KYC to use DeFi?

The contracts themselves usually do not ask for identity, but websites, on-ramps and some front ends may, especially in regulated regions.

What is impermanent loss?

The loss a liquidity provider can suffer when token prices in a pool move apart, compared with simply holding the tokens.

Where do DeFi yields come from?

From trading fees, borrower interest, staking rewards or newly printed incentive tokens. If the source is unclear, treat the yield as a warning sign.

Advertisement