Investment & Retirement

Tax-Loss Harvesting: Turning Investment Losses Into Savings

16 November 2026|SimpleCalc|10 min read
Portfolio showing losses being offset against gains

Tax-loss harvesting is the strategy of selling losing investments to offset capital gains - thereby reducing your capital gains tax bill. If you've had a profitable year on some stocks, you can realise losses in others to net off the tax hit, turning investment losses into real tax savings. It's not complicated, but it does require understanding the rules and knowing when it actually pencils out financially. In the UK, HMRC lets you claim allowable losses against capital gains, and if your losses exceed gains in any year, you can carry unused losses forward to future years, as long as you claim them within 4 years of the end of the tax year you made the loss.

This guide covers when tax-loss harvesting saves you actual money - and when it's more trouble than it's worth.

How Tax-Loss Harvesting Works

Here's the mechanism:

  1. You own Stock A, bought at £500, now worth £400. Unrealised loss: £100.
  2. You own Stock B, bought at £300, now worth £450. Unrealised gain: £150.
  3. If you sell Stock B alone, you trigger a taxable gain of £150 (on which you'd owe capital gains tax).
  4. Instead, you sell Stock A first, crystallising a loss of £100.
  5. That £100 loss can be set against the £150 gain, leaving you liable for tax on only £50.

At the 24% higher CGT rate, that loss saves you 24% × £100 = £24 in tax. On a single trade, it's modest. But in a larger portfolio with multiple holdings in drawdown, those savings stack.

The key insight: you're not avoiding tax, you're deferring it or reducing it. You're trading the psychological discomfort of selling a loser for a tangible tax benefit.

Why Sell a Position That's Down?

The emotional barrier is real. Selling a losing position feels like admitting failure, even though the loss is already real - it's sitting in your portfolio, unrealised. Here's the reframe:

The loss exists whether you sell or not. The market went down. That's fact. By selling, you crystallise the loss and use it for tax purposes. You capture a tax benefit.

The tactical part: you immediately buy a similar (but not identical) investment to maintain your portfolio's risk profile without being caught by the UK 30-day rule, which applies when you buy back the same shares. You sell the declining tech fund, book the loss, then buy a different tech fund with a similar strategy but different holdings. You're not "out of the market" - you're out of that specific position and into one that's economically similar but legally distinct.

The Math: When Tax-Loss Harvesting Actually Saves Money

Let's work through a realistic scenario to see if the effort is worth it.

Scenario: Mid-sized portfolio with annual rebalancing

  • Portfolio value: £250,000
  • Typical annual realised gains: £8,000-£12,000 (from rebalancing, dividends, selling winners)
  • Unrealised losses available: £3,000-£5,000 (from recent market moves)
  • CGT rate: 24% (higher-rate taxpayers; basic-rate taxpayers pay 18% on gains within their basic rate band)
  • Annual exempt amount: £3,000 (2026 figure - check the current allowance)

Without tax-loss harvesting:

  • Realised gains: £10,000
  • Annual exempt amount: £3,000
  • Taxable gains: £7,000
  • CGT owed: £1,680

With tax-loss harvesting (harvesting £4,000 of losses):

  • Realised gains: £10,000
  • Less: losses harvested: £4,000
  • Net gains: £6,000
  • Annual exempt amount: £3,000
  • Taxable gains: £3,000
  • CGT owed: £720

Tax saved: £960

For a £250k portfolio with active rebalancing, that's meaningful - worth the process. For a £30k portfolio with one trade a year? Probably not worth the effort.

Use Calculate the real return on your investments to model how taxes erode your long-term gains and estimate the potential tax benefit of harvesting losses in your own situation.

UK-Specific Rules: The Bed-and-Breakfast Rule

The US has a strict "wash-sale rule": buy substantially the same security within 30 days of selling at a loss, and the loss is disallowed. The UK has its own version for shares, often called the bed-and-breakfast rule.

The Bed-and-Breakfast Rule (the 30-day rule): If you sell shares and buy the same shares back within 30 days, HMRC matches the sale with the shares you bought back, not with your original holding.

Current position (2026):

  • Sell shares at a loss and buy the exact same shares back within 30 days, and the gain or loss is worked out against the buy-back price, so the loss you wanted is largely lost.
  • Shares bought on the same day are matched first, then shares bought in the next 30 days, then your existing pool at average cost.
  • The safer approach: sell the loser, wait 30+ days, then buy back. Or sell the loser and buy a legitimately different investment immediately (e.g., a different fund manager, different geographic focus, or different asset class).
  • Keep records of every sale and replacement purchase, with dates and prices.

For current HMRC guidance on claiming losses (including the 4-year time limit), see Capital gains tax: losses.

When Tax-Loss Harvesting Makes Sense (and When It Doesn't)

It makes sense if:

  1. You have significant realised gains. If you've sold a holding that tripled and realised £20k in gains, offsetting £10k of losses saves serious money.

  2. Your portfolio is large enough to have multiple positions in drawdown. A £100k portfolio naturally has some holdings down; a £10k portfolio is just one or two holdings, and you can't afford to sell them.

  3. You can easily replace the position with something sufficiently different. If the market crashed and half the market is down, you can sell one fund and buy a different one without being caught by the 30-day rule, which only matches the same shares.

  4. You're not selling a dead investment just to harvest the loss. If a holding is down because the company is failing or the fund manager is terrible, sell it anyway - but don't replace it with the same economic bet.

It doesn't make sense if:

  1. You have no realised gains to offset. Losses you claim can be carried forward, but you're deferring the benefit. If you're not expecting significant gains for years, the tax advantage is theoretical.

  2. Your portfolio is too small. A £3,000 loss is worth £720 at a 24% rate - but only if you have £3,000 of gains. If not, you're just deferring.

  3. You're replacing the position with something riskier. If you sell a stable bond fund at a loss to buy a micro-cap biotech fund, you've changed your risk profile to save tax. That's backwards.

  4. You're harvesting losses in a tax-free wrapper. Losses inside a Stocks and Shares ISA have no tax benefit - they're already outside the tax system. Don't bother harvesting them.

  5. Your transaction costs are high. If selling and rebuying triggers £300 in fees, you need to save more than £300 in tax for it to pencil out. Most modern brokers have low or zero costs, but check yours.

Common Mistakes to Avoid

Harvesting losses to hold cash. The temptation is real: sell the loser, book the tax benefit, then sit in cash "while I decide." But over the long term, cash has usually returned less than equities, though equities can fall as well as rise. You've paid a tax bill to step out of the market - that's the opposite of what you want.

Replacing with the same investment. You sell a global equities fund and buy the same fund back a week later. The 30-day rule matches the two trades and the loss is largely lost. Buying a different fund avoids that rule, but check the replacement still fits your plan rather than changing your risk just to save tax.

Harvesting every tiny loss. Transaction costs add up. Harvesting a £50 loss for £12 in tax savings is a bad trade. Set a minimum threshold - say £500 or £1,000 - and only harvest above that.

Forgetting to carry losses forward. If you harvest £10,000 of losses this year but only have £5,000 of gains, you have £5,000 of carried-forward losses. You must claim the loss with HMRC within 4 years of the end of the tax year to use it later, so report it and keep a record of what's left.

Getting Started: Practical Steps

Step 1: Identify positions in loss. Review your portfolio. Which holdings are underwater? By how much?

Step 2: Model the tax benefit. Do you have realised gains to offset? How much would this loss save you in tax? Is it worth the effort?

Step 3: Execute and replace. Sell the losing position. Within 30 days, buy a different (but economically similar) holding to restore your target allocation. Keep records.

For a modest portfolio (under £50k) or with very few trades per year, tax-loss harvesting is probably not worth your mental energy. For a larger, actively rebalanced portfolio, the tax savings can easily be hundreds of pounds a year.

Frequently Asked Questions

Q: Can I harvest losses in a pension? A: Losses within a pension have no tax benefit - pensions are already tax-advantaged wrappers, and you can't offset pension losses against non-pension gains. Skip tax-loss harvesting inside pensions and focus on maximising contributions instead. Pension tax relief is where the real tax savings come from.

Q: What if my losses exceed my gains? A: Carry them forward indefinitely. If you realise £5,000 of losses and only £2,000 of gains this year, the £3,000 loss carries forward to any future year. Next year, if you realise £6,000 of gains, the carried-forward loss offsets £3,000, leaving £3,000, which the £3,000 annual exempt amount covers, so nothing is taxable. Carried-forward losses are only used to bring your gains down to the allowance.

Q: Do I have to report tax-loss harvesting to HMRC? A: You report capital gains and losses on your tax return. You don't file a separate form, but you must declare losses against gains. Keep records of the securities sold and bought, with dates and prices, so the share matching rules can be applied correctly.

Q: How long do I have to wait before buying back the same security? A: For the same shares, more than 30 days. Shares bought back within 30 days of the sale are matched with it under the UK's 30-day rule, so the loss is worked out against the buy-back price. Buying a different investment straight away is not caught by that rule.

Q: Is tax-loss harvesting worth it for small portfolios (under £25,000)? A: Generally no. Tax savings are usually small, and the effort often isn't worth it. Focus instead on maximising your Stocks and Shares ISA (£20,000/year allowance, zero CGT). For most investors, the ISA is a better tax shelter than harvesting losses.

Q: Can I harvest losses on a holding I've owned for years? A: Absolutely. Holding period doesn't matter. If it's down now, you can crystallise the loss and offset gains today. The only question is whether you expect the holding to recover - if you do, you're betting on recovery while capturing a tax benefit now.

Q: What's the difference between tax-loss harvesting and dollar-cost averaging? A: Dollar-cost averaging is a disciplined approach to investing a fixed amount regularly, regardless of market price - it reduces the risk of buying at a peak. Tax-loss harvesting is a tactical tax strategy: sell losers to offset gains. They're complementary but separate. You can dollar-cost average into your replacement positions after harvesting losses.

tax loss harvestingcapital gainsinvestment tax