The Spanish Digital Nomad Visa is real, and so is the Spanish tax system. The Beckham Law option, the 183-day residency trap, Modelo 720, social security obligations, and what the lifestyle influencers never tell you — from a registered Spanish tax lawyer.
Spain's Digital Nomad Visa (Visado para Nómadas Digitales or Visado para Teletrabajadores de Carácter Internacional) was introduced by Ley 28/2022 — the "Startup Law" — and became operational in early 2023 (see BOE text of Ley 14/2013 as amended). It allows non-EU nationals who work remotely for companies or clients located outside Spain to legally live and work in Spain. The immigration side has been covered extensively online. The tax side — which will determine whether living in Spain as a digital nomad is genuinely affordable — receives far less attention. This article addresses the tax reality in full.
The Digital Nomad Visa (DNV) is an immigration authorisation, not a tax status. The fact that you hold a DNV does not automatically determine how you are taxed in Spain. Your tax status depends on Spanish domestic tax law — specifically, whether you meet the criteria for Spanish tax residency — independent of your visa type.
The visa grants you the right to live in Spain. Spanish tax law then independently determines whether living in Spain makes you a Spanish tax resident. The two questions are legally distinct, though in practice they usually converge after 183 days in the country.
Under Article 9 of the Ley del IRPF, an individual is a Spanish tax resident if any of the following applies:
For a digital nomad with a DNV who arrives in Spain and stays: residency typically begins when you cross the 183-day threshold in a calendar year, or earlier if Spain is clearly your economic centre (you are billing from Spain, your bank accounts are in Spain, your family is in Spain).
Critically, residency is determined calendar year by calendar year. If you arrive in Spain on 1 July and spend the remaining 184 days of the year in Spain, you are a Spanish tax resident for that entire year — even though you only arrived six months in.
The Ley 28/2022 (Startup Law) that introduced the Digital Nomad Visa also significantly expanded access to Spain's special expatriate tax regime (known as the Beckham Law or régimen especial de impatriados, Article 93 LIRPF). Digital Nomad Visa holders who have not been Spanish tax residents in the five years prior to their arrival can now opt for the Beckham Law regime.
Under the Beckham Law, the taxpayer is taxed as a non-resident, paying a flat 24% on Spanish-source income up to €600,000 (and 47% above that threshold), with foreign-source income generally exempt from Spanish IRPF. This is particularly attractive for digital nomads who earn high foreign-source income (consulting fees from US or UK clients, software development contracts, etc.).
To opt for the Beckham Law as a DNV holder, you must submit Form 149 to the AEAT within 6 months of registering as a tax resident in Spain (obtaining your Spanish tax identification number and completing the residency registration at the AEAT). The election is irrevocable for the year in which it is made and lasts for the year of election plus 5 following years (maximum 6 years total) (see AEAT guidance on Modelo 149).
If you do not elect the Beckham Law — or if you don't qualify (e.g., you were a Spanish tax resident in the last 5 years) — you pay standard IRPF as a Spanish tax resident on your worldwide income. For digital nomads with foreign income, this means:
Once you become a Spanish tax resident, you are obligated to file Modelo 720 (the foreign asset declaration) if you hold foreign assets above the €50,000 thresholds in any of the three categories. Digital nomads often have substantial foreign savings: US brokerage accounts, UK ISAs, pension funds, foreign bank accounts. All of these must be assessed.
The Modelo 720 obligation applies regardless of whether you are on the Beckham Law regime or standard IRPF. It arises from your formal status as a Spanish tax resident, not from the tax regime you are operating under.
Spanish social security (Seguridad Social) is one of the largest tax costs for self-employed digital nomads operating in Spain. Self-employed workers (autónomos) pay monthly cotizaciones to the Seguridad Social based on their chosen contribution base (from 2023, under the new real-income-based system). For a digital nomad with net income of €60,000, monthly contributions will be approximately €500–800 per month — €6,000–€9,600 per year.
If you work for a foreign employer while on a DNV, the social security position is more complex: you may be covered by the social security system of your employer's country (particularly if there is a totalisation agreement or if the employer maintains your coverage), or you may need to register as autónomo in Spain. EU/EEA nationals often have better options for maintaining home-country coverage under EU Regulation 883/2004. Non-EU nationals (particularly US citizens) face a more straightforward obligation to register with the Spanish system unless a totalisation agreement applies.
Spain has a totalisation agreement with the United States. Under this agreement, workers paying into the US social security system can be exempt from Spanish Seguridad Social contributions for a defined period (typically up to 5 years for temporary assignments). Applying for a Certificate of Coverage from the US Social Security Administration before establishing Spanish tax residency can preserve this exemption.
Digital nomads who provide services to clients may have VAT (IVA) obligations in Spain. The general rule for B2B services under EU VAT rules is that VAT is charged where the customer is located (the reverse charge mechanism applies for EU B2B). If all your clients are outside Spain (and outside the EU), your services may be zero-rated or outside the scope of Spanish IVA. If you have Spanish or EU clients, IVA registration and quarterly returns (Modelo 303) become necessary.
Jacob Salama advises digital nomads and remote workers on their Spanish tax position, Beckham Law eligibility, Modelo 720 obligations, and the real cost of living in Spain. Book a free call before you move.
Recurring filing
Working for yourself in Spain? We also keep the books and file the quarterly returns, in English, for a fixed monthly fee: bookkeeping for self-employed foreigners and registering as self-employed.
Updated for 2025. The OECD has rewritten its guidance on home offices and permanent establishments. Read remote workers in Spain and permanent establishment: the 2025 OECD rules.