· NextMigrate Team

Taxes When You Migrate Abroad: Residency, Double Taxation and Exit Tax

Most people plan a move around the visa, the job, and the flat. Tax comes later, usually after something goes wrong: a letter from the old country's revenue office, a double bill on the same salary, or a nasty surprise on the gains from a house sold years earlier. None of this is exotic. It follows a handful of rules that every country applies in roughly the same shape, and once you understand the shape you can plan around it.

This guide explains the three things that actually decide your tax position when you migrate: where you are tax resident, how double-taxation treaties stop the same income being taxed twice, and whether your departure triggers an exit tax. It is written for people making a permanent or long-term move, not a two-week holiday. If you work remotely for a foreign employer while staying put in your home country, that is a different and equally messy situation covered in our piece on the tax trap of remote work for a foreign company.

A note before we start: tax law is national, it changes every year, and the numbers below are illustrative of how systems work rather than a substitute for advice on your exact case. Treat this as a map, not a filing.

The One Question That Decides Everything: Where Are You Tax Resident?

Almost every tax dispute for migrants comes down to a single question. Which country has the right to tax you as a resident? Because residents are normally taxed on their worldwide income, while non-residents are usually taxed only on income sourced inside that country (a rental flat there, a local salary, a local business).

Get residency right and most other things fall into place. Get it wrong — or assume you stopped being resident somewhere just because you left — and you can end up filing in two countries at once.

The 183-day rule and why it is only the start

The rule everyone has heard of is the 183-day test: spend more than half the year in a country and you are usually tax resident there. It is real, and it is a good first filter. But it is rarely the whole story. Most countries stack several tests, and being present for fewer than 183 days does not automatically make you non-resident.

Common residency triggers, in addition to day-counting:

  • Permanent home. If you keep a home available to you (owned or rented year-round), many countries treat you as resident even if you are physically absent.
  • Centre of vital interests. Where your family lives, where your main economic ties sit, where your bank and doctor are.
  • Habitual abode. A pattern of regularly being in the country, even if no single year crosses 183 days.
  • Domicile or citizenship. A few systems tax on the basis of domicile (a long-term concept of where you belong) or citizenship, independent of where you actually live.

Here is roughly how the primary residency trigger works across a range of destinations. Treat the thresholds as the headline rule, not the only test.

CountryPrimary residency testTaxes residents on
United KingdomStatutory Residence Test (day counts + ties)Worldwide income
GermanyResidence or habitual abode (~183 days)Worldwide income
CanadaResidential ties (home, spouse, dependants)Worldwide income
AustraliaResidency tests incl. domicile and 183-dayWorldwide income
Portugal183 days or permanent homeWorldwide income
UAENo personal income taxN/A (no personal income tax)
United StatesSubstantial Presence Test and citizenshipWorldwide income

The two outliers are worth flagging. The UAE and several Gulf states levy no personal income tax at all, which is a large part of their appeal — see our guide to migrating to the UAE. The United States is the rare country that taxes its citizens and green-card holders on worldwide income no matter where they live, which is why American emigrants keep filing US returns for years.

You can be resident in two places at once

This is the part people miss. Residency rules are set independently by each country, so it is entirely possible for two countries to both consider you resident in the same year — typically the year you move. Your old country may still count you as resident until you have properly cut ties; your new country may count you from the day you arrive with the intention to stay.

When that happens, you are a dual resident, and the tie is broken not by day-counting but by the treaty between the two countries. Which brings us to the second big idea.

Double Taxation: Two Countries, One Income

Double taxation is exactly what it sounds like: the same income being taxed by two countries. It happens because residence-based taxation (your home country taxing your worldwide income) collides with source-based taxation (the country where the income arises taxing it too). Without a fix, an engineer who moves mid-year could see the same salary taxed twice.

There are two main mechanisms that prevent this: treaties and unilateral relief.

Double-taxation treaties (DTAs)

Countries sign bilateral double-taxation agreements (also called tax treaties) that allocate taxing rights between them. Large economies have dozens of these. A typical treaty does three things:

  1. Breaks residency ties. When two countries both claim you as resident, the treaty applies a "tie-breaker" ladder — permanent home, then centre of vital interests, then habitual abode, then nationality — until one country wins. You become treaty-resident in one, and the other has to treat you as non-resident for treaty purposes.
  2. Assigns each type of income to a country. Salary is generally taxed where the work is physically done. Immovable property is taxed where the property sits. Pensions, dividends, interest, and royalties each have their own article, often with a capped withholding rate.
  3. Specifies the relief method. Either the exemption method (one country simply doesn't tax the income the other taxed) or the credit method (both may tax, but your home country gives a credit for tax already paid abroad).

The tie-breaker ladder is why "I left, so I'm done with my old tax office" is a dangerous assumption. If you kept a home and your spouse stayed behind, a treaty may well decide your old country still has the primary claim.

The foreign tax credit

Where a treaty uses the credit method — or where no treaty exists but your country offers unilateral relief — you generally pay the higher of the two countries' rates, not the sum. The mechanics:

  • You pay tax in the source country first.
  • You declare the same income at home.
  • Your home country calculates its tax, then subtracts the foreign tax already paid, up to the amount it would have charged.

A worked example makes it concrete. Suppose you are resident in a country with a 30% rate on a slice of foreign income that was already taxed at 20% abroad:

ItemAmount
Foreign income10,000
Tax paid abroad (20%)2,000
Home-country tax due (30%)3,000
Foreign tax credit2,000
Net extra owed at home1,000
Total tax across both countries3,000

You are not taxed 50% (20% + 30%). You end up at the higher single rate of 30%. If the foreign rate had been higher than the home rate, the credit would usually be capped at the home-country amount, and you would not get a refund of the excess. That cap catches people who move from a low-tax country to a high-tax one and back again.

When there is no treaty

Not every pair of countries has a treaty, and some treaties exclude certain income types. Without one, you rely on whatever unilateral relief each country offers. Some give a full foreign tax credit anyway; others give a partial deduction; a few give nothing, and you genuinely pay twice. This is one of the quieter reasons destination choice matters — a country with a wide treaty network is easier to live in as an internationally mobile professional. Comparing destinations on tax and cost of living together is worth doing early; our compare tool lines them up side by side.

Split-Year Treatment: The Year You Actually Move

The move year is the messiest. You were resident in the old country for part of it and the new country for part of it. Many countries have split-year or part-year residence rules that divide the tax year at your departure or arrival date, so you are taxed as a resident only for the portion you actually lived there.

Not every country offers this cleanly, and the conditions vary. Practical points:

  • Keep evidence of your departure date and arrival date — flight records, the day your lease started, the day you registered with the new country's authorities. The date you can prove often decides the split.
  • Income earned before you left is usually taxed by the old country; income after arrival by the new one. But timing tricks — a bonus that pays out just after you land, share options that vest across the move — get apportioned and can be taxed by both.
  • Tell your old tax authority you have left. Many countries require a formal notification or a final "leaving" return. Silence is often read as "still resident", which is the opposite of what you want.

Exit Tax: The Bill for Leaving

An exit tax (also called a departure tax or emigration tax) is a charge some countries levy when you cease to be tax resident. The logic from the tax office's point of view is straightforward: while you lived there, gains built up on your assets — shares, business stakes, sometimes pensions. If you leave before selling, the country loses the chance to tax those gains. So it treats your departure as a deemed disposal: it pretends you sold everything at market value on the day you left and taxes the unrealised gain, even though no sale happened and no cash came in.

Not every country has one, and among those that do, the rules differ sharply on what is caught and how much cash actually changes hands.

CountryExit tax exists?Typical scope
CanadaYesDeemed disposal of most property on emigration
AustraliaYesDeemed disposal of assets (some exclusions for temporary residents)
GermanyYesSignificant shareholdings in companies
FranceYesLarge securities holdings above thresholds
United StatesYes"Covered expatriates" giving up citizenship / long-term green cards
United KingdomLimitedNo broad exit tax; anti-avoidance rules on temporary non-residence
PortugalNo general exit tax on individuals

A few things to understand before you panic:

  • It usually targets investment assets and business stakes, not your salary or your suitcase. Most exit taxes bite on capital gains in shares, funds, and closely held companies — often only above a value threshold. Ordinary movers with a modest portfolio may fall under the threshold entirely.
  • Deferral is often available. Several countries let you defer paying an exit tax until you actually sell the asset, sometimes if you move within a bloc such as the EU/EEA, sometimes in exchange for posting security. You still owe it; you just don't pay on the way out.
  • Your new country resets the clock — sometimes. If your destination "steps up" your assets to market value on arrival, you avoid being taxed twice on the same gain. If it doesn't, you can be taxed by the old country on the deemed gain and again by the new one on the real gain later. Checking the interaction before you move is where good advice pays for itself.

Exit tax is the single most common reason to speak to a cross-border adviser before the move rather than after. Once you have ceased residence, the deemed disposal date is fixed and there is little you can do to change it.

Which Income Gets Taxed Where: A Quick Reference

Treaties allocate different income types differently. This is the rough default under most treaties once your residence is settled:

Income typeUsually taxed by
Employment salaryCountry where the work is physically performed
Rental incomeCountry where the property is located
Business profitsCountry of the permanent establishment
Dividends / interestResidence country, with capped withholding at source
Capital gains on propertyCountry where the property sits
Capital gains on sharesUsually residence country (exit-tax rules aside)
Government pensionsOften the country that pays them
Private pensionsOften the residence country

The salary rule is why physical location matters more than where your employer is incorporated. If you move to Germany and do the work there, Germany taxes that salary — even if the company is British. That distinction is at the heart of the remote-work tax trap, where people assume a foreign employer means foreign-only tax. It does not.

Not sure which country you’d qualify for?

Take our free 2-minute eligibility assessment and get personalised results across 29 destinations — no signup wall.

Start the free assessment →

Special Regimes: The Incentives Worth Knowing About

Some countries actively court incoming skilled workers, retirees, and wealthy migrants with favourable tax regimes. These change often and several have been trimmed or scrapped in recent years, so verify the current version before relying on it:

  • Impatriate regimes in countries like Italy, Spain (the "Beckham Law"), and the Netherlands reduce tax on foreign or on a portion of local income for new arrivals for a fixed number of years.
  • Non-domicile and remittance-basis systems have historically let residents shelter foreign income they don't bring into the country. The UK's long-standing non-dom regime was overhauled, so anyone relying on old summaries should check the current rules.
  • Retiree regimes offer flat or reduced rates on foreign pensions in several southern European and other destinations. If retirement abroad is the goal, our guide to the best countries to retire abroad covers the trade-offs beyond tax.
  • Golden-visa and investor routes sometimes come bundled with tax perks, though the two are legally separate — see our golden visa countries guide.

The catch with every incentive regime is conditionality. They usually require you to be newly resident (not a returner within a cooling-off period), to register within a deadline, and to meet income or activity conditions. Miss the paperwork window and you can lose the benefit for the entire multi-year period.

Social Security: The Tax That Isn't Called Tax

Income tax gets the attention, but social security contributions — pensions, health, unemployment — are often a bigger monthly deduction, and they follow their own rules. Two things to know:

  • Totalisation agreements. Many countries sign bilateral social-security agreements so you don't pay into two systems at once and so years of contributions in one country count towards benefits in another. Within the EU/EEA these are coordinated automatically; elsewhere they are patchy.
  • Posted workers. If your employer sends you abroad temporarily, you may keep contributing at home for a period rather than switching systems. This is separate from income tax residence and has its own certificate.

Losing track of social security is how people end up with fragmented pension records across three countries and full benefits in none. If you are moving in a regulated profession — an accountant or a software engineer, for instance — your contribution history can also affect professional and immigration status later, so keep the records.

A Practical Sequence for Getting Your Tax Right

You don't need to become a tax expert. You need to do a few things in the right order.

  1. Establish your residency position for the move year. Work out when the old country stops treating you as resident and when the new one starts. Identify whether split-year treatment applies.
  2. Check whether a treaty exists between the two countries, and read (or have someone read) the tie-breaker and the relief method. This tells you whether you face exemption or credit.
  3. Find out if your departure triggers an exit tax. Do this before you leave. If it does, ask about deferral and whether your destination steps up asset values on arrival.
  4. List your income streams — salary, rentals, dividends, pensions, business — and map each to the country that will tax it.
  5. Notify the old tax authority that you are leaving, and file any final or split-year return required.
  6. Register with the new authority on arrival and check whether you qualify for any incoming-resident regime — and its deadline.
  7. Keep dated evidence of everything: departure, arrival, asset values on the move date, tax paid abroad. The credit and the split both depend on documents you may not think to keep.

If your situation includes a business, significant investments, or property in more than one country, this is the point to pay a cross-border tax adviser for a couple of hours. It is cheap relative to a double-taxation dispute or a missed exit-tax deferral. Before you get that far, our broader assessment can help you sort out which destinations and routes are even worth the tax homework.

Frequently Asked Questions

If I leave my country, do I automatically stop paying tax there? No. You stop being taxed on worldwide income only once you have genuinely ceased tax residence, which usually means cutting ties — not just booking a flight. Keeping a home, a spouse, or your economic centre there can keep you resident. And if you are a US citizen, you keep filing regardless of where you live.

Will I be taxed twice on the same salary? Usually not, if a double-taxation treaty exists. Either the treaty exempts the income in one country or your home country credits the foreign tax you already paid. You typically end up paying the higher of the two rates, not the sum. Without a treaty and without unilateral relief, genuine double taxation is possible.

What is an exit tax and will it apply to me? An exit tax treats your departure as if you sold your assets at market value that day and taxes the unrealised gain. It mainly targets shares and business stakes, often above a value threshold, and many countries let you defer payment until you actually sell. Salaries and everyday belongings are not the target. Whether it applies depends on the country you are leaving.

Which country taxes my salary after I move? Generally the country where you physically do the work, regardless of where your employer is based. If you move to a new country and work there, that country taxes the salary — even for a foreign employer.

Do I need a tax adviser to migrate? Not for a simple salaried move between two treaty countries with split-year rules; you can often handle that yourself with care. You should get advice if you own a business, hold significant investments, own property in more than one country, or face a possible exit tax. A few hours of advice before the move is far cheaper than fixing a problem after.

What about social security and pensions? These follow separate rules from income tax. Check whether a totalisation agreement links the two countries so your contribution years count and you avoid paying into two systems at once. Keep your contribution records from every country.

The Short Version

Tax when you migrate is not one problem but three: figuring out where you are resident, using treaties to avoid being taxed twice, and checking whether leaving triggers an exit charge. Sort out residency first, because it decides everything else. Ask about exit tax before you go, not after. Keep dated proof of your departure, your arrival, and any tax you pay abroad. Do those things and the tax side of your move becomes ordinary admin rather than the expensive surprise it is for people who never thought about it. From there, the rest of your move — the visa, the flat, the first-year logistics — is a much more pleasant kind of planning.

Get migration tips in your inbox

Practical guides, visa updates, and opportunities — delivered weekly.