Can an Arbitrageur Lose Money Using a Flash Loan?

Theoretically, a properly executed flash loan arbitrage transaction should not result in a loss because the entire operation is calculated and submitted as an atomic transaction. If the calculated profit is negative (due to high gas fees or a missed opportunity), the transaction will fail or be reverted before execution, meaning the loan is not taken and no loss is incurred.

However, an improperly coded bot could potentially incur a loss if not designed to revert on negative profit.

How Does a ‘Revert’ Transaction on a DEX Differ from a Simple Cancellation on a CEX?
Can a Front-Runner Deliberately Cause a Transaction to Revert Using Slippage?
How Do Decentralized Lending Protocols Manage the Risk of a Flash Loan Not Being Repaid?
How Does a “Flash Loan” Differ from a Traditional Collateralized Loan in DeFi?
What Happens to a Transaction If the Price Movement Exceeds the Set Slippage Tolerance?
What Is a Flash Loan and How Is It Often Used in MEV Strategies?
What Is the Role of Transaction Ordering (Front-Running) in the Success of an Oracle-Based Flash Loan Attack?
Why Is the ‘Atomic’ Nature of a Flash Loan Crucial for the Success of an Oracle Manipulation Attack?

Glossar