How to Avoid UK Capital Gains Tax on Shares in 2024

Many ask how to avoid capital gains tax on UK shares. Here, we present three effective methods to steer clear of capital gains tax this year.

A woman with headphones on her computer with text overlaid that says, "How to Avoid Capital Gains Tax on Shares" and The Motley Fool jester cap logo

When investing, your capital is at risk. The value of your investments can go down as well as up and you may get back less than you put in.

Read More

The content of this article is provided for information purposes only and is not intended to be, nor does it constitute, any form of personal advice. Investments in a currency other than sterling are exposed to currency exchange risk. Currency exchange rates are constantly changing, which may affect the value of the investment in sterling terms. You could lose money in sterling even if the stock price rises in the currency of origin. Stocks listed on overseas exchanges may be subject to additional dealing and exchange rate charges, and may have other tax implications, and may not provide the same, or any, regulatory protection as in the UK.

An often overlooked expense in the world of investing is taxes. That’s why many investors are keen to know how to avoid UK capital gains tax (CGT) on investments. 

The rate of CGT on shares before October 2024 was either 10% or 20%, depending on your taxable income level. But based on the latest government budget, these figures have since been increased to 18% and 24%, respectively.

Therefore, it’s prudent to make sure your portfolio doesn’t have a large amount of unrealised gains that could potentially become liable to CGT in the future.

Fortunately, there are several methods available to lower your CGT bill. Let’s explore some of these strategies and highlight one popular way you may want to avoid.

1. Use a tax-efficient investment account

Keeping all your investments in either an Individual Savings Account (ISA) or a Self-Invested Personal Pension (SIPP) is probably the easiest way to invest and avoid CGT.

Stocks and Shares ISA allows you to invest up to £20,000 per year, with all income from dividends and capital gains remaining 100% tax-free.

A SIPP is similar, except you can invest up to £60,000 per year. On top of this, all contributions made are tax-deductible. However, there is a critical difference. Once you add money to a SIPP, you cannot withdraw it until the age of 55 (57 as of April 2028). Furthermore, any withdrawals beyond 25% of the portfolio are taxed as regular income. 

In other words, an ISA is tax-free, while a SIPP is tax-deferred. Both methods are very popular methods of tax relief and have their pros and cons.  

Some specialist investment schemes called venture capital trusts (VCT) and enterprise investment schemes (EIS) also allow you to avoid or defer capital gains tax. But they are subject to several restrictions and only offer a very narrow field of potential investments.

2. Use a jointly-owned investment to maximise CGT allowance

Everyone has an annual exemption to capital gains tax called a CGT allowance. Once the tax year ends, you get a new allowance and any unused allowance from the previous year disappears. Therefore, to ensure it’s not wasted, it makes sense to use as much of your CGT annual allowance each tax year as you can.

That’s why it can make sense to jointly own an investment with a spouse, partner, family member, or friend. Why? Because in a joint investment, all gains or losses are assumed to be due 50% to each participant. In other words, it spreads any profits over two CGT allowances instead of one.

Even if you’ve already invested as an individual, you can still use this method, particularly if you’re married. Typically, gift assets are treated as a disposal for UK tax purposes. However, for spouses, gifts are made at cost instead. If you have shares with taxable gains that you wish to sell, you can first put them into joint name with your husband or wife. This effectively gives half the shares to that spouse at cost. This is known as gift relief.

If you then sell the now jointly-owned holding, there are two potential benefits. First, the gain is split into two. And second, two CGT annual allowances are available, each against half the income.

Variations on this method include considering the marginal income tax situations of the spouses or other joint owners.

UK CGT is calculated by reference to total income in the tax year. Where one owner is in a much higher rate taxpayer bracket than the other, it could pay to split the holdings unevenly. By having more of the holdings in the name of the lower-rated taxpayer spouse, the couple could lower their total amount of CGT due.

This works with spouses because of the ability to transfer at cost. The exact inequality desired can be decided once the potential gain is known. However, this tactic might not work with unmarried joint holders. This is because any shift in the holding would cause disposal.

3. Sale and repurchase with tax-efficient accounts

Another method of avoiding CGT on shares is sale and repurchase.

Here the idea is to realise a gain or loss on some shares by selling and perhaps making use of that year’s CGT allowance, all while retaining ownership.

This is done by raising the base cost of the shares via the annual CGT exemption to mitigate the capital gain on ultimate disposal. It could also be to create a loss to set off against other realised gains in the year.

This process used to be called bed & breakfasting. Up until 1998, it was possible to use this method to sell a share and then repurchase it the next day, with only a small risk of the market going against you.

A 30-day rule was introduced in 1998 that ended this loophole. Selling shares and buying them back 30 days later greatly raises the risk of the stock price moving significantly against you while you’re waiting. 

The overall strategy is still sound for those who plan ahead, however. Techniques have evolved over time to get around the 30-day rule.

You can sell some shares and then repurchase them immediately with an ISA or SIPP. This is sometimes referred to as bed & ISA and bed & SIPP. The repurchased shares are protected by these tax-efficient accounts. Any losses from the initial sale can still be used to offset any realised gains.

However, as previously mentioned, these accounts have contribution limits. Therefore, this method may not be available if you have already used your allowances for these products.

4. Sale and repurchase with a spouse 

Another method, if you own the shares solely, is to sell them in the market (creating the gain). Your spouse can then simultaneously repurchase them in the market to avoid any price movement. Your spouse then transfers the shares back to you (if that’s desirable), in effect at their repurchase price.

In this instance, neither of you makes a chargeable gain or loss.

This method of avoiding CGT on shares can be done with an unmarried partner or other person, although with a slight additional problem. After the simultaneous repurchase in the market, the other person has to transfer the shares back to the original holder at market value because of the gifts rule.

That’s no problem if the market price is roughly the same. If it has moved substantially, however, the second person creates a taxable gain or loss for themselves.

One final but very important point on the methods that rely on a spouse or other party. The suggestions here are purely from a tax mitigation point of view. However, there may well be personal considerations that have priority over tax matters before entering into any such arrangements.

5. Sale and repurchase using investment classes

This method of avoiding CGT on shares requires only one person and works best with certain types of investment. The identification rules for matching sales and purchases of shares refer to those of the same class. In practice, this means identical shares.

However, many types of nearly identical investments are deemed to be different classes for CGT purposes.

A good example is an index tracker. One tracker, for CGT purposes, is not the same as another from a different fund manager. This is the case, even though technically, they may be pretty similar financial products.

Therefore, if you are showing gains on one tracker and wish to use your annual CGT exemption, you could sell enough to use your annual allowance and then, with the proceeds, invest in a different tracker with a similar specification.

You end up owning a similar investment, but at the current market price. This raises the base cost and reduces any future CGT. You would do this each tax year when gains exist, continually uprating the cost.

The same principle applies to any two investments that are closely correlated yet not the same for CGT identification purposes. This is most likely to be the case with open-ended funds or investment trusts. It would be hard to find individual shares that are so closely correlated.

6. Avoid spread betting 

An increasingly popular way to avoid CGT liability is to use spread betting. This is considered akin to gambling by HMRC, so no CGT is levied on any profits made. The exception is if it becomes your main source of income. In that case, it is regarded as a trade and liable to income tax.

However, spread betting can be extremely risky. It often involves the use of borrowing, and you can become very exposed to even small price movements. Most people that spread bet tend to lose money overall.

That’s why you might want to consider alternative methods when thinking about avoiding CGT on UK shares.

Please bear in mind that taxation is a complex and nuanced area. If you are in any doubt about your personal tax situation, you may require professional advice, especially where larger sums are involved.

Please note that tax treatment depends on the individual circumstances of each client and may be subject to change in future. The content in this article is provided for information purposes only. It is not intended to be, neither does it constitute, any form of tax advice. Readers are responsible for carrying out their own due diligence and for obtaining professional advice before making any investment decisions.

Frequently asked questions

Let’s go over some commonly asked questions by investors relating to avoiding capital gains tax in the UK.

What is the capital gains allowance in the UK?

For investors who aren’t using tax-efficient accounts like a Stocks and Shares ISA or a SIPP, any returns generated from a change in share price are subject to capital gains tax. However, each year, individuals receive a personal capital gains allowance that allows them to earn up to a certain threshold without having to pay any taxes.

The capital gains allowance has changed numerous times over the last decade as governments adjust fiscal policy. As of the 2024/2025 tax year, investors can earn up to £3,000 in capital gains before taxes need to be paid.

Tax Year2019/20202020/20212021/20222022/20232023/20242024/2025
Capital Gains Allowance£12,000£12,300£12,300£12,300£6,000£3,000

How much do you pay on capital gains in the UK?

The amount of capital gains tax an investor needs to pay beyond the annual allowance depends on their income tax bracket.

Following the latest changes to the government budget, individuals within the Basic rate income tax bracket will pay an 18% capital gains tax on shares. For those in the Higher or Additional income tax brackets, the capital gains tax on profits increases to 24%.

Both figures have increased significantly from their previous levels of 10% and 20%, respectively. And therefore, it’s becoming increasingly important for investors to capitalise on tax-efficient accounts such as a Stocks and Shares ISA to protect their wealth from the taxman.

Can I sell stocks and reinvest without paying capital gains tax?

No. Whenever shares are sold, this transaction counts as a realised gain and is taxable. Therefore, before reinvesting any capital, investors have to allocate sufficient funds to pay the subsequent capital gains tax from this transaction.

How long do you have to hold shares to avoid capital gains?

Some economies charge different capital gains taxes depending on how long a stock has been held. These policies are designed to encourage long-term investing among the wider population.

For example, in Luxembourg, any shares held for more than six months will not be charged any capital gains tax.

However, the UK does not have any such policy. Therefore, capital gains taxes cannot be avoided by simply holding onto shares for a long period.

This article contains general educational content only and does not take into account your personal financial situation. Before investing, your individual circumstances should be considered, and you may need to seek independent financial advice.  

To the best of our knowledge, all information in this article is accurate as of time of posting. In our educational articles, a "top share" is always defined by the largest market cap at the time of last update. On this page, neither the author nor The Motley Fool have chosen a "top share" by personal opinion.

As always, remember that when investing, the value of your investment may rise or fall, and your capital is at risk.