A Gateway to Global Success

Digital Nomad Tax Rules in Spain

Question? Ask Away! Your Questions, Our Expertise.

Picture this: you’ve found the perfect apartment in Valencia, your laptop is open to a sunset over the Mediterranean, and your clients are still paying you on time. Then a quieter question arrives that no travel blog prepared you for. Where do you actually owe tax? Is it the country that pays you, the country you left, or the one where you now have your morning coffee? For remote workers eyeing Spain, this is the question that decides whether the move feels like freedom or like a financial headache waiting to happen.

The tricky part is that the answer is not the same for everyone. Does the number of days you spend in Spain change your status? Does it matter whether your income comes from foreign clients, a single employer, or your own company? Why do some newcomers talk about a special tax regime that could change how much of their income Spain looks at, while others discover too late that they never qualified for it? And what about the Spanish term residente fiscal: do you become one the moment you land, or is there a line you should know about before you cross it?

Digital nomads who plan their taxes before arriving tend to ask better questions than those who sort them out afterward, and the details matter more than most guides admit. In this article, we walk through how Spain’s tax system treats remote workers, what to check before you commit, and the points where people most often get caught off guard. Keep reading, and if you want the full picture of eligibility, documents, and the application process, our guide, Spain Digital Nomad Visa, covers it step by step.

When Does a Digital Nomad Become a Tax Resident in Spain?

Spain decides residency under Article 9 of its Personal Income Tax Law, and meeting just one of the three tests below is enough.

Test What it means
Physical presence More than 183 days in Spain in a calendar year. Short trips abroad still count unless you prove tax residence elsewhere.
Economic center Your main base of activities or economic interests is in Spain.
Family ties Your spouse and dependent minor children live in Spain (a presumption you can challenge).

Many nomads assume only the day count matters, but the second and third tests can make you a resident even if you travel often.

How Are Digital Nomads Taxed as Spanish Tax Residents?

Under the standard rules, a tax resident reports worldwide income to Spain, regardless of where the client sits or which currency pays you. The tax is IRPF, with progressive rates that combine a state scale and a regional one, so the same salary can produce different bills in Madrid, Valencia, or Catalonia. The tax year matches the calendar year, and returns are filed in spring. Double taxation treaties and foreign tax credits may reduce the overlap with your previous country, but you should check how each applies to your income type.

What Is the Special Tax Regime for Digital Nomads in Spain?

Law 28/2022, known as the Startups Law, extended the regime nicknamed the “Beckham Law” to international teleworkers. Instead of the progressive scale, Spanish-source employment income is taxed at a flat 24% up to €600,000, and 47% above that. Foreign-source income is generally not taxed in Spain, though Spanish-source income is. The regime applies for the year of arrival plus five more years, and you request it through Modelo 149 within six months of starting work or registering with Social Security.

Who Qualifies for Spain’s Special Tax Regime?

The general conditions are:

  • You have not been a Spanish tax resident in the previous five years.
  • You move to Spain under a telework authorization.
  • Your work is performed exclusively through computer and telecommunications means.

Employees Working for Foreign Companies

You need a genuine employment relationship with a company outside Spain, normally documented for at least three months, and a role that can be done fully remotely. Your contract and employer letter will be central evidence.

Self-Employed Digital Nomads

Freelancers must serve mainly non-Spanish clients, and no more than 20% of professional income may come from Spanish companies. Keep invoices organized by client country from day one.

How Is Income Taxed Under the Digital Nomad Tax Regime?

Under the special regime, you are taxed largely as a non-resident, even though you live in Spain. The key question becomes where the income comes from. Work physically performed in Spain is treated as Spanish-source income, even if your employer or client is abroad and pays you in euros, dollars, or pounds. That income is taxed under the regime’s flat rates. Income tied to work performed outside Spain, along with most foreign investment income, generally falls outside Spanish tax, though Spanish real estate and Spanish-source investments are still taxed. Many nomads overlook that their daily work in Spain is exactly what puts their salary or fees inside the Spanish net.

What Tax Rate Do Digital Nomads Pay in Spain?

The regime replaces the progressive scale with a two-tier system, and the gap with ordinary IRPF can be large.

Special regime Ordinary IRPF
Structure Flat rates Progressive brackets
Rate on work income 24% up to €600,000 Roughly 19% to 47% or more, depending on region
Rate above €600,000 47% Same progressive scale
Regional variation None for this tier Yes, set partly by each region

A flat 24% tends to benefit higher earners most, while those with modest income may find the ordinary scale competitive, so it is worth running both calculations before choosing.

Digital Nomad Visa and Tax Residency: What Is the Difference?

These two statuses answer different questions. The visa is an immigration permission that lets you live and work remotely in Spain. Tax residency is a separate determination made by the tax authority under its own tests, such as days spent in Spain. Holding the visa does not automatically make you a tax resident, and it does not automatically give you the special tax regime either. In practice, most visa holders do spend over 183 days in Spain and become tax residents, but the visa alone is never the trigger. Likewise, the special regime must be requested through a separate filing, not granted with your visa approval.

Do Digital Nomads Pay Tax on Worldwide Income?

It depends on which regime applies to you.

  • Ordinary tax residents: Yes. Spain taxes worldwide income, including pay from foreign employers and international clients.
  • Special regime holders: Mostly no. Only Spanish-source income is taxed, which includes work performed while you are in Spain.
  • Non-residents: Only income earned in Spain.

Foreign tax credits and double taxation treaties can reduce overlap with your home country, but how they apply depends on your income type and country of origin. Tax rules and thresholds change, so confirm your position with a licensed Spanish tax advisor.

How Is Foreign Income Treated Under Spanish Tax Rules?

Spain does not tax income based on where the payer is located. It taxes based on your residency status. If you are an ordinary tax resident, pay from a foreign employer or international client is reported in your Spanish IRPF return like any other income, converted to euros. If you hold the special regime, only Spanish-source income is taxed, which includes work you physically perform in Spain. Ordinary residents with foreign bank accounts or assets worth over €50,000 must also file an informational return known as Modelo 720, and missing it can bring heavy penalties even when no tax is due. Keep contracts, payslips, and invoices organized, since they are your evidence of what is foreign and what is not.

Do Digital Nomads Have to Pay VAT in Spain?

VAT (IVA) applies only to self-employed nomads, not to employees. Whether you charge it depends on who your client is and where they are based.

Client type General treatment
Spanish business or individual Charge 21% IVA
Business in another EU country Usually no IVA (reverse charge), but you must register as an intra-EU operator and report the sales
Business outside the EU Generally outside Spanish VAT, with the invoice noting why
Private consumers abroad Rules vary by service type and country, so check before invoicing

Registered freelancers file quarterly VAT returns, even in quarters with no VAT collected. Treat the table as a starting point, because the exact treatment depends on the service you provide.

What Social Security Contributions Apply to Digital Nomads?

Tax and Social Security are separate systems in Spain, and being a tax resident does not decide which one covers you. Three situations are common:

  • Employees of foreign companies: You may stay under your home country’s system if an EU rule or a bilateral agreement allows it, usually proven with a certificate of coverage. If no agreement applies, Spanish contributions may be required.
  • Self-employed nomads: You generally register as an autónomo, and contributions follow a scale based on your net income.
  • New freelancers: A reduced flat contribution for the first year has been available, though the amount and conditions can change.

Proof of coverage also forms part of the visa application, so it affects more than your tax planning.

How Do Double Taxation Agreements Affect Digital Nomads?

Spain has signed tax treaties with a large number of countries, designed to stop the same income from being taxed twice. When two countries both claim you as a resident, treaty tie-breaker rules look at factors such as your permanent home, where your personal and economic ties are strongest, and your habitual place of stay. Treaties usually relieve double taxation by either exempting the income or granting a credit for tax paid abroad. In Spain, that credit is generally capped at the Spanish tax due on the same income. To use a treaty, you will often need an official certificate of tax residence from the relevant authority.

Tax and Social Security rules change often, so confirm your situation with a licensed Spanish tax advisor before filing.

Do Digital Nomads Need to File a Spanish Tax Return?

In most cases, yes. Ordinary tax residents file an annual IRPF return (Modelo 100) covering the previous calendar year, usually between April and June. Holders of the special regime file a non-resident style return (Modelo 151) instead. Beyond the annual return, other declarations may apply:

  • Modelo 720: for ordinary residents with foreign assets above €50,000 in a category.
  • Modelo 149: to opt into the special regime, within six months of starting work or registering with Social Security.
  • Quarterly returns: for freelancers, covering IVA (Modelo 303) and advance income tax payments (Modelo 130 or 131).

Filing thresholds exist for low earners, but they are easy to exceed, so do not assume you are exempt.

What Tax Deductions and Expenses Can Digital Nomads Claim?

Deductions depend on your regime and work status. Under the special regime, expenses are generally not deductible, which is part of the trade-off for the flat rate. Under ordinary IRPF, the picture splits:

Status Typical treatment
Employees A fixed deduction for work expenses and for Social Security contributions, with few additional items
Freelancers (autónomos) Expenses linked to the activity, supported by invoices, can reduce taxable profit

For freelancers, commonly claimed items include coworking fees, software, equipment, and Social Security contributions. A home office deduction is possible but limited to a proportion of utilities, and it requires the space to be genuinely used for work. Keep proper invoices in your name, since weak documentation is the most common reason deductions get rejected.

What Happens If You Are Tax Resident in Two Countries?

Dual residency is more common than people expect, particularly in the year you move. Spain applies its own tests first, but if a tax treaty exists with your other country, the treaty’s tie-breaker rules decide where you are resident for treaty purposes. These typically look at where you have a permanent home, then your center of vital interests, then habitual abode, and finally nationality. If no treaty applies, both countries can tax you on worldwide income, and relief may be limited to unilateral foreign tax credits. Request a tax residence certificate from the country you are leaving and keep evidence of your departure date, such as lease terminations and travel records.

Digital Nomad Tax Rules for Freelancers vs Employees

Factor Employees Freelancers
Income source One foreign employer Multiple clients
Social Security May stay in home system with a certificate Usually autónomo registration
IVA Not applicable Applies depending on client location
Special regime condition Telework for a foreign company Under 20% of income from Spanish clients
Deductible expenses Limited Broader under ordinary IRPF
Quarterly filings None Required

Employees carry a lighter administrative load. Freelancers have more flexibility but more reporting.

Common Tax Mistakes Digital Nomads Make in Spain

  1. Counting only days. Spanish residency can arise from economic or family ties even below 183 days.
  2. Missing the special regime deadline. The six-month window to file Modelo 149 is strict.
  3. Skipping Modelo 720. Penalties for omission can be severe.
  4. Assuming foreign income is invisible. Ordinary residents report worldwide income.
  5. Confusing the visa with tax status. They are separate determinations.
  6. Ignoring the 20% Spanish client limit. Freelancers can lose eligibility if it is exceeded.
  7. Poor record keeping. Missing invoices undermine deductions and treaty claims.

Summary

Spanish tax rules for digital nomads come down to a few connected questions. Residency comes first: you become a tax resident if you spend more than 183 days in Spain in a calendar year, or if your main economic interests or your spouse and dependent children are based there. The visa does not decide this, because immigration status and tax status are separate determinations.

Residency then decides how your income is taxed. Ordinary residents pay progressive IRPF on worldwide income. Eligible remote workers can instead opt into the special regime, which taxes Spanish-source income at a flat 24% up to €600,000 and 47% above that, and generally leaves foreign-source income outside Spanish tax. The request must be filed through Modelo 149 within six months.

Beyond income tax, three areas need attention:

  • VAT: relevant only to freelancers, and it depends on where your clients are based.
  • Social Security: handled separately from tax, through either your home system with a certificate of coverage or Spanish autónomo registration.
  • Filings: annual returns, quarterly freelancer declarations, and Modelo 720 for foreign assets above the threshold.

Tax treaties help prevent double taxation, but only if you document your residency and income properly. Planning these points before you arrive is far easier than fixing them afterward.

Frequently Asked Questions About Digital Nomad Taxes in Spain

How much tax does a digital nomad pay in Spain?

It depends on your regime. Under the special regime, Spanish-source work income is taxed at a flat 24% up to €600,000 and 47% above that. Under ordinary IRPF, rates are progressive and vary by region, ranging from roughly 19% to 47% or more. Freelancers may also owe Social Security contributions and, in some cases, IVA.

Do digital nomads pay tax on foreign income in Spain?

Ordinary tax residents do, since Spain taxes worldwide income. Special regime holders are generally taxed only on Spanish-source income, which includes work performed while physically in Spain. Treaties and foreign tax credits can reduce overlap with your home country.

When does a digital nomad become a tax resident in Spain?

When you meet at least one of three tests: more than 183 days in Spain in a calendar year, your main economic base is in Spain, or your spouse and dependent minor children live there. The family test is a presumption that can be challenged with evidence.

Can digital nomads benefit from Spain’s special tax regime?

Yes, if they qualify. You must not have been a Spanish tax resident in the previous five years, you must move to Spain under a telework authorization, and your work must be done entirely through digital means. Employees need a genuine relationship with a foreign company, and freelancers must keep Spanish clients below 20% of professional income.

Do digital nomads pay VAT in Spain?

Only self-employed nomads deal with IVA. Spanish clients are normally charged 21%, while many EU and non-EU business clients fall under reverse charge or outside Spanish VAT. Registered freelancers still file quarterly returns, even when no VAT was collected.

Can Spain and my home country both tax my income?

Yes, if both consider you a resident or both claim the income. Tax treaties use tie-breaker rules to decide where you are resident and usually give relief through an exemption or a credit for tax paid abroad. Without a treaty, relief may be more limited, so keep a tax residence certificate and proof of your departure date.

Rules and thresholds change, so confirm your situation with a licensed Spanish tax advisor before filing.

Whenever you have questions or need advice, our team is ready to assist you.

Your Trusted Partner In Immigration KN GLOBAL SERVICES S.L.

Subscribe To Our newsletter