# What is the 30-day rule for crypto tax?

If you sell crypto and buy the same type back within 30 days, HMRC matching rules may link the sale to the new purchase instead of your main pool — affecting how gain is calculated.

---

— Digital Assets UK (https://digital-assets.co.uk/answers/30-day-bed-and-breakfast-rule/), reviewed 2026-06-23.
