Skip to content
Guide

What is Bed and ISA, and does it trigger Capital Gains Tax?

Bed and ISA is the way to get investments you already own into an ISA: you sell them outside the ISA, pay the cash in, and buy the same investments back inside it. HMRC says the sale is a disposal for Capital Gains Tax, so tax can be due if your gains for the year are above the £3,000 tax-free allowance. The 30 day 'bed and breakfast' rule does not undo it, because the ISA Regulations treat ISA holdings as held in a separate capacity.

By ISA Comparison editorial team Published Updated 9 min read Every fact linked to an official source
A light wooden boomerang with a cobalt blue painted band across one arm, standing on a plain mint green background with a soft shadow beneath it

The short answer

  • Sell outside, buy back inside. gov.uk says you cannot transfer shares you already own into an ISA unless they come from an employee share scheme. HMRC's guidance calls the sell and buy back route a 'Share Exchange (sometimes called Bed and ISA)'.
  • The sale can trigger Capital Gains Tax. HMRC says the sale is a disposal for capital gains purposes. Gains above the £3,000 tax-free allowance for the year are taxed at 18% or 24% (gov.uk, 2026/27).
  • The 30 day rule does not catch the buy back. HMRC's 30 day rule matches a sale only with shares bought back by the same person in the same capacity. The ISA Regulations say ISA holdings are treated as held in a different capacity.
  • It uses your ISA allowance. The cash paid in is a new subscription, so it counts towards the £20,000 a year limit across all your ISAs.
  • Conditions apply. HMRC says the ISA must buy at the open market price, not from you or your spouse or civil partner, and any stamp duty must be paid from cash in the ISA.

Bed and ISA is how investments you already hold outside an ISA get inside one. You cannot move them across directly, so you sell them, pay the cash into a Stocks and Shares ISA, and buy the same investments back inside the wrapper. From then on, gov.uk says, there is no tax on income or capital gains from them. The catch is the sale: it counts for Capital Gains Tax, and it uses ISA allowance. This page sets out each step, the tax on the way in, why the 30 day rule does not apply, and what it costs.

Bed and ISA at a glance

Is the sale a disposal for Capital Gains Tax?
Yes
HMRC's ISA subscription guidance
Capital Gains Tax tax-free allowance, 2026/27
£3,000
Then 18% or 24% (gov.uk)
Does the 30 day rule match the buy back?
No
ISA holdings count as a separate capacity (ISA Regulations, reg. 34)
Counts towards the ISA allowance
£20,000
A year, across all your ISAs

What is Bed and ISA, and how does it work?

HMRC’s guidance for ISA managers describes it in its section on generating a cash subscription by the disposal of existing investments. Investments held outside an ISA can be sold and the proceeds subscribed to an ISA, and the subscription can be used to buy back the same investments within the ISA, provided certain conditions are met. HMRC calls this a ‘Share Exchange (sometimes called Bed and ISA)’.

In practice there are three steps:

  1. Sell the investments held outside the ISA, for example in a general investment account.
  2. Subscribe the cash from the sale to a Stocks and Shares ISA. This is new money for the year.
  3. Buy back the same investments inside the ISA.

HMRC sets three conditions on the buy back. The investments must not be bought from the investor, or from the investor’s spouse or civil partner. They must be bought at the open market price. And any stamp duty or Stamp Duty Reserve Tax on the purchase must be paid out of cash held in the ISA.

The sale and the purchase can be instructed together. Where both instructions are given on the same day, HMRC’s guidance accepts that the sale can settle later than the purchase, and says a short period in which the account goes into deficit on the manager’s systems does not breach the ISA rules.

Why can’t you just move shares into an ISA?

Because the rules do not allow it. gov.uk says you cannot transfer any non-ISA shares you already own into an ISA unless they are from an employee share scheme. An ISA is paid into with cash: HMRC’s guidance says investors must subscribe with their own cash. So for most holdings, selling and buying back is the only way in.

Moving an existing ISA to another provider is different: that is a transfer, and investments can move as they are. Our guide to moving a Stocks and Shares ISA in specie or as cash covers that.

Does Bed and ISA trigger Capital Gains Tax?

It can. HMRC’s guidance says plainly that the sale of the investments is a disposal for capital gains purposes. gov.uk lists shares that are not in an ISA among the assets you pay Capital Gains Tax on, and ISAs among those you do not.

So the gain on the sale is worked out in the normal way and added to your other gains for that tax year. gov.uk says you do not have to pay Capital Gains Tax if all your gains in a year are under your tax-free allowance of £3,000. Above it, gains are taxed at 18% where they fall within your basic rate Income Tax band and 24% above it, for 2026/27.

The table is an illustration with round numbers. It assumes no other gains or losses in the year and that the whole gain falls in one rate band. It is not a forecast and leaves out dealing costs.

Illustrative Capital Gains Tax on selling shares worth £20,000 that cost £12,000, before buying them back in an ISA
IllustrationGain falls in the basic rate bandGain falls above it
Sale value£20,000£20,000
Original cost£12,000£12,000
Gain, less the £3,000 allowance£5,000£5,000
Capital Gains Tax£900 at 18%£1,200 at 24%

The gain of £8,000 is taxed once, on the way in. After the buy back, gov.uk says you pay no tax on capital gains from investments in an ISA and do not declare them on a tax return. Where the gain on the sale is within the allowance, no tax is due on it at all. Because the allowance is set for each tax year, a sale made in one tax year and another made after 5 April use different years’ allowances.

Does the 30 day bed and breakfast rule apply to Bed and ISA?

Not to the buy back inside the ISA. Bed and ISA borrows its name from the practice the rule was written to stop. HMRC’s Capital Gains Manual (CG51560) says the 30 day rule was introduced in 1998 to counter ‘bed and breakfasting’ of shares: selling them and buying them straight back. Under the rule, a sale is matched with shares of the same class bought by the same person, in the same capacity, within the 30 days after it. HMRC says all three conditions must be met.

The ISA buy back fails the ‘same capacity’ test. Regulation 34 of the Individual Savings Account Regulations 1998 says the share matching rules apply separately to shares held as ISA investments, and that they are treated as if held in a capacity other than the one in which the person holds any other shares of the same class. So shares bought inside the ISA are not matched with the sale outside it, and the gain on the sale stands.

The rule still applies outside the ISA. If you sell and then buy the same shares back in a general investment account within 30 days, HMRC’s matching rule applies to that purchase. How a general investment account is taxed compared with an ISA covers the wider differences.

Does Bed and ISA use your ISA allowance?

Yes. The cash from the sale is a subscription, so it counts towards the £20,000 you can pay into ISAs in a tax year, across all your accounts. gov.uk says you can save up to £20,000 in one account or split the allowance across several. Investments worth more than your remaining allowance would need to be moved over more than one tax year. See the ISA allowance for how the limit works, and how to check how much allowance you have left.

Timing matters near the end of the tax year. HMRC’s guidance says the subscription date can be the date the shares or units are sold, the settlement date of the purchase, or any date in between that the investor chooses, so an ISA opened this way can be opened in the tax year in which the shares are sold.

What does Bed and ISA cost?

Three kinds of cost can apply, and the tax saving only comes later.

  • Stamp duty. gov.uk says buying shares usually costs a tax or duty of 0.5%, Stamp Duty Reserve Tax when bought electronically. On UK shares bought back for £20,000, that would be about £100. HMRC requires it to be paid from cash in the ISA, so the buy back cannot use every pound subscribed. gov.uk says there is no tax on buying units in a unit trust or shares in an OEIC from the fund manager, and normally none on foreign shares bought outside the UK.
  • Dealing charges. Providers can charge for the sale and for the purchase. Each sets its own charges, so check both sides before instructing. The Stocks and Shares ISA comparison lists what each platform publishes.
  • Price movement. The buy back is at the open market price on the day, which can differ from the sale price, and money that is out of the market for any period does not move with it.

The share dealing ISA guide covers dealing and foreign exchange charges in more detail, and the Stocks and Shares ISA calculator shows how charges affect growth at illustrative rates.

What if your shares are worth less than you paid?

Then the sale makes a loss rather than a gain. gov.uk says that when you report a loss, it is deducted from gains you made in the same tax year, and unused losses can be carried forward. You can claim a loss up to 4 years after the end of the tax year in which you made it. A loss on the Bed and ISA sale works like any other loss on the sale of shares outside an ISA.

Once the shares are inside the ISA, gov.uk says gains there are free of tax. A later fall in value inside the ISA is simply a fall in the ISA’s value.

Can you use your spouse’s or civil partner’s ISA allowance?

Not by selling to them: HMRC’s condition is that the ISA investments must not be bought from the investor or the investor’s spouse or civil partner. Each person’s ISA is paid into from their own allowance.

A gift between spouses is treated differently for tax. gov.uk says you do not pay Capital Gains Tax on assets you give or sell to your husband, wife or civil partner, unless you were separated and did not live together at all in that tax year. If they later sell, gov.uk says their gain is worked out from when you first owned the asset. Shares given to a spouse who then sells them on the market and subscribes the cash to their own ISA use their allowance, not yours. Our guide to giving money for someone else’s ISA covers gifts between partners more widely.

Do you need to report the sale to HMRC?

Only in some cases. gov.uk says that if you are registered for Self Assessment, you need to report gains on your tax return if the total amount you sold assets for in the year was more than £50,000. Where tax is due, gains on shares can be reported in a Self Assessment return or through the ‘real time’ Capital Gains Tax service, which covers assets sold in 2025/26 and 2026/27. With the real time service, gov.uk says you must report by 31 December in the tax year after the gain and pay by 31 January.

Keep a record of what you originally paid for the shares and what you sold them for. After the buy back, nothing about the ISA holding goes on a tax return: see how ISA tax works.

Questions people ask

What does Bed and ISA mean?

It means selling investments you hold outside an ISA, paying the cash into a Stocks and Shares ISA, and buying the same investments back inside it. HMRC's guidance calls this a 'Share Exchange (sometimes called Bed and ISA)'. It exists because gov.uk says you cannot transfer shares you already own into an ISA unless they come from an employee share scheme.

Do you pay Capital Gains Tax on a Bed and ISA?

You can. HMRC says the sale is a disposal for capital gains purposes, so any gain counts towards your gains for that tax year. gov.uk says no tax is due if your total gains for the year are under the £3,000 tax-free allowance. Above it, 2026/27 rates are 18% or 24%, and future gains inside the ISA are free of Capital Gains Tax.

Does the 30 day bed and breakfast rule apply to Bed and ISA?

Not to the buy back inside the ISA. HMRC's Capital Gains Manual (CG51560) says the 30 day rule matches a sale only with shares of the same class bought by the same person in the same capacity. Regulation 34 of the ISA Regulations 1998 treats ISA holdings as held in a capacity other than any other shares of the same class, so the sale outside is taxed on its own terms.

Does Bed and ISA use your ISA allowance?

Yes. The cash from the sale is subscribed to the ISA, so it counts towards the £20,000 a year limit across all your ISAs. HMRC says the subscription date can be the date of the sale, the settlement date of the purchase, or any date in between that you choose. See the ISA allowance.

Can you Bed and ISA into your spouse's ISA?

Not directly: HMRC says the ISA investments must not be bought from the investor or the investor's spouse or civil partner. gov.uk says you do not pay Capital Gains Tax on assets you give to your spouse or civil partner, unless you were separated and did not live together at all in that tax year. A spouse who is given shares can then sell them and subscribe the cash from their own allowance. Their later gain is measured from when you first owned the shares.

A steel hand trolley carrying one sealed cardboard box on a cobalt blue background
Guide

In specie or cash: how do you move a Stocks and Shares ISA, and what do exit fees cost?

In specie or cash ISA transfer? In specie moves your investments as they are; cash sells them first. How per holding exit fees work and where to find them.

10 November 2026 · 7 min read

A brushed steel mesh sieve with a cobalt blue handle holding mint green discs, with two discs falling through below it, on a pale blue-grey background
Guide

Do you pay tax on dividends in an ISA, and what about foreign withholding tax?

ISA dividends are free of UK tax and stay off your tax return, but foreign withholding tax can be taken first. How the 15% US rate and reclaims work.

12 November 2026 · 8 min read

A steel house key tied with a mint green ribbon bow on a black background
Guide

Can you pay into your partner's ISA, or give your ISA to your child?

Can you pay into your partner's ISA? Only with money that is theirs. An ISA cannot be handed over, but cash can be given. Allowance, Junior ISA and tax rules.

31 October 2026 · 10 min read