What Is DeFi Lending? Earn Yield or Borrow Without a Bank
DeFi lending protocols let you earn interest on crypto deposits or borrow against your holdings without a bank. Here's how Aave and Compound work.
Definition first
This guide is designed for first-pass understanding. Start with core terms, then apply the framework in your own account workflow.
DeFi lending lets you earn interest by depositing crypto into a protocol, or borrow against your holdings without selling them; all without a bank, a credit check, or a loan officer. Protocols like Aave and Compound have facilitated tens of billions in loans. But this isn't your savings account, and the risks are unlike anything in traditional finance.
What Is DeFi Lending in Simple Terms?
DeFi lending is a system of smart contract-based protocols that allow you to earn interest by depositing cryptocurrency into lending pools, or borrow crypto by providing overcollateralized deposits; all without a bank, credit check, or intermediary. The largest DeFi lending protocols are Aave and Compound, which together secure billions in total value locked. Interest rates adjust algorithmically based on supply and demand. Borrowers risk automatic liquidation if their collateral value drops below required thresholds.
How DeFi Lending Works
At its core, DeFi lending is simple: some people want to earn yield on their crypto, and other people want to borrow crypto. A smart contract matches them.
Suppliers (lenders) deposit tokens into a lending pool and earn interest. Borrowers deposit collateral and take out a loan from the same pool. The interest rate adjusts automatically based on supply and demand; when lots of people want to borrow and few are lending, rates go up. When there's plenty of supply and little demand, rates drop.
There's no paperwork, no approval process, and no waiting period. You connect your wallet, deposit collateral, and borrow; all in a single transaction. The protocol doesn't care about your credit score, your income, or your identity. The only thing that matters is whether your collateral covers your debt.
Major Lending Protocols
Two protocols dominate DeFi lending:
Aave: The largest DeFi lending protocol by total value locked (TVL). Deployed on Ethereum, Arbitrum, Optimism, Polygon, Base, and other chains. Supports dozens of assets with different risk parameters. Aave V3 introduced efficiency mode (e-mode) for higher loan-to-value ratios on correlated assets; like borrowing USDC against USDT.
Compound: One of the original DeFi lending protocols, launched in 2018. Compound pioneered the concept of algorithmic interest rates. Compound V3 (Comet) simplified the model to single-asset borrowing markets.
Other notable protocols include Morpho (an optimizer that sits on top of Aave and Compound for better rates), Spark (MakerDAO's lending front-end), and Kamino (on Solana). Each has different risk profiles, supported assets, and rate models.
Frequently Asked Questions
What is DeFi lending?
DeFi lending lets you deposit crypto into a smart contract to earn interest (supply side) or borrow crypto by providing collateral (borrow side). Protocols like Aave and Compound match lenders and borrowers algorithmically — no bank, no credit check, no paperwork.
How much can I earn lending crypto?
Yields vary by asset and market conditions. Stablecoin lending typically earns 2-8% APY, while volatile assets earn less. Yields are determined by supply and demand — when borrowing demand is high, lending rates increase. Rates change in real time.
What happens if my DeFi loan gets liquidated?
If your collateral value drops below the required collateral ratio (typically 120-150%), your position is automatically liquidated — the protocol sells your collateral to repay the loan. You lose your collateral plus a liquidation penalty of 5-15%. Always maintain a healthy buffer above the minimum ratio.
Try this workflow
Run this framework inside Clarity
Apply this concept with live balances, transactions, and portfolio data instead of static spreadsheets.
Here's the part that confuses most newcomers: in DeFi, you must deposit more collateral than you borrow. If you want to borrow $1,000 worth of USDC, you might need to deposit $1,500 worth of ETH. This is called overcollateralization.
Why would anyone borrow $1,000 by locking up $1,500? Several reasons:
Leverage: You're bullish on ETH and don't want to sell it. You deposit ETH, borrow USDC, and use the USDC to buy more ETH. If ETH goes up, you profit on both your original holdings and the extra ETH.
Liquidity without selling: You need cash but don't want to trigger a taxable event by selling your crypto. Borrowing against your holdings gives you liquidity while maintaining your position.
Yield strategies: You borrow stablecoins to deploy into other yield farming opportunities, hoping to earn more than the borrowing cost.
The overcollateralization exists because there's no recourse. If a borrower walks away, the protocol can't sue them or send a collections agency. It can only liquidate the collateral. The buffer protects lenders.
Variable vs Stable Rates
DeFi lending rates come in two flavors:
Variable rates: Change constantly based on pool utilization. When 80% of the pool is borrowed, rates spike to incentivize more deposits. When utilization is low, rates drop. This is the default on most protocols.
Stable rates: Aave offers a "stable" rate option that locks in a higher rate but doesn't fluctuate as much. However, it's not truly fixed; Aave governance can rebalance stable rates under extreme conditions. And stable rates are typically 2–5% higher than variable rates as the price of predictability.
For most users, variable rates are the better choice. Rates on major stablecoins typically range from 2–10% APY for suppliers and 3–12% APY for borrowers, depending on market conditions. During bull markets, demand for borrowing (especially to leverage long) pushes rates higher.
Supply APY vs Borrow APY
Understanding the yield numbers in DeFi lending requires knowing what you're looking at:
Supply APY: What you earn for depositing tokens. This is the interest paid by borrowers, minus a protocol fee (typically 10–20% of interest revenue), distributed across all suppliers.
Borrow APY: What you pay to borrow. This is always higher than the supply APY; the difference is the protocol's revenue and a buffer for the utilization model.
There's also a nuance around token incentives. Protocols often distribute their governance token (like AAVE or COMP) to both suppliers and borrowers. This can make the effective borrow rate negative; you earn more in token rewards than you pay in interest. During DeFi Summer 2020, this dynamic drove enormous borrowing. We'll discuss why this is unsustainable shortly.
Liquidation Mechanics
This is the most important concept in DeFi lending. If the value of your collateral drops below a certain threshold relative to your debt, you get liquidated.
Here's how it works in practice:
You deposit 10 ETH (worth $30,000) and borrow $20,000 USDC. Your loan-to-value (LTV) ratio is 66%.
The liquidation threshold for ETH on Aave is around 82.5%. That means if your LTV reaches 82.5%, you're eligible for liquidation.
ETH drops from $3,000 to $2,400. Your collateral is now worth $24,000 against a $20,000 debt; an LTV of 83.3%. You've crossed the threshold.
A liquidator (usually a bot) repays a portion of your debt and claims your collateral at a discount (the "liquidation bonus," typically 5–10%). This discount is the liquidator's profit and your penalty.
Liquidations are automatic, instant, and merciless. There's no margin call, no grace period, no phone call from your broker. The smart contract executes the moment conditions are met. Keeping your LTV well below the liquidation threshold; ideally under 50% — is critical for anyone borrowing in DeFi.
Flash Loans
Flash loans are one of DeFi's most mind-bending innovations. A flash loan lets you borrow any amount of crypto with zero collateral; as long as you repay it within the same transaction. If you don't repay, the entire transaction reverts as if it never happened.
This sounds impossible, but it works because blockchain transactions are atomic; either everything in the transaction succeeds, or nothing does. Typical flash loan use cases include:
Arbitrage: Borrow tokens, exploit a price difference between two DEXs, repay the loan, keep the profit; all in one transaction.
Collateral swaps: Swap your collateral in a lending protocol without closing your position.
Self-liquidation: Repay your own loan and withdraw collateral in a single transaction to minimize liquidation penalties.
Flash loans have also been used for attacks; manipulating oracle prices to drain lending protocols. They're a powerful tool with a double edge.
Real Yields vs Token Incentives
A critical skill in DeFi is distinguishing real yield from subsidized yield. Real yield comes from actual economic activity; borrowers paying interest on loans they need. Subsidized yield comes from protocols printing tokens and distributing them to attract users.
During DeFi Summer (2020), Compound started distributing COMP tokens to users. Suddenly you could earn 50%+ APY by lending stablecoins; not because borrowing demand justified it, but because the protocol was giving away free tokens. Every protocol copied this model.
The problem: those token rewards are inflationary. As more tokens are distributed, their price drops, yields compress, and users leave for the next protocol offering better incentives. It's a treadmill. Sustainable DeFi lending rates for stablecoins are typically 3–8% APY. If you see 30%+ on a major stablecoin, ask yourself where the yield is really coming from.
Risks of DeFi Lending
DeFi lending carries risks that don't exist in traditional banking:
Smart contract risk: A bug in the protocol's code can lead to loss of funds. Even audited protocols have been exploited. Euler Finance lost $197 million in 2023 from a vulnerability.
Oracle manipulation: Lending protocols rely on price oracles (like Chainlink) to know the value of collateral. If an attacker manipulates the oracle, they can borrow more than their collateral is worth or trigger unfair liquidations.
Governance attacks: Someone acquires enough governance tokens to pass a malicious proposal; like adding a worthless token as collateral, then borrowing against it.
Liquidity risk: If too many people try to withdraw at once, the pool may not have enough available tokens. You can't always withdraw instantly; you may need to wait for borrowers to repay or for liquidations to free up liquidity.
Regulatory risk: DeFi lending exists in a legal gray area. Regulators have argued that earning interest on deposited tokens may constitute an unregistered securities offering.
DeFi Lending vs Savings Accounts
It's tempting to compare DeFi lending rates to bank savings accounts. In 2021, banks offered 0.01% APY while DeFi offered 10%+. But this comparison misses crucial differences:
Feature
DeFi Lending (e.g. Aave)
Bank Savings Account
Typical Yield (2026)
3-8% APY (stablecoins)
4-5% APY (HYSA)
Insurance
None
FDIC-insured up to $250,000
Rate Stability
Variable — can change hourly
Relatively stable
Security Responsibility
You manage wallet, approvals, and risk
Bank handles all security
Access
Permissionless — no KYC required
Requires bank account, identity verification
Withdrawal
Instant (if pool has liquidity)
Instant to 1-2 business days
With high-yield savings accounts now offering 4–5% APY in the current rate environment, the risk-adjusted case for DeFi lending on stablecoins is less compelling than it was in 2021 — unless you need the specific DeFi properties of permissionless access, self-custody, and programmability.
What to Do Next
If you want to explore DeFi lending, start on Aave — it's the most battle-tested protocol with the best risk management. Begin by supplying a small amount of a stablecoin like USDC to understand how supply rates work. Don't borrow until you fully understand liquidation mechanics and concepts like impermanent loss, and can monitor your position regularly.
Track your DeFi positions alongside your bank accounts, brokerage accounts, and crypto holdings in Clarity. When your finances are spread across DeFi protocols, exchanges, and traditional accounts, having a single dashboard that shows your complete picture is essential for making smart decisions about where to deploy your capital — and how much risk you're really taking.
Cryptocurrency investments are volatile and carry significant risk. This article is educational and does not constitute financial advice. Do your own research before investing.