Spain Tax Guide for Expats and Digital Nomads (2026)

Spain taxes its residents on income from anywhere in the world and splits the income tax between the state and your region, so where you live inside Spain changes the bill. This guide covers the 183-day and economic interests tests, the 2026 rates, what a self-employed autónomo actually pays, who can use the Beckham Law, and how a company you own abroad is treated once you move.

Quick summary

  • You are Spanish tax resident for the whole calendar year if you spend more than 183 days there or if your main base of business or economic interests is in Spain, and there is no split year.
  • Income tax combines a state and a regional scale: in Madrid, the lowest region, combined rates run from 18% to 45%, and other regions charge more.
  • An autónomo pays 31.5% social security on a monthly base set by income bracket, which together with income tax takes about 34% of profit at $100,000 of revenue in Madrid.
  • The Beckham Law taxes qualifying newcomers at a flat 24% on up to €600,000 (about $683,000) of Spanish work income for 6 years, but ordinary freelancers do not qualify.
  • Foreign dividends, interest and gains are savings income, taxed on a separate scale of 19% to 30%.
  • The telework visa needs €2,442 (about $2,780) a month and gives freelancers no tax break.

Spain's taxes at a glance

What a remote worker pays in Spain
Tax on $50,000 of revenue25% to 35%
Tax on $100,000 of revenue25% to 35%
Effective rate at $100,000On profit, after costs of 15%33.9% Source: boe.es, checked September 29, 2026. Computed: revenue EUR 87,889, profit EUR 74,706, social security EUR 6,547, income tax EUR 18,800. Close to the 35% line
Tax on $250,000 of revenueOver 35%
Tax systemWorldwide
Foreign income, new residentsTaxed Source: boe.es, checked September 29, 2026
Social contributions, self-employed31.5% Source: boe.es, checked September 29, 2026. Charged on a monthly base chosen within the bracket for the person's expected net income (Orden PJC/297/2026 art. 18 and art. 37): 28.3% common contingencies, 1.3% professional contingencies, 0.9% intergenerational equity, 0.9% cessation of activity and 0.1% training. Minimum bases run from EUR 653.59 to EUR 1,928.10 a month; the maximum base is EUR 5,101.20. New freelancers can pay a flat EUR 80 a month in their first 12 months

Structure used: Self-employed (autonomo) under simplified direct assessment, resident in the Comunidad de Madrid (lowest regional scale), social security at the minimum base of the net-income bracket, after the first-year flat rate ends. Bands are the effective tax on profit for a remote worker using this structure, with clients abroad and costs of 15% of revenue.

Spain tax residency: the 183-day and economic interests tests

Article 9 of the Spanish income tax law makes you resident for a calendar year in 2 ways. The first is spending more than 183 days in Spain during that year, and sporadic absences still count as days in Spain unless you prove tax residence in another country. The second is having the main center or base of your activities or economic interests in Spain, with no day count at all.

The law also presumes you are resident if your spouse and minor children live in Spain, unless you prove otherwise. And there is no split year: once either test is met, you are resident for the whole calendar year, including the months before you arrived.

The 170-day plan in Spain

Works

You spend 170 days in Spain, keep your home, clients, bank and company in another country that taxes you, and hold that country's residence certificate. Spain has no basis to treat you as resident, and the certificate answers the sporadic absences rule.

Fails

You spend the same 170 days in Spain, but you run your business from Valencia, your main accounts and investments are Spanish, and your partner and children live there. The economic interests test or the family presumption makes you resident, and Spain taxes your worldwide income for the whole year.

Spain income tax rates for 2026

Spain splits income tax into a state half and a regional half, and each region sets its own scale. The table combines the state scale with the Comunidad de Madrid scale, the lowest in the country; in other regions combined top rates reach about 47% to 54%.

Combined state and Comunidad de Madrid income tax rates

Taxable income (EUR)About (USD)Rate on the slice
€0–€12,450$0–$14,16618%
€12,450–€13,362.22$14,166–$15,20420.5%
€13,362.22–€19,004.63$15,204–$21,62322.7%
€19,004.63–€20,200$21,623–$22,98424.8%
€20,200–€35,200$22,984–$40,05127.8%
€35,200–€35,425.68$40,051–$40,30731.3%
€35,425.68–€57,320.40$40,307–$65,21935.9%
€57,320.40–€60,000$65,219–$68,26839%
€60,000–€300,000$68,268–$341,34043%
Over €300,000Over $341,34045%

The first €5,550 (about $6,310) of income is your personal allowance, taxed at 0%. Dividends, interest and gains sit outside this table on their own savings scale of 19% to 30%, whatever region you live in.

What an autónomo pays: income tax and social security

A freelancer registers as an autónomo and, under simplified direct assessment, is taxed on actual profit: revenue less costs and social security, less a further 5% for hard-to-document costs up to €2,000 (about $2,280) a year.

Social security runs on its own logic. You pay 31.5% of a monthly base that you choose within the bracket for your expected net income, with minimum bases from €653.59 to €1,928.10 (about $744 to $2,190) a month and a ceiling of €5,101.20 (about $5,800). New autónomos can pay a flat €80 (about $91) a month for their first 12 months.

Worked example: $100,000 of revenue in Madrid, year 2 onward
Revenue€87,889 (about $100,000)
Profit after costs of 15%€74,706 (about $85,000)
Social security31.5% on the minimum base of the income bracket€6,547 (about $7,450)
Taxable incomeAfter social security and the 5% allowance€66,158 (about $75,300)
Income taxState plus Madrid scale€18,800 (about $21,400)
Total tax and social security€25,347 (about $28,800), 33.9% of profit

A Madrid resident after the first-year flat rate, paying social security at the minimum base of the bracket. Every other region's scale raises the income tax line.

How Spain taxes foreign income and remote work

Spanish residents are taxed on all income, wherever it arises and whatever the payer's residence. Work done while you live in Spain is taxed in Spain whether your clients are in Madrid or Miami, and a salary from a foreign employer is no different.

The one real exception is the Beckham Law's flat-rate regime, open to remote employees on the telework visa, company directors, certified entrepreneurs and highly qualified startup professionals who were not resident in the previous 5 years. An ordinary freelancer invoicing foreign clients does not qualify, whatever visa they hold.

If Spain and another country both treat you as resident, the tax treaty between them settles it, starting with where you have a permanent home. The certificate of tax residence from the Tax Agency is the proof foreign clients and tax offices ask for.

Filing and reporting in Spain

Your first year as a Spanish tax resident

  • Get your foreigner's identity number (NIE), which is also your tax number.
  • Register as an autónomo with the Tax Agency and social security before your first invoice, and claim the €80 (about $91) monthly flat rate for your first 12 months.
  • If you qualify for the Beckham Law, file form 149 within 6 months of the start date on your social security registration.
  • Choose your social security base each year to match your expected net income bracket.
  • File the annual return in the spring campaign: for 2025 it ran from April 8 to June 30, 2026, with June 25 the cut-off for payment by direct debit.
  • File Modelo 720 if your foreign bank accounts, securities or property pass its reporting threshold.

Ways to move to Spain

Residence routes for Spain, with the income or investment each needs
RouteMinimum income or investmentPermit lengthMakes you tax residentStatus
Visa and residence permit for international telework (digital nomad)  Source: exteriores.gob.es, checked September 29, 2026Digital nomad visa€2,442 (about $2,780) a month Source: exteriores.gob.es, checked September 29, 2026. 200% of the 2026 monthly minimum wage of EUR 1,221 (about $1,390), per the Consulate General in Washington. Add 75% of the minimum wage for the first family member and 25% for each further oneNot statedWith enough daysNo tax break for freelancers; remote employees on this visa can opt into the Beckham Law's flat 24% rate.Open
Non-lucrative residence visa  Source: exteriores.gob.es, checked September 28, 2026Passive income routeVariesNot statedWith enough daysNo tax break; holders cannot work and are taxed as normal residents.Open

Special tax regimes in Spain

Special regime for inbound workers (art. 93 LIRPF, Beckham Law)

New residents who qualify pay non-resident rules on Spanish-source income for the year of the move and the next 5 years. Employment income is Spanish-source, so a remote employee pays a flat 24% on salary up to EUR 600,000, and most foreign income stays outside Spanish tax. Ordinary freelancers do not qualify.

Open to new applicants. Lasts up to 6 years.  Source: boe.es, checked September 29, 2026 Form 149 within 6 months of the start of activity shown in the Spanish social security registration.

Self-employed (autonomo) under simplified direct assessment

The default for a freelancer. Income tax is charged on actual profit at state plus regional progressive rates, and social security is a monthly amount set by the bracket of expected net income.

Open to new applicants.  Source: boe.es, checked September 29, 2026

Running your own company from Spain

Moving to Spain changes how a company you own abroad is taxed, even when it stays registered where it is.

How Spain taxes a company you own abroad

SituationWhat Spain taxesRule
Low-taxed foreign company you controlCertain of its income, imputed to you each yearInternational fiscal transparency, LIRPF art. 91
Company managed and controlled from SpainThe company itself, as a Spanish residentEffective management, LIS art. 8
Company in a low-tax jurisdiction whose main assets or activity are in SpainPresumed Spanish resident unless run from abroad for valid business reasonsLIS art. 8
Dividends paid to youSavings scale of 19% to 30%, with a credit for foreign withholdingLIRPF art. 66

Spain's international fiscal transparency rule imputes certain income of controlled, low-taxed foreign companies to their resident owners, so income parked in a zero-tax company can still reach your Spanish return.

The bigger risk for a solo founder is the residence of the company itself. A company is Spanish resident if its effective management is in Spain, and the Tax Agency can presume it for a company in a low-tax jurisdiction whose main assets or activities are in Spain. A foreign company whose only director makes every decision from an apartment in Barcelona fits the first test on its own.

Dividends you then pay yourself are savings income, taxed at 19% to 30% with a credit for tax withheld abroad. The jurisdictions founders incorporate in change the corporate tax, but while you live in Spain the dividend scale and the transparency rule follow you.

David's note

For a solo freelancer moving to Spain, I would rarely keep a foreign company running alongside autónomo registration. Once Spain can treat it as managed from Spain, the company seldom lowers the bill, and it doubles the accounting and the filings.

US citizens living in Spain

The US-Spain income tax treaty, signed in 1990 and amended by a 2013 protocol, does not stop the US taxing its citizens, because treaties generally do not reduce the US tax of US citizens. You still file a US return and claim the foreign tax credit or the 2026 foreign earned income exclusion of $132,900.

Spanish income tax on self-employed earnings is usually higher than the US income tax on the same amount, so the credit tends to clear the US bill. The US-Spain totalization agreement means you pay social security in one country, not both.

No split year in Spain: the arrival date trap

Arriving by July 1 makes your whole year Spanish

Arrive on July 1 and stay, and you pass 183 days by December 31. Spain then taxes your worldwide income for the whole calendar year, including salary and invoices from the months before you moved. Arrive in the autumn instead and that first calendar year stays outside Spanish residence, unless your economic base had already moved.

A tax treaty with the country you left can assign the months before the move back to it, but only if that country also treated you as resident for them, and you have to claim it. Timing the move is the cleaner fix.

The rule works the same way on the way out. Leave in mid-year after more than 183 days in Spain and you stay resident, and taxed on worldwide income, for the whole year you left.

Who Spain suits, and who it does not

Good fit

  • Remote employees of foreign companies who can use the Beckham Law: 24% flat on salary and most foreign income outside Spanish tax for 6 years.
  • Freelancers earning up to about $100,000 who want EU residence with a low income floor of €2,442 (about $2,780) a month.
  • New freelancers, who pay a flat €80 (about $91) a month of social security in their first 12 months.

Poor fit

  • High-earning freelancers: combined rates reach 45% in Madrid and more elsewhere.
  • Investors with large foreign portfolios outside the Beckham Law, who pay savings rates up to 30% and may face regional wealth tax.
  • People who want to spend under 6 months a year there but keep their business base in Spain, which can still make them resident.

Recent tax and visa changes in Spain

  1. Self-employed contribution brackets for 2026 kept at 2025 levels, with the maximum base raised to EUR 5,101.20 and the intergenerational equity rate at 0.9% (Royal Decree-Law 3/2026, Orden PJC/297/2026). boe.es

  2. Minimum wage of EUR 1,221 a month sets the telework visa floor at EUR 2,442 a month for a single applicant. exteriores.gob.es

  3. Startup Law 28/2022 opened the art. 93 regime to remote employees, directors, entrepreneurs and highly qualified professionals, cut the prior non-residence period to 5 years, and created the international telework visa. boe.es

Sources

  1. Law 35/2006 on personal income tax, consolidated text (BOE)boe.es, checked
  2. Renta 2025 manual: Comunidad de Madrid scale (Agencia Tributaria)sede.agenciatributaria.gob.es, checked
  3. Royal Decree 439/2007, income tax regulation (BOE)boe.es, checked
  4. Orden PJC/297/2026, 2026 social security contributions (BOE)boe.es, checked
  5. Law 27/2014 on corporate income tax, art. 8 (BOE)boe.es, checked
  6. Renta 2025: filing period (Agencia Tributaria)sede.agenciatributaria.gob.es, checked
  7. Modelo 720: how the reporting limit is calculated (Agencia Tributaria)sede.agenciatributaria.gob.es, checked
  8. Non-resident income tax rates without a permanent establishment (Agencia Tributaria)sede.agenciatributaria.gob.es, checked
  9. Telework visa (Consulate General of Spain in Washington)exteriores.gob.es, checked
  10. Spain tax treaty documents (IRS)irs.gov, checked
  11. Tax treaties (IRS)irs.gov, checked
  12. Tax inflation adjustments for tax year 2026 (IRS)irs.gov, checked
  13. US international social security agreements (SSA)ssa.gov, checked

USD amounts are conversions at rates from September 28, 2026 (ecb.europa.eu).

Frequently asked questions

Do digital nomads pay tax in Spain?

Yes, once they become resident. Spain taxes residents on worldwide income, so a nomad who stays more than 183 days in a calendar year, or whose economic base is in Spain, pays Spanish tax on all earnings. The telework visa gives no tax break of its own, and only the remote employees among its holders can use the Beckham Law.

How long can I stay in Spain without becoming tax resident?

Up to 183 days in a calendar year, as long as your main base of business or economic interests is not in Spain and your spouse and minor children do not live there. Sporadic absences count as days in Spain unless you prove residence elsewhere, so keep a tax residence certificate from the country where you are resident.

Can digital nomads use the Beckham Law?

Remote employees can, freelancers usually cannot. Since 2023 the regime covers employees working remotely for a foreign company on the telework visa, company directors, certified entrepreneurs and highly qualified professionals for startups, provided they were not Spanish resident in the previous 5 years. An ordinary freelancer with foreign clients does not qualify.

Does the Spanish digital nomad visa make you tax resident?

Not by itself. Telework visa holders follow the normal tests, so they become resident once they pass 183 days in a calendar year or move their economic base to Spain. The visa needs €2,442 (about $2,780) a month for a single applicant, freelancers may earn up to 20% of their income from Spanish companies, and you need 3 months of prior work with your clients or employer.

How much can you earn in Spain without paying income tax?

The first €5,550 (about $6,310) of taxable income is a personal allowance taxed at 0%, and combined rates start at 18% above it in Madrid. Social security is separate: an autónomo pays at least the minimum base of the lowest income bracket even in a thin year, after the first-year flat rate ends.

What is Modelo 720 and who has to file it?

Modelo 720 is an information return on assets held abroad, filed by Spanish tax residents. It covers 3 blocks: foreign bank accounts, securities and insurance, and real estate. A block has to be reported once its value passes €50,000 (about $56,900), and it reports the assets rather than taxing them.

When is the Spanish income tax return due?

In the spring after the tax year. For 2025, the window ran from April 8 to June 30, 2026, with June 25 as the last day for payment by direct debit. The same window applies whether you owe tax or expect a refund.

What tax do non-residents pay in Spain?

Non-residents pay only on Spanish-source income, at a flat 24%, or 19% for residents of the EU, Iceland and Norway, with no personal allowance and no progressive scale. Income from outside Spain is not taxed there while you stay non-resident.

David Sisvadze

CEO at Nomad Tax Map

David brings 13+ years of experience, including 6 years with the Revenue Service of Georgia and 7 years managing private-sector import operations. He has a strong background in customs, imports, exports, and cross-border logistics.