Master Guide
Crypto Tax Guide: Records, Transfers and Cost Basis
Build crypto tax records, reconcile transfers and compare cost-basis calculations. Learn why US, UK and Swedish reporting methods must be distinguished.
This crypto tax guide explains how to build records that a local tax calculation can actually use. Tax treatment depends on residence, activity, asset and transaction date. A blockchain transaction list is evidence, not a finished return, and a universal rule such as “everything uses FIFO” can produce the wrong answer.
Updated 24 October 2026 · By Adam · Examples below are original educational scenarios, not live market data or product tests.
Crypto tax records: start with jurisdiction and ownership
Record your relevant tax residence and reporting period before choosing a cost-basis method. In the United States, the IRS generally treats digital assets as property and distinguishes acquisitions, income and disposals. Its digital-assets guidance also distinguishes moving assets between your own accounts from changes of ownership, while noting that digital-asset fees can themselves require reporting.
In Sweden, Skatteverket describes an average acquisition-cost method for crypto of the same kind across your exchanges and wallets. In the UK, HMRC describes pooling together with same-day and subsequent 30-day matching rules. Read Skatteverket's crypto guidance and HMRC's pooling manual; do not import one country's method into another.
Write the tax year down as well, because it decides which return a transaction belongs to. For most individuals in the United States and Sweden the tax year is the calendar year; in the UK it runs from 6 April to 5 April. A disposal on 3 April 2026 therefore sits in the UK's 2025 to 2026 year but in the 2026 calendar year elsewhere. If you change country during a year, record the date residence changed and keep the two periods apart. Everything in this guide is general education: rules differ by country and change over time.
Where to check crypto tax rules yourself
Summaries, including this one, go out of date, and forum answers often describe another country. These official pages settle most everyday questions and are worth reading in full, as of October 2026.
| Question | Where to look | What it settles |
|---|---|---|
| US: own-wallet transfers, gifts, choosing units | IRS frequently asked questions on virtual currency, especially FAQs 31 to 33, 38 and 39 to 41 | Transfers between your own wallets are not taxable; FIFO applies unless you specifically identify units; how a gift recipient's basis works |
| US: forks, airdrops and staking | Revenue Ruling 2019-24 and Revenue Ruling 2023-14 | When new tokens count as income and at what value |
| UK: pooling and matching | HMRC Cryptoassets Manual from CRYPTO22200, with worked examples at CRYPTO22251 to CRYPTO22257 | How the pool, the same-day rule and the 30-day rule interact |
| UK: lost keys and worthless tokens | CRYPTO22400 and CRYPTO22500 | Losing a key is not a disposal; a negligible value claim may be possible |
| Sweden: method, records and form | Skatteverket's kryptovalutor page and its linked legal guidance (rättslig vägledning) | The average method, what counts as a disposal and how to report on form K4 |
Keep a ledger with enough information to reconcile
- UTC timestamp, chain, transaction hash and exchange trade identifier.
- Asset contract address, quantity received or disposed of, and network fees.
- Value in the reporting currency, with pricing source and valuation time.
- Counterparty or your own receiving account, labelled separately.
- Activity category and a note explaining uncertain classifications.
- Original CSV statements, invoices and relevant protocol receipts.
Read-only exports and public wallet addresses are enough for bookkeeping. Never provide a seed phrase or signing key to a tax tool. A public address can expose transaction history, so assess the provider's privacy practices. See the Ledger Live export walkthrough for collection and reconciliation.
Two records are often forgotten. Skatteverket suggests keeping each platform's terms of service, because the contract can affect the tax treatment, alongside proof that each wallet is yours. In the US, the IRS FAQ says a gift recipient who cannot document the donor's basis has a basis of zero for calculating gain, so ask the donor for their purchase records at the time of the gift rather than years later.
Keep one folder per tax year: original exports untouched in a subfolder per platform, a separate working copy of the ledger, a pricing file and a notes file listing every judgement call and any adviser's answer.
Compare two cost-basis assumptions
Worked example: the same trades, different calculation
A fictional person buys 0.2 BTC for 80,000 SEK and later 0.3 BTC for 150,000 SEK, then disposes of 0.1 BTC for 60,000 SEK. Ignore fees for this exercise. Under an average-cost assumption, total cost is 230,000 SEK for 0.5 BTC, or 460,000 SEK per BTC. The disposed quantity has 46,000 SEK basis, producing a 14,000 SEK gain.
Under a simple FIFO assumption, 0.1 BTC comes from the first purchase: 40,000 SEK basis and a 20,000 SEK gain. The 6,000 SEK difference is a consequence of the method. This comparison does not offer a free choice of methods; apply the one legally available in your circumstances. UK matching rules could require a different calculation if relevant later purchases occurred.
In Sweden, note that the 20 percent standard method (schablonmetoden) that some Swedish investors use for listed shares may not be used for crypto.
UK same-day and 30-day matching in practice
A pooled average is not always the whole UK calculation. HMRC matches a disposal first with tokens of the same type acquired on the same day, then with tokens acquired in the following 30 days, earliest first, and only then with the pool (known as the section 104 pool). Selling and buying back quickly therefore does not simply take cost from the pool.
Worked example: selling at a loss and buying back within 30 days
A fictional UK resident holds 100 units of one token in a pool with a pooled cost of £2,000, or £20 per unit. On 10 May they dispose of 40 units for £600. On 25 May, 15 days later, they acquire 40 units of the same token for £640. There are no other transactions, and fees are ignored.
If the disposal were taken from the pool, its cost would be 40 × £20 = £800 and the loss £200. Because 40 units were acquired within the following 30 days, the disposal is matched with that acquisition instead: cost £640, so the loss is £40. The 25 May units are used up by the match and never enter the pool, which still holds 100 units at £2,000 afterwards.
The person holds 100 units before and after, and the allowable loss is £40, not £200. Software that applies a plain average to every disposal would overstate the loss by £160. Compare HMRC's own example at CRYPTO22253.
Reconcile transfers before adding a price
Worked example: an unmatched withdrawal
An exchange export shows 1 ETH leaving, while a wallet receives 0.999 ETH. First match the transaction and identify the 0.001 ETH fee. Do not automatically create a sale of 1 ETH and a new purchase of 0.999 ETH because two imports failed to match. Determine the treatment of the transfer and fee separately under local rules.
After importing all accounts, compare opening balance + receipts − disposals − fees with the closing balance for each asset. A mismatch can reveal a missing wallet, duplicate import, internal transfer or incorrect decimal precision.
Before pricing anything, give every unmatched movement one of four labels: own transfer, disposal, income or unknown. Never let software guess an unknown. In the US, FAQ 38 confirms that moving coins between wallets you own is not taxable even when a platform issues an information return about it, while the IRS digital-assets page treats a network fee paid in crypto as a disposal. The gas fees entry explains how such fees are calculated.
Check your figures against platform reports
Tax authorities now receive their own data about crypto activity. Treat each platform report as a cross-check on your ledger, not a replacement for it.
- United States: brokers file Form 1099-DA. For 2025 sales they had to report gross proceeds and could leave basis blank. For sales after 2025, basis is mandatory only for covered assets, broadly those acquired after 2025 and held with that broker until sale. Box 1f shows proceeds after the broker deducts transaction costs such as fees. The final regulations do not cover non-custodial brokers, so swaps made from your own wallet may appear on no form at all, yet they still belong on your return.
- United Kingdom: under the Cryptoasset Reporting Framework, UK reporting providers have collected customer details since 1 January 2026, including for UK residents, and the first report, covering 2026, is due by 31 May 2027. HMRC says a customer who does not give the provider the required information may face a penalty.
- European Union, including Sweden: the DAC8 directive (Council Directive (EU) 2023/2226) applies from 1 January 2026, and the European Commission says the first reports are due between 1 January and 30 September 2027.
To reconcile, filter the ledger to one platform and one tax year, total the disposals and compare the total with the form. Differences usually come from a short list of causes: fees netted against proceeds, transfers that software mistook for sales, trades that fall on a different date because of time zones, or assets the broker treats as noncovered.
Worked example: a broker form that does not match the ledger
A fictional US taxpayer's ledger shows three sales on one platform in 2025, worth $3,100, $2,450 and $2,850 before fees, a total of $8,400, with $84 of trading fees on separate rows. Their software also shows a fourth "sale" of 0.5 ETH worth $1,200. The platform's Form 1099-DA reports gross proceeds of $8,316 and no basis.
The first difference is the fees: $8,400 minus $84 is $8,316, so the ledger agrees once fees are netted the way the form nets them. Having reduced proceeds by the $84, the taxpayer must not also add it to cost basis. The second difference is the 0.5 ETH: the platform records it as a withdrawal to an address the taxpayer controls, so it is an own-wallet transfer and the software label is wrong. The blank basis is expected for 2025 sales; the taxpayer supplies basis from their own acquisition records.
Write a one-line explanation for every difference; one you cannot explain points to a missing account or a mislabelled movement.
Flag DeFi cases instead of guessing
Wrapping, bridging, lending receipts, staking rewards and liquidity positions can raise different ownership and income questions. A bridge is not automatically taxable everywhere, and a label in software is not a legal conclusion. Preserve the contract action, assets surrendered, rights received and valuation evidence. Ask a qualified local adviser about material uncertainty, and retain the answer with the record.
The table lists recurring situations, the question to record and published guidance. A receipt token from liquid staking adds a further question: whether swapping into the receipt was itself a disposal.
| Situation | Question to record | Published guidance |
|---|---|---|
| Tokens from a hard fork or airdrop | When did I first control them, and what were they worth then? | US: Rev. Rul. 2019-24 treats new tokens received through an airdrop after a hard fork as income at fair market value when received, and that value becomes their basis |
| Staking rewards | When could I first sell or move the reward? | US: Rev. Rul. 2023-14 includes rewards in income when you gain dominion and control over them |
| Lost private key | Do the tokens still exist, and is recovery realistic? | UK: CRYPTO22400 says losing a key is not a disposal, though a negligible value claim may be possible. Sweden: Skatteverket says lost keys or a hacked exchange do not automatically give a right to a deduction |
| Coins lent or pledged as collateral | Did ownership pass to someone else? | Sweden: Skatteverket says handing crypto over for safekeeping or as collateral is not a disposal if ownership does not pass, so the contract terms matter |
Use software to organise a complete dataset, then inspect duplicates, missing prices and negative balances. Manual records can work for small activity; paid software is not a legal requirement merely because crypto is involved. The final responsibility is to support the reporting treatment you actually use.
Common crypto tax record mistakes and how to catch them
Most errors come from a few predictable habits, and each has a quick check.
| Mistake | How it happens | Check |
|---|---|---|
| Using a method that is not available | A software default, or advice written for another country | Confirm the method on your tax authority's own page before calculating |
| Counting a transfer as a sale | Two imports fail to match, so the withdrawal looks like a disposal | Match hashes and quantities before adding prices |
| Counting fees twice | A fee is netted from proceeds and also added to cost | Choose one treatment per fee and note it |
| Putting a trade in the wrong year | UTC timestamps near midnight at a year boundary, or the UK's April boundary | Store UTC and local time; review trades near the boundary |
| Losing records from a closed platform | The exchange shuts down or the account is closed | Download statements every year; see what happens when an exchange goes bankrupt |
| Not reporting losses | Assuming a loss needs no paperwork | In the UK, HMRC says losses must be reported before they can reduce a gain |
| Handing over signing secrets | A tool or "support agent" asks for a seed phrase | Never share it; see the wallet security checklist |
Sources and verification
Primary references checked on 24 October 2026. Protocol settings and local rules can change; verify the linked version before acting.
- IRS: digital assets
- Skatteverket: kryptovalutor
- HMRC: pooling and matching
- IRS: frequently asked questions on virtual currency transactions
- IRS: instructions for Form 1099-DA
- IRS: Revenue Ruling 2019-24 (forks and airdrops)
- IRS: Revenue Ruling 2023-14 (staking rewards)
- HMRC: example of the 30-day rule (CRYPTO22253)
- HMRC: losing private keys (CRYPTO22400)
- HMRC: check if you need to pay tax when you sell cryptoassets
- GOV.UK: domestic reporting under the Cryptoasset Reporting Framework
- European Commission: DAC8
Knowledge check
Apply the example before checking the answer.
Question 1 of 3May you choose FIFO simply because software defaults to it?
Question 2 of 3What is the average-cost gain in the SEK example before fees?
Question 3 of 3Are tax software and seed-phrase access required to prepare records?