How to Report Margin or Leveraged Crypto Trades That Got Liquidated
When a margin or leveraged crypto position is liquidated, the tax treatment depends on whether the liquidation counts as a sale of your collateral, a repayment of borrowed funds, or both. In most cases, the liquidation is a taxable event that triggers a capital gain or loss equal to the difference between your cost basis in the liquidated assets and the proceeds received (or the value at which they were seized). You report it on Form 8949 and Schedule D, just like any other crypto disposal, but the calculation can be tricky because margin trades involve borrowed funds.
What happens tax-wise during a liquidation
A liquidation occurs when your position drops below the broker's maintenance margin requirement, and the exchange automatically sells your collateral to cover the loan. For tax purposes, the key question is: did you actually realize a gain or loss on the crypto that was sold?
- If you opened a long margin position: You borrowed funds to buy more crypto. When liquidated, the exchange sells your purchased crypto (plus any additional collateral you posted) to repay the loan. You have a taxable sale of those assets at the liquidation price. Your gain or loss is the difference between your cost basis in the sold crypto and the liquidation value.
- If you opened a short position: You borrowed crypto and sold it, hoping to buy it back cheaper. If liquidated, the exchange forcibly buys back the borrowed crypto at the current market price using your posted collateral. You have a taxable closing of the short sale. The gain or loss is the difference between the original sale price (when you shorted) and the buyback price at liquidation.
In both cases, the liquidation itself does not create a special "liquidation loss" category. It is simply a forced sale or forced buyback.
Step-by-Step: How to Calculate and Report
1. gather all transaction records
You need: - The date and time you opened the margin or leveraged position. - The amount of crypto or fiat you initially borrowed. - The price at which you bought (for longs) or sold (for shorts) the borrowed asset. - The exact date and time of the liquidation. - The price at which the liquidation sold your collateral (longs) or bought back the borrowed asset (shorts). - Any fees charged by the exchange for the liquidation itself.
Exchanges typically issue a trade confirmation for liquidations. If not, download your full transaction history. Do not rely solely on a 1099-B if one is provided; many exchanges do not report liquidations correctly on tax forms.
2. Calculate the Gain or Loss
For a long position that gets liquidated: - Your cost basis = the total amount you paid to acquire the crypto that was sold, including the portion bought with borrowed funds. - The proceeds = the value of the crypto at the liquidation sale price. - Gain/loss = proceeds minus cost basis.
For a short position that gets liquidated: - Your proceeds from the original short sale = the amount you received when you sold the borrowed crypto. - Your cost basis in covering the short = the amount you paid (or had deducted from your collateral) to buy back the crypto at liquidation. - Gain/loss = original proceeds minus buyback cost.
Note: If you posted additional collateral (e.g., USDT or another crypto) that was also liquidated, each asset sold is a separate taxable event. You must track the cost basis of each collateral asset separately.
3. Determine the Holding Period
The holding period for the liquidated assets runs from when you acquired them (for longs) or when you opened the short (for shorts) to the liquidation date. If the position lasted less than one year, it is a short-term gain or loss. If more than one year (rare for margin trades, but possible), it is long-term.
4. Report on Form 8949
Enter each liquidation as a separate transaction on Form 8949. Use the following columns: - Column (a): Description of the asset (e.g., "BTC - margin liquidation"). - Column (b): Date acquired (for longs: the date you bought the crypto; for shorts: the date you opened the short). - Column (c): Date sold (the liquidation date). - Column (d): Proceeds (for longs: the liquidation sale value; for shorts: the original short sale proceeds). - Column (e): Cost basis (for longs: what you paid for the crypto; for shorts: the buyback cost at liquidation). - Column (f): Adjustments (if any, e.g., for fees). - Column (g): Gain or loss.
Aggregate totals on Schedule D.
5. Handle the Borrowed Funds
The loan itself is not income when you receive it, and repaying it is not a deduction. Only the sale or buyback of the underlying asset creates the tax event. If the liquidation leaves you with a remaining debt (i.e., your collateral was not enough to cover the loan), any cancellation of that debt may be taxable income. Check with a CPA if the exchange forgives part of the loan.
Common Mistakes
- Treating the liquidation as a non-event. Some traders assume liquidation is like a margin call that just resets the position. It is not. It is a sale.
- Mixing up the cost basis for longs vs. shorts. For a short liquidation, the "proceeds" are from the original short sale, not the liquidation buyback.
- Forgetting liquidation fees. Exchanges often charge a fee (sometimes a percentage of the position) that reduces proceeds or increases cost basis. Include these in your calculations.
- Relying on the exchange's 1099. Many crypto exchanges do not issue 1099-B forms for liquidations, or they report them incorrectly as regular trades. You are responsible for accurate reporting.
- Ignoring multiple collateral assets. If you posted ETH as collateral for a BTC margin trade and both got liquidated, you have two separate tax events: one for the BTC position and one for the ETH sale.
What If the Liquidation Resulted in a Net Loss?
You can use capital losses from liquidations to offset other capital gains, and up to $3,000 of net loss against ordinary income per year. Carry forward unused losses to future years. The wash sale rules do not currently apply to crypto in the U.S., so you can repurchase the same asset immediately without disallowing the loss.
What records should you keep
Save the trade confirmations for both the original position and the liquidation. Also keep screenshots or CSV exports of your margin account balance before and after the event. If the exchange used a specific liquidation price based on an index or oracle, note that source. These records are essential if the IRS questions your cost basis or the timing of the liquidation.
Not financial advice. babybuilder.xyz publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.
Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.