The Trade That Comes Back: How HMRC's 30-Day Matching Rewrites a Crypto Disposal
Photo: R4vi from London, UK, CC BY-SA 2.0, via Wikimedia Commons
Most UK crypto holders think about disposals in terms of profit and loss on a screen. Her Majesty's Revenue and Customs thinks about them in terms of sequence. The difference between those two views is where surprises are made, and it is rarely the size of a trade that causes the trouble — it is the order in which trades happen and the dates attached to them.
This article is general commentary on record-keeping. It is not tax advice, and no example here should be treated as a template for a return. Anyone with a real disposal to report should speak to a qualified adviser or read the relevant HMRC guidance directly.
Three buckets, applied in a fixed order
When a UK holder disposes of a cryptoasset, HMRC's approach is to match that disposal against acquisitions in a set sequence.
First comes the same-day rule. If you acquire the same type of token on the same day you disposed of it, the two are matched together before anything else is considered.
Second comes the 30-day rule, sometimes described as bed-and-breakfast matching, a phrase borrowed from the treatment of shares. Any part of the disposal not matched on the same day is then matched against acquisitions of the same token in the 30 days after the disposal, taking the earliest acquisition first.
Only what remains is matched against the pool — a running record of the tokens you hold, carrying an average allowable cost per token.
Two details matter more than they appear to. The pool is kept per type of cryptoasset, not per exchange or per wallet, so holdings scattered across three platforms still feed one running total. And the 30-day window runs forwards from the disposal, not backwards from it.
A worked example
Consider a hypothetical holder, Priya, using illustrative figures only.
On 12 January 2026 she buys two tokens at £30,000 each, paying £60 in fees. Her pool now holds two tokens at an allowable cost of £60,060, or roughly £30,030 each.
On 3 March 2026 she sells one token for £42,000, paying £40 in fees, so net proceeds are £41,960. Nothing was bought that day, so no same-day match applies.
On 20 March 2026 — seventeen days later — she buys one token back for £45,000.
A holder reading only the March sale would conclude that she made a gain of £11,930: £41,960 received against a pool cost of £30,030.
But the 20 March purchase falls inside the 30-day window, so the disposal is matched to it first. The result becomes £41,960 less £45,000, a loss of £3,040. The pool is left untouched at one token with an allowable cost of £30,030, and the repurchased token never joins it.
Had Priya waited until mid-April to buy back, the pool match would have stood, the £11,930 gain would have been reportable, and the new token would have entered the pool at its own cost. Same three trades, different sequence, different outcome.
None of this is a trick or an avoidance question. It is simply how the matching order works, and it is invisible unless the dates are recorded.
Why timestamps beat totals
The example above turns on a gap of seventeen days. Real portfolios turn on much finer margins: a purchase placed late on a Friday evening, a sale executed in the early hours, a partial fill that completes after midnight.
Three habits help here. Record the execution time of every trade rather than the time you withdrew funds or checked the balance. Note the time zone your exchange reports in, since many default to UTC and a late-evening London trade can fall on the following day in that record. And keep the raw export from each venue rather than a hand-typed summary, because summaries quietly lose fees, partial fills and cancelled orders that were later replaced.
What a transaction diary should hold
A plain spreadsheet is sufficient. For each transaction, log:
- date and time of execution, plus the reporting time zone;
- the token, the quantity, and whether it was a buy, sell, spend, or transfer;
- the venue or counterparty;
- the unit price and total consideration in sterling, with the exchange rate and its source if the trade was priced in another currency;
- fees, separately, since they are treated differently on the way in and the way out;
- the wallet or account involved, even though the pool ignores it;
- a note of what the transaction was for — a purchase, a gift, a transfer between your own accounts, a payment for a service.
That last column is not bookkeeping decoration. A transfer between two wallets you control is not a disposal, and without a note it can be mistaken for one years later.
The ordinary places it goes wrong
Most difficulties arise from a handful of everyday patterns: recording only the moments money enters or leaves an exchange, valuing a trade at the day's closing price rather than the price actually achieved, treating each platform as a separate tax universe, and overlooking small purchases — a weekly standing order into a token, say — that fall inside a 30-day window without anyone noticing.
Records first, conclusions later
A diary does not decide anything. It preserves the sequence so that a figure can be reconstructed calmly, months later, by you or by an adviser. The 30-day shadow is only a problem when the dates have gone missing.