DeFi Lending & Borrowing: Complete Guide
Learn how to earn interest by lending crypto and how over-collateralized borrowing works in protocols like Aave and Compound.
🎯 Key Takeaways
- ✓ DeFi lending lets you earn interest on crypto deposits, often at higher rates than traditional banks.
- ✓ Borrowing in DeFi requires over-collateralization — you must deposit more than you borrow.
- ✓ The Loan-to-Value (LTV) ratio determines how much you can borrow against your collateral.
- ✓ If your collateral value drops below the liquidation threshold, your position is automatically liquidated.
- ✓ Interest rates in DeFi are variable and set algorithmically based on utilization rate.
How DeFi Lending Works
DeFi lending protocols like Aave and Compound create money markets — pools of assets that users can deposit to earn interest or borrow from by providing collateral.
Here's the basic flow:
Understanding Interest Rates
Unlike banks that set fixed rates, DeFi protocols use algorithmic interest rates based on utilization rate — how much of the available liquidity is currently borrowed.
Low utilization (20%): Low borrowing demand → low interest rates to attract more borrowers High utilization (90%): High borrowing demand → high interest rates to attract more lenders and discourage more borrowing
This means rates can fluctuate significantly. During market stress events, USDC borrowing rates on Aave have spiked from 5% to 50%+ in hours.
APY vs. APR: DeFi often shows APY (Annual Percentage Yield) which includes compound interest. Check whether rates are APY or APR when comparing.
Depositing (Lending) on Aave
Step 1: Connect your MetaMask wallet to app.aave.com Step 2: Choose an asset to supply (USDC is the most straightforward for beginners) Step 3: Click 'Supply' and enter the amount Step 4: Approve the transaction in MetaMask (pay gas fee) Step 5: Confirm the supply transaction (pay gas fee)
You'll receive aUSDC tokens in your wallet representing your deposit plus accruing interest. Your aUSDC balance increases every block.
Current lending rates vary by asset and market conditions:
Borrowing in DeFi: Over-Collateralization
DeFi lending is over-collateralized — you must deposit more value than you borrow. This differs from traditional credit (where the bank trusts you to repay based on credit history).
Why over-collateralized? Because smart contracts can't assess creditworthiness or pursue defaulters. Instead, they ensure borrowers always have enough collateral to back the loan, with automatic liquidation if the ratio becomes unsafe.
Example:
If ETH drops from $3,000 to $2,500:
The Health Factor: Aave displays a 'Health Factor' metric. If it drops below 1.0, your position is liquidated. Keep it above 1.5 to be safe.
Why Would You Borrow Against Your Crypto?
This is the question everyone asks. Why borrow at 5% interest when you could just sell?
Reason 1: Avoid taxable events In most countries, selling crypto triggers capital gains tax. Borrowing against it provides liquidity without a taxable event. You maintain your exposure to future price appreciation.
Reason 2: Short-term liquidity Need cash for a month? Borrow USDC against your Bitcoin, spend the USDC, and repay the loan when cash arrives — without selling your BTC.
Reason 3: Leveraged long Deposit ETH, borrow USDC, buy more ETH. If ETH rises 50% and your borrowing cost is 5%, you've amplified your gains. This is risky — ETH declining would bring you toward liquidation.
Flash Loans: DeFi's Killer Feature
A flash loan is a loan that must be borrowed and repaid within the same blockchain transaction. If the loan isn't repaid, the entire transaction reverses as if it never happened.
This lets sophisticated users:
Flash loans are DeFi-native — impossible in traditional finance.
Top DeFi Lending Protocols
Aave: The largest multi-chain lending protocol. Available on Ethereum, Arbitrum, Polygon, and more.
Compound: The original DeFi lending protocol. Simpler interface, strong security track record.
MakerDAO: Borrow DAI (a decentralized stablecoin) against ETH and other collateral. One of DeFi's oldest and most battle-tested protocols.
Learn more about the risks before using these protocols in our DeFi Risks lesson.
Frequently Asked Questions
How is DeFi interest paid? ▾
Why would anyone borrow in DeFi at high interest rates? ▾
What happens if my collateral gets liquidated in DeFi? ▾
加密学院教育团队
Free crypto education, simplified for everyone.