Banks make money by lending out deposits at higher interest than they pay savers. DeFi lending does the same job with smart contracts and no bank staff. Anyone can supply funds or take a loan, directly from a wallet.
In this article
Lending your crypto
You deposit tokens into a lending protocol such as Aave or Compound. They join a pool that borrowers draw from. In return you earn interest, which is paid continuously and varies with demand: when many people want to borrow, rates rise.
You can usually withdraw at any time, provided the pool has enough unused funds.
Borrowing
To borrow, you first lock collateral, usually another crypto. Because there is no credit check, loans are overcollateralised: you can borrow less than the value you deposit. For example, you might lock $2,000 of ETH to borrow up to around $1,300 of stablecoins, depending on the protocol’s rules.
Why borrow? To get cash without selling your crypto, to avoid triggering a taxable sale in some places or to use the funds elsewhere.

Liquidation: the big risk
Each loan has a health factor that compares your collateral to your debt. If the collateral’s value drops, for example in a market crash, the health factor falls. When it hits the threshold, anyone can repay part of your debt and take your collateral at a discount, plus a penalty. This is liquidation.
It happens automatically, instantly and without warning. During sharp crashes, many people have lost collateral this way.
How interest rates work
Rates are set by algorithms based on how much of the pool is borrowed. High utilisation means higher rates to attract more lenders and discourage borrowing. Rates can be variable or, in some protocols, fixed for a period.
Staying safer as a borrower
- Borrow well below the maximum.
- Keep an eye on the health factor, especially in volatile markets.
- Add collateral or repay quickly if prices drop.
- Prefer stable collateral where possible.
Risks for lenders
- Smart contract bugs and hacks.
- Bad debt if liquidations fail in extreme market moves.
- Stablecoin depegs.
- Oracle failures that feed wrong prices.
The bottom line
DeFi lending offers interest and loans without a bank, but you carry the risk. Overcollateralisation and automatic liquidation keep protocols solvent, and make borrowers responsible for managing their positions.
This article is for educational purposes only and is not financial advice. DeFi carries risks including loss of funds. Crypto assets are volatile and you can lose some or all of your investment.