What are onchain loans?
Published 11/18/2026, 12:25:34 AM
Onchain loans (also called DeFi lending) are loans originated, collateralized, and repaid entirely through blockchain smart contracts, with no bank, broker, or credit check in the middle. Instead of an institution deciding who is trustworthy, a smart contract accepts collateral, applies public rules, and enforces repayment automatically. As the Coinbase Institute puts it, onchain lending is "a decentralized model in which loans are originated, collateralized, and repaid entirely through blockchain-based" systems [Source: https://www.coinbase.com/en-ca/public-policy/advocacy/documents/crypto-and-onchain-lending].
How the dominant model works (overcollateralized, pooled lending)
The historical and still-dominant design is overcollateralized, pooled liquidity:
- Suppliers deposit assets (e.g. USDC, ETH) into a smart-contract pool and earn interest, receiving a token whose balance/rate grows as interest accrues.
- Borrowers post a different asset as collateral, valued by a price oracle, and draw a loan against it — but only up to a loan-to-value (LTV) limit. Because there is no credit scoring, the collateral must be worth more than the loan. Bruegel notes collateral typically runs 120%–150% of the loan value — "in order to borrow one Bitcoin, [you must] post more than one Bitcoin's worth of collateral" [Source: https://www.bruegel.org/policy-brief/decentralised-finance-good-technology-bad-finance].
- Interest accrues every block, at a rate that depends on pool utilization: "as more funds are borrowed from the pool, the amount of funds available decreases and the interest rate is raised" [Source: https://timroughgarden.org/s25/reports/r5.pdf].
- Liquidation is the safety valve: "If your collateral falls too far, the contract sells part of it automatically to repay the loan" [Source: https://blofin.com/academy/education/ethereum-lending-mechanics].
Two limits govern every position: one caps how much can be borrowed (LTV), the other marks the point at which the position gets liquidated [Source: https://proofoftalk.io/blog/defi-lending-vaults-where-yield-comes-from].
The three main loan types
| Type | Collateral | Repayment | Typical use |
|---|---|---|---|
| Overcollateralized (Aave, Compound, Morpho) | Yes, >100% of loan | Open-ended, floating rate, no fixed due date | Leverage, borrowing stablecoins against volatile assets |
| Flash loans (Aave, ERC-3156) | None | Must be repaid within the same transaction/block | Arbitrage, MEV, refinancing, collateral swaps |
| Undercollateralized / credit (emerging) | Little or none | Fixed terms, credit-based | Jump Crypto argues this is "an indispensable growth driver" for onchain credit [Verified: https://jumpcrypto.com/writing/paradigms-for-on-chain-credit] |
Flash loans are the most distinctive onchain innovation — they have "no real-world equivalent." A borrower takes assets with no collateral, but must return the amount plus a fee before the same blockchain transaction ends, or the whole transaction is reversed [Source: https://aave.com/docs/aave-v3/guides/flash-loans]. Aave calls them "One Block Borrows" and sets the fee at 0.05% by default (governance can change it) [Source: https://blofin.com/en/academy/education/aave/aave-flash-loans-explained]. They are typically used by arbitrageurs and MEV bots to deploy far more capital than they hold [Source: http://arkm.com/research/flash-loans].
Market scale (as of late 2026)
The lending sector is large and concentrated. Figures vary by source and date, but the picture is consistent:
- DefiLlama tracked 137 lending protocols on Ethereum with ~$23.96B combined TVL as of Nov 16, 2026, led by Aave (
$12.56B) and Morpho ($4.7B) [Source: https://defillama.com/protocols/lending/ethereum]. - S&P Global reported Aave TVL of ~$19.2B in September 2026, "a third of the TVL in decentralized finance lending" [Source: https://www.spglobal.com/en/research-insights/special-reports/defi-aave-lending-protocol-analysis].
- CoinLaw put total DeFi lending TVL at $50.37B as of Sept 8, 2026, with Aave at $18.1B and Morpho second at $9.7B [Source: https://coinlaw.io/defi-lending-protocols-statistics/].
- flexe.io noted the gap closing: Aave V3 fell from $17.35B to $14.98B between Sept 4 and Nov 11, 2026, while Morpho Blue grew from $9.66B to $10.79B [Source: https://flexe.io/blog/crypto-lending-platforms].
The exact totals differ because sources use different dates and methodologies (some count only stablecoin pools, some all assets), but Aave and Morpho are consistently the two largest, and the sector is in the tens of billions of dollars.
Key risks and caveats
- Liquidation risk is the main borrower risk — a sharp price drop can trigger a forced sale of collateral.
- Smart-contract risk: funds are governed by code, not a bank; exploits and bugs are a real hazard.
- Oracle risk: collateral is priced by oracles; a bad price feed can misprice positions.
- Concentration: the market is heavily concentrated in Aave and Morpho, so systemic risk is concentrated in a few codebases.
Bottom line
Onchain loans replace the bank's trust decision with collateral and code. The dominant form is overcollateralized pooled lending (supply to earn, borrow against collateral, get liquidated if it falls too far), flash loans add a zero-collateral, same-transaction variant, and undercollateralized credit is the emerging frontier. It is a large, real market — tens of billions in TVL — but carries liquidation, smart-contract, and oracle risks that traditional loans do not.