---
title: "What is decentralized finance (DeFi)? Definition and examples"
description: "Decentralized finance (DeFi) is financial services such as trading, lending and borrowing that run as smart contracts on a blockchain instead of through a…"
canonical: "https://finic.ai/glossary/defi"
last-updated: "2026-12-03"
---

# What is decentralized finance (DeFi)?

Decentralized finance (DeFi) is financial services such as trading, lending and borrowing that run as smart contracts on a blockchain instead of through a bank or broker.

Also called: DeFi

## How it works

DeFi protocols are sets of [smart contracts](https://finic.ai/glossary/smart-contract) that hold funds and follow fixed rules. A user connects a [crypto wallet](https://finic.ai/glossary/crypto-wallet), approves the contract to use some tokens, and then trades, lends or deposits without an account at a company.

Common building blocks include decentralized exchanges that use pools of liquidity instead of order books, lending markets that require collateral, and yield products that combine several protocols.

## Fraud and risk angle

Because anyone can deploy a contract, DeFi has a high rate of low-quality and malicious projects. Risks include code bugs, manipulated price feeds, admin keys that allow a team to take funds, and outright [rug pulls](https://finic.ai/glossary/rug-pull).

Users also face approval risk. Many DeFi actions require a token approval, and phishing sites copy real protocol interfaces to collect approvals that let an attacker drain the wallet later.

## Compliance questions

Most DeFi protocols do not collect identity data, which makes them harder to fit into [AML](https://finic.ai/glossary/aml) frameworks built around intermediaries. Regulators in many places are still deciding how rules apply to front ends, developers and governance token holders.

For a regulated business, the practical question is often exposure: whether deposits or withdrawals connect to protocols, pools or addresses that are linked to hacks, sanctions or mixing.

## Warning signs in a DeFi project

- Yields that are very high and are not clearly explained.
- Anonymous team with full control over contracts and no time locks.
- No public code or no independent review of the code.
- Pressure to deposit quickly before a deadline.

## Related terms

- [Solana (SOL)](https://finic.ai/glossary/solana.md): Solana is a proof-of-stake blockchain with smart contracts, which it calls programs. Its native asset is SOL, and it is not EVM compatible.
- [Yield farming](https://finic.ai/glossary/yield-farming.md): Yield farming is the DeFi practice of putting crypto assets into protocols, such as lending pools or liquidity pools, to earn rewards like fees, interest or new tokens.
- [Smart contract](https://finic.ai/glossary/smart-contract.md): A smart contract is a program stored on a blockchain that runs automatically when called, holding and moving assets according to its code.
- [Rug pull](https://finic.ai/glossary/rug-pull.md): A rug pull is a crypto scam in which the creators of a token or project attract investors' funds and then take those funds and disappear.
- [Approval phishing](https://finic.ai/glossary/approval-phishing.md): Approval phishing tricks a crypto user into granting an attacker permission to spend their tokens, so the attacker can take them later without the user's keys.
- [Centralized exchange (CEX)](https://finic.ai/glossary/centralized-exchange.md): A centralized exchange (CEX) is a company that runs a platform for buying, selling and holding crypto, keeps customer funds in custody and matches trades on its own systems.
- [Blockchain analytics](https://finic.ai/glossary/blockchain-analytics.md): Blockchain analytics is the practice of studying public blockchain data to trace funds, group addresses by owner, and spot links to crime, sanctions or high-risk services.
