The laptop works as well in Valencia as in Rotterdam, and the coffee is better. That simple thought draws many remote workers to Spain. Your laptop is not the thing the authorities look at. They look at three questions: do you have the right to live here, which country gets your social security contributions, and who taxes your income. Remote work in Spain is perfectly legal, and quietly complicated.
Can you do remote work in Spain as an EU citizen?
Yes, and without a visa. A citizen of the EU, the EEA or Switzerland can move to Spain and keep working for the same employer or the same clients. What you need is what any resident needs: a place to live, a registration at the town hall (padrón and Cl@ve), and, after three months, the residence certificate, where you show your job or your income. For the foreigners' office, an employment contract with a foreign employer or proof of your activity is your proof of resources.
What if you are not a European citizen?
Since Brexit, British people need a legal basis to live in Spain. For remote work for a company outside Spain, the standard route is the digital nomad (teleworking) visa, applied for at the Spanish consulates in the UK. According to the Spanish law on international teleworking and the consulate checklists, you need a degree or at least three years of professional experience, documents showing that you have worked with the company for at least the last three months and that it allows remote work, evidence that the company has been genuinely active for at least a year, proof of Spanish social security coverage (or UK coverage with a declaration) and proof of funds linked to the Spanish minimum wage. A self-employed person may do up to 20% of their work for Spanish clients.
The non-lucrative visa is a trap for remote workers: it does not allow any activity, including remote work for a foreign employer. See moving to Spain from the UK.
Which social security applies to your remote work in Spain?
This is the part that surprises employers. Under EU rules, you are normally covered by the system of the country where you work. If you telework from Spain for an employer elsewhere, a large part of your activity takes place in Spain, so Spain could become the competent country. That would make your employer register and pay contributions in Spain.
A framework agreement on habitual cross-border telework, signed by Spain and in application since 1 July 2023, offers an exception. An employee who teleworks from their country of residence for less than 50% of their total working time can stay under the social security of the employer's country, provided the employer and the employee both agree. The agreement excludes most self-employed workers. If you are posted by an employer for a limited period, an A1 certificate from the home country keeps you in the home system. A self-employed person posted temporarily can obtain an A1 for up to 24 months and must tell the Spanish body.
If none of this applies and you work in Spain, you pay Spanish contributions through an employer or as a self-employed person, and the social security authority can tell you which scheme applies.
Where do you pay tax on remote work in Spain?
If you become tax resident in Spain, Spain taxes your worldwide income, regardless of where your employer is. You become resident by spending more than 183 days in Spain in a year or having the centre of your activities or economic interests here. The tax agency's website explains the test. A double-taxation treaty then allocates the right to tax between Spain and the other country, and a credit for foreign tax prevents paying twice.
Do not forget the practical side: your employer might need to treat you as having a work base in Spain for payroll and, in some situations, for corporate tax. Check with the employer before you move, because it affects whether they can keep you.
Is there a tax break for remote workers?
Yes, possibly: the special regime known as the Beckham Law (article 93 of the IRPF law). If you move to Spain to work remotely for an employer, even a foreign one, using exclusively IT and telecommunication means, and you have not been a Spanish tax resident in the previous five years, you can opt to be taxed at a flat 24% on employment income up to €600,000. The teleworking visa counts as a basis. You must apply within six months of starting activity in Spain, using modelo 149. The conditions are strict, so check them with the tax agency or an adviser before you rely on the regime.
What about freelancers and company owners?
A freelancer who serves clients abroad from Spain registers as autónomo: a tax census registration (modelo 036), a registration with the self-employed social security scheme (RETA), quarterly VAT and income tax instalments. A regular freelancer is outside the Beckham regime. If you own a company elsewhere and run it from Spain, it could become tax resident in Spain through its place of effective management. That deserves expert advice.
What about health cover and banking for a remote worker?
Health cover
It follows your social security. If you are insured in Spain, through a Spanish employer or as an autónomo, your affiliation opens the right to public care, and you ask for your health card at your regional service. If you stay under a foreign system, the question is which document proves the right: an S1 where the sending country accepts to pay your care, or private insurance. The Ministry of Health's special agreement, at €60 a month under 65 and €157 from 65, is for people who have no other access and have lived in Spain for at least a year. Our article on healthcare in Spain for expats explains the options.
Many visa routes ask for full health insurance at the application stage. Check the exact wording of your consulate's checklist.
How do banks and payments work?
You can keep being paid into a foreign account: within the euro payment area, an employer or a supplier cannot refuse an IBAN simply because it belongs to another EU country. But a Spanish account makes everything else easier, from the landlord's direct debit to the tax payment. If you earn in another currency, such as sterling or Swiss francs, the conversion costs and the exchange-rate risk are yours; look closely at fees before you choose how to move money. See opening a bank account in Spain.
What are the most common mistakes?
- Assuming that your employer's country keeps taxing and insuring you. Residence and the place where you work decide, not the employer's address.
- Arriving on a non-lucrative visa and working anyway. It does not allow any work.
- Missing the six-month window for the Beckham Law.
- Forgetting the modelo 720 if you hold more than €50,000 in a category of assets abroad and you are resident.
- Overstaying as a "visitor". After three months, an EU citizen has to register as a resident.
Remote work is also a wise moment to think about where in Spain to live. Fast internet, a nearby airport and a sensible tax region matter, and our guide to the best places to live in Spain compares the regions.
What practical steps should a remote worker take?
- Check your contract: does your employer allow work from Spain, and for how long?
- Choose a legal basis to stay: EU citizenship, or a visa.
- Ask your employer and the social security authority which system applies.
- Register on the padrón, obtain your NIE and residence certificate.
- Decide on the Beckham Law and mind the six-month window.
- Declare your assets abroad if above the thresholds (modelo 720).
The Canary and Balearic Islands attract many remote workers, and the same national rules apply there. For the tax side, see the islands guide.