The first flash loan was conducted on January 17, 2020. It consisted of $33.10 worth of Dai.
Across the 11 EVM-compatible blockchains, nearly 24 million unique flash loan events, facilitating over US$3 trillion in lending activity as of January 2025, have been conducted since 2020.
These loans exist within the span of a single transaction. The borrower can access a large sum of capital until the blockchain block is verified and becomes a permanent part of the blockchain. The brief window the borrower has between transaction initiation and finalisation can be utilised to capitalise on earning opportunities, such as crypto arbitrage, collateral swapping, liquidations, and other types of leveraged positions across DeFi platforms.
These loans enable users to access on-chain liquidity pools without requiring collateral, provided a small gas fee is paid. The transaction is reverted if the borrower fails to repay the loan or if the repaid funds are insufficient. The revert also includes any subsequent actions the user takes using the borrowed sum. There are no default risks. However, such loans come with risks, such as smart contract risks and flash loan hacking risks.
The Technical Backbone of Flash Loans
DeFi lending and borrowing benefit from the decentralised, transparent, and instant on-chain transactions facilitated by blockchain technology and the permissionless composability that smart contracts offer.
For the uninitiated, smart contracts are self-executing contracts that can be coded with any set of predetermined terms, conditions, and information. Smart contracts are a key factor in the DeFi ecosystem's ability to offer innovative financial services, including flash loans, yield farming, staking, and liquidity mining.
It is through smart contracts that flash loan agreements are initiated, allowing borrowers to create leveraged positions using the borrowed capital and return it before the transaction completes.
How Do Flash Loans Work?
There are two parties involved in a flash loan--lenders and borrowers. These loans occur on decentralised exchanges (DEXs), such as Aave, Uniswap, or dYdX. Borrowers must interact with smart contracts to borrow and return loans to the lender.