Back to blog

Selling Your Company Before You Move Abroad: Timing the Tax

BR
TaxAtlas Editorial
Tax Research
12 min read

The founder who signs an exit sheet on Monday and boards a Dubai flight on Tuesday is usually taxed as though the sale happened at home. Residency, for capital gains purposes, does not switch off at passport control. It switches off — if it switches off at all — on a date determined by the departure country's own tests, and that date will almost always be later than the founder assumes. The selling business before moving abroad tax question is therefore not where do I want to be taxed? but which country actually taxes this specific disposal, on this specific date, under its own residence, source, and anti-avoidance rules?

The answer depends on four moving parts: (1) the departure country's residence-cessation test, (2) whether it imposes an exit or deemed-disposal charge on unrealised gains, (3) whether it reserves a right to reach back and tax gains you realise as a non-resident (the temporary non-residence rules), and (4) whether the destination country will tax the gain anyway once residency arrives. Get the sequencing right and a disposal can be legitimately shifted into a lower-rate or nil-rate regime. Get it wrong and both countries tax the same gain, or the departure country claws it back years later.

The default outcome: the departure country almost always taxes

Residence for capital gains is sticky. It is not established by tenancy agreements, flight bookings, or the date on a certificate of tax residency issued by the destination. It is broken only when the tests in the departure country are met. Those tests are usually a mixture of day-count, permanent-home availability, family location, and centre of vital interests — and they are structured to make cessation harder than establishment.

The United Kingdom's Statutory Residence Test (see UK statutory residence test explained) is the textbook example. A UK founder cannot simply spend 183 days abroad and expect non-residence to follow. The automatic overseas tests are narrow, the sufficient-ties test counts a UK home, UK work, UK family, and prior-year presence against the taxpayer, and split-year treatment — where residence is treated as ceasing mid-tax-year — is only available under specific cases and requires the departure to be substantive. If the disposal contract is signed in April and the founder "leaves" in May, the disposal is almost certainly a UK-resident disposal, chargeable at UK rates.

Under UK data captured in the TaxAtlas tracker, capital gains for individuals are taxed at 18% (lower rate) / 24% (higher rate) from 30 October 2024, with 24% applying to residential property gains. Business Asset Disposal Relief may reduce the effective rate on qualifying share disposals up to a lifetime limit, but the relief rate is itself subject to change and should be confirmed with a UK adviser for the tax year of disposal. See the United Kingdom country page for the current figures.

Exit and deemed-disposal charges: the second bill

Some countries impose a charge on unrealised gains at the moment residency ceases. The company has not been sold, but the taxpayer is treated as though it had been, at fair market value on the departure date. The classical examples in TaxAtlas coverage are the Canada departure tax, France's exit tax, and Germany's Wegzugsbesteuerung. These regimes are covered in more depth in the exit taxes explained guide.

The United Kingdom, by contrast, does not levy a general exit tax on individuals holding private company shares. That absence is what makes the UK-to-UAE and UK-to-Portugal routes structurally attractive on paper — and what makes the anti-avoidance rules discussed below so important, because without a temporary non-residence backstop, the UK Treasury would simply lose the tax on every founder who spent a year abroad and sold.

The key planning consequence: in an exit-tax jurisdiction, becoming non-resident does not defer the tax on the company — it triggers it. The disposal itself becomes almost irrelevant, because the charge crystallises on departure regardless of whether a sale ever completes. In a non-exit-tax jurisdiction like the UK, the disposal date is what matters, and the residence position on that date drives the outcome.

The temporary non-residence trap

The temporary non-residence rules are the mechanism that stops the naive plan from working. In broad terms, they let the departure country reach back and tax gains realised while the taxpayer was non-resident, if the period of non-residence turns out to have been short.

The UK version applies where an individual was UK-resident for at least four of the seven tax years before departure and then becomes non-resident for a period of five complete tax years or less. Gains realised during that non-resident window — on assets held before departure — become chargeable in the tax year of return, at the rates then in force. The rule is not treaty-overridable in most cases: even if the taxpayer is treated as resident of the destination under a double-tax treaty during the intervening years, the UK reserves the right to tax the gain on return. This is the single biggest reason why moving to Dubai from the UK only "works" for a share disposal if the founder is genuinely committed to at least five full UK tax years of non-residence, which for most people means a physical relocation of five years and one day, counting from the correct 6 April start.

Analogous rules exist in other departure jurisdictions in different forms — Australian and Canadian doctrines treat short absences differently, and civil-law regimes tend to lean on residence-cessation timing and exit-tax deferral rather than a look-back window. The general principle is the same: tax authorities do not accept that a temporary flight abroad, timed to a disposal event, breaks the chargeable connection.

The destination country: does it tax the gain when residency starts?

The next question is whether the destination country will tax the sale once residency there begins. This depends on (a) when the disposal is recognised under the destination's rules, and (b) whether any special regime applies.

UAE

The UAE imposes no personal income tax and no capital gains tax on individuals, and taxes no personal income regardless of source (see the UAE country page). A share sale completed after UAE residency has cleanly begun — and after the departure country has released the taxpayer under its own tests and any applicable anti-avoidance windows — is not taxed by the UAE. This is why the UAE is the archetypal destination for a founder exit. The corporate-tax reforms that introduced a 9% federal rate above AED 375,000 of profits and a 15% Domestic Minimum Top-up Tax for large multinational groups from financial years starting on or after 1 January 2025 do not reach individual capital gains. The individual regime is unchanged.

Portugal

Portugal taxes residents on worldwide income and applies a 28% flat rate to most capital gains (see the Portugal country page). A share sale completed while the taxpayer is a Portuguese tax resident is a 28% event unless a specific exemption applies. The original Non-Habitual Resident (NHR) regime closed to new applications from 1 January 2024, and the replacement IFICI regime is materially narrower — restricted to qualifying scientific, research and innovation activities, and unavailable to anyone who was a Portuguese tax resident in any of the prior five years. IFICI does not, in general, deliver a blanket capital-gains exemption on the sale of a foreign operating company; it is targeted at qualifying employment and self-employment income. Founders should not assume that becoming Portuguese resident before an exit produces a favourable capital-gains outcome. Detail on the current regime lives in the Portugal NHR 2.0 / IFICI post.

Sequencing: five clean orderings and where each fits

The mechanics above collapse into a small number of viable sequences. The right one depends on the departure country's exit-tax posture, the size of the deal, and the founder's tolerance for a genuinely extended absence.

SequenceWorks whenMain risk
Sell fully domiciled, then moveDeparture country has a low CGT rate or a targeted relief; no material rate arbitrage on offerNone from timing; foregone opportunity if a lower-rate regime was reachable
Move, wait out temporary non-residence, then sellDeparture country has no exit tax but has look-back rules (e.g. UK); founder committed to 5+ years abroadEarly return triggers a retroactive charge; residence-cessation must be genuine on day one
Sell while dual-resident, rely on treaty tie-breakerRarely; only where the treaty allocates the specific gain to the destination and both sides accept the tie-breakerTreaty tie-breakers are fact-heavy; anti-avoidance rules may still bite
Trigger exit tax, then sell later at higher basisDeparture country has exit tax with step-up; departure is genuine and permanentLiquidity — the tax bill lands before the sale proceeds; deferral rules vary
Restructure before departure (holding co, trust, etc.)Long lead time; substance-heavy; often deals with founders who have years, not monthsAnti-avoidance, general anti-abuse rules, CFC regimes, and disclosure obligations

The middle option is the one most often mispriced. A founder who leaves the UK in March, sells the company in July while UAE-resident, and returns to the UK three years later to be near family will typically find HMRC recognising the disposal on the return date and taxing the entire gain, notwithstanding a valid UAE tax residency certificate for the intervening period. The rate applied is generally the rate in force in the year of return, not the year of departure.

The treaty layer: help, not a bypass

Double-tax treaties do not, as a rule, prevent the departure country from taxing an in-transit disposal. Most treaties allocate capital gains on shares in a private company to the country of residence at the time of alienation, but the residence article is determined by domestic law of each state, and where dual residence exists the tie-breaker rules apply in a defined order (permanent home, centre of vital interests, habitual abode, nationality). See the dual tax residency tie-breaker analysis for how these rules operate in practice.

Two limits are important. First, some treaties reserve source-country taxing rights over gains on shares of companies whose value derives principally from immovable property in the source country. If the company owns real estate, the departure country may retain a taxing right even after residence shifts. Second, anti-avoidance rules (temporary non-residence, general anti-abuse, principal purpose tests) generally sit alongside treaties and can override the tie-breaker outcome for gains structured around residency changes.

What actually needs to happen before signing

The mechanical checklist that a founder and adviser should have resolved before a share purchase agreement is signed, not after:

  • The disposal date under the departure country's rules — contract date, completion date, or the date any earn-out crystallises. The rules are not uniform.
  • The residence position on that disposal date, tested under the departure country's actual statutory or case-law tests, not the destination's certificate.
  • Whether an exit or deemed-disposal charge would arise on departure irrespective of the sale, and what deferral or instalment options exist.
  • The length of the anti-avoidance look-back window in the departure country and the founder's genuine, documented intent to remain abroad for at least that period.
  • The destination country's treatment of the gain and of any earn-out consideration received after residency begins.
  • Any controlled foreign company or anti-deferral rules that may reclassify a passive holding structure — see the CFC rules guide.
  • Substance and centre-of-life evidence supporting the residence change: not because a treaty requires it, but because the departure country's tax authority will scrutinise it if the disposal is material.

None of this is legal or tax advice, and rate positions change: as of 2026 the UK non-property CGT rates are 18% / 24% and Portugal's flat capital gains rate for individuals is 28%, but any of these numbers, and the associated reliefs, can move at short notice. Verify with a local adviser in both the departure and destination jurisdictions before signing.

Where to go next

For deeper reading on the mechanics referenced above, the exit taxes guide and how tax residency works cover the general framework. The capital gains timing when moving abroad post covers timing decisions more broadly. Country-specific detail is on the UK, Portugal, and UAE pages, and the country comparison tool is useful for side-by-side CGT and residency-test differences. General reader questions are answered in the FAQ.

Get the 2026 Global Tax Cheat Sheet

One-page summary of all 46 jurisdictions: personal tax, corporate tax, foreign-income rules, residency days. Plus an email when rates change.

No spam. One email when rates materially change. Unsubscribe in one click.

Frequently Asked Questions

Can I sell my company after moving abroad and avoid tax in my home country?

Only if residence in the home country has genuinely ceased under its own tests on the disposal date, and if any temporary non-residence or anti-avoidance rules do not later claw the gain back. For UK founders, that generally means a permanent departure of at least five complete tax years. A destination-country residency certificate is not sufficient on its own; the departure country's statutory tests govern whether it retains the taxing right.

Does the UAE tax the gain if I sell my company after becoming a UAE resident?

The UAE imposes no personal income tax and no capital gains tax on individuals, so a share sale completed while UAE-resident is not taxed by the UAE at the personal level. A 9% federal corporate tax applies to businesses above AED 375,000 of profits, and a 15% Domestic Minimum Top-up Tax applies to large multinational groups, but neither reaches an individual's capital gain. Verify current status with a local adviser.

What is the temporary non-residence rule and why does it matter for a company sale?

In several jurisdictions, most notably the UK, taxpayers who become non-resident for a short period and then return are taxed retroactively on gains realised while abroad. The UK window is broadly five complete tax years for those who were resident in four of the preceding seven. A founder who moves abroad, sells, and returns within that window will typically face a UK charge on the entire gain in the year of return.

Does Portugal's IFICI regime exempt capital gains on a company sale?

Generally no. IFICI, which replaced the original NHR regime from 2024, targets qualifying scientific, research and innovation employment or self-employment income at a flat 20% rate. It does not deliver a blanket exemption for capital gains on the sale of a foreign operating company. Portuguese residents are otherwise taxed on capital gains at a 28% flat rate as of 2026. Confirm any specific facts with a Portuguese adviser.

Should I sell before moving or after?

It depends on whether the departure country imposes an exit charge, the applicable rate at home versus the destination, and the length of any anti-avoidance look-back. In no-exit-tax jurisdictions with strong look-back rules like the UK, selling after a genuine multi-year departure can lower total tax. In exit-tax jurisdictions like France, Germany, or Canada, the tax often crystallises on departure regardless of when the sale completes, weakening the case for sequencing around it.

Related Country Guides

Planning a move like this?

Tell us your situation and target jurisdictions and we'll point you to the right resources — and, where it makes sense, a vetted professional.

Get personalised guidance
TA
TaxAtlas Editorial
Tax Research

TaxAtlas compiles tax rates, residency rules, and special regimes across 46 jurisdictions from OECD, PwC Worldwide Tax Summaries, KPMG, and the Tax Foundation. This is research, not advice — always verify with a qualified professional in your jurisdiction.