Tax on shares and investments: what every UK investor needs to know
CGT, dividend tax, stamp duty and ISA protection explained in plain English. Know what you owe before HMRC comes knocking.
Most people learn about investment taxes the hard way, when their first decent gain lands in their lap and someone mentions self-assessment. Getting a handle on the tax side of investing before you need to is one of those small pieces of financial housekeeping that pays for itself many times over.
The UK tax system treats shares and investments in several different ways depending on how you make money from them and where you hold them. There is no single “investment tax” to worry about. Instead, there are a handful of different charges that apply at different points, and a very useful wrapper that lets you avoid most of them entirely.
Start with stamp duty, because it applies every time you buy shares in a UK company. The rate is 0.5% of the purchase price, collected automatically when you execute a trade through a broker. If you buy £2,000 worth of shares in a UK-listed company, £10 goes to HMRC before the position is even open. This is not a tax you pay at the end of the year; it is deducted in real time. Most exchange-traded funds (ETFs) listed in Ireland or Luxembourg are exempt, which is one of the lesser-known advantages of using index funds to get UK market exposure.
The bigger tax to understand is Capital Gains Tax, usually shortened to CGT. This applies when you sell investments for more than you paid for them. The profit is the gain, and if your total gains across all sales in a tax year exceed the annual exempt amount, you pay tax on the excess. For the 2025/26 tax year, that exempt amount is £3,000. This is significantly lower than it was a few years ago; as recently as 2022/23 you could crystallise up to £12,300 in gains without any tax liability. The gradual reduction has caught a number of investors by surprise.
The rate you pay on gains above the exempt amount depends on your income tax band. Basic rate taxpayers pay 18% on gains from shares and investments. Higher rate and additional rate taxpayers pay 24%. If your gains push your total income into a higher band, you pay the lower rate on the portion that falls within the basic rate band and the higher rate on the rest. Keeping records of exactly what you paid for each holding, including dealing costs, is important because you can deduct those costs from the gain calculation when you eventually sell.
One rule worth knowing is the 30-day rule, sometimes called the bed-and-breakfast rule. If you sell shares and then buy the same shares back within 30 calendar days, HMRC treats the repurchase price as the cost for calculating the gain on the original sale. This was designed to stop investors from crystallising paper gains or losses at the end of the tax year and immediately rebuilding their position. If you want to bank a loss for tax purposes, you need to wait 30 days before buying the same shares again, or buy a different but similar investment in the meantime.
Dividend income brings its own tax treatment. When a company pays a dividend, you receive cash from its profits, and that income is taxable above a certain threshold. The annual dividend allowance for 2025/26 is £500. Everything above that is taxed at rates that sit above the standard income tax rates for equivalent income: 8.75% for basic rate taxpayers, 33.75% for higher rate taxpayers, and 39.35% for additional rate taxpayers. If you hold a portfolio of income-generating shares outside a tax shelter, the dividend tax can quietly erode your returns year after year, especially as the allowance has been cut from £2,000 in 2022/23 to its current level.
This is where the ISA becomes one of the most valuable tools an investor has. A Stocks and Shares ISA is a wrapper around your investments that makes everything inside it invisible to the taxman. Dividends inside an ISA are not counted against your allowance. Gains inside an ISA are not subject to CGT, regardless of size. You can buy and sell as often as you like within the wrapper without any tax consequences. The annual subscription limit is £20,000 for 2025/26, and you cannot carry unused allowance forward to the next year. Using this allowance consistently over time, particularly in the early years of building a portfolio, is one of the most effective ways to compound wealth without tax drag.
If you also use a Self-Invested Personal Pension (SIPP), gains and income inside the pension are similarly sheltered from tax while they remain invested. The difference is that you cannot access pension money until age 57, rising to 58 in 2028. The upside is that contributions benefit from tax relief at your marginal rate on the way in, so a £1,000 contribution costs a basic rate taxpayer just £800 after HMRC tops it up. For many investors, the combination of a maxed-out ISA and regular SIPP contributions covers most of their long-term investment activity without much exposure to CGT or dividend tax at all.
For investments held outside ISAs and SIPPs, you will need to report gains and dividends via a self-assessment tax return if they exceed the relevant allowances. HMRC does not automatically know what you have made on shares; you are responsible for declaring it. Brokers do not deduct tax on the way out the way employers deduct income tax through PAYE. Keeping a simple spreadsheet tracking purchase prices, sale prices and dividends received makes the end-of-year calculation straightforward and avoids the stress of reconstructing records at short notice.
The key takeaway is that the tax burden on investments can be managed, but it requires some attention. Holding investments inside an ISA wherever possible, making use of the annual CGT exempt amount by crystallising gains gradually, and keeping records are the basics that most investors who stay out of trouble already follow.
TL;DR — the short version
- Stamp duty of 0.5% is charged automatically whenever you buy UK shares; most ETFs are exempt.
- Capital Gains Tax applies to profits when you sell; the annual exempt amount is £3,000 and rates are 18% or 24% depending on your income band.
- The dividend allowance is £500 for 2025/26; anything above that is taxed at 8.75%, 33.75%, or 39.35% depending on your tax band.
- A Stocks and Shares ISA shelters all gains and dividends from tax; the annual allowance is £20,000 and cannot be carried forward.
- A SIPP does the same for retirement savings, with the added benefit of tax relief on contributions going in.
- Investments outside ISAs and SIPPs need to be declared via self-assessment if gains or dividends exceed the allowances.
Disclaimer: The value of investments can go down as well as up, and you may get back less than you invest. This article is for informational and educational purposes only and does not constitute financial advice. Always do your own research and consider seeking independent advice before making any investment decision.
Nothing in this article is financial advice. Tax rules change frequently. Check the current ISA allowance, CGT exemption and relevant rules on HMRC’s website or consult a qualified financial adviser for your specific situation.
Money & Markets is a guide to personal finance and investing for people who want to understand the world they live in, updated as rules and markets change.