Warm London skyline at sunset viewed from an expat's travel desk with a clock and luggage

Returning to the UK after living abroad: when will HMRC tax your overseas gains?

Calculate an indicative UK return date beyond the five-year temporary non-residence window, check prior-year residence, and screen capital gains on investments sold abroad.

Expatriation

If you sold investments or property while living abroad, returning to Britain can trigger an unexpected capital gains tax charge. The key is not just where the sale happened: the date your sole UK residence ended, the start of the next qualifying residence period and the asset’s acquisition history can all change the result.

Use the simulator below to compare proposed return dates and screen a disposal under the temporary non-residence rules. Unlike a basic five-tax-year countdown, it works with the actual residence-period boundaries and makes unresolved split-year or treaty questions visible.

At a glance

First check: the four-out-of-seven test
If you had sole UK residence in only 0–3 of the seven tax years before departure, the ordinary temporary non-residence (TNR) clawback does not apply, even on a return within five years. If 4–7 years qualify, the TNR charge may apply to specified gains where your absence is five years or less. Both tests are mandatory; separate UK property rules and other charges still need review.

UK Expat CGT & Safe Return Date Simulator

First check the four-out-of-seven residence condition. Enter the end of your final sole-UK-residence period and the simulator will suggest the first indicative return-period start beyond five years, automatically filling that date into the comparison. You can change the proposed return date to see the difference, then enter an asset and GBP gain to quantify the CGT potentially at stake.

TaxTrends interactive tool

UK Expat CGT & Return Date Simulator

Find the first indicative return date beyond the five-year rule and estimate the CGT at stake on a gain in pounds.

01 / Do the temporary non-residence rules apply?

First check your sole UK residence during the seven tax years before the departure tax year.
0–3 qualifying years: the ordinary temporary non-residence CGT charge does not arise, even if you return within five years. This is not an exemption from other UK taxes.
Select a year count to check the eligibility condition.

02 / Calculate your earliest return date

These dates relate to sole UK tax residence, not the day your plane lands. Split years and treaty residence can change them.
Use the end of the UK part of your departure split year if applicable; otherwise use the date established by your residence analysis.
Automatically filled with the first indicative date beyond five years. Change it to test an earlier or later return. This date may differ from your arrival date.
Earliest indicative return date
Enter the residence-period end date
The five-year comparison will appear automatically.

03 / What would CGT cost on a gain realised abroad?

Enter the gain in GBP, as you would on a UK CGT computation. The calculator estimates how much tax could be brought back into charge if you resume sole UK residence within the relevant period.
Net gain before using the CGT annual exempt amount. No currency conversion required.
Refine the CGT estimate (optional)
Entering taxable income estimates which part of the gain falls inside the £37,700 basic-rate band on 2026/27 assumptions.
Defaults to the £3,000 annual exempt amount for 2026/27. Reduce it if already used against other gains.
Your CGT result
The GBP gain will be used to calculate the potential additional CGT on your return and compare it with waiting beyond the five-year period.

Try a complete example

This is a planning model, not a tax liability determination. The first return date assumes legally accurate residence-period boundaries under the Statutory Residence Test, split-year rules and any treaty. CGT illustrations use 2026/27 ordinary rates (18% and 24%), the £3,000 annual exempt amount and a £37,700 basic-rate band, regardless of the illustrative return year; future rules may change. Other gains, losses, special reliefs, foreign tax credits, share matching and UK property charges are not fully modelled. Sources: HMRC CG26540, CG26600, CGT rates.

The four-out-of-seven residence test

The first gateway is whether at least four of the seven tax years immediately preceding the departure tax year qualify as sole-UK-residence years (including split years containing a period of sole UK residence). If only zero, one, two or three years qualify, the ordinary temporary non-residence CGT charge cannot apply: you need not stay overseas for more than five years solely to avoid this specific clawback. If four or more years qualify, you must then check the five-year test and whether the particular gain is within scope. This does not disapply non-resident UK property CGT, UK-resident disposals or other special tax rules.

Example: three qualifying years — no TNR clawback
Alex lived in the UK in three qualifying tax years out of the seven immediately before departure, then moved abroad and sold shares acquired before leaving. If the four-out-of-seven count is correct and the disposal took place while genuinely non-resident, returning after only two years does not, by itself, reactivate UK CGT on that gain under the ordinary temporary non-residence rule. UK property and other separately taxable transactions still require review.
Example: four qualifying years — the five-year test matters
Sam had sole UK residence in four of the preceding seven tax years and sold pre-departure shares abroad during a two-year absence. The prior-residence condition is met, so the gain may be caught when Sam resumes sole UK residence within five years. In this case the return date can make a material difference.

Why the five-year rule is easy to miscalculate

HMRC defines Period A as the last residence period of sole UK residence before the break and the period of return as the first later residence period of sole UK residence. In a split tax year, the UK and overseas portions are separate residence periods. The period between the end of Period A and the start of the return period therefore need not align with tax-year ends or the physical dates of travel.

Example: one day can change the conclusion
Assume the last valid sole-UK-residence period ends on 30 September 2021. A return period beginning on 30 September 2026 falls within five years, while a return period starting on 1 October 2026 is the first indicative day beyond the five-year anniversary. This assumes the SRT, split-year and treaty conclusions really support both dates.
Warning: a flight date is not proof of residence
The 1 October date is not safe if you actually resumed sole UK residence earlier, or if the last period of sole UK residence ended later than assumed. Split-year treatment is governed by statutory conditions, and treaty residence can alter the relevant boundaries.

Which gains can be taxed when you return?

Shares, funds and certain other investments held before departure can fall within the charge if disposed of during a qualifying temporary absence. Assets both acquired and disposed of during that absence are generally excluded, but replacement assets, transferred assets, share pooling, deferred gains, offshore companies and trusts require closer examination. Asset acquisition and disposal dates must be checked together.

For wider strategies affecting taxable gains, losses and disposals, read our Capital Gains Tax planning guide. The date of a transaction matters, but it should be assessed alongside the ordinary CGT exemptions and reliefs available in the relevant tax year.

Example: £75,000 gain on shares held before departure
You acquired listed shares in January 2020, ceased sole UK residence on 30 September 2021 and sold the shares abroad in May 2024 for a £75,000 sterling gain. Assuming seven qualifying prior tax years and a return within five years, the gain may become taxable in the UK in the return year. Using 2026/27 ordinary CGT rates and a full £3,000 annual exempt amount would imply an illustrative £12,960–£17,280 range, before other gains, losses, reliefs and foreign tax credit.
Example: investment bought and sold entirely overseas
You acquired shares in January 2022 and sold them in May 2024 while outside sole UK residence. The gain will ordinarily be excluded from the temporary non-residence charge even if you return within five years, though special deferred gains and share-matching rules can create exceptions. The calculator flags this distinction instead of automatically taxing the disposal.

UK property and foreign property: different questions

Disposals of UK land and property can attract UK non-resident CGT even if the owner never returns. These property rules can also generate separate reporting and payment obligations; staying away for more than five years is not a general UK property exemption. Overseas property should instead be reviewed for UK temporary non-residence exposure, any reliefs and foreign tax paid.

For a fuller breakdown of non-resident UK property gains and reporting obligations, see our UK Taxation of Non-Residents guide. That guide explains the separate UK property rules, which can apply regardless of how long you remain abroad.

Warning: do not treat the safe return date as a UK property exemption
A non-resident disposal of UK property needs its own UK CGT calculation and reporting review. Likewise, foreign property and cryptoassets may involve acquisition histories, matching rules, exchange rates or treaty provisions that the screen cannot resolve on its own.

Quick comparison: what might be caught?

AssetWhat the tool screens
Shares held before leavingPossible temporary non-residence charge when other tests are met
Ordinary investments bought abroadNormally excluded if both bought and sold during absence; exceptions exist
UK propertySeparate UK non-resident property CGT rules, irrespective of return
Trusts and deferred gainsRequires a specialist computation, not an automatic exemption

How the GBP gain is used

Enter the gain in pounds, then compare the estimated CGT if you return within the temporary non-residence period with the position if you start the next period of sole UK residence beyond five years. The tool applies the unused annual CGT exemption and illustrates the 18%–24% tax calculation; you can add taxable income to estimate the split between the two rates. Exchange-rate conversions, share pooling, capital losses, other gains and foreign tax credits are part of a full CGT computation, not additional fields needed for this planning screen.

Common mistakes when planning a return

Counting five complete tax years instead of the actual period

Where split-year treatment applies, the relevant period may begin and end within tax years. The test measures the gap between the legal residence periods and requires more than five years, not a particular number of 6 April boundaries.

Treating physical travel dates as SRT dates

The day you fly out or back may not be the date a qualifying UK or overseas part begins. Review homes, work, day counts, split-year cases and treaty residence before accepting an indicative date.

Assuming every offshore gain becomes taxable on return

Acquisition during the absence can exclude an ordinary gain, but deferred gains, share matching, trusts and certain company structures need additional scrutiny. Each asset should be reviewed rather than applying a single rate to all overseas proceeds.

Assuming UK real estate becomes exempt after five years

UK land can be taxed under the non-resident property regime regardless of the later return date. Check the property's tax computation and reporting separately.

Next steps before committing to the move

First reconstruct each residence year and confirm both legal period boundaries. Our Statutory Residence Test Tracker helps establish actual day and workday evidence, while the Departure Date & Split-Year Optimiser and split-year treatment guide explain how departure and return dates can differ from travel dates.

Readers relocating to Dubai can also consult our UK-to-UAE relocation tax guide for the broader departure, income tax and estate-planning context. A UAE move does not, by itself, override UK temporary non-residence or UK property provisions.

For each investment, gather cost and disposal statements, exchange rates, allowable expenditure and foreign tax assessments before calculating the UK charge. Particularly where a return is planned near the five-year boundary, get residence and CGT advice before making an irreversible transaction.

HMRC legislation and technical references

Refer to HMRC CG26540: meaning of residence periods, CG26550: conditions for the temporary non-residence charge, CG26600: assets acquired during non-residence and HS278 (2026). For the underlying legislation, examine TCGA 1992 sections 10A/10AA and Finance Act 2013 Schedule 45.

This guide and calculator are general planning tools, not tax advice or a certification that a return on a particular date will avoid CGT. Residence, asset treatment, foreign tax and relevant reliefs should be checked against the facts and the law applicable to the return year.

Tags

Franck Sidon

Along with Michael Sidon

With over 15 years of experience as a Managing Director at TaxAssist Accountants, I have helped thousands of businesses and individuals achieve their financial goals and optimize their tax efficiency.