HOME > BLOG > REMOTE WORK CULTURE
REMOTE WORK CULTURE

EU Tax Residency for Remote Developers: The Real Rules in 2026

5/5/2026
10 min read
Financial documents and calculator on a desk
Photo by Kelly Sikkema on Unsplash

EU tax residency for remote developers is the legal status that determines which EU country has primary right to tax your worldwide income — triggered by physical presence (≥ 183 days in most member states), centre of vital interests (family + home + economic ties), or habitual abode (≥ 2 years pattern). The 183-day rule is necessary but NOT sufficient — Spain, France, Italy, Germany, Portugal all have centre-of-vital-interests tests that can override day-count. Double taxation treaties (OECD model Art. 4 tiebreaker: permanent home → vital interests → habitual abode → nationality → mutual agreement) resolve conflicts when two countries both claim residency. A1 certificates (EU social-security coordination) let posted workers keep home-country social charges for up to 24 months.

TL;DR — the 4 tax-residency rules that actually matter

  1. The 183-day rule — physical presence threshold; necessary in every EU country but rarely sufficient alone
  2. Centre of vital interests — where your family, primary home, and economic ties sit; Spain / France / Italy / Germany / Portugal apply this AS WELL as 183 days
  3. Permanent home test (DTT tiebreaker Art. 4) — used when 2 countries both claim you; cascades: permanent home → vital interests → habitual abode → nationality
  4. Habitual abode — long-term residence pattern (≥ 2 years); some countries weight this independently of any single year’s day count

Practical implications for remote devs (2026):

  • 90/180 Schengen rule (visa-side) is separate from tax residency rules — being within Schengen 90/180 doesn’t shield you from tax-residency triggers
  • Working remotely from country X for ≥ 183 days while keeping a permanent home in country Y → both countries can claim you; DTT tiebreaker applies
  • A1 certificate (EU social-security coordination) lets posted workers keep home-country social-security for up to 24 months — does NOT cover income tax
  • Most expat tax breaks (Beckham / IFICI / Article 5C / Impatriati) require becoming tax resident — opt-IN to residency, then apply for the regime

Tax residency is the most misunderstood part of working remotely across borders. The popular advice — “stay under 183 days and you’re fine” — is partially true and mostly misleading. Here’s what actually matters.

The 183-Day Rule: What It Does and Doesn’t Do

Most EU countries use 183 days per calendar year as the primary trigger for tax residency. Spend more than 183 days in a country, and you’re generally considered tax resident there.

But 183 days is a threshold, not a guarantee. Several EU countries have additional rules:

Germany: Tax residency triggers if you maintain a Wohnsitz (fixed abode) in Germany — even if you’re there fewer than 183 days. A rented flat, a room you keep, or a family home where you have a right to stay counts. You can be a German tax resident while spending most of the year elsewhere.

France: Similar to Germany — if you maintain your principal home (foyer) in France, you’re tax resident regardless of day count. France also looks at your “centre of vital interests” (economic, professional, personal ties).

Spain: Tax residency applies if you spend 183+ days in Spain in a calendar year, OR if Spain is the base of your economic activities, OR if your spouse and/or dependent minor children habitually reside in Spain.

Netherlands: More purely time-based but also considers your personal and economic ties. If you maintain a Dutch home and return regularly, you may be considered resident even below 183 days.

The takeaway: The 183-day rule is a floor, not a ceiling. You can become tax resident in fewer days if you have ties to a country.

What Happens When You’re Tax Resident

Once you’re tax resident in a country, that country has the right to tax your worldwide income — not just income earned there. This includes:

  • Your remote salary from a foreign employer
  • Freelance income from clients anywhere
  • Investment income (dividends, capital gains)
  • Rental income from properties abroad
  • Income from foreign companies you own

This is why tax residency matters so much for remote workers. A developer earning €80,000 from a UK employer while living in Germany pays German income tax on all €80,000 — not just German-source income.

Double Taxation Treaties: Your Protection

The EU plus the broader European economic zone is covered by an extensive network of bilateral double taxation treaties (DTTs). These agreements determine which country has the primary right to tax specific types of income when two countries both have a claim.

For remote employment income (salary from an employer in Country A while you live in Country B), DTTs typically work like this:

  • If you work for a foreign employer from your country of residence: Your country of residence taxes your employment income. The foreign country doesn’t tax it (you’re not physically present there).

  • If you have a permanent establishment in the foreign country: Things get complicated. A “permanent establishment” in most DTTs means a fixed place of business — your home office can theoretically constitute one, which some tax authorities have tried to argue.

For most remote developers — employee of a US/UK/German company, living in Portugal/Spain/Italy — the DTT outcome is clean: your country of residence taxes your income, and you get a tax credit for any taxes already paid in the employer’s country.

The A1 Certificate: Social Security Across Borders

Separate from income tax, social security contributions follow different rules under EU Regulation 883/2004.

The general rule: you pay social security in the country where you work, not where your employer is based.

For remote workers, this typically means you should be paying social security in your country of residence — not your employer’s country.

The A1 certificate (also called a certificate of coverage) documents which country’s social security system covers you. It’s issued by the social security authority of your country of coverage.

Why this matters:

  • Without an A1, your employer may be paying social security in the wrong country
  • Some countries actively enforce this — Germany, France, and Belgium have been known to audit cross-border workers
  • If you have an A1 from Country A, Country B cannot require you to also contribute to their system

How to get an A1: If you’re an employee and your employer doesn’t handle this automatically, apply to the social security authority in your country of residence. In Spain: Tesorería General de la Seguridad Social. In Portugal: Segurança Social Direta. In Germany: Deutsche Rentenversicherung.

The A1 is particularly important for:

  • Digital nomads moving between EU countries
  • Cross-border workers who split time between two countries
  • Employees seconded to work in another EU country

Posted Workers and the 90-Day Rule

If you work for an employer in Country A and move to Country B, your employer may need to register as a “posting” employer in Country B if the arrangement is temporary. This is a legal compliance matter for your employer, not just you — and many smaller foreign employers are unaware of it.

The 90-day threshold is relevant here: short-term postings under 90 days typically have lighter requirements. Over 90 days, more rigorous reporting obligations apply.

For developers on nomad visas (like Portugal D8 or Spain’s Nomad Visa), the visa itself signals to the tax authorities that you intend to be resident — which simplifies this: you’re clearly resident in that country, and your employer should handle social security from there.

Practical Scenarios

Scenario 1: UK Developer Moving to Portugal on D8

  • Becomes Portuguese tax resident after 183 days (or earlier if registering as resident)
  • Portugal taxes worldwide income; UK income tax stops (UK has a DTT with Portugal)
  • Can apply for IFICI (NHR 2.0) for a 20% flat rate on qualifying income
  • Should get an A1 certificate from Portuguese Segurança Social — employer stops UK National Insurance, which should reduce employer-side costs

Scenario 2: German Developer Working for US Startup from Spain

  • Becomes Spanish tax resident after 183 days
  • Spain-US DTT means Spain taxes the income; US doesn’t withhold (US employers can be confused by this — may need a W8-BEN form)
  • Can apply for Beckham Law (24% flat rate for 6 years) if not Spanish tax resident in past 5 years
  • Social security: Spain-US social security totalisation agreement means contributing to one or the other (usually Spain, since that’s where you’re resident)

Scenario 3: EU Developer “Perpetual Traveller” (No Fixed Residence)

This is the most complex situation. If you have no fixed residence and move between countries, you may:

  • Remain tax resident in your home country (if you retain ties there)
  • Accidentally become tax resident somewhere if you stay too long
  • Face difficulties proving tax residence anywhere (banks, brokers, and employers need to report to somewhere)

Most tax advisers recommend against the perpetual traveller approach for developers earning significant remote income — the compliance complexity and risk usually outweigh the theoretical tax savings.

Common Mistakes to Avoid

1. Not deregistering from your home country If you move abroad but remain registered as a resident in your home country, you stay tax resident there. File the necessary deregistration forms — in Germany (Abmeldung), in the Netherlands (gemeente deregistration), etc.

2. Assuming your employer handles everything Many foreign employers have no experience with employees who change country. They may continue withholding tax in their country, meaning you’re double-taxed until you file for a refund. Proactively notify your employer and HR about your new residency.

3. Ignoring regional/cantonal taxes Spain has regional income tax surcharges that vary by autonomous community. Madrid is notably low; Catalonia and Basque Country are higher. If you have flexibility on where in Spain to register, this can matter.

4. Forgetting about capital gains and investment accounts Moving country resets your tax cost basis for investments in many jurisdictions. If you have significant stock options, RSUs, or investment accounts, get advice before you move — not after.

Want the numbers for your situation? Try the Xeito remote-salary calculator — compare net take-home and cost of living across European tech hubs in 30 seconds.

XT
Xeito Team The team building Xeito

Xeito is built and operated by the team at Abellan Labs, S.L.U., an EU-incorporated software studio. The team builds remote-job tooling for European developers, drawing on hands-on experience with EU remote-work and self-employment regimes, EU consumer-rights compliance (CRD / LSSI-CE / GDPR), the cross-border tax and social-security paths most relocation guides paper over, and the AI-agent-driven engineering practice — CI/CD, content pipelines, and direct platform integrations — behind Xeito itself.

AMPLIFY

Know a friend job-hunting in the EU?

Xeito filters out the "remote — US only" traps. Share the EU-workability wedge with anyone who's tired of finding fake-remote jobs.

SHARE_THE_WEDGE →
READY_TO_START

FIND_YOUR_DREAM_JOB

Join thousands of job seekers using AI-powered tools to land opportunities across Spain and Europe