Flash Loan
A loan that requires no collateral, as long as you return the borrowed amount within the same instant transaction. If you can't repay, the transaction automatically cancels and the lender loses nothing.
Here's a concept that sounds impossible: borrowing millions of dollars with zero collateral. Flash loans make it work by adding one strict rule—you have to pay it all back in the same transaction. If you can't, the blockchain rewinds everything as if it never happened. The lender's risk? Effectively zero.
This works because blockchain transactions are atomic—they either complete in full or revert entirely. A flash loan bundles multiple steps into one transaction: borrow funds, do something useful with them, then repay. If any step fails, the whole thing unwinds.
Legitimate uses are genuinely clever. Arbitrage (profiting from price differences across exchanges), collateral swaps (switching your collateral type without closing a position), self-liquidation (repaying debt to dodge liquidation penalties), and interest rate refinancing—all in a single transaction.
Flash loan attacks get more headlines, though. Attackers borrow huge amounts, temporarily manipulate prices or exploit oracle vulnerabilities (faulty price feeds), and drain funds from vulnerable protocols—all in one transaction. Major attacks have stolen millions this way.
Providers like Aave and dYdX charge a small fee—typically 0.09% of the borrowed amount. The barrier to entry is high: you need to write smart contract code that orchestrates every step within a single transaction. Tools like Furucombo have tried to make this more accessible through visual interfaces, but it's still firmly in advanced-user territory.
Frequently Asked Questions
▸Can I use flash loans to make money?
Technically yes, but it's extremely competitive. Simple arbitrage opportunities get snatched by bots within milliseconds. You'd need deep technical knowledge, solid understanding of DeFi protocol mechanics, and the ability to compete against sophisticated MEV bots. Not a beginner-friendly path to profit.
▸Are flash loan attacks illegal?
The legal picture is murky and varies by jurisdiction. Some flash loan 'attacks' exploit code vulnerabilities rather than break specific laws. The Mango Markets exploiter was convicted of fraud in 2024, which set some precedent. Where the line falls between legitimate arbitrage and market manipulation is still being worked out.
Clarity tracks this automatically across your connected accounts. Start Free Trial · Demo