Home › Ask

When do I stop being a tax resident of the country I am leaving?

Short answer: It depends entirely on the country. Ireland, the Netherlands, Germany, Spain and Portugal generally allow the year to be split so residence ends on departure, while Italy typically treats residence as attaching to the whole calendar year. Because the United States taxes you throughout either way, the split-year rule decides how much foreign tax exists to credit in the year you move.

Written and reviewed by Anthony Walsh, Selanis. Last reviewed 2026-10-06.

Why it works this way

A split year means that income earned after the departure date falls outside the foreign country's net. If you leave in March and sell a large holding in July, a split-year country ignores the sale and the United States taxes it alone. A whole-year country taxes it and then you have foreign tax to credit. Neither is automatically better; it depends on the relative rates.

Countries also disagree about what actually ends residence. Day counts matter, but so does deregistration with the local authority, giving up the lease or property, where the family is, and whether local ties like a car, a doctor and a school place persist. Leaving the country and continuing to look resident on paper is a common and expensive mismatch.

Formal deregistration is the step people skip. Signing off with the local registry — the Abmeldung in Germany, cancelling the padrón or empadronamiento in Spain, deregistering from the anagrafe in Italy, notifying Revenue in Ireland — is what produces the evidence. Without it, the tax authority's default position is that nothing changed.

There is a second-order consequence for the United States. Foreign tax credits are claimed in the year the foreign tax accrues or is paid, depending on your election, and a final foreign tax bill often settles months after the year ends. Mismatched timing turns a credit you were counting on into a carryforward you may never use.

The expensive mistake: Leaving the country without deregistering, then filing as if residence ended

The tax authority sees an active registration, a bank account with a local address, sometimes a lease, and treats residence as continuing. The result is a foreign assessment for a year you thought you had left, arriving after you have filed a US return on the opposite assumption. Correcting it means amended returns on both sides and, frequently, credits that can no longer be claimed in the right year.

What to do

  1. Deregister formally and keep the paperwork — The certificate of deregistration is the single most useful document in your exit-year file.
  2. Establish whether the country splits the year — This one fact determines where your exit-year income is taxed and how much credit you generate.
  3. Diarise the final local return and the US return together — They are usually filed months apart, and the credit only works if the figures and years line up.
Does the exit year split?
CountryResidence on departureEffect on exit-year planning
IrelandSplit-year relief available for employment incomePost-departure income often outside the Irish net
GermanyResidence ends when the home is given upDeregistration evidence is critical
NetherlandsResidence ends on departure, partial-year returnTiming of disposals matters
SpainResidence assessed by full-year day countLeaving after mid-year can keep you resident
PortugalPartial-year residence recognisedDeparture date genuinely ends residence
ItalyUsually attaches to the whole calendar yearLeave early in a year or expect full-year taxation

Sources

Related questions

Book a call with Selanis