BitMEX tax: perpetuals, futures and your crypto taxes
Working out your BitMEX tax? BitMEX pioneered the perpetual swap and remains a derivatives-first venue — perpetuals and futures rather than ordinary spot — so your tax picture is built from realised PnL, funding and liquidations, not coin-by-coin disposals. This guide explains what BitMEX provides, how that activity is taxed in general terms, how to export your full history, and how CryptaTax turns it into a report you can file. General information, not tax advice.
General information, not tax advice. What BitMEX reports and which documents it offers can change and varies by country, and the treatment of derivatives differs by jurisdiction — verify against BitMEX and your local tax authority or a qualified advisor.

Does BitMEX report your crypto to the tax authorities?
Whether BitMEX shares data with your tax authority depends on your country and changes over time, so do not treat “they won't know” as a plan. Exchanges are increasingly inside information-reporting frameworks that push account and transaction data to tax authorities, and that net is widening, not narrowing. The safe approach is to assume your BitMEX activity is visible and to report it correctly — which is exactly what a clean, reconciled BitMEX tax report lets you do.
Whatever BitMEX does or does not file on your behalf, the legal duty to report your gains and income is yours. That is why getting your full history out of BitMEX and reconciling it properly matters more than whether a particular summary lands in your inbox.
What BitMEX tax documents you can get
Like most exchanges, BitMEX can hand you raw data and sometimes summaries, but it generally cannot produce your final tax numbers — because it only sees what happened on BitMEX, not the coins you moved in from a wallet or another exchange. From your account you can usually obtain:
- a transaction history export (CSV or similar) covering your activity, deposits and withdrawals;
- an order / trade history showing each fill with its fees;
- sometimes a gain/loss or account summary, whose accuracy still depends on whether your full cost-basis picture is present — which on a single exchange it rarely is.
The catch with anything BitMEX generates on its own is cost basis and scope. If you sent coins to BitMEX that you bought elsewhere, BitMEX does not know what you paid, so any gain it shows can be wrong. Reliable numbers come from combining your BitMEX history with every other wallet and exchange you use — the job CryptaTax does.
Types of BitMEX activity and how each is taxed
A single BitMEX account usually mixes several kinds of activity, and each is taxed differently. Sorting your history into these buckets is most of the battle — the sections below cover the BitMEX-specific ones in full.
Perpetual and futures PnL
Each closed perpetual or futures position realises a gain or loss in its own ledger — the bulk of what reaches your return from BitMEX, and nothing like a spot trade.
Funding payments
Perpetuals exchange periodic funding between long and short holders; each is a real cost or receipt that adjusts your net result.
Liquidations
A liquidated position is still a closing event with a tax consequence, even though you did not choose to close it.
Deposits, withdrawals and transfers
Moving your own collateral in or out is a transfer, not a sale, but both legs must be matched.
Accounting for a derivatives-first venue
The key thing about a BitMEX tax report is that it is built almost entirely from derivatives. There is little or no ordinary spot to fall back on — you are opening and closing perpetual and futures positions against crypto collateral, so your gains and losses are derivative results, not capital gains on a coin you hold. Depending on your country, derivatives may be taxed as capital gains or as income, and the right move is to capture the complete, correctly-signed record — realised PnL, funding and fees — and apply your jurisdiction's rules rather than guessing.
Because BitMEX settles in crypto, there is also a valuation step: a profit measured in Bitcoin has to be converted to your home currency at the right time to land on your return, and the collateral itself moves in value between events. CryptaTax keeps the perpetual and futures ledgers separate, captures funding and liquidations, and handles the crypto-to-fiat valuation so the final figures are in the currency you file in.
Funding, liquidations and the full record
Two things are easy to under-report on BitMEX. Funding is a steady stream of small payments or receipts that a naive export overlooks, yet it changes the net result on every perpetual position. Liquidations feel like something that happened to you rather than a trade, but each is a closing event with a tax consequence. CryptaTax reads both from your history and books them correctly, so your BitMEX result reflects what actually happened rather than just the trades you opened deliberately.
How to export your full BitMEX transaction history
You have two ways to get your data out, and the choice mainly affects how much manual work is left over:
- API connection (recommended) — create a read-only API key in your BitMEX account and connect it to CryptaTax. This pulls your history automatically and keeps it current, with no spreadsheets to download each time.
- CSV export — download your history from BitMEX and import it. This works everywhere but is a snapshot, so you repeat it whenever you trade again, and you must export each ledger, not just one.
Whichever you choose, make sure the export covers your entire time on BitMEX, not just the current tax year. Cost basis depends on when you first acquired each coin, so a partial history produces partial — and usually wrong — numbers.
Common BitMEX reconciliation issues
Most wrong BitMEX tax figures come from a handful of recurring problems. Knowing them up front saves hours of clean-up:
- Transfers in and out of BitMEX — moving your own coins between BitMEX, a wallet or another platform is not a sale, but naive tools record it as one and invent a gain. Both legs must be matched.
- Missing cost basis — coins bought elsewhere and sold on BitMEX have no basis in the BitMEX export alone; the basis has to come from the source.
- Fees — trading and withdrawal fees affect your gain and must be attributed correctly.
- Funding payments — a stream of small adjustments easy to miss.
- Liquidations — closing events with a tax consequence, not just bad luck.
- Crypto-settled PnL — gains in Bitcoin must be valued in your home currency at the right time.
How CryptaTax does your BitMEX taxes for you
CryptaTax connects your BitMEX account alongside every other wallet and exchange you use, then does the reconciliation the export cannot:
- Import your complete BitMEX history by read-only API or CSV.
- Match transfers between BitMEX and your other accounts so they are not taxed as disposals.
- Classify trades, derivatives PnL, funding and settlement and rebuild cost basis across every source using a consistent method.
- Produce a report — capital gains and income — ready to file or hand to your accountant, with each figure traceable to its source transaction.
The result is one set of numbers for your whole portfolio, with BitMEX as one input among many, rather than a stack of exports you stitch together by hand. Import your exchanges and wallets → · Crypto tax calculator →
Why your BitMEX numbers are only part of the picture
It bears repeating because it is the root of most errors: BitMEX can only ever report on what happened inside BitMEX. The moment you move coins to a wallet, trade on a second exchange, or earn rewards on-chain, your true tax position spans sources none of them sees in full. A figure that looks authoritative on a BitMEX statement can still be wrong for your return, simply because BitMEX is missing context it never had. CryptaTax treats BitMEX as one feed among many and reconciles across all of them, which is the only way to get a number that holds up.
Setting up the BitMEX connection safely
When you connect BitMEX to any tax tool, use a read-only API key. A read-only key lets the tool see your history but cannot trade, withdraw or move funds — so even if it leaked, your assets are safe. A few sensible habits:
- create the key with read-only / view permissions only — never enable trading or withdrawals;
- if BitMEX offers IP allow-listing, restrict the key where practical;
- name the key so you remember what it is for, and revoke it if you stop using the tool;
- prefer the API connection over emailed CSVs, which can sit unencrypted in your inbox.
CryptaTax only ever needs to read your BitMEX history to do the maths; it never needs the ability to move your funds, and you stay in full control of your account.
Mistakes to avoid with your BitMEX taxes
- Only exporting the current year — cost basis depends on your full history on BitMEX.
- Trusting a single gain/loss summary blindly — it cannot know the basis of coins you moved in from elsewhere.
- Ignoring transfers — your own moves in and out of BitMEX are not sales; treat them as transfers or you will overpay.
- Treating BitMEX like a spot exchange — it is derivatives; the result is realised PnL, not coin disposals.
- Ignoring funding and liquidations — both change your real, taxable result.
Your BitMEX tax checklist
- export or connect your full BitMEX history, from your first transaction;
- connect every other wallet and exchange so transfers can be matched;
- export your full perpetual and futures history, including funding and liquidations;
- make sure crypto-settled PnL is valued in your home currency at each event;
- apply a consistent cost-basis method allowed in your country;
- produce a report where every figure traces back to a source transaction.
Work through that list once and your BitMEX taxes stop being a guess. CryptaTax does every step of it for you, turning a year of BitMEX activity into numbers you can stand behind.
Other exchanges and wallets
Use more than one venue? That is the norm, and it is exactly why an exchange's own numbers fall short. Connect each one so your report covers everything: Bybit, Deribit, OKX, Bitget, or see the full integrations list.
FAQ
It depends on your country and changes over time. Exchanges are increasingly inside information-reporting frameworks, and the trend is toward more data-sharing, not less. Assume your BitMEX activity is visible and report it correctly.
Usually a transaction history export and a trade history, and sometimes an account or gain/loss summary. Any summary BitMEX produces can be wrong for coins you moved in from elsewhere, because it does not know their original cost basis.
BitMEX is a derivatives venue, so your result is realised PnL from perpetuals and futures plus funding — treated as capital gains in some countries and income in others. Capture the full, correctly-signed record and apply your jurisdiction's rules; CryptaTax keeps derivatives separate and values crypto-settled PnL in your home currency.
Funding is a real cost or receipt that adjusts your net result, and a liquidation is still a closing event with a tax consequence. CryptaTax reads both from your history and books them so your result reflects everything that happened, not just the trades you opened.
Moving your own coins between BitMEX and a wallet you control is not a taxable sale. It only looks like one if a tool fails to match the two legs — which CryptaTax does automatically.
Connect BitMEX to CryptaTax by read-only API key or CSV, let it reconcile your history with your other wallets and exchanges, and it produces a capital-gains and income report ready to file.
All the way to your first transaction on BitMEX. Cost basis depends on when you acquired each coin, so a partial export produces partial — and usually wrong — numbers.