Why Did My TRON Transaction Fail with "Out of Energy"?
What Happenedβ
On TRON, smart contract actions such as USDT transfers, swaps, and dApp calls use Energy. Each transaction has a fee limit: the most TRX it's allowed to burn for Energy. If the contract needs more Energy than that, it stops partway and fails with OUT_OF_ENERGY.
Gem Wallet shows the transaction as Failed. Nothing it tried to do happened: the tokens didn't move, and the swap didn't run.
Why Was TRX Still Charged?β
The network did the work up to the point where the Energy ran out, so the Energy used was paid for, by your staked Energy first and then by burning TRX. This is how TRON works, and Gem Wallet can't refund it. See Why Was I Charged a Network Fee for a Failed Transaction?.
How Gem Wallet Sets the Fee Limitβ
Before you confirm, Gem Wallet asks the network how much Energy the transaction needs, then adds a safety margin:
| Transaction | Fee limit |
|---|---|
| TRX and token transfers, such as USDT | The Energy estimate plus 20% |
| Swaps and dApp calls through WalletConnect | The Energy estimate plus 30% |
That's why out-of-energy failures are rare. They can still happen when the contract needs much more Energy at the moment it runs than when it was estimated. For example, a busy dApp's contract changed state between the estimate and the moment your transaction ran.
What to Doβ
- Check the transaction on a TRON explorer. Open it from Activity. It shows OUT_OF_ENERGY and how much Energy and TRX were used. See What Is a Block Explorer and How Do I Use It?.
- Check that nothing moved. Your token balance should be the same as before, minus nothing but the fee.
- Try again. Gem Wallet makes a fresh estimate each time, which usually covers what the contract needs now.
- Keep enough TRX. The fee for a USDT send can be higher than you expect, especially to an address that has never held USDT. See How Much TRX Do I Need to Send USDT on TRON?.
If a dApp transaction keeps failing with OUT_OF_ENERGY, stop and contact the dApp. Its contract may be misbehaving, and retrying only burns more TRX.
How to Lower the Cost Next Timeβ
Freeze some TRX for Energy. Your own Energy is used before any TRX is burned, so frequent USDT senders can pay much less, or nothing, in fees. See Staking TRON (TRX) with Gem Wallet.
Related Pagesβ
- Why Was My Crypto Transaction Reverted?
- What Is a Gas Limit? (the same idea on EVM networks)
- TRON (TRX)