for ChatGPT, Claude, Perplexity…
LIQUIDATION

Hyperliquid liquidation tax treatment

· 5 min read · Not tax advice

Getting liquidated feels like a loss of money — and for tax purposes it usually is one, but only if it survives into your records. On Hyperliquid a liquidation is just a forced close: the exchange computes the outcome and reports it in closedPnl on that fill, same as any other close. The problem isn't the tax concept — it's that the data frequently never reaches your tax file.

Key facts
  • A liquidation is a forced close: realized loss or gain lands in closedPnl on that fill, same mechanics as a voluntary close.
  • Liquidated fills carry a liquidation flag in the API — importers that skip or mishandle flagged rows silently drop the loss.
  • A dropped liquidation is a realized loss you never claim — the report looks "clean" while being wrong in your favor’s opposite direction.
  • Open-position unrealized moves are not taxable events; the tax moment is the close — voluntary or forced.
  • Funding paid up to the liquidation is a separate stream (userFunding) — it belongs in the file independently of the close.

Why liquidations go missing in imports

Three separate drop points, all observed in practice:

What your records need to prove

If the numbers are material, verify the import: compare your software's totals against exchange-reported per-year figures before filing (the cross-check workflow).

Honesty notes

See if your liquidations made it into your file

The scanner counts liquidation-flagged fills separately per year and totals their PnL — free, read-only.

Scan my wallet

Primary sources

Check the linked sources for the rules, integration limits and API definitions discussed on this page. A general source does not settle every classification question or verify every third-party integration behavior.

  1. Hyperliquid docs — Liquidations 强制平仓的触发与结算方式:强平本身即一次平仓成交。
  2. IRS — Digital assets 美国税务上对数字资产的申报要求;非经纪商平台不代扣代报。
  3. IRS — Revenue Procedure 2024-28 (wallet-by-wallet basis) 2025 年起数字资产成本基础按钱包逐户归集,不再允许全账户通用池。

How this page was produced