DeFi Lending & Borrowing

How DeFi Lending and Borrowing Work

Spot the edge. Swoop in.

DeFi lending markets use pooled smart contracts to connect suppliers and overcollateralized borrowers, setting variable rates based on utilization, managing reserves, and automating liquidations without a conventional underwriting process.

By Swoopr Editorial Team

Published · Updated

AI-assisted content · Swoopr is responsible for the final published article.

Direct Answer

Most DeFi lending markets pool supplied assets and let borrowers draw assets against approved collateral. Interest rates typically change with utilization: when more of a pool is borrowed, borrowing becomes more expensive and supplying may become more attractive. The loan is governed by smart-contract parameters and can be liquidated if collateral no longer supports the debt.

Key Takeaways

What This Page Covers

This guide focuses on pooled, overcollateralized money markets. It explains the accounting relationships, the source of interest, rate models, collateral, liquidity, reserves, and the risks faced by both suppliers and borrowers.

The Lending-Pool Balance Sheet

A simple pool has supplied assets, borrowed assets, available liquidity, accrued interest, and protocol reserves.

If users supply 10 million units and borrowers have drawn 7 million, gross utilization is roughly 70% before considering the protocol's exact accounting. Borrowers pay interest on outstanding debt. A portion can accrue to suppliers, while another portion may fund protocol reserves or fees.

Suppliers often receive an interest-bearing token or accounting balance representing a claim on the pool. That claim can increase in redemption value or balance as interest accrues. It is not a guaranteed claim on cash at any moment; redemption depends on contract rules and available liquidity.

How Utilization Affects Rates

Rate models attempt to balance capital use with withdrawal liquidity. A common design raises rates gradually below a target or "kink," then more sharply above it.

Low utilization means much of the pool is idle. Borrowing may be inexpensive, but supplier yield is low. High utilization means more interest is being paid, but little liquidity may remain for withdrawals. Higher rates are intended to attract supply, discourage new borrowing, and encourage repayment.

Displayed APYs are snapshots based on current utilization and model parameters. A large deposit can lower utilization and supplier APY. A large borrow can raise rates. Governance can also change the model.

Collateral and Borrowing Capacity

Borrowers deposit approved collateral. Each asset may have a loan-to-value limit, liquidation threshold, supply cap, borrow cap, isolation rule, or other constraint.

The maximum displayed borrowing capacity is a protocol boundary, not a prudent target. Borrowing near the limit leaves little room for collateral declines, debt growth, oracle changes, or transaction delays. A position that appears safe at submission can become eligible for liquidation before a user reacts.

Collateral and borrowed assets can be correlated in helpful or harmful ways. Borrowing a stablecoin against a volatile asset creates directional liquidation risk. Borrowing one correlated asset against another may reduce ordinary volatility but can fail when the correlation breaks.

Liquidity and Withdrawals

A lending market can be solvent by its accounting rules yet temporarily lack enough unborrowed liquidity for every supplier to withdraw immediately. Available liquidity depends on borrower repayments, new supply, liquidations, reserves, and protocol features.

Some markets use withdrawal queues, caps, reserve factors, or liquidity incentives. Users should inspect current liquidity, utilization, concentration, and historical behavior rather than assuming a supplied balance is equivalent to cash.

Recursive Leverage

A user can supply collateral, borrow another asset, convert or redeposit it, and repeat. This can increase reward eligibility or exposure, but it creates multiple linked transactions and makes the position more sensitive to rates, fees, price changes, and liquidation.

A strategy marketed as "looping" can look low-risk when collateral and debt both reference the same currency. Yet depegs, rate spikes, oracle discrepancies, liquidity shortages, bridge risk, and reward-token declines can break the assumption. Every loop reduces the margin for operational error.

Practical Decision Framework

Use the POOL analysis:

Suppliers should analyze borrower and liquidity conditions. Borrowers should analyze collateral and liquidation conditions. Both should analyze contracts, governance, and assets.

Worked Example

A pool has 10,000,000 units supplied and 7,000,000 borrowed. Utilization is approximately 70%.

Assume borrowers pay an average 8% annualized rate. Gross annual interest is approximately 560,000 units before compounding and changes. If the protocol retains 10% of interest for reserves, about 504,000 could accrue to suppliers. Dividing by total supplied assets implies roughly 5.04% before incentives and before accounting differences.

This is not a forecast. If borrowing falls to 4,000,000, supplier yield can decline. If utilization rises sharply, borrowing rates may jump and withdrawals may become constrained. Incentive tokens can lift displayed yield while introducing token-price and dilution risk.

Common Mistakes

Risks and Limitations

Suppliers face contract, governance, asset, liquidity, oracle, and borrower-market risks. Borrowers add liquidation, rate, collateral, and execution risk. Liquidation can occur automatically and may include a penalty or bonus transferred to liquidators.

Interest models, collateral parameters, caps, and liquidation mechanics differ across protocols and markets. Use current primary documentation and on-chain parameters; do not reuse examples as live values.

Practical Checklist

Frequently Asked Questions

Where does lending yield come from?

Primarily from interest paid by borrowers, sometimes supplemented by protocol incentives. The exact distribution depends on utilization, reserve factors, and market parameters.

Why is borrowing usually overcollateralized?

Open protocols generally cannot rely on traditional identity, income, or legal collection. Excess collateral and automatic liquidation help protect the pool.

Can suppliers lose money?

Yes. Contract exploits, bad debt, asset depegs, oracle failures, governance actions, liquidity shortages, or other failures can reduce value or access.

Why can supply APY fall after I deposit?

A large supply deposit lowers utilization unless borrowing rises. Rate models can therefore reduce the supplier rate.

Is a stablecoin loan low risk?

Not necessarily. Stablecoins can depeg, collateral can fall, rates can spike, liquidity can disappear, and contracts or oracles can fail.

Summary

DeFi lending is a dynamic pool, not a fixed-rate deposit account. Supplier return, borrower cost, withdrawal liquidity, and liquidation safety all depend on utilization, assets, parameters, oracles, and market behavior. Analyze the pool as a balance sheet and the position as a changing risk exposure.

Sources and Further Reading

Educational disclaimer: Educational information only; not investment, tax, legal, or personalized financial advice. DeFi positions can lose some or all committed assets through market movement, liquidation, smart-contract failure, governance action, oracle failure, bridge failure, stablecoin instability, operational mistakes, fraud, or other causes.

Continue Learning