Capital Gains Tax on shares and funds

Updated 30 November 2026 · ClearCost UK · 3 min read

Gains on shares and funds outside ISAs and pensions are taxed at 18% or 24% after the £3,000 exemption. Shares are averaged in a section 104 pool, and buying back within 30 days matches the sale to the new shares.
Advertisement

How do the matching rules work?

HMRC matches sales in this order.

RuleMatches with
Same-day ruleShares bought the same day
30-day ruleShares bought in the next 30 days
Section 104 poolAverage cost of all other holdings

How can you shelter future gains?

  • Bed and ISA: sell and rebuy inside an ISA (up to £20,000 a year).
  • Use a pension (SIPP).
  • Use both spouses' £3,000 exemptions.
Advertisement

When must you report?

On Self Assessment if you have tax to pay, or if total disposal proceeds exceed £50,000 even with no tax.

More on this topic: the UK tax, VAT and National Insurance hub, Capital Gains Tax calculator and CGT rates 2026/27.

Sources and further reading

Questions people ask

Do I pay CGT on shares in an ISA?
No, ISA gains are tax-free.
What is the 30-day rule?
Rebuying the same shares within 30 days matches the sale to the new purchase, stopping a quick loss or gain reset.
How much CGT on £10,000 of share gains?
£1,680 for a higher-rate taxpayer.
Are dividends part of CGT?
No, dividends are taxed separately as income.
Can I use losses?
Yes, report them within 4 years to carry forward.
Do fund switches count?
Yes, switching funds outside an ISA is a disposal.

Results are estimates for information only, not financial advice. Read the full disclaimer.

More free calculators

Advertisement