In short: DeFi began with MakerDAO’s DAI in 2017 and Uniswap‘s automated market maker in 2018, exploded during the 2020 “DeFi summer” of token rewards, peaked at about US$178 billion in deposits in late 2021, and then shrank sharply through the 2022 collapses before a slower rebuild around liquid staking, stablecoins and tokenised assets. The key points:
- Most DeFi booms were driven by token incentives and faded when the rewards did.
- Hacks and bridge exploits have been a constant, and audits reduce but do not remove the risk.
- Many 2022 failures were centralised companies, not DeFi protocols.
- Deposits in DeFi remain well below their 2021 peak.
Ethereum’s overview of decentralised finance explains the basic building blocks, and DefiLlama tracks deposits across protocols over time. Moneysmart’s overview of crypto assets covers the risks of holding crypto, and ASIC’s guidance on digital assets explains how crypto services are regulated in Australia.
Decentralised finance, usually shortened to DeFi, is the attempt to rebuild lending, trading and other financial services as software that anyone can use without a bank or broker. In under a decade it has gone from a handful of experiments to a market that at its peak held well over US$100 billion in deposits, and then through boom, collapse and quiet rebuilding. Knowing how it got here is more useful than memorising the names of today’s protocols, because the same patterns keep repeating: generous incentives draw money in, hidden risks appear, something breaks, and the survivors improve. This guide walks through the milestones in order, from the first lending protocols to the state of the sector in 2026, and ends with what the record suggests for anyone considering DeFi. It is educational, not financial advice.
What Made DeFi Possible
DeFi only became possible once Ethereum arrived. Bitcoin could move value, but it could not easily run the complex rules that a loan or a trading market needs. Ethereum’s smart contracts changed that, because they let anyone publish a program that holds funds and follows fixed rules with no operator standing behind it. That is the basic idea behind decentralised finance: financial services built from contracts instead of companies.
The core promise: instead of trusting a company to hold your money and follow the rules, you trust code that anyone can inspect. That idea connects to the wider concept of programmable money, in which the rules for spending are built into the money itself. The trade-off, which the rest of this history illustrates, is that bugs in that code can be just as final as the code’s successes.
The First Building Blocks (2017 to 2018)
The earliest DeFi products appeared before the word was in common use. MakerDAO launched on Ethereum in late 2017, letting people lock up ether as collateral and borrow a token designed to hold the value of a dollar. That token, later known as DAI, became the first widely used decentralised stablecoin. Around the same time, early decentralised exchanges such as EtherDelta let people trade tokens directly from their wallets, although they were slow and clumsy by today’s standards.
In 2018 two designs appeared that would shape everything after them. Compound created pooled lending, in which users deposit assets to earn interest and others borrow against collateral at rates set by an algorithm. Uniswap, launched in November 2018 by developer Hayden Adams, replaced the traditional order book with a formula and a pool of tokens. Its approach, the automated market maker, let anyone provide liquidity by depositing assets into a liquidity pool. Aave, which began life as a peer-to-peer lending project called ETHLend, moved to the pooled model soon after.
2019 to Early 2020: A Small, Quiet Sector
For the following year, DeFi remained small and mostly of interest to developers. The amount of money deposited in it, known as total value locked, was well under US$1 billion. It was a period of quiet experimentation, and several ideas that later became major markets took shape, including synthetic assets, tokens that track the price of something else, and platforms such as Synthetix built around them.
In February 2020 the first widely reported flash loan attacks showed a new kind of risk. Flash loans let anyone borrow enormous sums with no collateral as long as the loan is repaid within a single transaction, and attackers used them to manipulate prices and drain protocols. They demonstrated that a system built out of interlocking pieces, each safe on its own, can be unsafe in combination.
DeFi Summer (2020)
On 15 June 2020 Compound began distributing its own governance token, COMP, to people who used the protocol. The idea of paying users in tokens for lending and borrowing set off a chain reaction that became known as DeFi summer. Within months, deposits across DeFi grew from under US$1 billion to over US$10 billion, and the practice of moving money between protocols to chase the best rewards became known as yield farming. The underlying incentive, paying users in tokens for supplying liquidity, is called liquidity mining.
It was a period of extraordinary creativity and equally extraordinary recklessness. Yearn Finance automated the hunt for yield, and SushiSwap copied Uniswap and then lured away its liquidity in an episode that became known as a vampire attack. Many farms offered returns that were unsustainable, and the gap between advertised and real earnings, including the difference between APY and APR, is why it pays to calculate real returns. Providers of liquidity also learned about impermanent loss, a hidden cost that can leave you worse off than simply holding the tokens.
Governance in practice: DeFi summer also popularised the idea that protocols should be run by their users through governance tokens and decentralised autonomous organisations. In practice, voting power often concentrated in a small number of large holders, a tension that still runs through the industry.
The 2021 Peak and the Multi-Chain Era
In 2021 DeFi’s total value locked climbed to a peak of roughly US$178 billion by common tracker measures, helped by a rising market and the arrival of new users through NFTs and other trends. Uniswap released its third version, Uniswap v3, which let liquidity providers concentrate their funds within chosen price ranges. New blockchains such as Solana, Avalanche and BNB Chain competed with Ethereum for activity, and cheaper networks built on top of it, known as Layer 2 solutions, began to draw users away from high fees.
The spread across many chains created a new need and a new target. Cross-chain bridges that moved assets between networks held huge sums and proved to be among the easiest things to hack. The Poly Network exploit in August 2021 saw more than US$600 million taken, most of which was later returned, and the Ronin bridge attack in March 2022 cost users more than US$600 million. Tokens that represent assets on other chains, known as wrapped assets, added an extra set of wrapped-asset risks.
Trading sophistication rose too. Decentralised perpetual exchanges such as GMX brought leveraged trading on-chain, and problems such as the sandwich attack and other forms of MEV showed that public transactions could be exploited before they were even confirmed.
The 2022 Collapse
The turning point came in May 2022, when the algorithmic stablecoin TerraUSD lost its peg and, together with its sister token LUNA, collapsed in days, wiping out tens of billions of dollars in the Terra and LUNA collapse. It exposed the risks of algorithmic stablecoins. The damage spread into lenders and funds that had bet on Terra, and the centralised lender Celsius froze withdrawals a few weeks later.
A distinction worth keeping: the failures of 2022 were a mix of poorly designed protocols and old-fashioned centralised companies that borrowed customers’ funds. When FTX collapsed in November 2022, it was a centralised exchange, not a DeFi protocol, and most DeFi protocols kept operating as designed. That difference is a reason many investors moved toward self-custody and away from custodial platforms, using DeFi wallets instead of exchange wallets.
The same year brought a regulatory shock. In August 2022 the US sanctioned the privacy tool Tornado Cash, raising the question of whether software that anyone can use can be treated as a regulated entity. In November 2024 a US appeals court ruled that Tornado Cash’s unchangeable smart contracts could not be sanctioned, and the Treasury lifted the sanctions in March 2025, but the legal debate over developers’ responsibility continues.
Rebuilding: Liquid Staking, Real Yield and Better Security (2023)
After the crash, deposits fell sharply and the industry shifted its focus. Users began to ask where a protocol’s returns actually came from, and the idea of real yield, meaning returns paid from genuine fees rather than newly issued tokens, became fashionable. Liquid staking grew rapidly after Ethereum enabled staking withdrawals in April 2023, and Lido became the largest single protocol in DeFi for a time. Stablecoin trading depended heavily on Curve, whose own turbulence in 2023, caused by a bug in a programming tool used by some of its pools, illustrated how far a single flaw can spread.
Security practices improved. Audits, bug bounties and insurance products became more common, and users learned to check a protocol’s safety before committing money, to read protocol audits and to consider decentralised insurance. Even so, hacks continued, and the long list of famous DeFi hacks is a useful reminder that audits reduce but do not remove the risk.
New Designs: Synthetic Dollars, Yield Trading and On-Chain Derivatives (2024)
As markets recovered in 2024, new designs drew attention. Ethena launched a synthetic dollar backed by crypto and offset by short positions, offering high yields that depend on market conditions. Pendle let people trade the future yield of an asset separately from the asset itself. On-chain derivatives venues such as Hyperliquid gained a large share of perpetual trading. Cheaper transactions on Layer 2 networks after Ethereum’s Dencun upgrade in March 2024 made small trades affordable for the first time in years.
Another trend was the arrival of traditional finance. Large asset managers began issuing tokenised versions of funds that hold US Treasury bills, part of the wider rise of tokenised assets. The argument is that the tools built by DeFi could eventually run parts of the regulated system, and even replace parts of banking.
DeFi in 2025 and 2026
In July 2025 the United States passed its first federal law for payment stablecoins, the GENIUS Act, and stablecoins became the sector’s most important product, a change visible in the role stablecoins play across DeFi. The sector continued to consolidate around a smaller number of larger protocols, with lending, decentralised trading, liquid staking and stablecoin issuers generating most of the real revenue.
Measurements of the sector’s size in 2026 vary widely between data providers, depending on how they count assets and which chains and protocols they include, so treat any single figure with caution. Most trackers show total value locked well below its 2021 peak: DefiLlama put it at about US$66 billion in November 2026, against roughly US$178 billion in November 2021. The current state of DeFi is still led by a handful of popular protocols, and anyone who wants to compare data sources can use DeFiLlama and various DeFi dashboard tools.
What the History Tells Investors
Incentives are not returns: almost every DeFi boom was fuelled by rewards paid in new tokens, and almost every one faded when the rewards did. Before putting money in, understand the risks of DeFi investing and work out where the yield genuinely comes from.
Composability cuts both ways: the ability of protocols to plug into each other is what makes DeFi powerful, and also what allows one failure to spread. A position that looks safe on its own may depend on three other systems working perfectly.
Tax and record-keeping matter: in Australia, every swap, reward and liquidity deposit can be a tax event under the DeFi tax rules, and LP tokens and borrowing against collateral each raise their own questions. The investment case for DeFi tokens is a separate question from using the protocols.
Key Takeaways
DeFi’s history runs from MakerDAO and Uniswap through the boom of DeFi summer, the peak of 2021 and the collapses of 2022, to a smaller and more mature sector in 2026 that increasingly overlaps with stablecoins and tokenised assets. Each phase produced real innovation, but each was also driven by incentives that proved temporary, and each ended in losses for the people who arrived last.
For an investor, the practical lessons are to understand where a return comes from, to assume that code can fail, to keep records for tax and to size any DeFi exposure as money you can afford to lose. The technology has earned a place in finance, but the history shows that trusting it blindly is a much older mistake than the technology itself.