Decentralized finance, usually shortened to DeFi, is a set of financial services such as trading, lending and borrowing that run as automated software on a blockchain rather than through a bank, broker or exchange company. The Bank for International Settlements (BIS), the central banks’ own bank, describes it as providing “financial services without centralised intermediaries.”
That description is accurate but incomplete. This guide explains the moving parts, walks through a loan with illustrative numbers, and sets out where the risks sit and what regulators have said so far.
What is decentralized finance (DeFi) in plain terms?
In ordinary finance, an institution stands in the middle of a transaction. A bank checks your identity, holds your deposit, decides whether to lend to you and keeps the records. DeFi tries to replace that middle layer with rules written as code.
The code is called a smart contract: a self-executing program stored on a blockchain, which is a shared ledger copied across many computers (our explainer on blockchain covers the basics). According to the BIS, blockchains such as Ethereum host smart contracts that run pre-set rules and allow more complex agreements than simple payments. Anyone with a compatible wallet can usually interact with them, which is why DeFi is often called “permissionless.”
Users normally keep their assets in their own wallet (see how crypto wallets work), and the “rules” are whatever the code says, with no help desk to reverse a result.
How does DeFi work? The main building blocks
The BIS, in its December 2021 Quarterly Review, breaks the ecosystem into layers. The labels below follow that description.
| Layer | What it does | Example of how it works |
|---|---|---|
| Blockchain infrastructure | Runs smart contracts and records transactions | A network such as Ethereum |
| Stablecoins | Crypto tokens designed to hold a fixed value, mostly against the US dollar | Move value between platforms without swinging in price |
| Trading | Swaps one token for another | Decentralized exchanges use automated market makers |
| Lending | Lets users borrow against deposited assets | Loans are generally overcollateralized |
| Investment | Pools funds and shifts them between platforms | “Decentralised portfolios” chase better yields |
Decentralized exchanges and automated market makers
A traditional exchange matches buyers and sellers through an order book. A decentralized exchange (DEX) typically uses an automated market maker (AMM) instead. The BIS explains that AMMs price assets using formulas based on the quantities of tokens in a pool. People who supply tokens to a pool, called liquidity providers, earn fees, but they can suffer what is known as “impermanent loss,” a shortfall that arises when the pool’s prices move compared with simply holding the tokens.
Stablecoins as the plumbing
Stablecoins act as the common currency of DeFi. Some are run by a central issuer, while others, such as DAI, are managed on-chain with overcollateralized crypto reserves, according to the BIS. Their design matters because a loss of confidence can spread through the system, as we explain in what happens when a stablecoin loses its peg.
How does a DeFi loan work? A worked example
DeFi lending is usually overcollateralized: a borrower must lock up assets worth more than the loan. The BIS notes that these loans are automatically liquidated if the collateral falls below a threshold.
The following numbers are purely illustrative and do not describe any real protocol.
- A borrower deposits tokens worth $15,000 into a lending smart contract.
- The borrower takes out a loan of $10,000 in a stablecoin. The collateral is worth 150% of the loan ($15,000 divided by $10,000).
- The protocol sets a liquidation threshold at 120% of the loan, which is $12,000 of collateral.
- If the deposited tokens fall in price by 20%, their value becomes $12,000 ($15,000 times 0.8). The ratio is now exactly 120%.
- Below that point, the contract allows a third party to repay part of the loan and take the collateral at a discount. No bank manager reviews the case, and no phone call is made.
The code reacts to price data, so a sharp fall can trigger a forced sale before the borrower adds collateral.
What are flash loans and why do they matter?
A flash loan is a loan with no collateral that must be repaid within the same blockchain transaction. The BIS says arbitrageurs, who profit from small price differences between markets, use them. If the loan is not repaid inside that single transaction, the whole thing is cancelled as if it never happened.
The same tool can be misused. The BIS lists manipulation through flash loans among the market-integrity concerns in DeFi, and it cites a $27 million loss in an October 2020 exploit of a protocol called Harvest.
Is DeFi really decentralized?
Often less than the name suggests. The BIS argues in what it calls the “decentralisation illusion” that full decentralization is not achievable. Code cannot anticipate every situation, so decisions still have to be made about upgrades and settings. In practice those decisions usually fall to holders of governance tokens, which are tokens that give voting rights over a protocol. The BIS also observes that proof-of-stake systems can concentrate influence among large holders, and that insiders often receive large token allocations.
This matters for two reasons. For users, a protocol with an administrator key or a small group of decision-makers carries a different risk from one with no such control. For regulators, those control points are where rules can attach.
What are the main risks of DeFi?
The BIS review identifies several, and later research has kept returning to them.
- Leverage and procyclicality. Borrowed funds can be reused as collateral, and forced selling can push prices down further. The BIS says “high leverage in crypto markets exacerbates procyclicality,” meaning that booms and busts reinforce each other.
- No shock absorbers. The BIS states that “there are no shock absorbers in DeFi that can cut in during stress periods.” A bank can lean on central bank facilities and deposit insurance; a DeFi protocol relies only on its collateral.
- Code and governance errors. The BIS cites a $90 million erroneous reward distribution at the lending protocol Compound in October 2021, caused by a software update.
- Market abuse and crime. The BIS lists front-running, wash trading and limited anti-money-laundering and know-your-customer coverage as exposures.
- Scams that borrow DeFi’s vocabulary. Fake “yield” platforms and counterfeit apps exploit the same terms, and our guide to crypto scams and red flags shows the patterns to look for.
As of its 2021 review, the BIS judged DeFi to be mostly self-contained and speculative, with limited effects on the wider financial system. It reported roughly $20 billion in outstanding lending on major platforms at the time, and said decentralized exchanges handled less than 10% of crypto exchange volume. Those are late-2021 snapshots and should not be read as current figures.
How do regulators treat DeFi today?
There is no single global rulebook, and approaches differ by country. Two points of principle recur.
The BIS suggests that established principles of “same risks, same rules” could guide oversight, applying existing standards to activities that look like lending, trading or brokerage regardless of the technology. A separate BIS working paper notes that DeFi’s permissionless, pseudonymous design makes tax compliance, anti-money-laundering enforcement and prevention of misconduct harder.
In the United States, one concrete step came from the staff of the Securities and Exchange Commission (SEC). In a statement dated April 13, 2026, the Division of Trading and Markets said it would not object if providers operate certain “covered user interfaces” without registering as broker-dealers. These are websites, browser extensions or apps that help users make user-initiated transactions in crypto asset securities through their own self-custodial wallets. The position comes with conditions: the provider must not solicit investors to make specific transactions, must charge a fixed fee rather than take payment for order flow, must disclose any affiliated trading venue and must say prominently that it is not registered with or regulated by the SEC in this role. It does not cover providers that hold user funds, execute or settle trades, make recommendations or route orders.
This is a staff statement, not a commission rule or a law. It says it will be considered withdrawn five years after April 13, 2026, absent action by the Commission. Its status after today should be checked on the SEC’s website. Rules in other jurisdictions, including the European Union, are still developing and can change quickly.
Common mistakes and misconceptions
“No intermediary means no risk.” The risk moves from a company to code, governance and price data. A bug or a manipulated price can cost users money with no one obliged to compensate them.
“Anyone can use it, so it is simple.” Permissionless access is not the same as ease of use. Mistyped addresses, unlimited token approvals and fake websites are everyday ways to lose funds, and transfers on a blockchain generally cannot be reversed.
“High yields are free money.” Returns come from somewhere, such as borrowers’ interest, trading fees or newly issued tokens. A yield that is far above what the underlying activity could pay deserves scrutiny.
“DeFi is outside the law.” Taxes, sanctions rules and anti-fraud laws can still apply to people who use or run these services. What applies depends on where you live, how the service is built and the date, since the BIS figures above are from 2021 and the SEC statement is interim.
DeFi in one frame: automation without a safety net
DeFi swaps human intermediaries for code. That can lower costs and open services to anyone with a wallet, but it also removes the cushions that traditional finance relies on: customer support, reversals, deposit insurance and an accountable counterparty. Central bank researchers see real governance control points behind the decentralized label, and regulators are still deciding how existing rules should apply. Understanding the mechanics, from collateral ratios to liquidation triggers, is the best way to see what the technology does and does not promise.
This is general information, not financial, investment, tax or legal advice.
Sources: Bank for International Settlements; US Securities and Exchange Commission



