Taxes in Spain for Expats and Digital Nomads

Taxes in Spain for Expats and Digital Nomads

Spain tax guide for expats and digital nomads covering tax residence, 183 days, worldwide income, treaties, the impatriate regime and practical records.

Moving to Spain can change your tax position even when your visa is called “digital nomad”, “non-lucrative” or “student”. Immigration permission and tax residence are separate questions. The tax result depends on days, economic interests, family circumstances, income sources, treaty rules and the way work is performed.

Reviewed 16 July 2026. This is general planning information, not tax advice. Spanish and home-country rules change, and double-tax treaties can alter the result. Obtain advice for your nationality, income, employer and expected days in Spain.

Spain tax planning at a glance

  • Tax residence: commonly triggered by more than 183 days in Spain during a calendar year, but other connections can matter
  • Residents: generally declare worldwide income in Spain, subject to treaty and statutory rules
  • Non-residents: generally pay Spanish tax on income considered obtained in Spain
  • Digital nomads: may be eligible for the special impatriate regime, but it is not automatic
  • Non-lucrative residents: cannot work under that immigration route, but may still have Spanish tax obligations on pensions, investments, property or other income
  • Key records: travel days, contracts, payslips, invoices, bank statements, rental evidence and tax-residence certificates

Start with Working Remotely from Spain, the Spain Digital Nomad Visa guide, and the Spain first-month setup guide.

Immigration residence is not tax residence

A residence visa, TIE or padrón registration does not by itself decide your tax residence. Conversely, staying in Spain or moving the centre of your economic life there can create tax consequences even before every immigration document is complete.

The Spanish Tax Agency states that an individual may be tax resident when they remain in Spain for more than 183 days in the calendar year, when the main base of their economic activities or interests is in Spain, or under certain family presumptions. See the official residence criteria.

Tax residence is assessed by calendar year. A mid-year move does not automatically create a short tax year in Spain; you can be resident or non-resident for the tax year under the applicable rules.

Track days properly

Do not rely on a rough memory of flights. Keep:

  • entry and exit dates
  • boarding passes and travel confirmations
  • passport stamps where available
  • hotel, rental and utility records
  • work travel evidence
  • family travel records

The Tax Agency says sporadic absences can be counted when determining the 183-day test unless the taxpayer proves tax residence elsewhere. A calendar that records only nights in Spain may not tell the whole story.

What residents generally report

Spanish tax residents generally report worldwide income under the Personal Income Tax system, subject to exemptions, deductions, treaty relief and special regimes. This can include employment, freelance activity, pensions, dividends, interest, rental income and capital gains.

Being paid into a foreign bank account does not automatically keep income outside Spain. The source, activity, residence and applicable treaty matter more than the payment account.

The Tax Agency explains the broad difference: residents generally tax worldwide income, while non-residents are generally taxed in Spain on income treated as obtained in Spanish territory, subject to treaties. See the official taxpayer categories.

Non-residents and Spanish-source income

Someone who is not Spanish tax resident may still owe Spanish tax on Spanish-source income. Examples can include Spanish rental income, property gains, local employment, services physically performed in Spain and certain investment income.

The non-resident regime has its own forms, rates, deductions and filing deadlines. Do not assume that a non-resident visa or a certificate from another country eliminates Spanish filing obligations.

The special impatriate regime

Spain has a special regime under Article 93 of the Personal Income Tax Law for certain people who become tax resident because they move to Spain. It is sometimes called the Beckham regime or impatriate regime.

The Tax Agency explains that, from 2023, the regime was broadened to certain workers, remote workers, entrepreneurs, highly qualified professionals and qualifying family members. It generally requires that the person was not resident in Spain during the previous five tax periods and that the move results from an eligible circumstance.

The regime is elective, not automatic. The Tax Agency says the option, renunciation or exclusion is communicated using Form 149, and taxpayers using the regime submit the special Form 151 return. See the current official impatriate guidance.

Eligibility depends on the real move, employment or professional activity, timing and other conditions. A digital nomad should not select the regime based on a social-media summary or assume that every visa holder qualifies.

Digital nomads: tax questions before moving

Remote workers should examine two separate layers:

  1. Personal tax: where the worker is resident and how salary or professional income is taxed.
  2. Employer or business exposure: payroll, Social Security, permanent establishment, labour law, data protection and corporate tax.

The visa may allow remote work, but it does not by itself tell the employer how to run payroll or whether the worker creates a taxable presence. Get employer permission in writing and obtain cross-border advice before the move.

Freelancers should also examine Spanish autónomo registration, invoicing, VAT, professional expenses and Social Security. A foreign company registration does not automatically mean the activity remains outside Spain for tax purposes.

Non-lucrative residents

The non-lucrative immigration route prohibits work, including remote online work. It does not mean that a person has no Spanish tax obligations. Pensions, rental income, investments, Spanish property and worldwide income may need analysis once tax residence is established.

The immigration requirement to show funds is not the same as a tax exemption. Keep pension statements, investment records, rental contracts and bank evidence organised from the first year.

Students and family members

Students may have limited work permission under immigration rules, but tax treatment still depends on residence, income, employer and days. Family members can have a different tax position from the principal applicant, especially where they arrive in different years or use different income sources.

Do not assume that a family visa, student authorisation or family-reunification permit automatically puts every person in the same tax regime.

Double-tax treaties

Spain has tax treaties with many countries. A treaty can contain tie-breaker rules, employment-income provisions, pension articles, property-income rules and relief for tax paid in another country.

Treaty residence is not always decided by the same single test as domestic Spanish residence. Keep a tax-residence certificate from the country claiming residence and compare the treaty’s rules with Spanish domestic law.

Never claim treaty residence casually. The evidence and reporting position should support the claim in both countries.

Property and rental income

Buying or renting a home can create Spanish taxes and administrative obligations. Owning a Spanish property can involve local property tax, non-resident or resident income treatment, rental reporting, wealth-related taxes and transaction costs depending on the situation.

If you rent out a property, track gross rent, allowable expenses, dates of availability, tenant information and payment evidence. A property that is empty for part of the year can still have tax consequences.

Wealth, assets and reporting

Higher-asset residents should ask about wealth-related taxes, solidarity or large-fortune rules, regional differences, foreign assets and information returns. The thresholds, forms and regional rules can change, so a general “digital nomad tax” article cannot calculate the answer.

Keep a year-end balance of investment accounts, property, loans, pensions and significant movable assets. Ask an adviser which reporting forms apply rather than filing a form simply because someone online mentioned it.

A sensible tax-planning sequence

  1. Confirm the immigration route and expected arrival date.
  2. Count planned days in Spain and other countries.
  3. Map employment, freelance, pension, investment, rental and property income.
  4. Check whether an employer or business creates Social Security or permanent-establishment issues.
  5. Review the relevant double-tax treaty.
  6. Ask whether the impatriate regime could apply and identify the Form 149 deadline.
  7. Obtain tax-residence certificates where appropriate.
  8. Register or file with the correct Spanish authorities.
  9. Keep travel, income, bank and asset records throughout the year.
  10. Review the position before each tax year and whenever the work or family situation changes.

Common mistakes

  • treating a visa as a tax ruling
  • counting only hotel nights and ignoring sporadic absences
  • keeping foreign salary in a foreign account and assuming it is not reportable
  • claiming the impatriate regime without checking the five-year history and qualifying move
  • ignoring employer payroll and permanent-establishment exposure
  • assuming non-lucrative means tax-free
  • assuming a treaty automatically eliminates Spanish tax
  • failing to track property, investment and rental income
  • using outdated forms or rates
  • waiting until the tax-return deadline to gather records

FAQ

Do I become tax resident after 183 days?

More than 183 days in Spain during a calendar year is a central test, but economic interests, family presumptions and treaty rules can also matter.

Is the digital nomad visa tax-free?

No. The visa is an immigration route. A qualifying applicant may be able to elect a special tax regime, but eligibility and filing are separate questions.

Can I keep my foreign bank account?

Usually the account can remain open, but Spanish tax and information-reporting obligations may still apply.

Can non-lucrative residents work remotely?

No. The immigration route does not permit remote work. Tax planning cannot override that immigration restriction.

Should I hire a tax adviser?

Professional advice is sensible when income, family, property, investments or employer relationships cross borders. Choose someone familiar with Spain and the other country involved.

This guide is general information, not individual tax, immigration, employment or legal advice.