DeFi lending enables users to deposit crypto assets into a protocol to earn yield, or borrow assets by locking up collateral — all governed by smart contracts with no banks, credit checks, or intermediaries. Lending protocols are among the largest and most-used applications in decentralized finance.
How DeFi Lending Works
Depositing (Supplying)
Borrowing
For example: deposit $10,000 in ETH → borrow up to $7,000 in USDC (70% LTV, or loan-to-value ratio).
Interest Rates
Collateral and Liquidation
Lending protocols require borrowers to maintain a health factor — if collateral value drops (or borrowed asset value rises) such that the loan approaches the liquidation threshold, the position can be liquidated. Liquidators repay part of the debt and receive a discount on the collateral. This keeps pools solvent.
Each asset has risk parameters:
- LTV (Loan-to-Value): Maximum you can borrow relative to collateral
- Liquidation Threshold: The ratio at which liquidation triggers
- Liquidation Penalty: Discount granted to liquidators
Major Lending Protocols
| Protocol | Chain | Notable Feature |
|---|---|---|
| Aave | Multi-chain | Flash loans, isolation mode, GHO stablecoin |
| Compound | Ethereum | First major DeFi lending protocol |
| MakerDAO | Ethereum | CDP-based DAI minting |
| Morpho | Ethereum, Base | Optimized lending aggregation |
| Euler Finance | Ethereum | Advanced risk models |
Use Cases
- Leverage: Borrow stablecoins against ETH to buy more crypto without selling holdings.
- Hedging: Short an asset by borrowing it, selling it, and repurchasing lower.
- Liquidity without selling: Access cash against crypto holdings without triggering a taxable event (varies by jurisdiction).
- Yield generation: Deposit idle stablecoins to earn passive yield.
- Flash loans: Uncollateralized instant loans that must be repaid within one transaction block.
Risks
- Liquidation risk: Price drops can trigger sudden liquidation of collateral at a loss.
- Smart contract risk: Bugs in code can drain funds; major exploits have affected Cream Finance, Euler, and others.
- Oracle risk: Lending protocols rely on price oracles; manipulated oracle prices can cause improper liquidations.
- Interest rate volatility: Variable rates can spike dramatically during market stress.
History
- 2018 — Maker launches collateralized debt positions (CDPs) allowing DAI minting against ETH.
- 2019 — Compound launches the first algorithmic money market on Ethereum.
- 2020 — Aave goes live; flash loans debut as a novel primitive. DeFi Summer drives explosive lending TVL.
- 2020 — Compound launches COMP governance token and yield farming, sparking massive liquidity inflows.
- 2022 — Terra collapse triggers cascading liquidations across DeFi lending markets.
- 2023 — Euler Finance hacked for $197M — later recovered via negotiation. Morpho launches optimized lending.
- 2024 — Aave V3 dominates multi-chain lending with billions in TVL.
Common Misconceptions
“DeFi lending is like a bank loan.”
DeFi loans require overcollateralization and have no fixed repayment schedule — you can repay any time, but suffer liquidation if collateral falls below threshold. No credit score involved.
“You can lose your deposit if a borrower defaults.”
When loans are sufficiently overcollateralized and liquidated promptly, lenders are protected. However, in extreme market conditions (cascading liquidations, oracle failures), lenders can face losses from bad debt.