SPAIN TAX GUIDE

Do I Need to Pay Tax in Spain as a Foreigner?

Tax obligations for foreigners in Spain. Residency, income sources, and when you must file.

Tax specialist guidance
Updated April 2026
Treaty expertise
Expert reviewed
Home / Blog / Do I Need to Pay Tax in Spain as a Foreigner?

The short answer: it depends. If you're a temporary visitor, probably not. If you're settling in Spain, almost certainly yes. This guide clarifies the rules based on your status.

Residency: The Key Distinction

Non-Resident Foreigners

If you spend less than 183 days in Spain during a tax year and don't have primary residence or economic interest there, you're non-resident for Spanish tax purposes. You only pay Spanish tax on Spanish-source income (Spanish salary, Spanish rental property, Spanish business). Foreign income is not taxable in Spain. You may not need to file (depends on income amount and source).

Resident Foreigners

If you spend 183+ days in Spain in a tax year (or meet other residency criteria), you're a resident for Spanish tax purposes. You pay Spanish tax on worldwide income—Spanish sources and foreign sources alike. You must file Spanish taxes if income exceeds threshold (22,000 euros for employees, lower for self-employed). Filing is mandatory regardless of income if you're self-employed with income.

Common Scenarios

Scenario 1: Tourist/Short-Stay Visitor (Under 183 Days)

Status: Non-resident. Spanish tax obligation: None, unless you have Spanish-source income. Example: you visit Spain for 3 months. You earn nothing in Spain. Tax filing: Not required. Outcome: No Spanish taxes.

Scenario 2: Relocating Expat (183+ Days, Spanish Employment)

Status: Resident (after 183+ days). Tax obligation: Spanish tax on worldwide income. Example: you move to Spain, get a Spanish job earning 40,000 euros, also have US investment income (dividends, 2,000 euros). Taxes: Both Spanish salary and US dividends are taxable in Spain. File Spain return: Yes (income exceeds 22,000 euros). Tax rate: Progressive (Spanish salary taxed at 24–37%, US dividends at marginal rate). Outcome: Must pay Spanish tax on both sources.

Scenario 3: Remote Worker (183+ Days, Non-Spanish Employer)

Status: Resident (after 183+ days). Tax obligation: Tricky. You're resident, so worldwide income is taxable. Remote work for non-Spanish employer = foreign-source income, but you're working in Spain. Tax authorities view this as Spanish-source income (work performed in Spain = Spanish source). You must file and pay Spanish taxes on remote earnings, even if paid by non-Spanish company. This surprises many digital nomads. Outcome: Must pay Spanish tax; file required.

Scenario 4: Expat with Foreign Retirement Income (183+ Days, No Work)

Status: Resident (primary residence, 183+ days). Tax obligation: Worldwide income is taxable. Example: Retired, US pension 30,000 euros/year, no Spanish income. File Spain return: Yes (exceeds 22,000 euros). Taxes: US pension taxed at Spanish rates (progressive, around 21% effective for 30,000 euros). Outcome: Must file Spanish return and pay Spanish tax on pension.

Scenario 5: Non-Resident with Spanish Rental Property

Status: Non-resident (less than 183 days, no primary residence). Income: Rents from Spanish apartment. Tax obligation: Spanish tax on rental income only (non-resident rate: typically 24–26% gross, deductions allowed). File Spain return: Yes (rental income). Taxes: Must pay Spanish tax on rental income regardless of residency. Outcome: File Spanish return for rental income; other income untaxed in Spain.

Filing Thresholds

For Employees (Residents)

If income is under 22,000 euros from a single employer: may be exempt from filing (employer withheld taxes). If income from multiple sources exceeds 22,000 euros: must file. If any income withheld: file to claim refund (even if under threshold). Self-employed or multiple jobs: lower threshold, typically must file.

For Non-Residents

Any Spanish-source income (no matter how small) usually requires filing. Reporting requirement is strict for non-residents.

Consequence of Not Filing When Required

Penalties: 5–50% of unpaid tax. Interest: accrues on unpaid amounts. Legal issues: repeated non-filing can result in fraud charges. Professional consequences: visa denial on renewal, banking issues, debt collection.

How to Determine Your Status

Count Your Days

Calculate days spent in Spain (calendar year basis). Include any partial day as a full day. If 183+, you're presumed resident.

Check Residency Criteria

Even if under 183 days, you may be resident if: Spain is your habitual residence (primary home, family, economic interests). You have a permanent contract and economic ties. Have business operations in Spain.

Consult the Rules

When in doubt, assume you're resident (safest assumption). Get advice from a tax professional, especially if you have multiple income sources or near the 183-day threshold.

Uncertain About Your Tax Status?

Get clarity from a tax specialist. Know your obligations before filing or facing penalties.

[Get Tax Status Review]

FAQ

If I visit Spain for 6 months, do I pay tax?

If you don't work or earn Spanish income, no. If you work or earn Spanish income, you must pay Spanish tax on that income regardless of residency status.

I work remotely for a US company from Spain. Do I pay Spanish tax?

If you're in Spain 183+ days (resident), yes. Spanish tax authorities consider remote work performed in Spain as Spanish-source income, taxed at Spanish rates.

What if I have no income in Spain but own rental property?

You must pay Spanish tax on rental income even if non-resident. File Spanish tax return and pay tax on rent collected (24–26% rate). Expenses are deductible.

Do I need to file if under the threshold?

Generally, if under 22,000 euros (employee) and single source, no. However, if taxes were withheld, file to claim refund. Self-employed: usually must file regardless.

Planning to Move to Spain?

Our specialists guide you through the right visa from start to finish — managed entirely online, in English.