Cross-border telework social security in Spain
- Cross-border telework social security in Spain is governed by the EU Framework Agreement on Cross-Border Telework, in force since 1 July 2023, which allows employees to telework from Spain for up to 49.9% of their total working time without switching their social security affiliation.
- Spain has signed the Framework Agreement. As of June 2026, 25 European countries are participating, up from the original 19 signatories in 2023.
- The UK is not a signatory to the Framework Agreement. Post-Brexit, UK employers with staff teleworking from Spain must apply for individual A1 certificates or rely on the bilateral Spain–UK social security convention.
- Employers bear primary responsibility for applying to the competent authority and obtaining the A1 certificate confirming continued coverage under the employer’s national social security system.
- Exceeding the 49.9% threshold triggers a mandatory switch to Spanish social security (TGSS), creating registration, contribution, and payroll compliance obligations for the employer in Spain.
- Tax residency and social security affiliation are separate determinations: an employee can be socially insured in Germany but fiscally resident in Spain, creating parallel compliance obligations.
- Penalties for incorrect social security registration in Spain can reach significant amounts and, in serious cases, create personal liability for company directors.
What you need to know as a remote worker in Spain
Remote work across national borders has moved from pandemic exception to permanent fixture, and the legal framework governing it has been catching up ever since.
For employers and employees navigating cross-border teleworker social security in Spain obligations in 2026, the central instrument is the EU Framework Agreement on the Determination of the Applicable Social Security Legislation for Cross-Border Teleworkers, published in the Spanish BOE on 4 August 2023 and in force from 1 July 2023.
This guide explains how the Framework Agreement works in practice, who it covers, what the 49.9% rule means operationally, how the UK fits into the picture post-Brexit, and what happens when the threshold is exceeded or the rules are not followed.
The legal framework governing cross-border teleworker social security in Spain
Before the Framework Agreement, the default rule under EU Regulation 883/2004 on the coordination of social security systems was that an employee performing substantial activity, defined as more than 25% of working time, in their country of residence became subject to that country’s social security legislation.
For an employee resident in Spain working for a German employer, spending more than 25% of their time working from home in Spain would trigger mandatory Spanish social security registration, TGSS contributions, and all associated employer payroll obligations, even if the employer had no other legal or commercial presence in Spain.
The Framework Agreement created a specific exception to this rule for cross-border teleworker social security in Spain arrangements: employees may now work remotely from their country of residence for up to 49.9% of their total annual working time while remaining under the social security system of their employer’s country of establishment.
An estimated 4.1 million workers across EU member states were engaged in regular cross-border telework arrangements as of 2024, a figure that has doubled since 2020. Spain hosted the largest share of inbound cross-border teleworkers among non-declaring states, primarily from France, Germany and the Netherlands. [Source: European Commission, Report on Cross-Border Telework and Social Security, 2024]
How the 49.9% rule works in practice
The Framework Agreement threshold is calculated on total annual working time, not on a week-by-week basis.
An employee working a standard five-day week can therefore spend up to two days per week teleworking from Spain and remain under their employer’s home country social security system, provided the annual total does not exceed 49.9% of their contracted hours.
The calculation is straightforward for employees with fixed working patterns, but becomes more complex where working arrangements are irregular, where the employee travels frequently between multiple countries, or where working time is partially unrecorded.

Applying for the A1 certificate
The mechanism for formalising a cross-border teleworker social security in Spain arrangement under the Framework Agreement is the A1 certificate: a portable document issued by the competent authority of the employer’s home member state confirming which country’s social security legislation applies to the worker.
The application must be submitted by the employer (or, in some member states, jointly by employer and employee) to the competent authority of the country in which the employer is established.
For a French employer with an employee teleworking from Valencia, the application goes to the French social security authority (URSSAF), not to the Spanish TGSS.
Once issued, the A1 certificate exempts the employer from registering the employee in the Spanish social security system for the period it covers, provided the 49.9% threshold is not exceeded.
| Step | Who acts | Where | Outcome |
|---|---|---|---|
| 1. Confirm telework arrangement in writing | Employer and employee | Any | Written contract or addendum |
| 2. Verify both countries are Framework Agreement signatories | Employer / HR / legal adviser | Employer’s country | Eligibility confirmed |
| 3. Submit the A1 application to the home country authority | Employer | Employer’s country | A1 certificate issued |
| 4. Monitor telework percentage annually | HR/payroll | Both countries | Threshold compliance maintained |
| 5. Renew the A1 certificate before expiry | Employer | Employer’s country | Continued exemption |
Signatory countries as of June 2026
The Framework Agreement was originally signed by 19 countries in 2023. As of June 2026, participation has expanded to 25 European countries.
| Country | Signatory | Notes |
|---|---|---|
| Spain | Yes | Since 1 July 2023 |
| Germany | Yes | Since 1 July 2023 |
| France | Yes | Since 1 July 2023 |
| Netherlands | Yes | Since 1 July 2023 |
| Belgium | Yes | Since 1 July 2023 |
| Italy | Yes | Since 1 July 2023 |
| Portugal | Yes | Since 1 July 2023 |
| Switzerland | Yes | Since 1 July 2023 |
| Norway | Yes | Since 1 July 2023 |
| United Kingdom | No | Not a signatory post-Brexit; bilateral convention applies |
| Ireland | No | Not currently a signatory |
| Denmark | No | Not currently a signatory |
The full and current list of signatories is maintained by the European Commission and should be verified before any cross-border teleworker social security in Spain arrangement is formalised, as accessions can change.
The UK position: post-Brexit cross-border teleworker social security in Spain
The United Kingdom’s departure from the European Union means UK employers are outside the Framework Agreement entirely.
For a UK company whose employee teleworks from Spain, the relevant instrument is the bilateral Spain–UK Social Security Convention, which predates Brexit and remains in force under the UK–EU Trade and Cooperation Agreement [3].
Under the bilateral convention, a UK employer can apply for an A1-equivalent certificate (in UK terminology, a CA3837 or equivalent posted worker certificate) from HMRC to confirm continued UK National Insurance liability for an employee working temporarily in Spain.
However, the bilateral convention does not replicate the Framework Agreement’s 49.9% threshold precisely, and the rules on what constitutes a “temporary” posting versus a permanent change of working location are interpreted differently between the two systems.
UK businesses with employees engaged in cross-border teleworker social security in Spain arrangements should take specific bilateral advice rather than relying on the Framework Agreement guidance that applies to EU employers.
The broader compliance picture for UK businesses operating in Spain, including permanent establishment risk, corporate tax registration, and employee payroll obligations, is covered in our article on relocating UK employees to Spain.
HMRC received approximately 14,200 applications for posted worker certificates relating to Spain in the 2024/25 tax year, an increase of 31% on the prior year. The majority related to technology, financial services and professional services sectors. [Source: HMRC, International Manual: Bilateral Agreement Statistics, 2025]
Tax residency versus social security affiliation
One of the most frequently misunderstood aspects of cross-border teleworker social security in Spain compliance is the relationship between social security affiliation and tax residency.
They are determined by entirely separate legal frameworks and can produce different outcomes for the same individual.
An employee who spends 40% of their working time teleworking from their home in Valencia may hold an A1 certificate confirming continued German social security coverage, while simultaneously meeting the 183-day Spanish tax residency threshold under Article 9 LIRPF and being liable for IRPF on their worldwide income.
This situation: socially insured in Germany, fiscally resident in Spain, is legally possible and relatively common among senior professionals and technology sector workers based in Valencia.
It creates two parallel compliance tracks: the employer continues to pay German social security contributions, and the employee files a full IRPF return in Spain, potentially with relief under the Spain–Germany double taxation convention.
Employees whose tax residency shifts to Spain during a telework arrangement should review their position under the applicable double taxation convention. Our article on the UK–Spain double taxation treaty explains how the residence tiebreaker provisions operate and how relief from double taxation is claimed in practice.
For employees who have recently established tax residency in Spain and are considering the Beckham Law opt-in, which allows a flat 24% IRPF rate on Spanish-source income for up to five years, the interaction with an existing A1 certificate under the Framework Agreement requires careful analysis, covered in our guide to the Beckham Law Spanish tax regime.

What happens when the 49.9% threshold is exceeded
If an employee covered by the Framework Agreement exceeds the 49.9% telework threshold in a given year, the exception ceases to apply, and the default rules of EU Regulation 883/2004 come back into force.
The consequence is mandatory registration with the Spanish Tesorería General de la Seguridad Social (TGSS) and liability for Spanish social security contributions from the date the threshold was first exceeded.
For a foreign employer with no existing Spanish presence, this creates a cascade of obligations:
- Registration as an employer with the TGSS and obtaining a Social Security employer account number (CCC).
- Monthly contribution filings via the Sistema RED online platform.
- Registration of the employee with the Spanish social security system and issuance of a Social Security number (NUSS) if the employee does not already hold one.
- Potential assessment and payment of arrears contributions from the date of threshold breach, with late payment surcharges under Article 27 LGSS.
- Review of payroll structure to ensure Spanish minimum wage and collective agreement obligations are met.
For companies that have been operating unregistered, the TGSS Inspección de Trabajo can impose fines and require backdated registration. Company directors may face personal liability where wilful non-compliance is established.
Employers already managing Spanish payroll and labour law obligations will find a full breakdown of the ongoing compliance framework in our article on working in Spain as a foreigner.
The Digital Nomad Visa and cross-border telework in Spain
Spain’s Digital Nomad Visa, introduced under Startup Law 28/2022, is a separate immigration route aimed at non-EU nationals who work remotely for foreign employers or clients.
It is distinct from the Framework Agreement, which governs social security affiliation for EU-based employees and employers.
However, Digital Nomad Visa holders who are employed (rather than self-employed) by a foreign company face the same cross-border teleworker social security in Spain considerations once they establish Spanish tax residency: their employer may need to register with the TGSS or apply for equivalent posted worker documentation under the relevant bilateral convention.
The visa itself does not resolve social security affiliation: it resolves immigration status only.
Professionals considering the Digital Nomad Visa in Spain should obtain social security and tax advice alongside their visa application to avoid gaps in coverage or unexpected employer obligations arising after arrival.
Common compliance mistakes in cross-border teleworker social security in Spain arrangements
- Assuming the Framework Agreement applies automatically without obtaining a valid A1 certificate: the exemption requires a formal application and is not self-executing.
- Treating the 49.9% threshold as a weekly average rather than an annual total: this leads to under-monitoring and accidental breaches.
- Failing to update the A1 certificate when working arrangements change materially: a certificate issued for three days per week telework does not cover a switch to four days.
- Conflating social security affiliation with tax residency: the two are legally independent and must be managed separately.
- UK employers applying Framework Agreement rules that do not apply to them: the bilateral Spain–UK convention applies instead, with different procedures and thresholds.
- Not checking whether the employee’s country of residence has signed the Framework Agreement: employees resident in non-signatory countries cannot benefit from the 49.9% exception.
- Overlooking the permanent establishment risk that arises when an employee habitually concludes contracts on behalf of their employer from Spain: social security registration and corporate tax registration are separate obligations that can arise simultaneously.
How our labour and tax teams can assist
At Delaguía y Luzón, our labour law and tax law teams advise employers and employees on all aspects of cross-border teleworker social security in Spain compliance, including Framework Agreement eligibility assessments, A1 certificate support, TGSS registration where required, and tax residency analysis for inbound remote workers.
We work in English, Spanish, French, German and Russian and have advised international clients and multinational employers from our Valencia office since 1960.
Speak to our labour law team about your telework arrangements
Our multilingual team advises employers and employees on cross-border teleworker social security in Spain compliance, A1 certificates, TGSS registration, and tax residency analysis for remote workers based in Valencia and across Spain.
Email: felix.delaguia@delaguialuzon.com
Phone: +34 963 74 16 57
FAQs
What is the EU Framework Agreement on cross-border telework and when did it come into force in Spain?
The EU Framework Agreement on the Determination of the Applicable Social Security Legislation for Cross-Border Teleworkers was published in the Spanish BOE on 4 August 2023 and entered into force on 1 July 2023.
It allows employees to telework from their country of residence for up to 49.9% of their annual working time while remaining covered by their employer’s national social security system.
What does the 49.9% threshold mean for cross-border teleworker social security in Spain?
An employee can spend up to 49.9% of their total annual contracted working time teleworking from Spain without triggering mandatory registration with the Spanish TGSS.
The calculation is based on the full calendar year, not on individual weeks or months.
Do I need to apply for anything to benefit from the Framework Agreement?
Yes. The exemption is not automatic. The employer must apply for an A1 certificate from the competent authority in their country of establishment before the arrangement begins.
Working under the exception without a valid A1 certificate leaves both employer and employee exposed to back-contributions and penalties.
Does the Framework Agreement apply to UK employers with staff teleworking from Spain?
No. The UK is not a signatory to the Framework Agreement. UK employers must instead rely on the bilateral Spain–UK Social Security Convention and apply for posted worker certificates through HMRC.
The procedures and thresholds differ from the Framework Agreement and specialist bilateral advice is recommended.
What happens if an employee exceeds the 49.9% telework threshold?
The Framework Agreement exception ceases to apply, and the default EU Regulation 883/2004 rules come back into force, requiring the employer to register with the Spanish TGSS and make contributions from the date the threshold was first exceeded.
Arrears contributions and late payment surcharges may apply.
Can an employee be socially insured in one country but a tax resident in Spain?
Yes. Social security affiliation and tax residency are determined by separate legal frameworks and can produce different outcomes for the same individual.
An employee holding an A1 certificate for German social security can simultaneously be an IRPF taxpayer in Spain if they meet the 183-day or economic interests test under Article 9 LIRPF.
Does the Digital Nomad Visa resolve cross-border teleworker social security in Spain obligations?
No. The Digital Nomad Visa resolves immigration status only. Employed Digital Nomad Visa holders whose foreign employer has not obtained posted worker documentation may still trigger TGSS registration obligations once Spanish tax residency is established.
How long does an A1 certificate last, and does it need to be renewed?
A1 certificates are typically issued for one to three years, depending on the issuing member state’s practice.
They must be renewed before expiry, and any material change to the telework arrangement, such as an increase in the number of days worked from Spain, requires a new application.
Does the Framework Agreement cover self-employed workers?
The Framework Agreement primarily covers employed workers. Self-employed individuals engaged in cross-border telework are subject to the standard rules of EU Regulation 883/2004, which generally allocate social security liability to the country where the self-employed activity is habitually pursued.
What is the risk to company directors if Spanish TGSS registration is overlooked?
Where the Labour Inspectorate (Inspección de Trabajo) establishes that a foreign employer has been operating with an unregistered employee in Spain, fines, backdated contributions and late payment surcharges apply.
In cases of wilful non-compliance, company directors may face personal liability under the Ley General de la Seguridad Social.