Working for a foreign employerArticle 8 of 9 · 5 min read
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.
Key rules
- Tax residency: 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.
- Employer permission: No Spanish law requires permission, but your contract or remote-work policy usually does.
- Day caps: Employer caps of 20 to 30 days per calendar year per country are common, and some employers ban foreign work without approval.
- Non-EU visitors: A 90-day visitor stay does not by itself let you work remotely for a foreign employer.
The three limits that matter
Short stays usually stay trouble-free if you respect three limits: what your employer allows, how many days you spend in Spain, and what your immigration status lets you do. Problems start when you pass any one of them.
Your employer's limit comes first
No Spanish law requires your employer's permission for a month of work in Spain. In practice you still need it. Your contract, staff handbook or remote-work policy normally fixes your place of work, and working elsewhere without approval can be a breach.
Many employers cap stays abroad. A typical cap is 20 to 30 days per calendar year per country, and some allow 90 days or more. Some ban working abroad unless you get approval first. Caps usually exist because of tax, social security and permanent-establishment risks for the company. Ask HR for the exact rule before you book anything.
Your day count decides your tax position
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. Short trips out of Spain still count as days in Spain unless a certificate of residence from another country shows where you live. Residence in Spain is also presumed if your spouse and dependent children under 18 usually live here, unless you prove otherwise.
If two countries both claim you as resident, the tax treaty between them decides, in this order: permanent home, centre of vital interests, habitual abode, nationality, then agreement between the two countries.
Below the 183-day threshold, with a foreign employer, Spanish withholding generally does not arise. Most Spanish treaties tax an employee who is not resident in Spain on employment income only if you are present for more than 183 days in a 12-month or fiscal period, or if a Spanish employer or Spanish branch bears the pay. The exact treaty text matters, so check the treaty between Spain and your home country.
Your employer's risk in Spain
Short, repeated stays rarely create a permanent establishment, meaning a taxable presence for your employer in Spain. That needs a fixed place of business at the employer's disposal, or someone who habitually concludes contracts in the employer's name. A home office is generally not one if your work is not essential to the business. If your stays make you Spanish resident, this changes, so keep the days under control.
Immigration status
If you are an EU national, you can stay without a visa. If you are not, you can stay up to 90 days as a visitor in the Schengen area. That right to stay does not by itself authorise remote work for a foreign employer beyond what Spanish law permits. Confirm your position before you rely on it.
What to do
Use the timeline, documents and checklist below to work through this in order. Start with HR, then count your planned days, then check your status.
Timeline and deadlines
-
Read your contract and remote-work policy and ask HR about any limit on working abroad: before you book the trip
-
Stay within your employer's cap on days abroad, typically 20 to 30 days per calendar year per country (some employers allow 90 days or more): each calendar year
-
If you are not an EU national, keep your stay within the 90 days allowed as a visitor in the Schengen area: during each stay
-
Keep your days in Spain under 183 days in a 12-month period so your pay is generally not taxed in Spain under most treaties: across any 12 months
-
Stay at or below 183 days in a calendar year to avoid becoming Spanish tax resident: each calendar year
Documents you need
-
Your employment contract, staff handbook or remote-work policy, which normally fixes your place of work and any limit on days abroad.
-
A certificate of residence from the tax authority of the other country where you live, issued by that authority. It proves you live there if short absences or extra days in Spain are questioned.
Checklist
-
Read your employment contract and remote-work policy for your place of work and any rule on working abroad.
-
Ask HR whether there is a cap on days abroad per calendar year per country, since 20 to 30 days is typical.
-
Ask HR whether working from abroad needs approval first, since some employers ban it without it.
-
Count all the days you plan to spend in Spain this calendar year and compare them with the cap.
-
Ask HR or payroll whether they have checked the tax, social security and permanent establishment risks of your stay.
Employer policies vary widely, so confirm your own employer's rules before you travel.
Frequently asked questions
Does Spanish law require my employer's permission for a month of work in Spain?
No, no Spanish law requires your employer's permission for a month of work in Spain, but your contract or remote-work policy usually fixes your place of work. Working from Spain without approval can then breach it. Your employer also has to weigh up tax, social security and permanent establishment risks.
Does my employer have to withhold Spanish tax on my pay during short stays?
Generally no, if your employer is foreign and you are not Spanish resident. Under most Spanish tax treaties you are taxed here on employment income only if you are present over 183 days in a 12-month or fiscal period, or if a Spanish employer or Spanish business presence bears your pay. Repeated stays that make you Spanish resident change this.
Can I work remotely for my foreign employer during the 90 days I can stay as a visitor?
No, the 90-day visitor stay in the Schengen area does not by itself allow you to work remotely for a foreign employer. It is a right to stay, and it does not generally authorise remote work beyond what Spanish law permits. If you are not an EU national, check your immigration position before you plan the trip.
More in Working for a foreign employer
- Can your foreign employer let you work from Spain?
- How to ask your employer to let you work from Spain
- What your foreign employer risks when you work from Spain
- Employer of record, contractor or staying employed: which fits you?
- Which country's labour law protects you on a foreign contract?
- Contract and policy clauses to check before moving
- Working from Spain without telling your employer: what can go wrong
- If your foreign employer stops allowing you to work from Spain
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.