Flash Loan
Quick Definition
An uncollateralized loan in DeFi that must be borrowed and repaid within a single blockchain transaction, enabling complex arbitrage and liquidation strategies with zero capital.
What Is Flash Loan?
A flash loan is a unique DeFi primitive that allows users to borrow unlimited amounts of cryptocurrency without collateral, provided the entire loan is repaid within the same blockchain transaction. If the borrower cannot repay by the end of the transaction, the entire operation reverts as if it never happened — the blockchain's atomic transaction property guarantees the lender faces zero risk.
Flash loans enable strategies previously reserved for well-capitalized institutions: arbitrage across exchanges (buying cheap on one DEX and selling higher on another), collateral swapping in lending protocols (changing collateral without closing positions), self-liquidation (paying off loans more efficiently), and complex multi-step DeFi interactions. A single flash loan transaction might interact with 5-10 different protocols in a chain of operations.
However, flash loans have also been used extensively in protocol attacks. Attackers use flash-borrowed funds to manipulate price oracles, drain liquidity pools through economic exploits, or execute governance attacks. Major incidents include the $130M Cream Finance exploit and numerous smaller attacks totaling hundreds of millions in losses. This has driven improvements in oracle design (time-weighted average prices), protocol security audits, and economic attack modeling. Flash loans represent one of crypto's most powerful and double-edged innovations — democratizing access to capital while creating new attack vectors.
Flash Loan Example
- 1A developer executes a flash loan of $10 million USDC from Aave, uses it to buy ETH cheaply on Uniswap, sells the ETH at a higher price on SushiSwap, repays the $10 million plus a 0.09% fee to Aave, and keeps the profit — all within a single transaction lasting seconds, with zero upfront capital.
- 2An attacker flash-borrows $50 million, uses it to manipulate a small DeFi protocol's price oracle by making large swaps, borrows underpriced assets from the protocol using the manipulated price, and profits $3 million after repaying the flash loan. The entire attack takes one transaction and 15 seconds.
Related Terms
DeFi (Decentralized Finance)
A financial ecosystem built on blockchain technology that provides traditional financial services like lending, borrowing, and trading without centralized intermediaries.
Smart Contract
Self-executing code stored on a blockchain that automatically enforces the terms of an agreement when predefined conditions are met, without intermediaries.
Liquidity Pool
A collection of cryptocurrency funds locked in a smart contract that enables decentralized trading, lending, and other DeFi activities without traditional order books.
DEX (Decentralized Exchange)
A cryptocurrency exchange that operates without a central authority, using smart contracts and liquidity pools to enable peer-to-peer token trading.
Crypto Lending
A financial service allowing users to lend their cryptocurrency to borrowers in exchange for interest payments, available through both centralized and decentralized platforms.
Bitcoin
The first and largest cryptocurrency by market capitalization, operating on a decentralized peer-to-peer network using proof-of-work consensus.
Expand Your Financial Vocabulary
Explore 130+ financial terms with definitions, examples, and formulas
Browse Crypto & Digital Assets Terms