Working remotely from Spain for a Swiss company is possible, but Spanish and Swiss employment, tax and Social Security rules must be coordinated. If the work is habitually performed from Spain, the employer’s location in Switzerland does not by itself determine where tax is paid, where Social Security contributions are due or which employment protections apply.

In practice, the analysis covers the employee’s tax residence, the physical place where employment is exercised, registration of the Swiss company as an employer in Spain, payroll and withholding, Social Security contributions and possible permanent establishment exposure.

The Spain-Switzerland Double Tax Treaty allocates taxing rights between the two States. For employment income, the physical location where the work is performed is particularly important. Spanish binding ruling V0057-23, discussed in the original article, considers the case of a Spanish resident working from Spain for a Swiss company.

Quick answer: when an individual lives and habitually works from Spain for a Swiss company, salary relating to work performed in Spain will generally fall within Spanish taxation. Spanish Social Security and the Swiss employer’s employment obligations must also be reviewed. The analysis changes where the employee works physically in Switzerland, habitually works in both countries or holds valid temporary coverage documentation.

Which Spain-Switzerland remote-work situations are covered?

Not every arrangement follows the same model. A distinction should be made between:

  • An individual employed by a Swiss company who permanently lives and works from Spain.
  • An employee who temporarily moves from Switzerland to Spain while retaining the original employment relationship.
  • An individual who normally works from Spain and travels to Switzerland on certain days.
  • An employee who habitually divides work between both States.
  • A local Spanish hire managed directly by the Swiss company or through an Employer of Record.

 

More information

 

Overview of the main obligations

Area Key question Possible consequence
Tax residence Where is the individual resident under domestic rules and the Treaty? Worldwide taxation in Spain or non-resident treatment.
Salary Where is the work physically performed? Taxation in Spain, Switzerland or allocation between both.
Social Security Does the employee work in one State or habitually in both? Spanish or Swiss contributions, or an authorised exception.
Employment Is Spain the habitual place of work? Application of mandatory Spanish employment rules.
Employer Does the presence create Spanish obligations? Employer registration, payroll or tax exposure.

The employee’s tax residence in Spain

Tax residence does not depend on where the employer is located. Spanish rules consider, among other criteria, whether the person spends more than 183 days in Spain during the calendar year, whether the main centre or base of activities or economic interests is in Spain and a rebuttable presumption connected with a spouse who is not legally separated and dependent minor children.

The 183-day rule is important, but it is not the only test. Sporadic absences, housing, family, professional activity and economic interests must also be considered.

For a detailed explanation, see our guide to tax residence and international remote work.

The Double Tax Treaty between Spain and Switzerland

The Double Tax Treaty between Spain and Switzerland was signed in Bern on 26 April 1966 and subsequently amended by protocols, including the protocol published in Spain in 2013. It applies to residents of one or both States and covers, among other taxes, taxes on income.

For employment income, Article 15 starts from the principle that salary received by a resident of one State is taxable only in that State unless the employment is exercised in the other State. Where employment is exercised in the other State, that State may tax the corresponding remuneration.

The Treaty contains a conditional exception for certain stays not exceeding 183 days in any twelve-month period during the relevant tax year. In addition to this timing condition, requirements relating to the employer paying the remuneration and whether the cost is borne by a permanent establishment must be met.

Where is salary taxed when the employee works from Spain?

When a Spanish tax resident performs employment duties from a home in Spain for a Swiss company, the employment is physically exercised in Spain. The country from which salary is paid and the employer’s registered office do not alter where the work takes place.

The original article refers to Spanish binding ruling V0057-23. The case concerned a Spanish tax resident performing computer-programming duties remotely from Spain for a Swiss tax-resident company. On the facts described, the employment relationship was dependent employment and there were no working days in Switzerland. The salary corresponding to that work was therefore taxable in Spain.

If part of the work is physically performed in Switzerland, the remuneration associated with workdays in each country must be identified and analysed separately under the Treaty.

Can double taxation arise?

An overlap can arise where both States consider that they have taxing rights over the same income. The Treaty allocates those rights and provides mechanisms for eliminating double taxation.

The following evidence should be retained:

  • Tax residence certificates.
  • A calendar of workdays in Spain and Switzerland.
  • Payslips and withholding certificates.
  • Tax returns filed in each country.
  • Proof of tax paid.
  • Travel and physical-presence records.

Salary withholding

Spanish binding ruling V0057-23 notes, as discussed in the original article, that withholding requires the existence of a legally designated withholding agent. The position of the non-resident employer must be examined under Spanish law, including whether the company operates through a permanent establishment or falls within another legal withholding scenario.

The absence of Spanish withholding does not remove the employee’s obligation to report income correctly. Cash flow should be planned to avoid an unexpectedly large payment when the Spanish Personal Income Tax return is filed.

An employee should not treat salary as self-employment income. Spanish form 130 is not generally the mechanism for reporting ordinary employment income on a quarterly basis.

Does Spanish employment law apply?

The choice of law in an international employment contract has limits. It cannot deprive an employee of protection under mandatory provisions of the law that would apply in the absence of that choice.

If Spain is the country from which the employee habitually works, Spanish mandatory employment rules and any applicable collective agreement should be reviewed. Relevant matters include:

  • Salary and remuneration structure.
  • Working time and time recording.
  • Annual leave, rest periods and statutory leave.
  • The right to disconnect.
  • Equal treatment and non-discrimination.
  • Occupational health and safety.
  • Termination of employment.

Remote-work agreement

Spanish Law 10/2021 regulates distance work within its scope. Where it applies, a written remote-work agreement must be completed before remote work begins.

The agreement should document equipment, expenses, working hours, the workplace, monitoring measures, duration and reversibility. In a Spain-Switzerland arrangement, it should also specify:

  • The authorised Spanish work address.
  • Travel and office days in Switzerland.
  • The duty to report changes of location.
  • Data protection and security requirements.
  • Tax and Social Security coordination.

Equipment, expenses and occupational risk prevention

The employer should review the provision and maintenance of necessary equipment and the reimbursement or compensation of expenses under the applicable rules and collective agreement.

The employer must also organise occupational risk prevention for the area used for work while respecting the privacy of the home. The assessment should consider ergonomics, screens, working-time organisation and psychosocial risks.

Social Security: Spain or Switzerland?

Spain and Switzerland participate in Social Security coordination rules under which only one country’s legislation should apply at a time. The general rule considers the country where work is carried out, but specific provisions exist for temporary postings and habitual activity in two or more States.

If an individual works permanently and exclusively from Spain, Spanish Social Security is the starting point. If the employee is temporarily posted from Switzerland, Swiss coverage may continue where the relevant conditions are met and an A1 document is issued.

If work is habitually divided between Spain and Switzerland, the rules for activity in two or more States must be applied. Regular travel should not be treated as a series of isolated postings where a stable cross-border pattern exists.

Framework Agreement on cross-border telework

The 2023 Framework Agreement on habitual cross-border telework permits an exception to be requested for certain habitual cross-border telework arrangements. Where its conditions are satisfied, the legislation of the employer’s State may continue to apply if telework in the employee’s State of residence accounts for less than 50% of total working time.

This can be relevant to an employee who lives in Spain, works part of the week from Spain and regularly attends the Swiss employer’s premises. It is not designed for a person working 100% from Spain.

Registering the Swiss company as an employer in Spain

Where Spanish Social Security applies, the Swiss company may need to register as an employer, obtain a Spanish contribution account code, register the employee and pay Spanish contributions.

The appropriate structure should reflect the employee’s duties, the duration of the arrangement, costs and responsibilities. Direct foreign-employer registration can be compared with a Spanish entity or an Employer of Record.

Permanent establishment risk

An employee’s home in Spain does not automatically create a permanent establishment for the Swiss company. However, the stability of the presence, whether the place is at the company’s disposal, the nature of the duties and contractual authority must be reviewed.

Risk increases where the employee:

  • Habitually develops the Spanish market.
  • Negotiates essential terms with customers.
  • Concludes contracts or plays the principal role leading to their conclusion.
  • Performs senior management functions from Spain.
  • Publicly uses the home as the company’s business address.

For further detail, see our guide to corporate tax and international remote work.

Can the Spanish Personal Income Tax exemption for work abroad apply?

The exemption for employment duties performed abroad requires the work to be physically carried out outside Spain, together with the other legal requirements.

Where the employee works from a Spanish home for a Swiss company, the work has not been physically performed abroad on those days. The Swiss employer or economic beneficiary does not by itself convert work performed in Spain into work abroad.

Days physically worked in Switzerland require a separate review of the exemption conditions.

Three common scenarios

Permanent work from Spain

The individual lives and works throughout the week from Spain. Spanish taxation, Spanish employment rules, registration of the Swiss employer and Spanish Social Security should be reviewed.

Temporary posting from Switzerland

The company temporarily sends the employee to Spain while maintaining the Swiss employment relationship. The A1 document, duration, employment conditions and taxation of the presence should be checked.

Hybrid work between Spain and Switzerland

The employee lives in Spain and regularly works in both countries. The presence calendar, salary taxation, applicable Social Security legislation and the Framework Agreement should be coordinated.

Recommended process

  1. Define the residence country, home address and work calendar.
  2. Identify whether the arrangement is a posting, permanent remote work or activity in two States.
  3. Determine tax residence.
  4. Allocate salary according to workdays in each country.
  5. Review withholding and double-tax relief.
  6. Determine the applicable Social Security legislation and request certificates.
  7. Adapt the employment contract and remote-work agreement.
  8. Register the Swiss employer in Spain if required.
  9. Assess permanent establishment risk.
  10. Review the arrangement when days or duties change.

Common mistakes

  • Assuming salary is taxable in Switzerland because the company is Swiss.
  • Applying only the 183-day rule.
  • Maintaining Swiss contributions without a valid A1 document.
  • Confusing a temporary posting with permanent remote work.
  • Failing to allocate salary when work is performed in both countries.
  • Ignoring Spanish employment rules.
  • Automatically applying the Spanish exemption for work abroad.
  • Confusing employer registration with a permanent establishment.
  • Failing to retain a reliable presence calendar.

Checklist before the arrangement begins

  • Tax residence assessed.
  • Expected workdays in Spain and Switzerland recorded.
  • Double tax treaty reviewed.
  • Withholding and payroll configured.
  • Employment law and collective agreement checked.
  • Remote-work agreement prepared.
  • Applicable Social Security system determined.
  • A1 or Framework Agreement application processed where relevant.
  • Swiss employer’s Spanish registration reviewed.
  • Permanent establishment risk assessed.
  • Equipment, expenses and occupational safety documented.
  • Review date established.

Do you work from Spain for a Swiss company?

At Adlanter, we coordinate the tax, employment and Social Security analysis between Spain and Switzerland for both employees and employers.

Through our international mobility services, we help define the right structure, manage payroll and meet Spanish obligations.

Nuestros expertos

  • Adlanter

    Expertos en asesoría fiscal, laboral, mercantil, contable, movilidad internacional y gestión del talento. Compartimos análisis, novedades normativas y contenido especializado para ayudar a empresas y profesionales a tomar decisiones informadas y afrontar con seguridad los retos de un entorno empresarial en constante evolución.

Do you have any questions?

If you have any questions after reading "Working Remotely from Spain for a Swiss Company", we are here to help you.

Let's talk. We guide you clearly and step by step.

Contact us now