Should I sell shares before or after I leave the UK?

In short: Once you are not UK resident, gains on shares and most other things are usually outside UK tax. But come back within five years and gains on things you owned before leaving are taxed in the year you return. UK property and land are always taxed.

Generally, once you are not UK resident, gains on shares and most assets are outside UK CGT. But if you return within five years, gains on assets you owned before leaving are taxed in the year you come back. UK property and land are always taxable, even for non-residents. Your new country may tax the gain too, so check both before choosing.

What happens to my gains when I leave?

UK CGT after you leave
AssetSold while non-resident
Shares, funds, crypto, most other assetsUsually no UK CGT, unless you return within 5 years
UK residential propertyUK CGT; report within 60 days, even with no tax
UK commercial property and landUK CGT; report within 60 days
Shares in UK property-rich companiesCan be taxed as indirect UK property disposals

Non-residents must report all UK property or land disposals (GOV.UK).

What is the five-year rule?

HMRC’s CG26540 treats you as temporarily non-resident if you had sole UK residence in at least 4 of the 7 tax years before leaving and you are away for 5 years or less. Gains on assets you owned before you left, made while abroad, are then taxed in the tax year you return.

Want us to put the gain on your tax return?

Your personal tax return is a fixed £69 one-off. We work out the gain, check what you can claim to cut the tax, and show you the figure before anything goes to HMRC. See what’s included.

Get started

A worked example

Daniel has shares with a £200,000 gain. He moves to Dubai in August 2026.

Three outcomes
Daniel’s choiceUK CGT
Sells in July 2026, before leaving(£200,000 − £3,000) × 24% = £47,280
Sells in 2027 and stays away more than 5 yearsNone in the UK
Sells in 2027 and returns in 2030The gain is taxed in the 2030 to 2031 tax year, at that year’s rates

The UAE has no personal CGT at the time of writing, which is why the choice is so sharp; elsewhere, the new country may tax the gain.

How does the year of departure work?

If split year treatment applies, the tax year is split into a UK part and an overseas part, and gains in the overseas part are generally outside UK CGT (with the 5-year rule still in play). Check that you really qualify: see split year treatment.

What do I file for the year I leave?

If you file Self Assessment, you complete the residence pages (SA109) to claim non-residence or split year treatment, and report any gains made while you were still resident. If you do not file a return, tell HMRC on form P85. GOV.UK’s residence guidance explains the Statutory Residence Test, which decides whether you are UK resident in each tax year. Keep a diary of days spent in the UK for the years after you leave; the test turns on days, ties and where you work.

Does the five-year rule apply to me?

Count back from the year you leave. If you were UK resident in at least 4 of the previous 7 tax years, and you return within 5 years, gains on assets you owned when you left are brought into UK tax in the year you come back. Assets you buy and sell while abroad are generally outside the rule.

What to check

  • Will you really be non-resident under the Statutory Residence Test?
  • Could you come back within 5 years? Plan for it.
  • Any held-over gains: if someone who received your gift becomes non-resident within 6 years, the held-over gain is charged.
  • Do you own a company? See emigrating with a limited company.
  • Is there a double tax treaty, and how does your new country treat the gain?

Common questions

Is there an exit tax when I leave the UK?

Not generally for individuals. The UK taxes the gain only in the cases above.

Do I need to tell HMRC I am leaving?

Yes. Use form P85 if you have no tax return, or the residence pages on your return.

What about selling my UK home after I leave?

UK CGT applies, but Private Residence Relief and the final 9 months can still cover much of it. A 60-day report is needed.

If I return after 6 years, are past gains taxed?

Not under the temporary non-residence rule, which only applies to 5 years or less.

How Wenzo can help

If the gain goes on a Self Assessment return, our personal tax return at £69 one-off covers it: we work out the gain, check which reliefs apply, show you the tax first and file nothing until you approve it. For the year you leave, we can complete your return with the residence pages; the overseas tax side needs advice in your new country.

Article reviewed

Also asked as: “do i pay cgt if i sell shares after emigrating”, “capital gains tax when moving abroad uk” or “temporary non residence 5 year rule”.

NextEmigrating with a limited company

Need help choosing what’s right for you?

Call or WhatsApp us for a free, no-obligation chat. We’ll explain what we need from you and exactly what it costs.

Call 020 7123 9335
WhatsApp us

Mon to Sat, 9am to 9pm