You sell some Bitcoin to lock in a loss, then buy back crypto later that day or a week later. When you total the figures for Self Assessment, using your usual Section 104 pool cost can make the gain or loss look wrong—and could leave your records inconsistent with HMRC’s matching rules.
For UK crypto investors, bed and breakfast vs same-day rules follow a fixed order: match acquisitions made on the same calendar day first, then acquisitions within the following 30 days, and only then the Section 104 pool. This changes the allowable cost and gain, not whether tax is due. The outcome depends on your individual transaction dates, quantities and records.
HMRC matching has a fixed order
For UK crypto investors, bed and breakfast vs same-day rules are not a choice between two tax methods. HM Revenue & Customs (HMRC) matches purchases to a crypto disposal in a mandatory order: purchases on the same calendar day first, purchases in the following 30 days second, and the Section 104 pool last. This changes the allowable cost and capital gain or loss, not whether Capital Gains Tax (CGT) may be due.
The legal framework sits in the Taxation of Chargeable Gains Act 1992 (TCGA 1992), including the share identification rules in sections 105 and 106A. HMRC applies this framework to fungible cryptoassets such as Bitcoin. Think of it like paying with notes from a wallet: you cannot simply point to the note with the most helpful value after the event.
A sale can be split between all three layers. If you sell 1 BTC, buy 0.20 BTC later that day, buy 0.30 BTC 12 days later, and already held BTC in a pool, HMRC can match 0.20, 0.30 and 0.50 BTC separately.
Same-day comes before every later buy
The same-day matching rule matches a disposal with acquisitions of the same token made between 00:00 and 23:59:59 on the relevant UK calendar date. It does not matter whether the purchase happened before or after the sale during that day.
The first error I find when reviewing small-investor records is using the Section 104 average cost immediately. That shortcut looks tidy, but it is wrong where same-day purchases or later purchases within 30 days exist.
The 30-day rule is not optional planning
The 30-day rule, often called bed and breakfasting, matches any remaining disposal with acquisitions of the same token made from day 1 to day 30 after the disposal. It catches a disposal and reacquisition, even where the investor did not intend to create a tax result.
A same-day match takes priority over a 30-day match. A Section 104 holding, which is the running pooled cost of qualifying units, is only used for the units left after both earlier checks.
Compare the three HMRC matching rules
HMRC’s order is always same-day, then the following 30 days, then the Section 104 pool. The table below shows why a £50,000 Bitcoin sale can produce a different gain depending on later purchases, even though the sale proceeds stay exactly the same.
| Rule | Time window | Priority | Cost used for 0.20 BTC | Practical result |
|---|
| Same-day matching | The disposal date only | 1 | Actual purchase cost, for example £11,000 | Later purchase that day can override pool cost |
| Bed and breakfast, 30-day | Days 1 to 30 after sale | 2 | Actual later purchase cost, for example £9,800 | A planned loss may shrink or disappear |
| Section 104 pool | Remaining units only | 3 | Average pooled cost, for example £8,400 | Use only after both earlier tests |
The GOV.UK guidance and HMRC Cryptoassets Manual treat a crypto-to-crypto exchange as a disposal for CGT in most personal-investment cases. Swapping ETH for BTC is not merely buying BTC. You also disposed of ETH at its pound sterling market value.
Same-day disposal: the honest benefit
Same-day matching can give a sensible result where you actively trade the same token on one date. It uses the actual cost of the units acquired that day, including eligible transaction fees, rather than an older average cost.
It can also produce an unwelcome result. Selling BTC at a loss and buying BTC back later that day may match the new, higher or lower purchase cost, rather than the historic pool cost you expected.
Bed and breakfast: the real limitation
The 30-day rule matters most when someone sells to crystallise a loss, then buys the same token back within 30 days. It changes the cost assigned to the sale; it does not automatically create a usable loss against other gains.
As Alan White, with over 12 years of experience guiding individuals and businesses through cryptocurrency taxation in the UK, I have seen a recurring case: an investor sells Bitcoin for a £4,000 apparent loss, resumes a weekly buy plan within seven days, and finds that the new purchase costs must be matched first. The original pool-based loss was not the final tax answer.
Calculate each disposal in matching order
A correct calculation starts with the disposal date in UK time, then moves through same-day purchases, purchases in the next 30 days, and finally the Section 104 pool. Do not choose the lowest cost, highest cost, or most convenient trade. The statutory sequence decides.
Here is one complete illustrative sale. On 10 June, an investor sells 1 BTC for £50,000 and pays a £100 selling fee, leaving £49,900 net proceeds. They buy 0.20 BTC later that day for £11,000 including its buying fee, buy 0.30 BTC on 22 June for £14,700 including its fee, and their Section 104 pool cost for the remaining 0.50 BTC is £21,000.
- 0.20 BTC same-day match: £9,980 proceeds less £11,000 cost equals a £1,020 loss.
- 0.30 BTC 30-day match: £14,970 proceeds less £14,700 cost equals a £270 gain.
- 0.50 BTC Section 104 match: £24,950 proceeds less £21,000 pool cost equals a £3,950 gain.
- Total disposal result: £49,900 less £46,700 allowable cost equals a £3,200 capital gain.
The £3,200 result belongs to the tax year containing 10 June, the disposal date. The later acquisitions determine the matching cost, but they do not move the disposal into a later tax year.
Use this decision order after every disposal:
1. Convert timestamps to England’s local time.
2. Match the same token bought on that UK date.
3. Match any remaining units bought in the next 30 days.
4. Match the balance to the Section 104 pool.
5. Keep the GBP value, fees, quantity and trade reference for each part.
A timestamp near midnight can change the answer. The UK is on UTC in winter and UTC+1 during British Summer Time, so an exchange record between 23:00 and 00:59 UTC can fall on a different local date in England during summer.
Dates matter before market prices
Check the raw time as well as the date shown by the exchange. A purchase at 23:30 UTC can be 00:30 in England during British Summer Time, making it a next-day purchase rather than a same-day purchase.
This approach works well in theory, but in practice exports from exchanges often show UTC without saying so. Keep the original timestamp, time zone, transaction ID and your converted UK date together.
Records make a loss defensible
For every sale, exchange or gift, retain the token name, exact quantity, UK time, GBP value, fees, exchange or wallet, transaction ID and transaction type. A transfer between wallets that you truly own is normally not a disposal, but you need records showing the same beneficial owner.
Recurring buys, staking receipts and DeFi activity need extra care. A weekly purchase can trigger 30-day matching; tokens received from staking can have income-tax issues before any later CGT calculation.
If your records are scattered across two to four exchanges and several wallets, start by exporting them before filing. A crypto tax calculation review is worth arranging before submitting Self Assessment where a sale, swap or claimed loss is material to your return.
This guide does not replace a tailored calculation for companies, professional trading, transfers between spouses or civil partners, employment tokens, mining, complex staking or DeFi. Seek tax advice where records are incomplete, losses are significant, activity crosses borders, or the real owner of a wallet is unclear.
This approach is suitable if you are a small UK investor preparing a return or considering a loss sale, and you can first check every purchase of that token on the sale date and in the next 30 days.
In practical terms, the HMRC cryptoasset matching rules are a method of cryptoasset acquisition matching, not a separate tax on a Bitcoin disposal or any other token sale. For UK crypto capital gains tax, calculate the proceeds in GBP, identify the matched acquisition cost and include eligible crypto allowable cost items, such as qualifying transaction fees. The amount left in the Section 104 pool is a pooled cost basis, rather than a collection of chosen lots.
Keep Self Assessment crypto records that show the relevant UK crypto transaction dates, GBP valuations and matching schedule, so the capital gain or loss can be traced from each disposal to its acquisition cost.
FAQs
Can I use my Section 104 pool first for crypto?
No. HMRC matching requires same-day acquisitions first and acquisitions in the following 30 days second. Use the Section 104 pool only for the units left after those checks.
Does buying Bitcoin back the same day avoid CGT?
No. A same-day repurchase can change the allowable cost, but the sale is still a disposal. CGT depends on the resulting gain or loss and your individual tax position.
Does the 30-day rule include purchases before a disposal?
No. The bed and breakfast rule covers acquisitions from 1 to 30 days after the disposal. Purchases before the sale are normally represented in the Section 104 pool, subject to the full identification rules.
Is a crypto-to-crypto swap taxable in the UK?
Usually yes. Exchanging one token for another is generally a disposal of the token you give up, valued in GBP at the transaction time.
Do transfers between my own wallets create a disposal?
Normally no, if the same person remains the beneficial owner. Keep wallet addresses, transaction hashes and transfer records to support that position.
What if HMRC asks about my same-day calculation?
Show the raw trade history, time zone, GBP valuation method, fees and matching schedule. HMRC can test whether your dates and quantities support the order required by TCGA 1992.
Can a bed and breakfast loss offset my other gains?
Sometimes, but only after the statutory matching calculation produces an allowable capital loss. A quick sale and rebuy within 30 days does not guarantee the loss you expected.
File the calculation, not an assumed pool result
The practical recommendation is clear: do not sell and rebuy the same crypto to create a loss unless you are willing to apply the same-day and 30-day rules first. For most occasional investors, the safest route is to pause automatic purchases of that token for 30 days only if that fits their investment plan, then document the calculation rather than forcing a tax outcome.
As Alan White, with over 12 years of experience guiding individuals and businesses through cryptocurrency taxation in the UK, I have seen the most reliable results come from reconstructing trades in date order before looking at gains. The mistake is rarely difficult maths; it is missing a £25 recurring purchase, a UTC timestamp, or a crypto swap that changed the matching chain.
If you have incomplete imports, wrapped tokens, bridge transactions, lending, liquidity pools or uncertainty over wallet ownership, neither a simple same-day calculation nor a simple bed and breakfast calculation may fit. Stop before filing an estimate based only on your exchange balance.
The Financial Conduct Authority (FCA) regulates aspects of UK cryptoasset business activity, but it does not calculate your CGT. Your legal duty is to keep sufficient records and report the correct result under the Self Assessment rules.
Choose this approach if you want the most defensible answer, not the most attractive paper loss. Rebuild each disposal in compulsory matching order, then seek tailored advice where the facts fall outside a straightforward personal-investment history.
Must I report every small crypto gain?
Reporting depends on your total gains, proceeds and Self Assessment position for the tax year. The annual exempt amount can change, so check the current GOV.UK limits when preparing your return.
Learn more
Here are some additional resources on this subject: