What is... 11 min read

What is DeFi?

DeFi is finance without banks — lending, borrowing, trading, and earning interest using code instead of institutions. Here's how it works, what it offers, and what can go wrong.

Quick Summary

  • DeFi = Decentralized Finance — financial services built on blockchain, with no banks or middlemen
  • Smart contracts (self-executing code) replace banks, brokers, and lenders
  • You can trade, lend, borrow, and earn yield — all without creating an account or providing ID
  • DeFi is powerful but risky — smart contract bugs, scams, and complexity mean it's not beginner territory

The Simple Explanation

Think about everything your bank does: holds your money, lets you send payments, gives you loans, pays you interest. Now imagine all of that running on blockchain — automated by code, open to anyone in the world, operating 24/7, with no company in the middle.

That's DeFi. It's an ecosystem of financial applications built on top of blockchains (primarily Ethereum) that recreate traditional financial services — lending, borrowing, trading, insurance, savings — using smart contracts instead of institutions.

The "decentralized" part is the key: no single company controls these services. The code is open-source, the rules are transparent, and anyone with an internet connection and a crypto wallet can participate — no application forms, no credit checks, no bankers deciding whether you're eligible.

Smart Contracts: The Engine of DeFi

A smart contract is a program that lives on the blockchain and automatically executes when specific conditions are met. Think of it as a vending machine: insert the right coin, press the button, and the machine delivers your item. No cashier needed.

In DeFi, smart contracts do what banks do — but automatically:

🏦

Bank loan: You apply, wait for approval, a person reviews your credit → DeFi loan: You deposit collateral, the smart contract instantly gives you a loan. No application, no waiting, no human involved.

💱

Stock exchange: A company runs the matching engine, takes a cut → DEX (Decentralized Exchange): The smart contract matches trades automatically. Anyone can trade any token, anytime.

💰

Savings account: You deposit money, the bank lends it out and gives you a small cut → DeFi lending: You deposit crypto, borrowers pay interest directly to you through the smart contract. Often at much higher rates.

Key point: Smart contracts are immutable — once deployed, nobody (not even the creator) can change the rules. This is both a strength (nobody can cheat) and a risk (bugs can't be easily fixed). The code is the law.

What Can You Do With DeFi?

DeFi is a broad ecosystem. Here are the main categories and how they work:

💱

Decentralized Exchanges (DEXs)

Trade crypto without a centralized company

Instead of using centralized exchanges like Coinbase or Kraken, you can swap tokens directly from your wallet. The trade happens peer-to-peer through liquidity pools — pools of tokens provided by other users.

Uniswap — Largest DEX on Ethereum
PancakeSwap — BNB Chain
Jupiter — Solana's top DEX
🏦

Lending & Borrowing

Earn interest or take out loans — no credit check

Lending: Deposit your crypto into a lending protocol and earn interest as borrowers pay to use it. Rates are often significantly higher than traditional savings accounts (but with much higher risk).

Borrowing: Deposit crypto as collateral (usually 150% or more of what you borrow) and receive a loan instantly. No credit score needed. If your collateral drops in value too much, it's automatically liquidated — the smart contract sells it to repay the loan.

Aave — Largest lending protocol
Compound — Ethereum lending pioneer
MakerDAO — Issues DAI stablecoin
🌾

Yield Farming & Liquidity Mining

Earn rewards by providing liquidity to DeFi protocols

When you provide tokens to a liquidity pool (e.g., depositing ETH and USDC into a Uniswap pool), you earn a share of the trading fees. Some protocols also reward you with their own governance tokens on top of fees — this is called liquidity mining.

Yield farming is the strategy of moving your assets between different protocols to maximize these returns. It can be highly profitable but comes with serious risks — we'll cover those below. For a deeper dive, see What is Yield Farming?

💵

Stablecoins

The fuel that makes DeFi work

Stablecoins like USDC, USDT (Tether), and DAI are pegged to the US dollar (+/- a fraction of a cent). They're the backbone of DeFi — used for lending, borrowing, and trading without crypto's usual price volatility. When DeFi protocols advertise "earn 5% APY," it's usually paid in stablecoins.

🔒

Staking

Lock up crypto to help secure the network and earn rewards

While technically part of the blockchain layer (not DeFi specifically), staking is closely related. You lock up your ETH, SOL, or other Proof-of-Stake coins to help validate transactions and earn rewards — typically 3–8% annually. Liquid staking protocols like Lido let you stake while keeping your assets usable in DeFi. More on this in What is Staking?

DeFi vs. Traditional Finance

Feature Traditional Finance DeFi
Access Application, credit check, ID Just a wallet — open to anyone
Operating hours Business hours, weekdays 24/7/365
Transparency Opaque — you trust the institution Fully transparent — all code is public
Speed Days for transfers, weeks for loans Seconds to minutes
Custody Bank holds your funds (insured) You hold your funds (self-custody)
Consumer protection FDIC insurance, regulations None — you're on your own
Interest rates 0.5–5% (savings) 2–15%+ (higher risk)
Risk of total loss Very low (insured up to $250K) Possible — smart contract hacks, rug pulls

The Real Risks of DeFi

DeFi is powerful, but it's also one of the riskiest areas of crypto. Here's what can go wrong:

Smart Contract Bugs

If there's a bug in the code, hackers can exploit it and drain all the funds. Billions of dollars have been lost to smart contract exploits. Unlike a bank, there's no insurance, no customer support, and no way to reverse the transactions. The code is the final authority.

Rug Pulls & Scams

Anyone can create a DeFi protocol. Bad actors create fake projects, attract deposits, then drain all the funds and disappear. This is called a "rug pull." New protocols promising extremely high yields (100%+ APY) are often scams. If it sounds too good to be true, it almost certainly is. See Is Crypto Safe? for how to spot them.

Impermanent Loss

When you provide liquidity to a DEX pool, the ratio of your deposited tokens shifts as prices change. If one token's price moves significantly, you can end up with less value than if you'd simply held the tokens. This is called "impermanent loss" — and it's one of the most misunderstood risks in DeFi.

Liquidation Risk

If you borrow against your crypto and the collateral's value drops, the smart contract automatically sells your collateral to cover the loan. This can happen fast during market crashes — you can lose your entire deposit in minutes. Unlike traditional margin calls, there's no grace period.

Complexity & User Error

Sending tokens to the wrong contract address, approving malicious contracts, or misunderstanding the mechanics of a protocol can all result in permanent loss of funds. There's no "customer support" to call. DeFi requires a high level of personal responsibility and technical understanding.

Should Beginners Use DeFi?

Honest answer: Not yet. If you're still learning the basics of cryptocurrency and buying crypto, DeFi adds significant complexity and risk that you don't need. Master the fundamentals first.

Here's a reasonable progression:

1

First — learn the basics

Understand crypto, blockchain, and wallets. Buy your first Bitcoin or Ethereum on a centralized exchange.

2

Then — learn self-custody

Set up a non-custodial wallet (like MetaMask or Trust Wallet). Learn about private keys, seed phrases, and sending/receiving crypto. This is a prerequisite for DeFi.

3

Then — explore DeFi with small amounts

Start with well-established protocols (Aave, Uniswap) on a low-cost chain (Polygon, Arbitrum). Use only money you can afford to lose completely. Test with small transactions before committing larger amounts.

DeFi Glossary: Key Terms

DeFi has its own vocabulary. Here are the terms you'll encounter most:

TVL

Total Value Locked — the total amount of crypto deposited in a DeFi protocol. A higher TVL generally indicates more trust and usage. Think of it as "assets under management" for DeFi.

APY

Annual Percentage Yield — the projected yearly return on your deposit, including compounding. In DeFi, APY is variable and can change by the minute based on supply and demand.

LP

Liquidity Provider — someone who deposits tokens into a liquidity pool on a DEX. In return, they earn a share of the pool's trading fees.

Gas

The fee you pay to execute transactions on a blockchain. On Ethereum, gas fees can range from $1 to $50+ during peak congestion. Cheaper alternatives like Polygon and Arbitrum charge fractions of a cent.

Slippage

The difference between the expected price of a trade and the actual price. In DEX trades, slippage occurs because the pool's ratio changes as your trade executes. Set a slippage tolerance to limit how much price impact you'll accept.

Governance

Many DeFi protocols have governance tokens (UNI for Uniswap, AAVE for Aave) that give holders voting rights on protocol decisions — fee changes, upgrades, treasury allocation. It's like shareholder voting, but decentralized.

What to Read Next

Frequently Asked Questions

Is DeFi safe?
DeFi carries significant risk. Well-established protocols (Aave, Uniswap, MakerDAO) have strong track records and have been audited extensively, but no DeFi protocol is risk-free. Smart contract bugs, economic exploits, and rug pulls have cost users billions. Never deposit more than you can afford to lose, and stick to battle-tested protocols.
How much money do I need to start with DeFi?
On Ethereum mainnet, gas fees can make small transactions uneconomical — you might pay $10-$50 in fees. Layer-2 networks like Polygon or Arbitrum let you start with as little as $20-$50, since transaction fees are fractions of a cent. We recommend starting with a small amount you're comfortable learning with (and potentially losing).
Can I earn passive income with DeFi?
Yes — lending stablecoins or providing liquidity can generate yield. But "passive" is somewhat misleading. You need to monitor your positions, understand the risks, and be prepared for variable rates. Stablecoin lending on established protocols offers the most predictable returns (typically 2-8% APY), but rates fluctuate constantly based on demand.
What wallet do I need for DeFi?
You need a non-custodial wallet that can connect to DeFi apps. MetaMask (browser extension) is the most popular for Ethereum-based DeFi. Phantom is the go-to for Solana DeFi. For maximum security, use a hardware wallet like Ledger connected to your browser wallet. See our wallet guide for details.

Start with the basics first

DeFi is advanced territory. Make sure you've got the fundamentals covered.