S&P 500 7,431.46 ▲ 0.5%Dow Jones 51,202.26 ▲ 0.7%Nasdaq 25,888.84 ▲ 0.31%BTC $63,454 ▲ 1.1%ETH $1,672 ▲ 1.0%EUR/USD 1.1567Inflation 4.2% YoYLive market data
Advanced Learning Academy crestA Division ofAdvanced Learning Academy

DeFi Explained: How It Works and What Can Go Wrong

Decentralized finance rebuilds lending, trading, and interest-earning as software with no bank in the middle. The technology is genuinely clever. The casualty list is genuinely long. Here is both halves, in plain English.
DeFi Explained: How It Works and What Can Go Wrong

Key takeaways

Somewhere right now, a piece of software with no employees is holding several billion dollars of other people's money, paying interest to thousands of lenders, issuing loans to thousands of borrowers, and liquidating the ones whose collateral slipped, all without a single human approving anything. That is DeFi, short for decentralized finance, and depending on who is describing it, it is either the future of banking or a casino built on a fault line. Both descriptions are earned. The technology is genuinely remarkable: open to anyone, running around the clock, doing in seconds what settlement systems do in days. The loss record is also genuinely remarkable: billions stolen in hacks, a $40 billion collapse that took five days, and a tax situation that can turn a hobby into a filing nightmare. This guide explains how the machine actually works, where the advertised yields really come from, and exactly how people get hurt, so that whatever you decide about DeFi, you decide it with your eyes open.

What DeFi actually is

Strip away the jargon and DeFi is one idea: take the functions a bank or brokerage performs, holding deposits, making loans, exchanging assets, paying interest, and rebuild each one as a smart contract, a program on a public blockchain that holds funds and enforces rules automatically. We explain smart contracts from scratch in our Ethereum guide; the one-line version is that they are vending machines for financial agreements. Money goes in, rules execute, money comes out, and no one can call the manager because there is no manager.

The differences from a bank follow directly. There is no application, no business hours, no minimum balance, and no geography; anyone with a wallet and an internet connection gets the same machine on the same terms. There is also no deposit insurance, no fraud department, no password reset, and no discretion: the code does what it does, including when what it does is drain your account because you signed something malicious. Every consumer protection you have stopped noticing, because banking made it invisible, is absent. That trade, capability for protection, is the entire genre in one sentence.

The building blocks, in plain English

Decentralized exchanges, or DEXs. The flagship invention. Instead of matching buyers with sellers like the New York Stock Exchange, the dominant design uses pools: a contract holds a pile of two tokens, and a formula moves the price along a curve as people trade against the pile. Anyone can deposit into the pool and earn a slice of the trading fees, becoming, in effect, a tiny market maker. The largest DEXs process billions of dollars of volume and have run for years without their core contracts failing, which is the strongest evidence the model works.

Lending markets. Contracts where depositors supply assets to earn interest and borrowers take loans against crypto collateral. Because no one runs credit checks, every loan is overcollateralized: post $150 of ether, borrow at most $100 of stablecoins, and if your collateral's value slides toward the loan amount, the contract sells it automatically. It is a pawnshop that never sleeps, and the design has survived multiple crashes that bankrupted its human-run competitors.

Stablecoins. The dollar-pegged tokens that serve as DeFi's cash leg, covered fully in our stablecoins guide. Most trading and lending ultimately quotes against them.

Staking and liquid staking. Locking ether to secure the network earns low-single-digit rewards, and liquid staking protocols issue a token representing your staked position so it can keep circulating. Convenient, popular, and one more contract layer that has to work perfectly.

One more orientation point: the large majority of DeFi activity lives on Ethereum and its layer 2 networks, which means ether is both the fuel you spend on every transaction and the collateral underneath much of the system. The live chart below is therefore a rough pulse of the neighborhood. When ether swings hard, collateral values, liquidations, and lending rates across DeFi swing with it.

What DeFi genuinely gets right

Before the casualty list, fairness requires the other column, because DeFi is not popular by accident. The first virtue is transparency. A bank's balance sheet is a quarterly press release; a DeFi protocol's balance sheet is a public database anyone can audit in real time, every loan, every reserve, every flow. When FTX collapsed in 2022, the hole in its books had been growing invisibly for years behind a corporate wall. Nothing in DeFi can hide that way, which is why analysts watched the major lending protocols process the chaos of that same year in full public view, liquidating bad positions automatically and never missing a withdrawal.

The second virtue is composability, the engineering property the industry calls money legos. Because every protocol is open software on a shared platform, anyone can plug them together: a new app can route trades through existing exchanges, borrow rates from existing lenders, and settle in existing stablecoins on day one, without signing a single partnership agreement. This is why innovation in the space moves at a pace traditional finance cannot match, for better and frequently for worse.

The third is access. A protocol cannot ask where you live, what you earn, or whether your local banking system works. For Americans with mature banks, that is a curiosity. For savers in countries with collapsing currencies or excluded populations, dollar-denominated savings and global payments from a phone are a materially bigger deal, and that demand, not yield farming, is the most durable thing the technology has demonstrated.

Where the yields actually come from

DeFi marketing leads with percentages, so this section deserves its own heading. Every yield has a payer, and there are only three honest sources. Trading fees: liquidity providers earn the small fee charged on each swap, which is real revenue that scales with volume. Borrower interest: lenders earn what borrowers pay, mostly traders borrowing stablecoins against crypto to lever up, which is why lending rates spike in manic markets and sag in quiet ones. Protocol issuance: staking rewards on proof-of-stake networks, paid from the network's own controlled inflation plus fees.

Everything beyond those three is some flavor of token printing: projects minting their own governance tokens and showering them on depositors to advertise a spectacular rate. The yield is real only for as long as the token holds value, and the history of farm tokens is a history of charts that look like ski slopes. The discipline that protects you is asking one question of every advertised number: who is paying this, and why? Fees from real volume and interest from real borrowers are business models. Triple-digit rates paid in a token the protocol invents are marketing budgets, and the people who arrive late to a marketing budget are the budget.

The casualty list: how DeFi actually hurts people

Now the half of the story the yield dashboards skip. None of what follows is hypothetical; every category has a body count measured in billions.

DeFi is not the thing that failed in 2022 (mostly)

One distinction saves a lot of confused arguments. The most famous crypto collapses of 2022, FTX, Celsius, Voyager, BlockFi, were not DeFi. They were centralized companies, CeFi in industry shorthand, that took customer deposits behind closed doors, promised yields, and did unrecorded things with the money, the oldest financial failure pattern in existence wearing a crypto costume. Their customers were unsecured creditors in bankruptcy court, exactly as if a 1920s bank had failed.

The actual DeFi protocols ran through that same storm exactly as written: positions got liquidated, lenders got repaid, and the software neither froze withdrawals nor filed for Chapter 11, because it cannot. That is a genuine point for the technology, and it comes with two honest caveats. First, DeFi has its own distinct failure modes, the hacks and design collapses cataloged above, so this is a different risk profile, not a smaller one. Second, the line is blurring from both directions, as centralized exchanges offer DeFi access and DeFi front ends add corporate gatekeepers. The test that matters is never the marketing label. It is whether you can verify where the money is, or whether you are trusting someone's word for it.

Impermanent loss: the trap built into the nice option

One risk deserves its own section because it snares people who did everything else right. Providing liquidity to a DEX pool sounds like the responsible, fee-earning choice. But remember what the pool does: it automatically sells whichever asset is rising to buy whichever is falling, because that is what standing ready to trade means. If the two assets diverge sharply, your share of the pool becomes worth less than if you had simply held the same coins in a wallet. The gap is called impermanent loss, a gentle name for a real cost: in a pool of two assets where one doubles and the other stays flat, the divergence costs you about 5.7 percent versus just holding, before fees claw any of it back. Pools of correlated assets, like two stablecoins, keep the effect tiny; pools of volatile, unrelated assets can see fees lose the race badly. The lesson is not that liquidity providing is a scam. It is that the yield number on the pool is not your return, and the difference has bankrupted more spreadsheets than any hack.

Five questions that filter out most disasters

Whatever the protocol, the same short interrogation catches the majority of trouble before it starts. First, who is paying the yield, and with what? If the answer is trading fees or borrower interest, you are looking at a business; if it is a token the project prints, you are looking at an advertisement. Second, how long has this exact contract held serious money? Age under fire is the only credential that cannot be bought, and a fork of a famous protocol launched last month has none of the original's history. Third, what can the administrators do? Some protocols have admin keys that can upgrade contracts or pause funds, which is a trust assumption the marketing rarely mentions; the serious ones publish exactly what their keys can and cannot touch. Fourth, what happens to your position in a crash? Find the liquidation rules and the depeg behavior before the volatile week, not during it. Fifth, can you explain the position to another adult in two sentences? Genuinely, this is the strongest filter on the list. The strategies that end in wreckage are almost always the ones their owners could not explain, and the inability to explain a yield is the market's way of telling you the yield is the bait.

DeFi and the tax office

The IRS treats digital assets as property, and DeFi generates property transactions at a comical rate. Every swap is a sale with a capital gain or loss. Most rewards are income at the moment you receive them. Wrapping, unwrapping, and pooling tokens create events that even professionals classify differently. An active month of DeFi can produce more taxable lines than a year of stock trading, and since brokers now issue Form 1099-DA while DeFi protocols issue nothing, the bookkeeping is entirely yours. If you intend to do more than dabble, budget for crypto tax software from day one and read our crypto tax guide before, not after, the experimenting begins.

If you are going to try it anyway

Curiosity is legitimate; the technology is more instructive to touch than to read about. The guardrails below will not make DeFi safe, but they separate an education from a casualty report.

The amount rule does the heaviest lifting: use only money whose total loss you can shrug off, full stop. Stick to protocols that have operated for years holding billions, since survival under attack is the only audit that cannot be faked. Interact from a hardware wallet, read every signature before approving, and revoke stale approvals quarterly using a reputable revocation tool. Favor layer 2 networks where fees are cents, so mistakes are cheap. And accept going in that the most likely outcome of chasing any spectacular yield is becoming the yield for someone faster.

What a first session actually feels like

For the curious, here is the texture of a careful first experiment, so nothing surprises you. You set up a fresh wallet, write down its seed phrase properly, and fund it from an exchange with $75 sent over a layer 2 network, where the transfer costs cents. The first thing you notice is the silence: no welcome email, no dashboard, just a balance. At a long-established DEX, you swap $25 of stablecoins for ether, and the wallet shows you the machine-language truth of what you are signing before you approve it. The trade settles in seconds, and you can immediately find it on a public block explorer, your transaction sitting in the global record between a million-dollar transfer and someone's gaming purchase, treated identically.

Then you deposit $25 of stablecoins into a major lending protocol and watch your balance accrue interest, not monthly like a bank, but continuously, a few millionths of a dollar per minute, visible if you refresh. A week later you withdraw, swap back, note the round trip cost you a few cents in fees plus a small spread, and export the half-dozen taxable events for your records. Total tuition: under a dollar in costs and an evening of attention, in exchange for an understanding of the machinery that no article, including this one, fully delivers. That, scaled with extreme caution or not scaled at all, is the reasonable version of participation.

DeFi compresses a century of financial concepts into unaudited code, which makes financial literacy the real entry fee. The Financial IQ Test tells you honestly whether you have paid it yet.

The bottom line

DeFi is the most ambitious thing happening in crypto: open financial machinery that anyone can inspect and no one can close, already moving real volume at real scale. It is also a frontier with the safety culture of a frontier, where the same openness that lets anyone build lets anyone build a trap, and where the cost of a mistake is permanent by design. For most readers, the right engagement level is informed spectating, and for the curious, a small, hardware-secured, tax-tracked experiment on the oldest protocols is a reasonable education. What DeFi is not, anywhere on its surface, is a savings account, and every number on its dashboards should be read with the question that protects you everywhere in finance: who is paying me, and why?

Knowledge is the only real hedge

Crypto punishes guesswork faster than any market on Earth.

Volatility is survivable. Not knowing what you own is not. The Financial IQ Test measures your actual money knowledge, from market basics to risk math, so your conviction is built on understanding instead of a feed full of hype.

Test your Financial IQ
The Financial IQ Test is built by our parent company, Advanced Learning Academy. Same family, same standards.

Questions people ask

Is DeFi legal in the United States?

Using DeFi protocols is not illegal for U.S. individuals, but the regulatory perimeter is genuinely unsettled and has shifted repeatedly. Some protocols and front-end websites restrict U.S. users, regulators have brought actions against specific projects, and your tax obligations apply in full regardless of how decentralized the venue is. Treat the legal picture as evolving, and expect platforms to come and go from U.S. availability.

What is impermanent loss, in the simplest terms?

When you deposit two assets into a trading pool, the pool automatically sells the one that rises to buy the one that falls, because that is what facilitating trades means. If prices diverge a lot, your share of the pool ends up worth less than if you had just held the two assets in a wallet. Trading fees are supposed to compensate for this, and sometimes they do. The loss is called impermanent because it shrinks if prices converge again, but if you withdraw while they are diverged, it is just a loss.

Are audited protocols safe?

Safer, not safe. An audit is a code review by a security firm, and serious protocols undergo several, but audited contracts have still been drained through logic the auditors missed, through unaudited upgrades, or through connected systems like oracles and bridges. Years of operation holding billions without incident is meaningful evidence. A PDF badge on a website is not.

How is DeFi taxed?

Aggressively and confusingly. The IRS treats digital assets as property, so every swap of one token for another is a sale with a gain or loss to calculate, and most reward income is taxable when received. A modestly active DeFi user can generate hundreds of taxable events in a year, which is why crypto tax software has become standard equipment. Our crypto tax guide covers the details.

Can I earn safe yield in DeFi on stablecoins?

You can earn yield; the word safe does not apply anywhere in DeFi. Stablecoin lending on the largest protocols has historically paid rates in the low-to-mid single digits, and the depositors bear smart contract risk, depeg risk, and platform risk that a Treasury bill simply does not have. When DeFi stablecoin yields tower above Treasury yields, that gap is the price of those risks, not a free lunch.

Do I need a lot of money to try DeFi?

No, and you should not bring a lot. On layer 2 networks, transaction fees are typically cents, so $50 to $100 is enough to walk through a swap and a lending deposit end to end. The learning is the point of a first experiment. Scale, if it ever makes sense for you, should come only after the taxes, the risks, and your own operational habits have been tested at toy size.

Sources: SEC Investor.gov: Crypto Assets spotlight · CFTC: Learn and Protect, customer education on virtual currencies · FTC: What to know about cryptocurrency and scams · IRS: Digital assets · FDIC: Deposit insurance (what is and is not covered)
Just so you know: DollarFlourish is an educational publisher, not a financial, tax, or investment advisor. Numbers and rates change. Verify anything important with a licensed professional before acting on it. Some links on this site may earn us a commission at no cost to you. See how we review.

Keep reading

The Flourish Letter

One smart money idea each week, charts included. Join free and get the printable 2026 Money Calendar in your welcome email.