Spain digital nomad visa taxes: residence, income tax and Social Security
The Spanish teleworking visa lets non-EU remote workers live in Spain for up to one year, renewable as a residence permit. Once you are tax resident, Spain taxes your worldwide income. Rules, options and Social Security.
Spain digital nomad visa taxes follow one logic. The visa decides whether you can live and work in Spain; the 183-day rule decides whether Spain taxes you. Most visa holders become Spanish tax residents in their first full year. From then on, Spain taxes their worldwide income, unless they opt in time for the special regime for people moving to Spain.
The visa itself is the international teleworking visa created by Law 14/2013, and Social Security registration in Spain is the default. Below: the requirements as the law states them, how tax residence works, the special regime and what changes if you invoice clients as a freelancer.
What is the Spain digital nomad visa?
The Spain digital nomad visa is the "international teleworking" visa or residence permit in articles 74 bis to 74 quinquies of Law 14/2013. It allows a non-EU national to live in Spain while working remotely for companies located outside Spain, using exclusively computer and telecommunication systems. It does not cover EU citizens, who already have free movement.
Article 74 bis sets the line between two profiles:
- If you are an employee, you may only work for companies located outside Spain.
- If you are a professional (freelancer), you may also work for Spanish companies, up to 20 % of your total professional activity.
The immigration office adds in its official FAQ that work for Spanish companies must always be a professional relationship, never employment.
There are two routes. From abroad, you apply for the visa at a Spanish consulate, valid for up to one year (article 74 quater). From inside Spain, if you are there legally, you apply for the residence authorisation. It lasts up to three years and renews for periods of two years (article 74 quinquies). Visa holders who want to stay longer can apply for the residence authorisation within the 60 calendar days before the visa expires.
Requirements set by law and by the immigration office
The requirements combine the general rules of article 62 of Law 14/2013 with the specific ones of article 74 ter. The table summarises what the law says, without adding conditions of our own.
| Requirement | What the rule says | Legal basis |
|---|---|---|
| Qualification | University or business school degree, vocational training, or at least 3 years of professional experience | Art. 74 bis.2 Law 14/2013 |
| Company | Real and continuous activity for at least 1 year | Art. 74 ter a) |
| Relationship | Employment or commercial relationship for at least the last 3 months | Art. 74 ter c) and d) |
| Remote work | Documents proving the work can be done remotely | Art. 74 ter b) |
| General | Over 18, no criminal record, health insurance, sufficient resources, fee paid | Art. 62.3 |
The Ministry of Inclusion, Social Security and Migration handles these permits through its Large Companies Unit (UGE). For the main applicant it asks for monthly resources equal to 200 % of the Spanish minimum wage (SMI). A two-person family unit needs at least 75 % of the SMI more, plus 25 % for each additional member.
These amounts are gross, before taxes and contributions. The SMI changes every year by royal decree, and the immigration office (UGE) publishes the monthly figure it applies, so check the current amount with the UGE before you apply.
The UGE FAQ also states an initial application fee of 73.26 euros, paid with form 790 038. Travel insurance and policies with co-payments or waiting periods are not accepted as health insurance.
When do you become a tax resident in Spain?
Under article 9 of the Income Tax Law (Law 35/2006, LIRPF), you are tax resident if you spend more than 183 days in Spain in a calendar year. You are also resident if your main economic interests are in Spain. Either test is enough. The visa does not decide residence; the days and your ties do.
Three details matter for remote workers:
- Sporadic absences count as days in Spain, unless you prove tax residence in another country.
- The economic interests test can make you resident even with fewer than 183 days, for example if most of your income or assets are managed from Spain.
- Spain presumes you are resident if your spouse (not legally separated) and dependent minor children live habitually in Spain. You can rebut it with evidence.
The tax year is the calendar year. Someone who arrives in March and stays for the rest of the year will usually pass 183 days and be resident for the whole year. Someone who arrives in October will usually not, and becomes resident the following year. If another country also considers you resident, the tie-breaker rules of the tax treaty between Spain and that country apply.
What taxes do you pay as a resident?
A Spanish tax resident pays Personal Income Tax (IRPF) on worldwide income. Article 2 of the LIRPF taxes all your income "regardless of where it was produced and of the residence of the payer". Your salary from a foreign employer, your invoices to foreign clients, foreign rents and investment income all go into the Spanish return.
That does not mean paying twice. Article 80 of the LIRPF gives a deduction for international double taxation. You deduct the lower of two amounts: the foreign tax paid on that income, or the Spanish average effective rate applied to it. A tax treaty may also assign the right to tax certain income to one country only.
The most common practical consequences:
| Situation | What usually happens |
|---|---|
| Foreign employer, no Spanish payroll | No Spanish withholding, so the tax is settled in the annual return |
| Freelancer registered in Spain | Quarterly income tax prepayments and VAT returns |
| Foreign tax already withheld | Claim the double taxation deduction with proof of payment |
One territorial note: the Basque Country and Navarre have their own income tax rules, and the Canary Islands have their own indirect tax. This guide covers the rest of Spain (the "territorio común").
Can you use the special regime (Beckham law)?
Article 93 of the LIRPF lets people who become tax residents by moving to Spain pay tax under non-resident rules. It lasts for the year of the move and the five following years. You must not have been tax resident in Spain in the five years before the move. The law expressly includes employees holding the international teleworking visa.
In 2026, income other than savings is taxed at 24 % up to 600,000 euros and 47 % above that (article 93.2.e LIRPF). Only Spanish-source income is taxed, except that all employment income earned during the regime counts as Spanish-source. Foreign investment income stays outside the Spanish return.
The option has a strict deadline. Article 116 of the IRPF Regulation (Royal Decree 439/2007) gives you six months from the start of your activity. That date is the one in your Spanish Social Security registration or in your home-country coverage document. You opt with Form 149 of the Agencia Tributaria. Miss the six months and the option is lost.
For freelancers the door is narrower. The law covers employees directly, but self-employed people only qualify through specific routes, such as an activity certified as entrepreneurial under article 70 of Law 14/2013. Our guide to the Beckham law in Spain explains each route and when the regime pays off.
Social Security: Spanish registration or home-country certificate
The UGE's official FAQ is clear: as the work is done from Spain, registration with Spanish Social Security is mandatory. Employees are registered in the General Regime by their foreign employer, which must first register as a company without an establishment in Spain. Self-employed teleworkers must register in the self-employed regime (RETA) before starting their activity in Spain.
The only exception is for employees. Spain may have a social security agreement with your home country. If so, your home institution can issue a certificate of applicable legislation covering your remote work from Spain. The application must include the certificate itself; a mere request is not accepted. With that certificate, you do not register in Spain, but you need health cover if the agreement does not include Spanish public healthcare.
For self-employed teleworkers, the same FAQ says importing home-country coverage under a bilateral agreement does not apply: RETA registration is compulsory. Failing to register after the permit is granted can lead to its termination under the seventh additional provision of Law 14/2013.
If you are going freelance, read our guide to becoming autónomo in Spain and estimate your monthly payment with the self-employed contribution calculator. It uses the 2026 brackets based on real net income. The Spanish guide on contributions by income bracket has the full table.
Working as a freelancer with clients abroad
A freelancer on the digital nomad permit is a Spanish autónomo for tax purposes. You register with the Agencia Tributaria, file quarterly returns and issue invoices under Spanish rules. The step-by-step registration guide (in Spanish) shows the forms and the order.
VAT depends on who your client is. Under article 69 of the VAT Law (Law 37/1992), a service to a business customer is taxed where that customer is established, wherever the provider is. So invoices to foreign companies usually carry no Spanish VAT, while invoices to private individuals follow other rules. Clients in the EU and outside the EU are reported differently. Our VAT guide for freelancers in Spain covers each case with examples.
An example with invented numbers: a designer earns 4,000 euros a month from a US agency and 600 euros from a Spanish startup. The Spanish share is about 13 %, below the 20 % limit. The US invoices carry no Spanish VAT; the Spanish invoice carries Spanish VAT and, as a professional invoice to a company, income tax withholding. All of it goes into the Spanish IRPF return as worldwide income.
If your activity grows, compare costs with a company: our guide on setting up an SL in Spain explains when it makes sense. Keep in mind that the permit is linked to the remote work for foreign companies that justified it.
Frequently asked questions
Do I pay tax in Spain from the first day of my visa?
Not necessarily. Spain taxes you as a resident if you spend more than 183 days here in the calendar year. Your main economic interests in Spain also count (article 9 LIRPF). If you arrive late in the year, you may become resident the following year.
Is the digital nomad visa a tax regime?
No. The visa is an immigration permit under Law 14/2013. Your taxes depend on tax residence. Employees with the visa can opt for the special regime of article 93 LIRPF within six months, with Form 149. Without it, standard IRPF on worldwide income applies.
Can I keep paying Social Security in my home country?
Only as an employee. Spain must have a social security agreement with your country, and your home institution must issue a certificate covering your remote work from Spain. According to the immigration office, self-employed teleworkers must register in the Spanish RETA.
Can I work for Spanish clients with this permit?
Only as a professional, not as an employee. Article 74 bis of Law 14/2013 allows work for Spanish companies up to 20 % of your total professional activity. Employees may only work for companies located outside Spain.
Talk to us in English
Most mistakes happen in two places: the six-month deadline for Form 149 and the first Social Security registration. Both fall in the first weeks after arrival. Check your dates before you sign the rental contract or register.
If you want us to look at your case, write to us in English. We handle tax registration, quarterly returns and the annual income tax return for self-employed professionals, but not Social Security registration, and you can see our plans and prices.
Data in force on 11 October 2026.
For information only. This guide explains the general rules and is not personalised advice. Every case has its own details.
Ask us about your case (in English)