babybuilder.xyz

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?

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

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.

Back to crypto tax