Tax residence Spain vs Sweden: remote employee (2026)

Tax residence Spain vs Sweden for a remote employee in 2026: the 183-day rule, the treaty tie-breaker, the A1 certificate and what will decide tax in 2027.

A globe showing Europe and Africa balanced on a wooden seesaw between a green block and a dark blue block.

You work remotely for a Swedish employer, you started spending most of your time in Spain during 2026 to live with your spouse, and you want to know which country taxes your salary for the 2026 tax year, what changes in 2027, and which country's social security covers you.

For 2026, an employee who keeps a home and registration in Sweden and stays under 183 days in Spain is well placed to remain taxed in Sweden only, provided Swedish tax residence can be proven to Spain. For 2027, the deciding factor is the country where the majority of days are spent. The A1 certificate is a separate social security question. The outcome always depends on the individual situation.

The case below is a typical example: the facts have been generalised and are illustrative.

The typical case

  • A long-standing employee of a Swedish company, on a contract that has always been fully remote. The employer withholds Swedish tax.

  • The employee registered in Spain during 2026 and has since spent more than half of the time there, while staying well below 183 days in Spain over the calendar year.

  • The spouse lives in Spain on a permanent basis. The couple has no children.

  • The employee is still registered (folkbokförd) in Sweden, keeps a home available there and is about to sign a lease in Spain.

  • The stay in Spain is planned as temporary, up to two years, with no intention to settle.

  • The employee also holds shares in a passive family Aktiebolag with no income.

Income tax and social security are two separate tracks

For income tax, each country applies its own residence rules. If both claim the same person, the tax treaty between Sweden and Spain decides which one has priority. For social security, the EU coordination regulation designates one single country whose system applies.

The tests are different: an A1 does not settle income tax, and a tax residence certificate does not settle the A1. The facts examined are the same, however: days, homes, family, intentions. Several administrations may look at them (Skatteverket, Försäkringskassan, the Spanish social security and possibly the Spanish tax agency). Every statement must therefore be identical everywhere. An overstated length of stay written in one file can damage another.

Spain in 2026: when is a remote employee a Spanish tax resident?

Spain treats a person as tax resident for a whole calendar year if they spend more than 183 days in Spain during that year, or if the main centre or base of their economic activities or interests is in Spain. There is also a rebuttable presumption of residence when the spouse and the dependent minor children live in Spain.

The day count and the "sporadic absences" trap

Spain does not deduct sporadic absences from the count unless the person proves tax residence in another country. For someone who registered in Spain partway through the year, has a lease there and a spouse living there, the tax agency could try to treat stays in Sweden as short absences from a Spanish base, and push the count above 183.

The defence is a certificate of Swedish tax residence (hemvistintyg) for the year concerned, issued by Skatteverket, together with a reliable record of days. Days at the end of the year still count, so the annual total in Spain must stay under 183.

Economic interests

The income is a salary from a Swedish employer, but Spain may look at where the work is physically done. In the typical case, the majority of the working time in 2026 was in Sweden, and the employer, the company shares and the social insurance are also in Sweden. For 2026, this criterion points to Sweden.

The presumption linked to the spouse

The rule refers to the spouse and the dependent minor children living in Spain. Whether it can apply to a couple without children on the basis of the spouse alone is not clear-cut. In any event it can be rebutted by proof such as a Swedish residence certificate.

Conclusion for 2026: the risk of being treated as a Spanish tax resident is limited, as long as the Swedish certificate and the day log are in hand.

Sweden: unlimited tax liability continues

In Sweden, a person has unlimited tax liability if they are resident (bosatt), if they stay there on a continuous basis, or if they previously lived there and keep an essential connection (väsentlig anknytning). Unlimited liability means tax in Sweden on all income, wherever it comes from. An employee who is still registered and has a home in Sweden is treated as resident, and the employer is right to keep withholding Swedish tax.

Even after deregistration, Skatteverket presumes an essential connection during the five years after departure, unless the person shows otherwise. It looks at elements such as Swedish citizenship, a home, family and assets or a business in Sweden. In practice Sweden keeps taxing. The real question is only whether Spain also does.

Population registration must follow the facts

A person who is expected to spend their nightly rest abroad regularly for at least one year must be deregistered, and a person with nightly rest in both countries must be deregistered if, all circumstances considered, their real home is abroad. Skatteverket considers that there is a dual residence when a person lives at each address at least one seventh of the time. An alternating pattern can justify staying registered in Sweden, but a declaration elsewhere of a long stay abroad is exactly the kind of element that could lead to deregistration.

If both countries claim residence: the treaty tie-breaker

The Sweden-Spain tax treaty of 1976 settles dual residence with tests applied in order.

  1. Permanent home available. With a Swedish home and a Spanish lease, there is one in both countries. This test does not decide.

  2. Centre of vital interests. It combines personal and economic ties. Spain has the spouse, the closest personal tie. Sweden has the employer, the salary, the company shares, the social insurance, the home and the wider family. This test is balanced, and tax authorities often give a lot of weight to where the spouse lives. It should not be relied on alone.

  3. Habitual abode. It looks at where the person actually spends more time. This is the real lever. With the first part of 2026 spent in Sweden, it points to Sweden for 2026.

  4. Nationality, then an agreement between the two tax authorities.

As long as the majority of time is spent in Sweden, the treaty position is strong.

How the salary is taxed in each case

Sweden is the residence country under the treaty

The salary is taxed in Sweden. For days physically worked from Spain, Spain may tax that part of the salary, unless three conditions are all met:

  • the employee is in Spain for no more than 183 days in total in the Spanish tax year, which is the calendar year,

  • the employer is not resident in Spain,

  • the salary is not borne by a permanent establishment of the employer in Spain.

When the three conditions are met, as they appear to be in the typical case for 2026, the salary stays taxable in Sweden only and the Swedish withholding remains correct.

On the third condition, the OECD guidance updated in 2025 says that working from home does not automatically turn the home into a place of business of the employer. It looks at whether the person works there for half or more of their time and whether there is a commercial reason for the presence in that country, such as local customers. An employee who spends more than half of the time in Spain should be able to confirm that the work has no Spanish commercial purpose. How the Spanish authorities apply this guidance in practice should be checked.

Spain is the residence country under the treaty

The logic reverses. Spain taxes the whole salary, Sweden can tax the part earned for days worked in Sweden, and Spain grants a credit for the Swedish tax, capped at the Spanish tax due on that income. The Swedish withholding then needs to be adjusted, and the employee has to file and pay in Spain personally when the employer has no Spanish payroll.

2027: three scenarios

The day count restarts on 1 January 2027, so the choice should be made before then.

Scenario

Likely outcome

A. More days in Sweden than in Spain, and under 183 days in Spain

No Spanish residence claim based on days, the economic criterion and the habitual abode test point to Sweden, the salary stays taxable in Sweden only.

B. Under 183 days in Spain, but more days in Spain than in Sweden (for instance with time in third countries)

Grey zone. Spain could argue that the economic centre has moved, since most of the work is physically done in Spain, and the habitual abode test could point to Spain.

C. More than 183 days in Spain

Resident under Spanish law. Spain is likely to prevail under the treaty through habitual abode unless vital interests are clearly in Sweden, and in any case Spain can tax the salary for Spanish working days because the 183-day condition is no longer met.

If staying taxed in Sweden is the priority, 2027 should be planned so that the majority of days are in Sweden, with a day log supported by evidence and a new Swedish residence certificate for 2027.

A passive Aktiebolag and a house in Sweden

A business and assets in Sweden are among the elements Skatteverket considers for an essential connection, and economic relations count in the vital interests test. A passive company with no income carries limited weight.

The company itself is Swedish and taxed in Sweden. Spain would only treat it as a Spanish company if its place of effective management were in Spain, meaning that the direction and control of all its activities take place there. In that case the treaty gives priority to the country of effective management. With family co-owners in Sweden, shared management and no activity, the risk is low. To keep it that way, key decisions (board meetings, approval of accounts, major commitments) should be taken and documented in Sweden or with board members based in Sweden, and bookkeeping and administration should stay Swedish.

As for a house, the treaty test is having a permanent home available, not owning it. Owning property in Sweden adds weight to the essential connection under Swedish law and, modestly, to the economic ties. It does not change the Spanish day count. It helps, but the days decide.

Social security: what really decides the A1

A person who works in two EU countries is covered by the system of the country of residence if a substantial part of the activity is carried out there. Substantial means at least 25% of working time and/or remuneration, assessed on the situation expected over the next twelve months. When more than 25% of the work is done in each country, the whole question becomes: which country is the residence for social security purposes?

That residence is assessed on a set of facts: family situation, duration and continuity of presence, employment situation, how permanent the housing is, where taxes are paid, and the reasons for the move.

  • Arguments for Sweden: a stay limited in time, a permanent Swedish employment contract, a Swedish home kept, taxes paid in Sweden, and a move whose purpose is to be with the spouse without settling.

  • Arguments for Spain: the spouse's permanent residence, the Spanish registration and lease, and most of the time spent in Spain since arrival.

This is why the stated duration of the stay is decisive, and why an incorrect duration in the file must be corrected.

On procedure, the institution of the country of residence makes a provisional determination, which becomes final two months after the other institutions are informed, unless one of them disagrees. A person who lives in another EU country and works in two countries reports to the institution of the country where they live. If it concludes that the person is insured elsewhere, the A1 is issued by that other country. A correction must therefore address the residence question itself, with both institutions. Time limits to challenge a determination can be short and need to be checked locally.

The EU telework framework agreement

Spain and Sweden have both signed the multilateral agreement on cross-border telework, in force since 1 July 2023. It allows an employee to remain under the system of the employer's country when teleworking from the country of residence for less than 50% of working time, on a joint application by employee and employer.

With more than half of the time in Spain, this route is not open. It becomes relevant if telework from Spain falls below half of the working time: it would keep the employee in the Swedish system even if Spain were considered the residence. Beyond that, an individual exception can in principle be requested between the two countries, but it is discretionary and requires both to agree.

Healthcare and the S1

If Swedish legislation applies, an S1 issued by the Swedish institution allows registration for healthcare in Spain while remaining insured in Sweden. The form is issued per person, and family members can also be covered in some cases, to be confirmed with Försäkringskassan.

Two side issues worth knowing

Spain's special regime for people who move there for work. This optional regime can apply to remote work carried out exclusively through IT means, for people who were not Spanish residents in the five previous years and who become resident as a result of their move. The option must be filed within six months from the start of the activity shown in the Spanish social security registration or in the documentation that keeps the person under the home country's system. A missed window cannot be recovered. How the window runs when there is no Spanish registration, or when Spanish residence only begins the following year, needs a specific analysis.

A future inheritance. In Spain, heirs who are tax resident in Spain pay inheritance tax on everything they inherit, wherever the assets are located, while Sweden abolished inheritance tax from 1 January 2005. The same Swedish property could therefore pass free of tax to a Swedish resident and be taxable in Spain for a Spanish resident at the date of the inheritance.

Practical checklist

  1. Request a Swedish tax residence certificate (hemvistintyg) for 2026 from Skatteverket, and later one for 2027.

  2. Build a day log, country by country, with evidence (travel tickets, card payments, work logs).

  3. Write one factual statement, identical for every administration: split of working time in percentages, planned length of stay, Swedish home kept, employer and contract, reasons for the move.

  4. Ask the employer for a letter confirming the remote contract, its Swedish base and the absence of any Spanish activity.

  5. If an A1 determination rests on incorrect facts, request a review in writing from the institution that made it and ask the other institution to reassess residence.

  6. Keep the Aktiebolag's decisions and administration in Sweden.

  7. Before 1 January 2027, decide the 2027 calendar.

FAQ

Does registering in Spain make me a Spanish tax resident?

Not by itself. Spanish tax residence depends on more than 183 days in Spain in the calendar year or on the centre of economic interests, with a rebuttable presumption linked to the spouse and dependent minor children.

My employer withholds Swedish tax. Is that still correct?

Yes, as long as Sweden is the residence country under the treaty and the three conditions for days worked in Spain are met, including no more than 183 days in Spain in the calendar year.

Does an A1 from Sweden prove that I am tax resident in Sweden?

No. The A1 only determines which social security system applies. Tax residence is proven with a tax residence certificate and decided under domestic rules and the treaty.

Does it help to own a home in Sweden?

It adds weight to the Swedish connection, but the treaty test is a permanent home available, not ownership. The number of days in each country remains the decisive factor.

Can I stay in Swedish social security while teleworking from Spain?

It depends on where the residence lies for social security purposes and on the share of work in each country. Under the telework framework agreement, telework from the country of residence must stay below 50% of working time.

What happens if I exceed 183 days in Spain in 2027?

You become resident under Spanish law, and Spain can in any case tax the salary earned for days worked in Spain. If Spain prevails under the treaty, it taxes the whole salary with a credit for Swedish tax on Swedish working days.

Sources

This article provides general information and is not personalised advice. Tax and social security rules change every year, and the treatment depends on each person's situation.

Need tax advice tailored to your situation?

Have a similar situation? BeFiscal has already handled files like this one. To get a written tax analysis tailored to your own figures and situation, click the 'Ask your question' chat button on the right of this page: our assistant takes over, gathers the information needed and guides you through to your personalised written analysis.