You sell your crypto at a loss, and a week later, regret it and buy the same asset right back. Sounds like a classic move, right? But did you know what happens next could really matter for your taxes—especially if you’re in the UK? The so-called “30 day rule” is lurking behind a lot of surprising moves in the crypto world, and most folks either don’t know it exists or totally misunderstand it. This rule causes headaches, but it also creates chances for clever strategies—if you actually get how it works. Let’s break it down and see how it could change your crypto game.
Where Did the 30 Day Rule in Crypto Come From?
Lots of people assume tax rules are mostly written for stocks and bonds, but digital coins and tokens have been part of the picture since way back in 2014. The famous “30 day rule”—used much more in the UK than anywhere else—isn’t some recent crypto-only idea. Its roots go back to how Her Majesty’s Revenue & Customs (HMRC) wanted to stop folks from skirting capital gains taxes with “bed and breakfasting.” Traders used to sell assets late in the financial year just to crystallize a loss (and claim the tax benefit), only to buy them right back at nearly the same price the next day.
To curb this, the UK plugged the gap with Section 106A of the Taxation of Chargeable Gains Act 1992. That’s a mouthful, but the gist is easy: if you sell a security or crypto-asset for a loss, but re-buy it within 30 days, the tax office pretends you never truly “lost” money, so you can’t instantly claim that loss. Most tax authorities in the world, like the US’s IRS, don’t have such a rule for crypto—they do have it for stocks (the “wash sale” rule)—but not for bitcoin or ether yet. The UK, though, extends this right to crypto. It means UK investors need to track a calendar, not just a price chart.
This UK rule only applies if you got rid of the asset, but you bought it back (or acquired more) within the very next 30 days—these days can cross tax years and affect long-term planning. Crypto is included whether you’re trading bitcoin, dogecoin, or tiny new altcoins, and HMRC has made it pretty clear through their “Cryptoassets Manual.” Its goal: prevent you from dodging taxes by shuffling coins in and out of your portfolio. Simple story, lots of details.
How Does the Crypto 30 Day Rule Work? Breaking Down the Steps
Here’s where most people slip up. Plenty of traders assume if they sell crypto at a loss, they can immediately scoop it back up and write off the loss against other gains. Not so fast, at least in the UK. The 30 day rule, sometimes called the “bed and breakfasting” or “same day/30 day matching rule,” forces you to look at specific timelines for your assets. Let’s go step by step.
- On Day 1, you sell 2 ETH at a loss.
- On Day 7, you buy 2 ETH again.
- This triggers the rule: Your loss doesn’t offset other gains yet. Instead, the cost basis for your re-bought ETH will be set based on your buy and sell price, per the strict “next in, first matched” order.
- You only get to actually claim and lock in the loss if you DON’T buy back for 30 days.
This “matching” means that your sale is paired with any coin you re-acquire within 30 days (before coins from older purchases or the same day matching). HMRC even sets out an order of operations:
- First, match sale with crypto acquired on the same day.
- Second, match with any crypto bought in the next 30 days.
- Third, after that, use the vast “Section 104 pool” (aka the running aggregate of your identical asset holdings).
This order means that your quick flips are most likely caught by the rule, and it can cause real headaches if you’re a frequent trader or someone who likes to “scale in” and “scale out” of positions for short-term trends. So that quick buyback after panic selling? It might not do what you think for your tax bill.
The rule’s intention is simple: Prevent easy creation of “paper losses” for tax relief. But it can also affect legit dollar-cost averaging, or just market mistakes, where investors want to re-establish a position for non-tax reasons. With crypto’s infamous volatility, this happens—a lot. And if you’re using multiple exchanges or DeFi wallets, tracking all of this is even more painful, because there’s no built-in “bed and breakfast” warning pop-up before you click confirm. Instead, every transaction counts, whether it’s on Coinbase, Binance, or that tiny DEX on your phone.

Why the 30 Day Rule Matters: Pitfalls, Tricks, and Real Results
Ignoring the 30 day rule can wreck your plan, especially at tax deadline time. People have a nasty habit of baking these “losses” into their tax planning—then getting blindsided by a surprise letter from the tax man. And the speed of crypto trading means this rule kicks in often by accident. Sell your crypto for a loss, then FOMO back in a week later, and your expected tax loss can evaporate—or at least get pushed forward into a new year.
Here’s a handy table showing how it plays out with sample numbers for UK traders:
Day | Event | Price (GBP) | Tax Effect |
---|---|---|---|
1 | Sell 1 ETH | £1,500 (at loss) | Expected capital loss |
10 | Buy 1 ETH | £1,550 | 30 day rule applies Matching sale and repurchase |
350 | Sell re-acquired 1 ETH | £2,000 | Loss from first sale not allowed until final sale |
Instead of immediately using the capital loss, you only get it when you finally sell the "replacement" coin and fully exit the position.
Some folks try to be sneaky. What if you buy a different token—say, swap Ethereum for Ethereum Classic? The rule only applies to sales and repurchases of the same asset. That means swapping between two different tokens—a move many use to dodge the rule—may help, but be careful: “Wrapped” versions of the same coin (like WBTC and BTC) can trip you up, since HMRC sometimes treats these as identical. Always check guidance for each token.
Another trick: Buying through a spouse or partner. In the UK, assets transferred between spouses are generally considered “no gain, no loss” transactions, letting couples double their capital gains tax (CGT) allowances and sidestep the rule—at least once. Still, regular swaps within the family can look suspicious, and it’s risky if you’re audited.
Too many try to wing it and end up with messy, mismatched cost bases, especially if they’re active traders. Your tracking follows the FIFO (“First In, First Out”) principle by default, unless the same-day or 30 day rule overrides it. The hit comes if you misunderstand the order and end up with capital gains you didn’t expect to declare. Automated tax tools help, but only if you input every transaction—otherwise, your data can go sideways fast.
It’s worth noting that the 30 day rule exists mainly in the UK. In the US, the IRS “wash sale” rule currently applies to shares and securities, but not crypto. That means US traders can—at least for now—tax loss harvest crypto as fast as they want. Many call the UK law “anti-abuse,” but frequent rule changes are rumored as governments catch up to the crypto boom. Don’t count on loopholes lasting forever.
Smart Ways to Survive and Thrive With the 30 Day Rule
If you’re trading crypto and bumping up against the 30 day rule, don’t panic—just play smarter. Mark your calendar when you sell, don’t auto-rebuy out of habit. If you must get back into the market, consider another token temporarily, or add to your holding after 30 days instead of before. If you’re a UK trader and want cleaner, tax-friendly loss harvesting, waiting a full month between trades can get you the deduction you want, even if markets are swinging wildly.
Not sure how it works for your crypto? Here’s the checklist:
- List every buy/sell and date.
- Watch out for automatic purchases (recurring buys).
- If in doubt, use a proper crypto tax tool—or at least a spreadsheet—set to UK settings.
- For DeFi protocols, airdrops, and staking, know the differences: usually, only sales/purchases of identical tokens count. Earning rewards from an airdrop doesn’t trigger the rule, but re-buying the same token sure does.
And a word of warning: Even small, accidental buybacks count. Bought just 0.01 BTC to “test” a new exchange after you sold your big stash? That’s now a 30 day re-acquisition. Size does not matter—any amount triggers the rule.
Tax advisors sometimes recommend “doubling up before you sell”—in other words, buying more of the asset, then selling the original, so the 30 day rule never comes into play. This can work, but make sure prices, fees, and risk lines up for you.
If you’re trading internationally, double check: rules differ from country to country. In the US, fast-harvested losses on bitcoin are fine (for now). In Australia, things are similar, but their tax authority may look at substance over form. Singapore, still not much crypto tax at all. It pays to know where you stand.
Bottom line: If you’re active in the crypto space, this “30 day rule” will shape both your tax return and the way you think about short-term moves in your portfolio. Treat it as both a red flag (stop-loss on dodgy tax tricks) and a puzzle you can sometimes solve to your benefit—if you stay sharp.