Michelle Legge
By Michelle LeggeHead of Crypto Tax Education
Updated Aug 4, 2026
This article has been fact checked and reviewed as per our editorial policy.

What Are Crypto Flash Loans?

Flash loans are a kind of crypto loan without collateral & a popular option for arbitrage traders. Learn about flash loans, how to use them & more in our guide.

What are flash loans in crypto?

Flash loans are a specific kind of uncollateralized and instantaneous loan in the crypto market. Flash loans let an investor borrow assets with no collateral to conduct a given transaction, provided those assets are paid back in the same blockchain transaction.

It’s a little confusing as there’s no real-world comparison for flash loans, so let’s delve a little deeper.

What is a flash loan?

How do flash loans work?

In simple terms, with a flash loan, you’ll borrow funds to execute a given transaction and immediately return them in the same transaction. This is achieved using smart contracts - so it’s all automated, and the terms of your flash loan, like returning your funds immediately, are predetermined. Effectively, flash loans let investors utilize a huge amount of leverage for a given transaction, allowing them to amplify their profits.

It can help to have an example - so we’ll use Aave and go through the steps of a typical flash loan in layman’s terms:

  1. You apply for a flash loan on Aave.

  2. For your transaction, you create an arbitrary logic. In other words, a series of sub-transactions that you hope will result in a profit - including sales, swaps, etc. Whatever string of transactions you create, your last transaction must always be the repayment of the loan.

  3. You repay the loan, pay the fee for the transaction, and hopefully make a profit.

This is a really simplified version of how it works on Aave. You’ll actually need solid knowledge of Ethereum transactions, programming, and smart contracts in order to execute flash loans - and it’s the same story for most DeFi platforms currently. Although there are some protocols popping up like DeFiSaver to try and make this process simpler.

As it’s a smart contract with pre-determined conditions, this means if any one part of the overall transaction fails, the entire transaction fails. It’s a concept known as atomicity, but for smart contracts, it just means the transaction must entirely succeed or entirely fail - there is no middle ground.

This means if you don’t pay back your flash loan within the transaction or if the trade does not lead to a profit, then the transaction fails, and nothing is recorded on the blockchain besides a record of the failed transaction.

What are flash loans used for?

So now you know the fundamentals of what flash loans are and how they work - you’re probably wondering why someone would use a flash loan, and the answer is simple: leverage.

Flash loans are a means to make more substantial gains without putting your own funds at risk. The most common reasons an investor may use a flash loan include:

  • Arbitrage: Arbitrage traders make a profit by looking for price discrepancies between exchanges. Of course, these discrepancies are usually small, but if you’re using a flash loan to massively enhance your position, the profits amplify as well.

  • Collateral swaps: Collateral swaps in crypto let investors switch the collateral they’ve used to take out a loan on a multi-collateral lending app, like Compound.

  • Lower transaction fees: Flash loans combine what would usually be several transactions into a single transaction, so in some instances, it can also save users costly fees.

what are flash loans used for?

Are flash loans safe?

For loan providers, flash loans are relatively safe, as if the funds are not returned in the same transaction, then the transaction will fail. In theory, it sounds foolproof thanks to the atomicity concept we discussed earlier. But it’s not quite the case, as flash loan attacks are on the rise.

What are flash loan attacks and how do they work?

A flash loan attack is an umbrella term for flash loans essentially not being used as intended. There are three common ways that flash loan attacks work currently:

  • Price manipulation: Someone uses a flash loan to manipulate the price of a given cryptocurrency by artificially inflating or deflating its value, and makes a profit somehow from that manipulation.

  • Arbitrage: With enough funds from a flash loan, it’s possible to create artificial arbitrage opportunities by manipulating markets with enough collateral.

  • Smart contract exploits: Smart contracts are still in their infancy, and as such, some have vulnerabilities that hackers can use to steal funds or execute other attacks during the process of a flash loan.

Where can I get a crypto flash loan?

Flash loans are currently used on decentralized protocols on both the Ethereum network and Binance Chain. The most popular providers for flash loans are currently:

  • Aave

  • dYdX

  • Uniswap

All of the above options will require a strong knowledge of Ethereum programming and arbitrary logic for smart contracts. There are, however, a select few platforms trying to allow users access to flash loans with an easier AI. Many of these still require technical knowledge, and you should always DYOR to ensure you understand what you’re doing before actioning a trade.

Read next: Learn how your DeFi transactions are taxed.

FAQs

Are flash loans risky?
What happens if you don’t pay back a flash loan?
How large a flash loan can you take?
How are flash loans reversed?
How to make money from flash loans?
Can you trade with flash loans?
Are flash loans free?
Disclaimer
The information on this website is for general information only. It should not be taken as constituting professional advice from Koinly. Koinly is not a financial adviser. You should consider seeking independent legal, financial, taxation or other advice to check how the website information relates to your unique circumstances. Koinly is not liable for any loss caused, whether due to negligence or otherwise arising from the use of, or reliance on, the information provided directly or indirectly, by use of this website.