DEV Community

Xeito
Xeito

Posted on Originally published at xeito.ai

Tax Residency Risks for EU Remote Developers Working Across Borders

You accepted the role. The contract says Germany. You are sitting in Lisbon, enjoying the sun, and your laptop is connected to the same Slack workspace it always was. As far as you can tell, nothing has changed.

From a tax authority's perspective, quite a lot has changed — and the timing of when you find out about it typically coincides with a letter you did not expect.

Cross-border remote work in the EU is genuinely useful. The single market means you can move between member states without a visa, and a German employment contract does not legally prevent you from living in Portugal. But the absence of immigration friction does not mean the absence of tax consequences, and the rules that govern where you owe tax, where you owe social security contributions, and what obligations your employer acquires are more complicated than most developers have been told.

This article covers the four areas that matter most: tax residency and when it attaches, the 183-day rule and what it actually says, social security coordination and what an A1 certificate does, and the permanent establishment risk that your employer is carrying without necessarily knowing about it.


Tax Residency: Where Your Life Is, Not Where Your Contract Points

EU member states each have their own domestic rules for determining tax residency. There is no single EU-wide definition. In most member states, you become a tax resident if you meet one or more of the following:

  • You have a permanent home available to you in that country (not necessarily owned — a rented apartment counts).
  • You are physically present for more than a threshold number of days per year (often, but not always, 183 days).
  • Your centre of vital interests — the country where your personal and economic life is most closely anchored — is there.

These tests apply independently. A developer who signs a one-year lease on a Lisbon apartment in January has a permanent home available in Portugal from day one, regardless of how many days they actually spend there. If that developer had previously been a German tax resident, they may now be resident in both countries under each country's domestic rules — which is exactly what bilateral tax treaties are designed to resolve.

What a tax treaty does: Most EU member states have bilateral tax treaties with each other, largely following the OECD Model Tax Convention. When you are resident in two countries under their respective domestic rules, the treaty determines which country has the primary right to tax you, and which must give a credit or exemption to prevent double taxation. The treaty does not eliminate your obligations — it coordinates them.

Tiebreaker ordering in OECD-model treaties: The treaty tiebreaker looks at, in sequence: (1) where you have a permanent home; (2) if permanent homes exist in both countries, where your centre of vital interests is; (3) if that cannot be determined, where you habitually abide; (4) if that is also equal, your nationality. The 183-day rule appears in a different part of most treaties — it is the threshold for when income from employment exercised in the source country becomes taxable there, not the primary test for residency itself.

The practical consequence: if you move to another EU country and set up a genuine home there, you may become a dual resident and need to actively use the treaty tiebreaker process — usually by filing in both countries and demonstrating where your ties are stronger.


The 183-Day Rule: A Tie-Breaker, Not a Safe Harbour

The 183-day rule is widely misunderstood. It is not a blanket permission to work from any country for up to six months without tax consequences. What it typically says, in most bilateral treaties following the OECD model, is that employment income exercised in a country is also taxable in that country (the source state gains a concurrent taxing right alongside the country of residence) if one of three conditions is met:

  1. The employee is present in that country for more than 183 days in a twelve-month period beginning or ending in the fiscal year.
  2. The remuneration is paid by — or on behalf of — an employer who is resident in that country.
  3. The remuneration is borne by a permanent establishment or fixed base that the employer has in that country.

If none of these three conditions is met, the general rule is that employment income is taxed only in the country of residence. This is the sense in which the 183-day rule provides some protection: a developer who is genuinely resident in Germany, works for a German employer with no presence in Portugal, and spends fewer than 183 days per year physically in Portugal should not have Portuguese income tax liability on that employment income.

But the residency question comes first. If you have moved to Portugal and become a Portuguese tax resident — by having a permanent home there, meeting the presence threshold, or having your centre of vital interests there — the 183-day employment income rule is a secondary question. You are already taxable in Portugal on your worldwide income. The treaty then determines whether Germany also has a right to tax the employment income and how double taxation is relieved.

Days-counting mechanics vary. Some treaties count presence days in a calendar year; others use a rolling 12-month period. Some count days of arrival and departure; others count only full days. The specific treaty between your home country and the country you are working from determines the mechanics. Do not assume the rules are identical across all pairs of EU member states.


Social Security: The A1 Certificate and Why It Matters

Social security is governed separately from income tax in the EU. EU Regulation 883/2004 (coordination of social security systems) provides that workers should, as a general rule, be subject to the social security legislation of only one member state at a time. The mechanism for proving which state's legislation applies to you is the A1 certificate (formerly the E101).

How it works: You apply for an A1 certificate from the social security authority of the member state whose legislation applies to you — typically your home country. The certificate confirms to authorities in other member states that you are covered, so they cannot require contributions from you or your employer during the certified period.

When you need one: If you are working in an EU member state other than the one whose social security system you are enrolled in, even temporarily, you should have an A1 certificate. Without it, the host country's social security authority can in principle claim that local contributions are due — from both you and your employer. Dual liability is the outcome the regulation is designed to prevent, but without the certificate, you have no documentary proof of your existing coverage.

Posted workers vs self-relocating employees: The A1 certificate for posted workers — employees sent to another country by their employer — is relatively straightforward and can cover periods up to 24 months under the standard posting rules. Self-relocating employees who move to another country on their own initiative are in a more complex position. If you genuinely establish residence in another member state, the applicable social security legislation may shift to that state rather than continuing to be your home country's system. The boundary between a temporary work-from-abroad arrangement and a genuine relocation is one that the regulation does not define cleanly, and member states apply it differently.

The 2023 cross-border telework framework: Since July 2023, the EU Framework Agreement on Cross-Border Telework (concluded under Art. 16(1) of Regulation 883/2004) offers a partial answer: if you telework less than 50% of your total working time from your country of residence, you can remain in the social security system of your employer's member state — but only if both member states have signed the framework agreement. This is an important simplification for remote workers who split their time, but it does not cover all member states equally and does not affect the income tax position.

Practical steps: If you plan to work from another EU member state for any meaningful period, contact your home country's social security authority before you go and apply for an A1 certificate. Processing times vary by member state — some issue them quickly; others can take weeks. Your employer should also be notified, both because they may need to cooperate in the application and because the PE risk (see below) means they have independent reasons to know you are abroad.


Permanent Establishment Risk: Your Employer's Problem That Becomes Yours

A permanent establishment (PE) is a concept from international tax law: if a company has a taxable presence in a country — a fixed place of business there — that country can tax the profits attributable to that presence. A PE can be created by a physical office, but it can also be created by an employee who habitually works from a location in that country and who has the authority to habitually conclude contracts in the name of the enterprise.

Why this matters for remote developers: If you are working from your apartment in Amsterdam for a Spanish employer that has no Dutch operations, your apartment is potentially a fixed place of business of the Spanish employer in the Netherlands. If you have any authority to commit the employer contractually — signing agreements, binding the employer to client terms — the PE risk is more acute. Even without contract authority, a habitual fixed place of work can be sufficient under the OECD model.

The consequence for the employer: A PE creates a corporate tax registration and filing obligation in the host country. The employer must apportion some profit to the PE and pay corporate tax on it. Many employers do not realize this risk until they receive an inquiry from the tax authority in the country where the employee has been working.

The consequence for you: You are not personally liable for your employer's PE tax. But if your employer discovers the PE risk after the fact and has not managed it, they may react by requiring you to return to the original work location, ending the remote arrangement — sometimes abruptly. Understanding the risk helps you have the conversation with your employer early, when there is more flexibility to structure the arrangement to manage it.

Low-risk indicators: Short stays (a few weeks per year), no contract authority, clearly temporary arrangements, countries with a high PE threshold in their treaty with your employer's country, and an employer who has taken advice and is monitoring the position. High-risk indicators: working from the same country for more than a few months per year, having signing authority, making operational decisions that bind the employer, and an employer who has not been told you are abroad.


Practical Steps Before You Move

1. Identify which bilateral tax treaty applies. Look up the specific treaty between your employer's home country and the country you intend to work from. Do not assume all EU bilateral treaties are identical — the tiebreaker ordering, the definition of permanent home, and the employment income articles vary. The IBFD Tax Research Platform or your national tax authority's treaty database are the starting points.

2. Get an A1 certificate before you go. Contact your home country's social security authority. Processing times vary; start early. Keep the certificate physically with you when you are working from abroad.

3. Tell your employer. This allows them to assess the PE risk, check whether they have payroll registration obligations in the destination country, and cooperate in the A1 application if needed. Employers who find out after several months that an employee has been working abroad — especially from a country where the employer has clients or operations — have less flexibility to manage the consequences.

4. Keep a day-count log. Maintain a contemporaneous record of which days you are physically in each country. Calendar tools work; so does a simple spreadsheet. If a tax authority later questions your residency or the PE position, the burden of proof often falls on you, and reconstructed records are less persuasive than contemporaneous ones.

5. Check the destination country's domestic residence tests. Before your stay exceeds a few months, verify the specific tests that apply in that country. Some member states have lower presence thresholds than 183 days; others have tests that attach from the moment you rent accommodation.

6. Take country-specific advice for long-term moves. If you are genuinely relocating — rather than working from abroad temporarily — the tax and social security consequences are more significant, and the interaction between your home country's exit tax rules (some member states impose exit charges when you stop being resident), the destination country's welcome regimes, and your employment contract terms requires professional advice in both jurisdictions. Several EU member states have preferential regimes for incoming workers, but these have application deadlines, minimum salary requirements, and other conditions that vary and change over time.


Using Xeito to Find Roles Built for Borderless Work

Employers who have managed the PE, payroll, and social security questions for cross-border remote workers — either by using an employer of record, registering in multiple member states, or structuring roles as genuinely location-agnostic — are qualitatively different to work for than employers who have not. On Xeito, EU remote roles are filtered by genuine EU workability. Explore roles at xeito.ai.


Sources

This article describes general legal and regulatory principles for informational purposes. It is not tax advice or legal advice. Cross-border tax and social security situations are fact-specific and the rules differ between member states and between bilateral treaty pairs. If you are planning to work from a different EU country than your employer's seat, consult a licensed tax professional in both the home country and the destination country before your arrangement begins.

Top comments (0)