Working for a foreign employer
You will know what to get agreed before you start, what can go wrong if you do not, and which engagement structure and contract terms fit your situation.
Many people who move to Spain keep a job with an employer based abroad. This topic covers how to do that properly: getting your employer's consent, understanding what the arrangement means for them, choosing how you are engaged, and knowing which law and which contract terms protect you.
Pick the article that fits your situation
Can your foreign employer let you work from Spain?
Your employer has to agree explicitly, in writing, before you work a single day from Spain. This page explains why a casual yes is not enough, what the employer must check on its side, and what the approval should cover.
How to ask your employer to let you work from Spain
How to write a request to your employer that answers their likely worries about tax, law, data security and time zones, using Spain-specific facts. It is for employees who want to keep their job while moving to Spain.
What your foreign employer risks when you work from Spain
Explains the three risks a foreign employer faces when you work from Spain: a permanent establishment, income tax withholding and Social Security registration. Read it if you work remotely for a company with no Spanish entity and want to judge whether your arrangement is stable.
Employer of record, contractor or staying employed: which fits you?
Compares the three lawful ways a foreign business can engage you while you live in Spain: staying employed directly, going through an employer of record, or working as a contractor. It shows what each costs you, how protected you are and where the legal risk sits.
Which country's labour law protects you on a foreign contract?
If you work in Spain on a contract that names a foreign law, Spanish minimum protections still apply to you. This page explains which rights follow the contract, which follow Spain, and where you can bring a claim.
Contract and policy clauses to check before moving
Five kinds of clause in your employment contract or policies can turn a move to Spain into a breach: work location, expenses and equipment, data, and outside activity. This page is for employees of non-Spanish employers who want to work from Spain.
Working from Spain without telling your employer: what can go wrong
Working from Spain without telling your foreign employer does not remove your Spanish duties. It creates tax, social security, contract and immigration problems for you and your employer. This page is for remote workers already in Spain who want to fix things.
Working from Spain for a few weeks or months a year
Short, repeated stays in Spain can work, but three limits decide how far you can go: your employer's policy, your day count, and your immigration status. This page is for people employed abroad who want to work from Spain for weeks or months a year.
If your foreign employer stops allowing you to work from Spain
What your options are if your foreign employer stops letting you work from Spain, and how each choice affects your job, visa, tax and Social Security. For employees of foreign companies who live in Spain.
About this topic
It is for anyone considering, planning or carrying out a move to Spain while keeping a foreign job. After reading, you will know what to get agreed before you start, what can go wrong if you do not, and which engagement structure and contract terms fit your situation.
Start with "Can your foreign employer let you work from Spain?". It explains what your employer must agree and put in place before your first working day in Spain. The other articles build on it.
Visas, tax residency, social security and autonomo registration are not covered here. They have their own topics.
Key rules
- Written approval: A manager's casual yes is not enough: get an email, letter or signed contract addendum from an authorised HR, legal or payroll person that names the terms.
- Tax residency days: You become Spanish tax resident if you spend more than 183 days in Spain in a calendar year or if your main economic interests are in Spain.
- Who signs: Approval comes from HR, legal or payroll, not only your line manager.
- Permanent establishment: A home office creates one only if it is at your employer's disposal as a place of business, or you habitually conclude contracts for it.
- Withholding: If your employer does not withhold, you settle the income tax yourself through your annual return.
Working for a foreign employer: the whole process, step by step
-
Check your contract and policy for work-location and outside-activity clauses (Contract and policy clauses to check before moving): before you agree to move
-
Decide whether to stay employed, use an employer of record or become a contractor (Employer of record, contractor or staying employed: which fits you?): before you start work in Spain
-
Check which country's labour law protects you on your contract (Which country's labour law protects you on a foreign contract?): before you sign or accept foreign terms
-
Check what your employer must register for payroll, social security and permanent-establishment purposes (What your foreign employer risks when you work from Spain): before you start, and again if your arrangement changes
-
For short stays, track your days so you stay under the employer's cap and under 183 days (Working from Spain for a few weeks or months a year): throughout each calendar year
-
If you already work from Spain without telling your employer, regularise it and file any late tax return (Working from Spain without telling your employer: what can go wrong): as soon as you notice, because late-filing surcharges grow each full month up to 12 months
-
If your employer withdraws permission or ends your contract, check dismissal rights, permit status and tax duties (If your foreign employer stops allowing you to work from Spain): as soon as you get the instruction or notice
Documents you may need
Identity and residence
- NIE (foreigner's identification number), if you are an EU citizen — Working from Spain without telling your employer: what can go wrong
- Residence and work permit — Working from Spain without telling your employer: what can go wrong
Income and work
- Your employment contract — Can your foreign employer let you work from Spain?, Working from Spain for a few weeks or months a year
- Written approval from your employer — Can your foreign employer let you work from Spain?
- Written confirmation that your employer will withhold IRPF — Can your foreign employer let you work from Spain?
- A Spanish tax number — What your foreign employer risks when you work from Spain
- Your employer's registration with the Spanish Social Security — What your foreign employer risks when you work from Spain
The home and the lease
- A signed contract addendum — Can your foreign employer let you work from Spain?
Other documents
- Social Security number — Working from Spain without telling your employer: what can go wrong
- A written remote-work arrangement — Working from Spain without telling your employer: what can go wrong
- Late IRPF returns for the missed years — Working from Spain without telling your employer: what can go wrong
- An A1 certificate
Working for a foreign employer: questions that cross several articles
Does Spanish law require my employer to agree before I work from Spain?
No, no Spanish law requires your employer's consent for you to live in Spain, but your contract and company policy decide where you may work. Working from Spain without approval can breach the contract and expose the employer to tax and social security problems. Read Can your foreign employer let you work from Spain? and How to ask your employer to let you work from Spain.
Does my foreign employer have to register in Spain if it has no company here?
Yes, in most cases your foreign employer has to withhold Spanish income tax and pay Spanish social security, unless an A1 certificate keeps you in another EU system. It can also risk creating a permanent establishment, a taxable presence in Spain. Read What your foreign employer risks when you work from Spain.
Does working from home in Spain create a taxable presence for my employer?
Not automatically, because a home office counts only if it is at the employer's disposal or you habitually conclude contracts for it. See How to ask your employer to let you work from Spain.
Is an employer of record a way around these obligations?
No, an employer of record does not remove the obligations, it takes them on by becoming your legal employer in Spain. It signs a Spanish contract with you, runs payroll and pays social security, and Spanish rules such as 30 days holiday apply to you. Read Employer of record, contractor or staying employed: which fits you?
Explore places
Where you live changes the details. See how Spanish regions and cities compare on rent, jobs, weather, safety and healthcare.
What to read next
More in Remote work
Home office and coworking
You will be able to choose and equip a workplace that is comfortable, affordable and secure.
Time zones and daily rhythm
You will be able to design a working day that suits your team abroad and life in Spain.
Also in Work and business
Need certainty before you act?
For important relocation decisions, speak with a qualified human specialist.
Always verify important information with the relevant official authority or a qualified adviser before acting. This website uses large language models together with various public data sources, official government documents and other established sources. Due to the amount of data on this website, some information might be wrong. Information may also be incomplete or outdated.