Skip to content
L-Property
Menu

Temporary non-residence: the five-year rule for gains

If you leave the UK and return within five years, gains on assets you owned before leaving and sold while abroad can be taxed in the year you come back. The rule needs sole UK residence in 4 of the 7 years before departure. Assets bought abroad are mostly excluded.

7 min readUpdated 5 December 2026Applies across the UK

Someone who leaves the UK and becomes non-resident normally pays no UK capital gains tax on later sales of most assets. The temporary non-residence rules close that gap for short absences. If you return within five years, certain gains and income that arose while you were away are taxed as if they arose in the year you come back. Gains on UK land and property are charged separately under the non-resident rules, whether or not you come back.

The rules are in section 10A of the Taxation of Chargeable Gains Act 1992 and HMRC's guidance. This guide explains how they work. It is not tax advice, and the detail matters, so check the HMRC helpsheet HS278 and talk to an adviser before you sell anything big.

The conditions

HMRC's manual says a person is temporarily non-resident if all these apply:

  1. After a period of sole UK residence, one or more later residence periods follow in which they do not have sole UK residence.
  2. In at least four of the seven tax years immediately before the year of departure, they had sole UK residence for the whole year, or the year was a split year that included a period of sole UK residence.
  3. The period of non-residence is five years or less.

HS278 words the same three conditions slightly differently: sole UK residence for all or part of at least 4 of the 7 tax years before the year of departure, a residence period that is not sole UK residence between two periods of sole UK residence, and total non-sole-UK-residence periods of no more than five years. CG26550 adds that the sole UK residence period on return must be the first one after the absence, and that five years or less separate the start of that period from the end of the period of absence.

How the five years are counted

HMRC's manual says the absence must exceed five years, a minimum of five years plus one day, for the rules not to apply (its example is 4 May 2015 to 4 May 2020), so an absence of five years or less is caught. Split years can start or end the period. A year in which a double taxation treaty treats you as non-UK resident counts as a year of non-residence for these rules too, under the treaty's tie-breaker rules. So it is not enough to count the years you lived abroad: the test looks at your UK tax residence, which is decided by the statutory residence test and split year treatment.

HS278 says someone who ceased UK residence in 2019/20 or earlier and returned in 2025/26 falls outside the rules. Shorter absences may need the detailed manual guidance.

Does the rule apply? A quick check
QuestionIf yesIf no
Sole UK residence in 4 of the last 7 years before leaving?Go onRule does not apply
Away for five years or less in total?Go onRule does not apply
Did you come back to sole UK residence?Rule can applyRule does not apply
Is the asset one you owned before you left?Gain can be caughtUsually excluded

What is caught

When the rules apply, gains on assets you held before leaving, and sold while you were non-resident, are treated as arising in the year you return. HS278 says they are taxed, and losses become allowable, in that year. RFIG21560 says the charge applies as if the gain arose in the period of return. The year of return can be a split year, in which case the charge falls in the UK part.

The manual lists wider items that can be pulled into the year of return, including:

  • capital gains and offshore income gains
  • certain pension payments and lump sums, such as flexible drawdown withdrawals
  • income taxed under the disguised remuneration rules
  • distributions from closely controlled companies and loans to participators that are written off
  • gains on life insurance policies, with time apportionment

HS278 notes that the remittance basis is not available from 6 April 2025, so a gain from before you left taxed on return is taxable whether or not you bring the money to the UK. For people who previously used the remittance basis, gains remitted during the absence can be designated under the Temporary Repatriation Facility at a 12% rate, which HS264 explains.

If you pay tax abroad on the same gain, relief for foreign tax may be available (see HS263). The treaty position is covered in double taxation and UK property.

What is excluded: assets bought after you left

CG26600 says gains and losses on assets acquired during the period of temporary non-residence are not chargeable in the year of return, even if you sell them within the period. Shares bought abroad and sold within the absence are HMRC's example. The exclusion covers only gains that would otherwise fall under section 10A.

There are three exceptions, where such assets are still caught:

  1. Assets acquired from someone who got them under no gain, no loss rules.
  2. Assets whose acquisition cost was reduced by roll-over relief on another asset.
  3. Deferred gains on a pre-departure asset that crystallise when another asset is disposed of during the absence.

The manual also says assets acquired within an offshore trust or by a non-resident closely controlled company are not excluded.

UK property and the non-resident charge

The temporary non-residence rules are about gains that would otherwise be outside UK tax. UK land is different. A non-resident is charged on direct and indirect disposals of an interest in UK land, including UK residential property, in the year of sale, and must report within 60 days of completion. HS278 says so directly and sends readers to HS307. So a flat sold while you are abroad is within the non-resident capital gains tax rules whether or not you later return, and the 60-day report applies. See also the selling UK property while living abroad guide.

RFIG21630 describes the temporary non-residence charge as applying to gains that arise during the absence and are not already charged under other provisions. The HMRC pages cited here do not give a worked example of a UK property sale during a temporary absence, so HMRC's own guidance (HS278, HS307 and the Capital Gains Manual from CG26500) or a tax adviser should settle how the two sets of rules fit together before you plan a sale.

A related point is private residence relief for a UK home you left. A non-resident year counts towards relief only if you or your spouse spent 90 days in the property. See private residence relief.

Reporting

You report the caught gains on the Capital Gains Tax summary pages (SA108) of your Self Assessment return for the year of return. Income items are declared on the return too. See Self Assessment for landlords for the return mechanics.

Common questions

Does the rule apply if I leave for six years?

No. HMRC's manual says the absence must exceed five years (a minimum of five years plus one day) for the rules not to apply, so six years is outside.

Are gains on shares bought abroad caught?

Generally not, if you bought them while non-resident and sold them within the absence, apart from three exceptions listed above.

Is the gain taxed in the year I sell or the year I return?

For gains caught by the rule, the year you return. UK property gains are charged on sale under the non-resident rules.

How do I tell HMRC I am leaving?

The routes are set out in leaving the UK: the property owner's tax checklist.

What if I am dual resident under a treaty?

HS278 says years treated as non-UK resident under a treaty tie-breaker count as non-residence. Take advice on the detail.

Sources

Figures and rules on this page are checked against the official sources listed above. Spotted a mistake? See our editorial policy.

This is general information, not tax advice. Your situation may differ; for advice, speak to a regulated professional.

More in Property tax