Published: June 2026 | Fact-Checked & Audited By: David Vance, CTA FCA (Chartered Tax Advisor & Accountant)
This guide is fully updated for the 2026/27 HMRC tax year. All calculations and tax rules have been audited against official UK legislation.
Expert Editorial Review By: David Vance, CTA FCA | Last Updated: 2026/27 Tax Year
Disclaimer: Bed & ISA transactions involve market spreads and transaction fees. Ensure your ISA provider supports automatic Bed & ISA transfers to minimize out-of-market time.
Managing an investment portfolio in the UK requires a smart tax strategy. If you hold shares or funds in a standard taxable brokerage account, you face Capital Gains Tax (CGT) when you sell them, along with taxes on any dividends received. Fortunately, there is a powerful, HMRC-approved method to legally move these taxable investments into a tax-free wrapper: the **”Bed & ISA”** transaction. This strategy allows you to utilize your annual £3,000 CGT allowance to harvest capital gains tax-free, and move those assets into a Stocks & Shares ISA where all future growth and dividends are 100% exempt from tax. In this comprehensive guide, we explain the mechanics of the Bed & ISA transaction, show a step-by-step example, and outline key pitfalls to avoid.
1. What is a “Bed & ISA” Transaction?
A “Bed & ISA” is a two-part transaction executed simultaneously by your broker:
- The Sale: The broker sells your shares or funds in your taxable general investment account (GIA). This is a disposal, meaning you realize a capital gain or loss for tax purposes.
- The Purchase: The broker instantly transfers the cash proceeds into your Stocks & Shares ISA and buys back the exact same shares or funds.
To model how this transaction affects your annual allowances and calculate potential tax liabilities, use our interactive Capital Gains Tax Calculator or check your ISA savings projections with the ISA Savings Calculator.
2. Why Use Bed & ISA? (The Tax Savings)
This strategy delivers three massive tax benefits:
- Harvesting the CGT Allowance: If your capital gains on the sold shares are under your annual £3,000 exempt amount, you pay **£0 tax** on the sale. You have successfully “unlocked” the profit tax-free.
- Shielding Future Gains: Once the shares are bought back inside the Stocks & Shares ISA, they are protected forever. Even if the shares grow 500% in value, you will pay £0 CGT when you eventually sell them.
- Eliminating Dividend Tax: Any dividends paid by the shares inside the ISA are tax-free. Outside an ISA, dividends above the £500 allowance are taxed at up to 39.35%.
3. Step-by-Step Mathematical Example: Bed & ISA
Let’s walk through the math for an investor in the 2026/27 tax year who has £15,000 worth of shares in Company Y held in a taxable GIA. The shares were originally purchased for £12,500, meaning they have a latent gain of **£2,500**:
Step 1: The Sale (Harvesting the Gain)
The investor instructs their broker to execute a Bed & ISA on the shares. The broker sells the shares for £15,000.
- Sale proceeds: £15,000
- Original cost basis: £12,500
- Realized Capital Gain: £2,500
- Because £2,500 is below the individual’s annual exempt amount of £3,000, the tax due is £0.
Step 2: The Reinvestment (Stocks & Shares ISA)
The broker moves the £15,000 cash into the Stocks & Shares ISA and buys back the shares in Company Y.
- This transaction uses **£15,000** of the investor’s annual £20,000 ISA allowance (leaving £5,000 available for other cash or stock contributions in the tax year).
- The new shares in Company Y are now held in the tax-free wrapper. Your cost basis for future CGT purposes inside the ISA is irrelevant—the shares are fully sheltered from all UK taxes.
4. Crucial Pitfalls: The 30-Day Rule Exemption
Normally, if you sell shares and buy them back within 30 days, HMRC’s “bed and breakfasting” rule matches the sale to the new purchase, neutralizing the tax-loss harvest. However, **HMRC provides a statutory exemption for ISA purchases**. If you sell shares outside an ISA and buy them back inside an ISA, the 30-day rule does not apply. The sale is treated as a clean disposal, allowing you to successfully register the gain or loss.
Transaction Costs & Spreads: Be aware that you will pay standard selling and buying commissions to your broker, along with the market “bid-ask spread” (the difference between buying and selling prices). Many brokers offer automated Bed & ISA services that bundle the trade to reduce these costs.
5. Frequently Asked Questions
What is a Bed & ISA transaction?
It is an investment strategy where you sell shares in a taxable account and instantly buy them back inside a Stocks & Shares ISA to shelter future growth and dividends from HMRC.
Does the 30-day rule apply to Bed & ISA?
No. HMRC exempts transactions where the repurchase is made inside an ISA wrapper, allowing you to claim the capital gain or loss immediately.
How much of my ISA allowance does a Bed & ISA use?
It uses the gross value of the cash transferred into the ISA. For example, if you transfer £10,000 of sale proceeds, it uses £10,000 of your annual £20,000 ISA limit.
Can I Bed & ISA my property?
No. Physical property cannot be held inside an ISA. Stocks & Shares ISAs are strictly limited to qualifying paper assets, such as shares, corporate bonds, gilts, and unit trust funds.
Are there fees for a Bed & ISA transaction?
Yes. You will typically pay trading fees for both the sale and the purchase, along with the bid-ask spread. Ask your broker if they offer discounted automated Bed & ISA services.
Can I transfer shares directly into my ISA without selling them?
No. HMRC rules dictate that you cannot transfer physical shares directly into an ISA (except in specific employee share scheme cases like SIPs or SAYEs). The shares must be sold for cash, and the cash used to buy them back inside the ISA.
What is the ISA allowance for 2026/27?
The annual ISA contribution allowance is £20,000, frozen at this level for the 2026/27 tax year.
Can my spouse buy the shares inside their ISA instead of me?
Yes. You can sell the shares in your taxable account and transfer the cash to your spouse. They can then contribute that cash into their own Stocks & Shares ISA to buy back the shares, utilizing their separate £20,000 allowance.
Statutory & Legislative References
- Individual Savings Account Regulations 1998: Statutory instrument establishing the tax-free rules and investment limits for UK ISAs.
- HMRC Capital Gains Manual – CG51560: Official guidelines detailing the exemption of ISA repurchases from the 30-day bed and breakfasting rule.
- TCGA 1992 – Section 1K: Enacting individual annual exempt amounts to determine tax-free sale parameters.
Calculate Your Capital Gains Tax Liability
Put the figures from this guide into practice with our free, HMRC-audited interactive calculation tools: