Glossary definition

Flash loan

A flash loan is an uncollateralized onchain loan that must be borrowed and repaid, with fees, inside one atomic transaction or the transaction reverts.

also: flash lending, atomic loan · reviewed July 22, 2026

Atomicity removes ordinary credit risk for the lender: if repayment does not happen before execution ends, none of the transaction’s state changes persist. Borrowers use flash liquidity for arbitrage, refinancing, liquidation, and collateral migration.

The primitive is not itself an exploit. It gives any caller temporary scale, which makes manipulable prices, weak governance snapshots, incorrect balance assumptions, and callback bugs easier to monetize in one transaction. Security tests should model the callback and all state visible before repayment. The flash-loan reentrancy article examines one such failure pattern.

Used in context

Articles using this term.