Is a Crypto Liquidation a Taxable Event? Cost Basis, Losses, and the 60/40 Rule Explained
When a margin or futures position gets force-closed, the IRS still treats it as a sale — you owe tax or claim a loss based on the liquidation price, not what you meant to exit at. How the gain or loss is actually calculated, and why the type of contract you were trading changes the tax rate.
Getting liquidated feels like the position just disappeared. For tax purposes, it didn’t — it sold. The exchange closed it at the liquidation price, and that price is what determines whether you owe capital gains tax, get to claim a loss, or both in the same tax year across different positions. Most people find this out for the first time when a tax form shows up months later, long after the emotional part of the liquidation has already passed.
This is general educational information, not tax advice. Liquidation tax treatment depends on your specific platform, contract type, and jurisdiction. Confirm your situation with a tax professional before filing.
The short answer
A margin or futures liquidation is a taxable disposal of the position, whether you initiated the close or the exchange did it for you automatically. Your gain or loss is calculated the same way as a voluntary sale: proceeds (the liquidation price) minus your cost basis (what you originally paid, plus fees). It doesn’t matter that you didn’t choose the timing, and it doesn’t matter whether you received any money back personally — what matters is the spread between your entry and the price at which the position was actually closed out.
How the calculation actually works
Say you open a 5x leveraged long on 1 ETH at $2,000, putting up $400 of your own capital and borrowing the rest. ETH drops, and your position gets liquidated at $1,650 — below your entry, but the loss is smaller in percentage terms than your leverage might suggest because liquidation triggers before you’re fully wiped out.
- Proceeds: $1,650 (the liquidation price)
- Cost basis: $2,000 (your original entry price)
- Capital loss: $350, before fees
That $350 loss follows the same capital loss rules as any other crypto disposal — it can offset gains elsewhere in your portfolio this year, and if your total losses exceed your gains, the rest carries forward under the same mechanics covered in The Carryforward Math.
Now flip the scenario: you opened the same long at $1,200, ETH rallied to $1,650 before a sudden reversal wiped out the position, and it got liquidated at $1,650. Cost basis is still $1,200. Proceeds are still $1,650. That’s a $450 gain — taxable, even though you experienced the liquidation as a total loss of your account balance and walked away with nothing. The exchange used the proceeds to repay the borrowed capital and fees; that doesn’t change what the IRS considers your taxable proceeds to be. This is the single most-missed detail in how liquidations are taxed, and reporting software that doesn’t correctly parse margin transactions will sometimes get it wrong in your favor or against it — check the output, don’t just import and file.
CoinLedger’s guidance on margin trading walks through this same mechanic: liquidation is treated as a disposition, and gain or loss is calculated against your original cost basis regardless of what you actually recovered from the exchange, then reported on Form 8949 and Schedule D like any other capital asset sale.
Why the type of contract you were trading changes your tax rate
Not all liquidated positions are taxed the same way, and this is the part most people never check until it’s too late to matter for the year in question. The dividing line is whether you were trading a regulated futures contract or something else — a spot margin position, an offshore perpetual swap, a DeFi leveraged position.
Contracts that trade on a CFTC-designated exchange, like CME’s cash-settled Bitcoin and Ether futures, qualify as Section 1256 contracts. That section of the tax code gives them automatic 60% long-term / 40% short-term capital gains treatment, regardless of how long you actually held the position — a contract opened and liquidated in the same afternoon gets the same blended rate as one held for months. As trader-tax firm Green Trader Tax explains, this 60/40 split applies specifically to regulated futures, and can meaningfully lower the effective tax rate on a gain compared to ordinary short-term treatment. Section 1256 contracts are also marked-to-market at year-end and are statutorily exempt from the wash sale rule — a cleaner answer than the general crypto wash-sale question covered in Does the Wash Sale Rule Apply to Crypto?, which remains genuinely unsettled for ordinary spot trading.
Most retail crypto margin and perpetual swap trading doesn’t happen on CME. It happens on crypto-native exchanges offering perpetual futures with no expiration date — a product structure that doesn’t exist in traditional regulated futures markets and isn’t automatically a Section 1256 contract just because it uses the word “futures.” Law firm McDermott Will & Emery’s analysis of the CME’s own Bitcoin contracts notes that it’s specifically their status as CFTC-regulated, exchange-traded contracts that qualifies them — a distinction that doesn’t extend to most offshore perpetual swap platforms by default.
| CME-listed Bitcoin/Ether futures (Section 1256) | Offshore perpetual swaps / spot margin | |
|---|---|---|
| Tax treatment | 60% long-term / 40% short-term, automatic | Ordinary short- or long-term capital gains, based on actual holding period |
| Holding period matters? | No — blended rate regardless of duration | Yes — under 1 year is short-term, taxed at your ordinary income rate |
| Marked-to-market at year-end | Yes, open positions treated as sold on Dec. 31 | No |
| Wash sale rule | Statutorily exempt | Unsettled for crypto generally — see the wash sale post above |
| Where it typically trades | CME and other CFTC-regulated exchanges | Most crypto-native exchanges’ perpetual/margin products |
If you don’t know which category your platform’s contracts fall into, that’s worth resolving before you file, not after — it can change your rate on the exact same dollar amount of gain or loss.
What to actually do after a liquidation
The tax side runs in parallel with the practical rebuild described in You Got Liquidated. Here’s the 30-Day Reset. — but the paperwork has its own checklist:
- Pull the exact liquidation price and timestamp from the exchange, not an estimate from memory. Most exchanges show this in trade history even after the position is closed; export it before you lose access or the data ages out of the platform’s retention window.
- Separate your original cost basis from any capital you added afterward. If you topped up margin to avoid liquidation and got liquidated anyway, that additional capital is part of your cost basis too, not a separate loss.
- Confirm whether your contract type qualifies for Section 1256 treatment using the distinction above, rather than assuming either way. This single check changes your effective tax rate.
- Log fees and funding payments separately as you go, since their treatment is less settled than the core gain/loss calculation and you’ll want the raw numbers regardless of which position your preparer takes.
- Don’t let the loss offset get lost. A liquidation loss is still a capital loss — it can offset gains elsewhere this year, and the unused portion carries forward under the same rules as any other crypto loss.
FAQ
I didn’t receive any money back — I was wiped out. Do I still owe tax? You can, in the specific case where your position was profitable in cost-basis terms even though you personally walked away with nothing. If you opened a leveraged long at a low price, the position was later liquidated at a higher price than your original entry, and the exchange kept the proceeds to cover the loan and fees, you can owe capital gains tax on that spread even though your own account balance went to zero. This is the most-missed part of liquidation tax treatment — the tax outcome is based on cost basis versus the liquidation price, not on what you personally received.
Does it matter whether I was trading on a US-regulated exchange or an offshore one? It matters for which tax rules apply, not for whether you owe tax at all — a liquidation is a taxable disposal regardless of where it happened. What changes is the rate: gains and losses on CME-listed Bitcoin and Ether futures generally qualify for Section 1256’s 60/40 treatment, while most offshore perpetual swap platforms and spot margin positions don’t, so they fall under ordinary short- or long-term capital gains rules instead. Confirm which category your specific platform and contract type falls into — don’t assume from the exchange’s marketing which regime applies.
Are the fees and funding payments I paid while the position was open deductible? Generally, ordinary trading fees and commissions reduce your gain or increase your loss on the position, and are typically added to cost basis or treated as an offset to proceeds. Funding rate payments on perpetual swaps are a newer, less settled area with no dedicated IRS guidance — some practitioners treat them as investment interest expense, others as an adjustment to gain or loss on the position itself. Track every fee and funding payment separately regardless of which treatment you end up using, since you’ll need the records either way.
Is this US tax law, or does it apply everywhere? This is written from a US federal tax perspective — Section 1256, Form 8949, Schedule D are all IRS-specific mechanisms. The underlying question (does a forced sale count as a disposal for tax purposes, and does the type of contract change the rate) comes up in other jurisdictions too, but the specific answers differ. If you file outside the US, use this as a framework for what to ask your own tax authority or preparer, not as the rule that applies to you.