What You'll Learn
- How DeFi lending protocols work and how to earn yield on your crypto
- Step-by-step instructions for lending on Aave
- How to borrow against your crypto without selling your position
- Risk management strategies to avoid liquidation and protocol failures
What Is DeFi Lending
DeFi lending allows you to lend your cryptocurrency to borrowers through smart contracts, earning interest without any intermediary. Unlike traditional bank deposits where a bank decides who gets loans, DeFi lending protocols use algorithmic interest rates that adjust based on supply and demand. When more people want to borrow, rates increase to attract more lenders. When demand drops, rates decrease.
The major DeFi lending protocols include Aave, Compound, and Morpho. They operate transparently on the Ethereum blockchain (and increasingly on Layer 2 networks), with all transactions verifiable on-chain. There is no credit check, no paperwork, and no human approval process. Loans are secured entirely by collateral locked in smart contracts.
DeFi lending serves two primary audiences: lenders seeking yield on idle crypto assets, and borrowers who want to access liquidity without selling their holdings. Both sides benefit from the efficiency and transparency of smart contract automation.
How DeFi Lending Protocols Work
Understanding the mechanics helps you use lending protocols safely and identify risks:
- Lenders deposit assets into lending pools. When you lend ETH on Aave, your ETH is deposited into a shared pool along with other lenders' ETH. You receive aTokens representing your deposit and accruing interest.
- Borrowers post collateral to take loans. To borrow USDC, a borrower deposits ETH worth more than the loan, for example 150% of its value. This over-collateralization protects lenders if the collateral loses value.
- Interest rates adjust algorithmically. The utilization rate (percentage of the pool that is borrowed) drives interest rates. High utilization means high rates for both lenders and borrowers. Low utilization means low rates.
- Liquidation enforces solvency. If a borrower's collateral value drops below the required ratio, liquidators repay part of the loan and claim the collateral at a discount. This is meant to keep lenders repaid.
How to Lend on Aave Step by Step
Aave is one of the largest DeFi lending protocols and runs on Ethereum and several other networks, including Arbitrum, Optimism, and Polygon.
- Connect your wallet to app.aave.com. Use MetaMask or Rabby with a hardware wallet connected for signing. Ensure you are on the correct URL: bookmark it and never access via search engine links.
- Choose your network. Aave operates on multiple chains. Ethereum mainnet and Layer 2 networks differ in transaction fees and available markets, so compare them in the Aave app before you deposit.
- Select the asset to supply. Click Supply next to your chosen asset (ETH, USDC, DAI, WBTC, etc.). The app shows the current supply rate, which changes with market conditions.
- Approve and deposit. First, approve Aave's smart contract to access your tokens (one-time per asset). Then confirm the supply transaction. You will receive aTokens (like aUSDC) representing your deposit plus accruing interest.
- Monitor your position. Your aToken balance increases every second as interest accrues. Check the Aave dashboard periodically to review current rates and total earnings.
- Withdraw when ready. Click Withdraw, choose the amount, and confirm the transaction. Your aTokens are burned and the underlying asset plus earned interest is returned to your wallet.
How to Borrow Against Your Crypto
Borrowing lets you access liquidity without selling your crypto, so you keep your long-term position while you hold a loan against it.
- Supply collateral first. Deposit ETH, WBTC, or other accepted collateral into Aave. Your collateral earns interest even while being used to back a loan.
- Check your borrowing power. The dashboard shows your maximum borrowing amount based on collateral value and the asset's loan-to-value (LTV) ratio. For example, at an 80% LTV, $10,000 in collateral allows you to borrow up to $8,000. Each asset has its own LTV, shown in the app.
- Borrow conservatively. Borrowing the maximum leaves no buffer. The further you stay below the liquidation threshold, the more room you have for collateral price drops.
- Understand the rate. Borrow rates float with market conditions and can rise when demand is high. Check the rate shown in the app before you confirm.
- Monitor your health factor. Aave displays a health factor for your position. A higher number means a bigger buffer, and a health factor below 1.0 makes the position eligible for liquidation. Set up alerts using a tool such as DeFi Saver or Aave's notification features.
- Repay the loan. Return the borrowed asset plus accrued interest. You can make partial repayments at any time. Once fully repaid, your collateral is fully available for withdrawal.
For strategies on managing risk when borrowing, see our DeFi risk management guide.
Comparing Major Lending Protocols
| Protocol | Networks | Model | Key Feature |
|---|---|---|---|
| Aave V3 | Ethereum and other networks | Pooled markets across many assets | Flash loans, isolation mode |
| Compound V3 | Ethereum and other networks | Single borrowable-asset markets | Comet architecture |
| Morpho | Ethereum and other networks | Lending markets and curated vaults | Vaults managed by third-party curators |
| Spark | Ethereum and other networks | Lending markets in the Sky (formerly MakerDAO) ecosystem | DAI and USDS borrowing |
Risk Management for DeFi Lending
DeFi lending carries risks that traditional savings accounts do not. Manage them proactively:
- Smart contract risk: Bugs in protocol code can lead to loss of funds. Established protocols with multiple audits and long track records carry less of this risk, but never none. Newly launched or unaudited protocols carry more.
- Liquidation risk (borrowers): If your collateral value drops, you can be liquidated and pay a liquidation penalty. A higher health factor gives more room, and automated de-leveraging tools such as DeFi Saver can repay part of a loan if your health factor drops.
- Oracle risk: Lending protocols rely on price oracles, such as Chainlink, to value collateral. Oracle failures or manipulation can cause incorrect liquidations.
- Interest rate risk: Variable borrow rates can spike during high-demand periods. A rate that was low when you borrowed can climb sharply during market volatility. Monitor rates and have a plan to repay if costs become excessive.
- Concentration risk: Putting all your crypto in a single protocol exposes you to that protocol's smart contract failure. Spreading across protocols limits that exposure.
Learn more about the technology underlying these protocols in our blockchain explainer.
Frequently Asked Questions
Returns vary by asset and change constantly with borrowing demand. During periods of high leverage demand, rates can spike. During quiet periods, they can fall close to zero. Check the current rate in the protocol's app, and remember that no rate is guaranteed.
They have different risk profiles. Staking exposes you to validator risk and slashing but uses the native protocol's security. DeFi lending exposes you to smart contract risk and, for stablecoins, issuer and depeg risk. Neither is risk-free.
If the protocol's smart contracts are exploited, deposited funds can be partially or fully drained. Some protocols have backstop mechanisms, and third-party cover from providers such as Nexus Mutual exists, though premiums reduce your net yield and coverage terms are limited.
No. Liquidation affects borrowers. Lenders still face risks, including smart contract exploits, oracle failures, and bad debt when liquidations cannot cover a loan during extreme market moves.
Lending a stablecoin earns yield without exposure to the price swings of a volatile asset, but it adds stablecoin issuer and depeg risk. Lending ETH keeps your ETH price exposure while you earn a rate that changes with borrowing demand. Neither option guarantees returns.