Skip to content
Free account: read the full Bitcoin Deep Dive + get 100 pointsunlock the BTC reportCreate free accountJoin free
MCAP $1.67T ▼-14.40%
BTC $44,087 ▼-15.39%
ETH $1,392 ▼-12.48%
BNB $429.82 ▼-16.17%
XRP $0.721 ▼-15.41%
SOL $56.44 ▼-17.35%
DOGE $0.0455 ▼-18.97%
ADA $0.119 ▼-15.11%
TRX $0.2611 ▼-7.19%
LINK $7.40 ▼-13.64%
AVAX $5.37 ▼-13.15%
HYPE $59.58 ▼-6.06%
DOT $0.509 ▼-18.73%
DeFi & DAOs · Foundations

What Is DeFi? How Decentralized Finance Works and Its Risks (2026)

DeFi explained: how lending, DEXs, stablecoins and liquid staking work, where yield comes from, and the real risks, with December 2026 data.

Crypto Coin Show Editorial Desk·Updated December 4, 2026·28 min read·Educational, not investment advice

Short answer: DeFi (decentralized finance) is a set of financial services, such as lending, trading and savings, run by smart contracts on public blockchains instead of banks or brokers. As of December 2026, DefiLlama tracked about $63.5 billion locked in DeFi. Anyone with a wallet can use it, but users carry the risks of hacks, depegs and regulation.

Updated December 4, 2026.

Key takeaways

  • DeFi replaces intermediaries with code. Smart contracts hold the funds, apply the rules and settle transactions automatically, and users keep custody in their own wallets. Ethereum held $34.4 billion, roughly 55 percent of all DeFi value locked, on December 4, 2026.
  • The sector has shrunk this year. Total value locked was $62.49 billion on December 4, 2026, down from $68.18 billion a week earlier and about 43.66 percent below the $110.92 billion recorded at the start of the year. TVL moves with token prices as well as deposits, so part of the fall is price, not withdrawals.
  • The core building blocks are lending markets (Aave had $15.063 billion locked and $10.875 billion in active loans on December 4, 2026), decentralized exchanges ($10.578 billion of 24-hour volume on December 3, 2026), stablecoins ($278.17 billion on the same date) and liquid staking (Lido held an estimated 22.0 percent of staked ETH on November 16, 2026).
  • Yield has four sources: borrower interest, trading fees, staking rewards and token incentives. The first three come from real activity. The last is a subsidy that can end, and an advertised rate far above the others is a warning sign, not a bargain.
  • The main risks are well documented. At least $1.3 billion was lost to DeFi exploits in the first eight months of 2026, including $285 million at Drift Protocol on April 1 and $290 million at KelpDAO on April 18. The 2022 collapse of UST and LUNA caused over $40 billion in investor losses. In the US, the Senate has not acted on the CLARITY Act since its failed cloture vote and no vote is scheduled.

Who this is for: Beginners who keep hearing about DeFi and want a plain-English explanation of what it is, how lending, trading, stablecoins and staking work on-chain, where the yield comes from, and what can go wrong, so they can judge any DeFi claim or protocol without taking marketing numbers on faith.

Decentralized finance began as an experiment: could the basic functions of a financial system, such as lending, borrowing and exchanging assets, be rebuilt as open software that nobody owns and anybody can use? A bank needs a licence, a branch or app, a compliance team and a balance sheet. A DeFi protocol needs a smart contract deployed on a blockchain and enough users to supply funds to it. That difference explains both why DeFi can be open, global and always on, and why it can lose money in ways that a regulated bank usually does not.

The question is worth revisiting in late 2026 because the market looks very different from a year ago. DeFi total value locked stood at $110.92 billion at the start of 2026 and fell to $62.49 billion on December 4, 2026. Meanwhile, stablecoins keep carrying heavy transaction use, large exploits have hit well-known protocols, and the US Congress has not delivered the market structure law that would define how DeFi is regulated. A beginner needs a clear picture of the machinery before looking at any of those headlines.

This guide answers four questions in order: what DeFi is, how it works, how people earn yield in it, and whether it is safe. It covers lending, decentralized exchanges (DEXs), stablecoins and liquid staking, explains how smart contracts replace intermediaries, and uses real incidents to show the main risks. It also gives a dated TVL figure and a worked example with simple numbers you can check yourself. For a deeper look at the headline metric itself, see our parent guide, What is DeFi TVL? Total value locked explained and how to read it. Nothing here is investment, legal or tax advice.

DeFi by the numbers

$63.5bnTotal value locked in DeFiDefiLlama, December 3, 2026
-43.7%TVL change since the start of 2026 ($110.92bn to $62.49bn)DefiLlama data via TokenPost, December 4, 2026
$278.17bnStablecoins trackedDefiLlama, December 3, 2026
$10.58bnDEX volume in 24 hoursDefiLlama, December 3, 2026
$15.06bnAave total value locked, the largest lending protocol by TVLDefiLlama, December 4, 2026
$1.3bn+Lost to DeFi exploits in the first eight months of 2026CertiK and Forbes via Cryptonomist, September 4, 2026

Hear it from builders: The Crypto Coin Show Interview & Founder Hub collects conversations with the founders building lending, exchange, stablecoin and staking protocols. Browse them at the Crypto Coin Show Interview & Founder Hub.

What is DeFi (decentralized finance)?

DeFi is a name for financial applications built on public blockchains, most of them on Ethereum and its related networks. Instead of opening an account with a company, you connect a self-custody wallet to an application, approve a transaction and the application’s smart contract does the rest. You can lend a stablecoin and earn interest, borrow against crypto you already hold, swap one token for another, or stake coins and receive a receipt token that you can use elsewhere.

Three features define it. First, self-custody: your assets sit at your wallet address or in a contract you chose to use, not on a company’s balance sheet. Second, open access: most protocols are permissionless, meaning anyone with a wallet can use them without an application or approval. Third, composability: because the contracts are public and standardized, one protocol can plug into another. A token you receive for depositing in one place can often be used as collateral in a second and traded in a third. Composability is why DeFi grows fast, and it is also why failures spread (see the section on depegs below).

DeFi is not the same as crypto in general. Holding bitcoin in a wallet is not DeFi. Buying a token on a centralized exchange is not DeFi, because the exchange holds your coins. DeFi starts when a smart contract, not a company, is the counterparty that holds funds and enforces terms. Ethereum dominates: on December 4, 2026 it held about 55 percent of locked value, with Lido leading all protocols at $15.15 billion.

How does DeFi work without banks or brokers?

A traditional financial service needs intermediaries to do four jobs: hold the assets, keep the ledger, enforce the rules and settle the trade. In DeFi each job moves into software. The blockchain is the shared ledger. A smart contract is a program stored on that blockchain that holds funds and executes fixed rules when someone calls it. If you deposit collateral and ask to borrow, the contract checks the numbers and either lets the loan through or rejects it. No loan officer is involved, and no one can quietly change the terms for one customer. If the collateral later loses too much value, the contract allows anyone to repay part of the debt in exchange for the collateral at a discount, a process called liquidation.

Because every transaction and balance is public, anyone can inspect the contracts and the funds they hold. That is the transparency argument for DeFi. The trade-off is that the contract does exactly what its code says, including when the code is wrong or when someone uses it in a way the designers did not expect. There is no customer service desk that reverses a transaction, and no government deposit insurance covers a DeFi deposit.

DeFi versus traditional and centralized crypto finance

FeatureBank or brokerCentralized crypto platform (CeFi)DeFi
Who holds your assetsThe institutionThe companyYou (wallet) or a smart contract you chose to use
Who enforces the rulesStaff, contracts and regulatorsThe company’s terms of serviceSmart contract code, often with governance voting
AccessAccount opening and identity checksAccount opening and identity checksUsually a wallet only, though front-end websites may block some regions
TransparencyReports and audits, balance sheet is privateVaries, proof of reserves is optionalContracts and balances are public on-chain
If something goes wrongDeposit insurance and regulators may applyCustomer claims in a bankruptcyUsually no insurance or help desk, recovery depends on the protocol and its community
Main failure modeMismanagement, bank runsMismanagement, hacks, frozen withdrawalsCode bugs, stolen admin keys, bad price feeds, depegs, user error

Sources: CCS analysis. The general descriptions are structural, not dated statistics.

How does DeFi lending work?

A lending protocol such as Aave runs a shared pool for each asset. Lenders deposit a token, for example a dollar stablecoin, into the pool and receive a receipt token that grows in value as interest accrues. Borrowers take tokens out of the pool but must first post collateral worth more than they borrow. This is called overcollateralization, and it exists because the protocol cannot check anyone’s credit history or sue for repayment. The collateral is the only protection.

Interest rates are set by an algorithm. When a pool is mostly lent out (high utilization), the borrow rate rises to attract more deposits and discourage borrowing. When the pool is mostly idle, rates fall. Lenders earn the interest borrowers pay, less a share kept by the protocol. Each collateral asset has a loan-to-value limit (how much you can borrow against it) and a liquidation threshold (the point at which the position can be closed). If the collateral price falls enough to cross the threshold, liquidators repay part of the debt and take collateral at a small discount. The worked example later in this guide shows the arithmetic.

Scale matters here. On December 4, 2026, lending was the largest DeFi sector by TVL at $40.9 billion, and Aave alone had $15.063 billion in total value locked and $10.875 billion in active loans on December 4, 2026. Note the difference between the two Aave numbers: TVL counts what is currently deposited, while active loans count what is currently borrowed, and utilization is the ratio between them. Sector totals from different trackers overlap and do not simply add up, a point covered in our TVL guide.

How do decentralized exchanges (DEXs) work?

A decentralized exchange lets you swap tokens directly from your wallet, with no account and no deposit to the exchange. Most DEXs use an automated market maker (AMM) instead of a traditional order book. In an AMM, users called liquidity providers deposit two tokens into a pool, and a formula sets the price based on the ratio of the two. The simplest formula, used by early AMMs, keeps the product of the two token quantities constant. When a trader buys one token, the pool has less of it and more of the other, so the price moves automatically.

Liquidity providers earn a fee on every trade, and traders pay it as part of the price. Two things are worth understanding as a beginner. Slippage is the gap between the price you expected and the price you got, and it is larger in small pools. Impermanent loss is the loss a liquidity provider takes, compared with simply holding the tokens, when the relative price of the two tokens changes. The worked example below includes both calculations with round numbers. Other DEX designs use order books or let traders match with professional market makers, but the key idea is the same: a smart contract settles the trade and you keep custody until it executes.

Trading is the visible face of DeFi. DEXs processed $10.578 billion of volume in the 24 hours to December 3, 2026. Yet DEX TVL was only $9.99 billion on December 4, 2026, which shows that for an exchange, locked value is a poor measure of use. A pool can turn over its liquidity many times a day.

What role do stablecoins play in DeFi?

Almost every DeFi application needs a unit of account that does not swing 10 percent in a day. Stablecoins fill that role. They are the main asset lent and borrowed, the base currency in most trading pools and the form in which profits are usually taken. DefiLlama showed $278.17 billion of stablecoins on December 3, 2026. Totals differ by tracker: CoinMarketCap data from December 2, 2026 put Tether’s USDT at $173.2 billion within a $294.48 billion stablecoin market, and USDC, the second largest, at $68.8 billion. The gap between trackers comes from which tokens each one counts, so compare like with like and always note the source and date.

Stablecoin typeHow the peg is meant to holdTypical failure modeExample from this guide
Reserve-backed (fiat)An issuer holds cash and short-term assets and redeems at $1Reserve problems, bank failure, redemption freezesUSDT and USDC
Crypto-collateralizedExcess crypto collateral locked in smart contracts, liquidated if it fallsSharp collateral price drops, oracle errorsOvercollateralized designs on lending protocols
Algorithmic or yield-bearing syntheticIncentives, hedges or a sister token support the priceLoss of confidence, hedge or manager failure, death spiralUST (2022) and Stream’s xUSD (2025)

Sources: CCS analysis; US DOJ; Protos.

The type matters more than the label. A reserve-backed stablecoin depends on the issuer and its reserves. A synthetic one depends on a strategy working. Our guide to what a stablecoin is and how it holds its peg covers reserves and current US rules in detail.

What is liquid staking in DeFi?

Staking means locking coins to help secure a proof-of-stake blockchain in return for rewards. The basic mechanics are in our staking guide. The drawback is that staked coins are locked and can take time to withdraw. Liquid staking solves this: you deposit ETH with a protocol, which stakes it through a set of validators, and you receive a liquid staking token, such as Lido’s stETH, that represents your stake plus the rewards earned. You can then trade that token, lend it or post it as collateral while the original ETH keeps earning.

This is why liquid staking sits near the center of DeFi. On December 4, 2026, liquid staking was the second-largest sector by TVL at $36.22 billion. Lido held an estimated 22.0 percent of the 44.32 million ETH staked on November 16, 2026, and it takes a 10 percent fee on the staking rewards. Lido V3 went live on Ethereum mainnet on January 30, 2026 and added stVaults, which let institutions and other builders run customized staking setups.

The risks are specific. The token can trade below the value of the ETH it represents when many holders want out at once. The protocol’s smart contracts can fail. One provider can hold a large share of all staked ETH, which concentrates risk for the network. And when liquid staking tokens are reused as collateral, a problem with the token can pass to lenders. One academic analysis found that when Kelp’s rsETH token was hit in April 2026, the $195.3 million loss fell entirely on depositors in Aave’s pools, who had supplied WETH and wstETH rather than rsETH. That is composability risk in practice.

How do people earn yield in DeFi?

Yield is the return paid for putting assets to work. The key question for any rate is simple: who is paying, and why? Real yield comes from someone paying for a service. Subsidized yield comes from newly issued tokens that the protocol hands out to attract users.

Yield sourceWho paysHow it worksMain risks
Lending interestBorrowersDeposit into a lending pool, earn a share of the interestSmart contract failure, bad debt after a collateral crash, oracle errors
Trading feesTraders on a DEXSupply two tokens to an AMM pool, earn a share of swap feesImpermanent loss, smart contract failure, thin pools
Staking rewardsThe blockchain’s issuance and feesStake directly or hold a liquid staking tokenSlashing, token depeg, validator concentration, price moves
Token incentivesThe protocol, from its own token supplyExtra tokens paid to depositors or liquidity providersThe reward token can lose value, incentives can end, often attracts short-term capital
Leveraged or looped strategiesVaries, often hiddenBorrow and redeposit repeatedly to magnify returnsLiquidation, contagion between linked tokens, opaque off-chain managers

Sources: CCS analysis based on protocol designs described in this guide. No rate is quoted because yields change by the hour.

Rates are not fixed and depend on supply and demand in each pool, so always read the live figure and its date on the protocol itself. A useful rule: the higher the headline rate, the more you should ask where it comes from. The clearest cautionary case is Anchor Protocol, which advertised a return of about 20 percent a year on UST before the stablecoin collapsed. Stream Finance, a yield-focused platform, is a more recent example: reporting found a daisy chain of lending between Stream’s xUSD, YieldFi’s yUSD and Elixir’s deUSD, with the assets leveraged against each other on lending platforms. High yield built on circular leverage is not income from real demand.

Yield can also be taxable income. We cover the US treatment in How Staking and DeFi Income Are Taxed in the US (2026). This is general information, not tax advice.

How big is DeFi in December 2026?

The standard measure of DeFi’s size is total value locked (TVL), the dollar value of assets deposited in DeFi smart contracts. As of December 3, 2026, DefiLlama showed total DeFi TVL of $63.516 billion across all chains. DefiLlama data reported by TokenPost put TVL at $62.49 billion on December 4, 2026, down from $68.18 billion a week earlier and about 43.66 percent below the start of the year.

Two cautions apply. First, TVL is a dollar figure, so it moves with prices even if nobody deposits or withdraws. TVL moves with both the number of coins deposited and their price, and when a token’s price falls, TVL falls even if no user touches a position. A fall of 43.66 percent therefore mixes real withdrawals with lower prices. Second, TVL is a measure of locked funds, not usage or profit. Bitcoin-based DeFi shows the point: DefiLlama put the sector at about $1.41 billion on December 2, 2026, down from a peak above $8.8 billion in October 2025. Our parent guide on TVL explains double counting, protocol categories and how to read the metric properly.

Is DeFi safe? The main risks with real incidents

The honest answer is that DeFi is open to everyone, including attackers, and users are responsible for their own risk. The following incidents show the main failure types. None of them is hypothetical.

Hacks and stolen keys

People often assume DeFi hacks are caused by coding errors, and some are. But the large losses of 2026 point elsewhere. At least $1.3 billion was lost to DeFi exploits in the first eight months of 2026, with compromised keys now the top attack vector. The two largest cases were Drift Protocol, which lost $285 million on April 1, and KelpDAO, which lost $290 million on April 18.

At Drift, a Solana-based perpetuals exchange, the attacker used a fake token and a compromised admin key to manipulate oracles and drain the vaults. Reporting described the exploit as relying not on a complex code vulnerability but on trust in price feeds, governance controls and the lack of safeguards such as timelocks. At KelpDAO, the loss came through a single compromised verifier on its LayerZero bridge. The lesson for users is that an audit of the code does not cover who holds the keys or how the system is configured. For a view across the whole year, DefiLlama’s hack database listed $8.842 billion of 2026 losses across 373 incidents as of November 30, 2026, but its largest entry was a centralized exchange listed at $6.36 billion in October 2026, so that figure is not a DeFi-only total.

Individual users face their own version of this risk, from fake websites and malicious approvals. Read our guide to wallet drainers and blind signing before you connect a wallet to anything.

Oracle failures and price manipulation

Smart contracts cannot see prices on their own. They rely on oracles, which are services that feed outside data, such as the price of a token, onto the blockchain. If an oracle reports a manipulated price, a lending contract will treat bad collateral as good. Chainlink is the best-known oracle network, and our Chainlink guide explains how oracles work.

The Mango Markets case from 2022 is the textbook example. On October 11, 2022, a trader deposited $5 million in USDC, bought large amounts of MNGO on exchanges that fed Mango’s price oracle, inflated the token’s price and used the inflated value as collateral to borrow over $100 million. Bloomberg described the haul as $110 million. The legal outcome shows how unsettled the rules are: in May 2025 a federal judge vacated the trader’s fraud and manipulation convictions and acquitted him of a third charge. The court found that the automated nature of the smart contract meant he could not have made false representations to it, and it vacated the commodities counts on venue grounds. In 2026 the Drift attack again showed oracle weakness: the attacker built a fake price history for a worthless token, as a $500 liquidity pool and wash trading created a price near $1.

Stablecoin depegs and contagion

A depeg occurs when a stablecoin trades away from its target price. The largest case is UST. By May 2022 its peg broke, and UST and LUNA crashed, resulting in over $40 billion in investor losses. A smaller but instructive case came in November 2025. Stream Finance halted deposits and withdrawals after losing $93 million of fund assets, and its xUSD token depegged by over 75 percent. The damage then spread through lending markets. An academic analysis put the xUSD episode’s cost at $256.4 million, of which $229.3 million fell on depositors in lending markets that had accepted xUSD as collateral. Many of those depositors never held xUSD. They had lent into a market whose manager chose to accept it.

Liquidation and market risk

Even with no hack, a borrower can lose collateral if prices fall fast. Liquidations are automatic and unforgiving, and in a fast market the price can gap through your threshold before you can add collateral. Lenders face the mirror risk: if prices fall faster than liquidators can act, the pool can be left with bad debt. Leveraged looping strategies, which borrow and redeposit repeatedly, raise this risk sharply.

Regulation and legal risk

DeFi sits in an unsettled legal area. Protocols may be treated as securities venues, commodities venues or neither, front-end websites may block users in some countries, and tax rules still apply to the user. The next section covers the US position.

So is DeFi safe?

It is no safer than the weakest part of the chain you rely on: the contract, the keys that control it, the oracle, the collateral, the stablecoin and your own wallet habits. The checklist later in this guide turns that into practical questions. Treat any amount you put in DeFi as money you could lose entirely.

Using DeFi is not illegal for ordinary users, but there is no comprehensive US law written for it. The main proposal is the CLARITY Act, a market structure bill covered in our guide to what the CLARITY Act is. The House passed it on July 17, 2025 by 294 to 134. On September 15, 2026, it failed a procedural vote in the Senate by 49 to 50, far short of the 60 votes needed to open debate. One tracker described the bill as stalled, not formally dead. As of early December, the Senate has not acted since the failed cloture vote and no vote is scheduled.

The bill’s DeFi provisions show how lawmakers think about the sector. The House-passed bill excludes certain DeFi activities and non-controlling blockchain developers from registration. The Senate draft directs the CFTC, SEC and Treasury to set tailored rules for persons controlling non-decentralized DeFi trading protocols. The Senate Banking Committee’s own summary says the bill requires centralized digital asset intermediaries that interact with DeFi protocols to implement risk management standards. In short, the dividing line the law keeps returning to is control: a protocol that nobody controls is treated differently from one with an identifiable operator who can change it.

Regulators are acting without the bill. The SEC proposed Regulation Crypto Assets on August 18, 2026 and launched an innovation exemption for tokenized securities venues on September 17, 2026. Whatever the outcome, existing rules on sanctions, fraud and tax continue to apply to people using DeFi. See our guide to the CLARITY Act for the full bill and its status.

How we got here: a timeline

Lido goes live. The liquid staking protocol launches and later becomes the largest by TVL.
UST and LUNA collapse. The stablecoin peg breaks and the US Department of Justice later cites over $40 billion in investor losses.
Mango Markets oracle attack. A trader inflates the price of MNGO on the exchanges feeding the oracle and borrows over $100 million.
Mango convictions vacated. A federal judge overturns the fraud and manipulation convictions, citing the permissionless design and venue.
House passes the CLARITY Act. The vote on July 17 is 294 to 134.
Stream Finance xUSD depeg. A $93 million fund loss freezes withdrawals and spreads losses to lending markets.
Lido V3 launches and the year starts at $110.92 billion TVL. Lido V3 goes live on January 30 with stVaults.
Drift and KelpDAO exploits. Drift loses $285 million on April 1 and KelpDAO about $290 million on April 18.
CLARITY Act fails in the Senate. The cloture vote on September 15 fails 49 to 50.
TVL near $63 billion. DefiLlama shows $63.516 billion on December 3 and TokenPost reports $62.49 billion on December 4.

Worked example: a loan, a liquidation and a swap

All numbers below are illustrative assumptions chosen to be round, not market data or a forecast, and they do not describe any specific protocol. Assume ETH is worth $2,000. Assume the lending protocol allows borrowing against ETH with a liquidation threshold of 80 percent, a 6 percent borrow rate, a 5 percent liquidation bonus and a 50 percent close factor (a liquidator can repay up to half the debt at a time).

Part 1: borrowing and liquidation

  1. Deposit. You deposit 10 ETH, worth $20,000, as collateral.
  2. Borrow. You borrow $10,000 of a dollar stablecoin. Your loan-to-value is 10,000 divided by 20,000, which is 50 percent.
  3. Health factor. Health factor equals collateral value times the liquidation threshold, divided by debt: (20,000 times 0.80) divided by 10,000 equals 1.6. Anything above 1 is safe, and below 1 the position can be liquidated.
  4. Liquidation price. Liquidation starts when collateral value times 0.80 equals $10,000, so when collateral is worth $12,500. With 10 ETH that is $1,250 per ETH, a fall of 37.5 percent from $2,000.
  5. If it happens. A liquidator repays up to $5,000 of your debt and receives $5,250 of ETH, so you lose $250 more than the debt repaid. You keep the borrowed stablecoins, but you lose collateral at a discount.
  6. Cost of the loan. At 6 percent you owe $600 a year in interest on $10,000.
  7. The lender’s side. Assume the pool is 80 percent utilized and the protocol keeps 10 percent of interest. A depositor earns 6 percent times 0.80 times 0.90, which is 4.32 percent. On $1,000 that is $43.20 a year.

Part 2: swapping on an AMM

  1. The pool. A pool holds 10 ETH and 20,000 stablecoins. The product of the two is 200,000, and the starting price is $2,000 per ETH.
  2. Buy 1 ETH. The pool must keep the product at 200,000. With 9 ETH left it needs 200,000 divided by 9, which is 22,222.22 stablecoins, so you pay 2,222.22. Your average price is $2,222.22, which is 11.1 percent above the starting price, before any fee. That gap is slippage.
  3. New price. After the trade the pool holds 9 ETH and: 22,222.22 stablecoins, so the new price is 22,222.22 divided by 9, which is about $2,469 per ETH. That is 23.5 percent above the starting price after a single 1 ETH purchase.
  4. Add a fee. Uniswap v2 applies a 0.30 percent fee to trades, which is added to reserves. If this pool did the same, you would send about 2,228.91 stablecoins so that 2,222.22 counts toward the curve after the fee. Your average price rises to about $2,228.91, which is 11.4 percent above the starting price.
  5. Why it matters for Part 1. A liquidator who receives $5,250 of ETH usually wants stablecoins back, so it sells into pools like this one. The deeper the pool relative to the sale, the less the liquidator loses to slippage, and the more likely liquidations stay profitable in a fast fall.

The two halves of the example are linked. Lending protocols depend on liquidators, liquidators depend on liquid pools, and both depend on a price feed that is hard to manipulate. When one link weakens, losses spread to the others. This chain of dependence is what developers call composability, and it is why one failure can spread quickly.

How to use DeFi more safely: a checklist

  • Who can change the protocol? Look for admin keys, multisig signers and timelocks before you deposit. Drift lost $285 million on April 1, 2026 through a compromised administrator key rather than a smart contract flaw. A clean audit does not cover a stolen or socially engineered key.
  • Where does the price come from? Check whether the protocol reads prices from deep markets or from a thin pool that one trader can move. Mango Markets in October 2022 and the fake collateral token used against Drift in April 2026 both involved manipulated prices.
  • What is the collateral, and what happens if it depegs? Stream Finance’s xUSD in November 2025 showed that a stablecoin backed by an opaque fund can break and spread losses to lending markets that accepted it. Prefer collateral with transparent reserves and deep exit liquidity.
  • How far is your health factor from 1? Aave defines it as eligible collateral value divided by debt value and says it must stay above 1 to avoid liquidation. In the worked example, the loan survives a 37.5 percent fall. Keep a wider cushion than the minimum, because prices gap in a crash and gas costs rise just when you need to act.
  • Do you know the liquidation rules? Aave V3’s default close factor is 50 percent, but it extends to 100 percent in some conditions, such as a health factor below 0.95 or dust positions. Aave V4 instead lets liquidators repay only enough to reach a target health factor. The rules differ by protocol and version, so read the current ones.
  • Where does the yield come from? Separate fees paid by borrowers and traders from token emissions and from leverage built on other protocols. If you cannot name who is paying you, assume it is new token issuance or hidden risk.
  • Is the TVL figure telling you what you think? DefiLlama describes TVL as the amount of underlying assets deposited in a protocol, not the number of outstanding loans. It moves with token prices as well as with user deposits, and different dashboards count liquid staking and double-counted deposits differently.
  • Can you exit? Check withdrawal limits, redemption queues and pool depth. Size positions so you could leave without moving the price much, and be ready for a protocol to pause withdrawals during an incident.
  • Do you keep approvals and wallets tidy? Revoke unused token approvals, use a separate wallet for experiments, and remember that a hardware wallet protects your private keys but not funds already deposited into a DeFi protocol.
  • Have you considered tax and sanctions? Swaps, loan interest and liquidations can be taxable events in many jurisdictions, and sanctions rules apply to DeFi users regardless of the CLARITY Act. Keep records of every transaction.

What to watch next

  • Whether TVL stabilizes. DeFi TVL was $62.49 billion on December 4, down from $68.18 billion a week earlier. That is roughly 43.66 percent below the $110.92 billion recorded at the start of the year. Because TVL is priced in dollars, part of the fall reflects lower token prices rather than withdrawals, so compare it with stablecoin supply and borrow balances.
  • Any revival of the CLARITY Act. No Senate vote is scheduled. The House left Washington until after the November 3 election, so even Senate passage in September could not have produced law. Bills that do not become law lapse when a Congress ends, so any revival would most likely start again in the new Congress that begins in January 2027. Watch for sponsor statements and whether the DeFi control test survives in a new draft.
  • SEC and CFTC rulemaking. Banking Committee Chairman Tim Scott said it was time for the SEC and CFTC to set clear rules of the road. Watch the status of the SEC’s Regulation Crypto Assets proposal and whether regulators apply the same control-based distinction to DeFi front ends and protocol developers.
  • Privileged-access attacks. TRM Labs attributed the Drift theft to North Korean hackers using months of social engineering, oracle manipulation and a governance exploit. Watch whether protocols respond with longer timelocks, hardware-secured multisigs and tighter limits on how fast an admin can raise withdrawal caps.
  • Liquidation design in a sell-off. Aave’s V4 documentation describes a liquidation bonus that scales with the position’s health factor, higher for lower health factors, in a Dutch-auction style. The first large market drop under designs like this will show whether they reduce over-liquidation without leaving bad debt.
  • Stablecoin and yield-vault stress. Another depeg of a yield-bearing dollar token would test whether lending markets have tightened collateral rules since Stream Finance. Watch collateral listings, supply caps and the share of borrowing backed by synthetic dollars.

Glossary

Decentralized finance (DeFi)
Financial services such as trading, lending and borrowing that run as smart contracts on a blockchain instead of through an intermediary.
Smart contract
Code deployed on a blockchain that executes automatically when its conditions are met and holds user funds according to its rules.
Automated market maker (AMM)
A set of smart contracts that lets anyone swap tokens, provide liquidity or create markets onchain without an order book.
Constant product formula
The pricing rule x times y equals k, where x and y are the pool’s reserves and k is the product that trades must not reduce.
Liquidity provider (LP)
A user who deposits both tokens of a pair into a pool and earns a share of trading fees, while bearing the risk that the pool’s token mix moves against them.
Slippage and price impact
The gap between the price you expected and the average price you receive. Larger trades relative to pool depth move the price more.
Impermanent loss
The shortfall a liquidity provider suffers compared with simply holding the two tokens when their relative price changes.
Total value locked (TVL)
The dollar value of assets deposited in a protocol or chain’s contracts; it is not a measure of loans outstanding and moves with token prices.
Collateral
Assets a borrower deposits to secure a loan, which can be sold by liquidators if the loan becomes unsafe.
Loan-to-value (LTV)
Debt divided by collateral value, expressed as a percentage; 50 percent in the worked example.
Liquidation threshold
The collateral ratio at which a position becomes eligible for liquidation; 80 percent in the worked example.
Health factor
Collateral value weighted by the liquidation threshold, divided by debt. A value below 1 means the position can be liquidated.
Close factor
The fraction of a borrower’s debt that one liquidation may repay.
Liquidation bonus
The discount at which a liquidator buys collateral, which pays them for repaying the debt and is a cost to the borrower.
Oracle
A service that feeds external prices to smart contracts; if it relies on thin markets, it can be manipulated.
Admin key and multisig
Privileged credentials that can change a protocol’s settings or move funds; a multisig requires several signers to approve a change, and a timelock delays it.
Composability
The ability of DeFi protocols to plug into one another, which multiplies uses and also lets a failure travel between protocols.
Depeg
When a stablecoin trades away from its target price, often because its reserves or redemption process are doubted.
Liquid staking token
A token that represents staked assets, such as stETH, and can be used elsewhere in DeFi while the underlying stake keeps earning rewards.

Sources

  1. TokenPost: DeFi TVL falls 8.35% to $62.49 billion as Ink and Sky gain, December 4, 2026
  2. Wisevoter: DeFi Value Locked Falls to $62.49 Billion, December 4, 2026
  3. DefiLlama Wiki: Total value locked
  4. Uniswap Docs: How Uniswap Works
  5. Uniswap Docs on GitHub: How Uniswap Works (v2 constant product and 0.30 percent fee)
  6. Uniswap Blog: What is an Automated Market Maker?
  7. Aave Docs: Aave V4 Overview (health factor and liquidations)
  8. Aave Governance: Overview of Aave V4’s Liquidation Engine
  9. Aave DAO on GitHub: Aave v3.3 features (close factor redesign)
  10. Chainalysis: The Drift Protocol Hack, How Privileged Access Led to a $285 Million Loss, April 9, 2026
  11. TRM Labs: North Korean Hackers Attack Drift Protocol in USD 285 Million Heist, April 3, 2026
  12. Nexus Mutual: Drift Protocol Incident Report, April 9, 2026
  13. Crypto Coin Show: Drift Protocol Drained of $285 Million, April 1, 2026
  14. AMINA Bank: CLARITY Act September 2026, why the Senate vote failed
  15. Cryptopolitan: Four Republicans vote against the CLARITY Act as cloture fails 49-50, September 15, 2026
  16. The Crypto Times: CLARITY Act Fails 49-50 as SEC and CFTC Move Ahead, September 20, 2026

Disclosure: This guide is for education only and is not investment, legal or tax advice. DeFi protocols can fail, be exploited or be frozen, and you can lose all of the funds you deposit.

Frequently asked questions

what is defi in crypto

DeFi, short for decentralized finance, is a group of financial services such as lending, borrowing, trading and savings that run on public blockchains through smart contracts instead of banks or brokers. Users connect a self-custody wallet and interact with the code directly. As of December 2026, DefiLlama tracked about $63.5 billion of value locked across DeFi protocols.

is defi safe

Not in the way a insured bank account is safe. DeFi deposits have no government deposit insurance, and users carry risks from smart contract bugs, stolen admin keys, faulty price oracles, stablecoin depegs and phishing. Security firms reported at least $1.3 billion lost to DeFi exploits in the first eight months of 2026, with compromised keys the leading attack vector. Risk can be reduced with research and small positions, but it cannot be removed. This is education, not financial advice.

how do you make money with defi

People earn from four main sources: interest paid by borrowers to lenders, trading fees paid to liquidity providers on decentralized exchanges, staking rewards (including through liquid staking tokens), and temporary token incentives. Each carries its own risk, and a high advertised rate usually signals higher risk or a subsidy that can end. Rates change constantly, so check live figures rather than relying on any quoted number.

is defi legal in the us

Using DeFi is not illegal for individuals, but the rules are unsettled. As of December 2026 the US has no comprehensive DeFi law: the CLARITY Act passed the House in July 2025 but failed a Senate procedural vote 49 to 50 on September 15, 2026, and no new vote was scheduled. Existing securities, commodities, sanctions and tax rules can still apply to activity that touches DeFi.

what is the difference between defi and cefi

In CeFi (centralized finance), a company such as an exchange or lender holds your assets and can freeze accounts, lend your deposits or fail. In DeFi, you hold the assets in your own wallet and smart contracts enforce the terms, with no account to freeze but also no customer support or recourse if you make a mistake or a protocol is exploited.

do you pay taxes on defi

In the US, crypto is generally treated as property, and swaps, interest, staking rewards and other DeFi income can create taxable events. The details depend on the activity and your situation, so keep transaction records and see our guide on how staking and DeFi income are taxed in the US. This is general information, not tax advice.

This explainer is reviewed and updated as the rules and the market change. Last reviewed December 4, 2026. It is educational content and not financial, legal or tax advice.

Keep learning

CCS Insider · free, twice a week

Learn crypto twice a week

Plain-English explainers and founder interviews from CCS Insider.

Readers in 160+ countries. No spam, unsubscribe anytime.