Decentralized Finance (DeFi)

Decentralized finance (DeFi) is an open system of financial services, such as trading, lending and borrowing, run by smart contracts on public blockchains rather than by banks, brokers or other intermediaries.

DeFi applications are smart contracts deployed on a blockchain. Ethereum introduced the idea, and many other networks now support it. Users connect a self-custody wallet and interact with these contracts directly. The code holds deposited funds and enforces the rules automatically, and every transaction is recorded publicly on-chain. Because the contracts are open, one protocol can plug into another, a property known as composability.

This matters because DeFi markets are always open, and no central authority can block payments or deny access to a service. In traditional finance, customers have to trust companies not to mismanage their money, for example by lending it to risky borrowers. DeFi replaces much of that trust with code anyone can inspect. Users keep control of their own assets until they choose to commit them to a contract.

A common example is a lending protocol. One person deposits a stablecoin and earns interest paid by borrowers. A borrower must lock up collateral worth more than the loan, and if its value falls too far, the contract can liquidate it automatically to repay lenders. Another example is swapping one token for another on a decentralized exchange, where an automated market maker sets prices instead of an order book.

A frequent misconception is that decentralized means safe. Smart contracts can contain bugs that attackers exploit, price oracles can be manipulated, and scams such as rug pulls are common. Some projects also keep admin controls, so how decentralized they really are varies. Transactions are usually irreversible, and there is typically no customer support or deposit insurance.

Learn more

Related terms