The Spain-vs-Portugal question is one of the most common tax-driven relocation decisions for digital nomads, remote workers, and earlier-stage retirees. Both countries are warm, EU-located, English-friendly in major cities, and have specific tax regimes that try to attract foreign talent. But the right answer depends heavily on your income profile, your timing, and which specific regime you qualify for.
This guide compares Spain and Portugal across the dimensions that actually matter for someone deciding between them in 2026: which tax regime applies to you, what you’ll likely pay on different income types, visa pathway, and the reality of compliance once you’re there.
The headline regimes
Spain — Beckham Law (Régimen de Impatriados)
Spain’s special tax regime for new residents lets qualifying individuals pay a flat 24% income tax (instead of the progressive scale that tops out at 47%+) on Spanish-source income up to €600,000, for up to 6 years. Foreign-source income is generally exempt during this period, which is the big draw for high-earning relocators with international investments. The regime is restrictive — you must not have been a Spanish tax resident in the prior 5 years, and the qualifying triggers are specific (employment relocation, certain self-employment categories, etc.).
Portugal — NHR program (now closed to new applicants, with successor in development)
Portugal’s Non-Habitual Resident (NHR) program — which gave new residents a flat 20% tax on certain Portuguese income and substantial exemptions on foreign income for 10 years — closed to new applicants at the end of 2023. A successor program (the NHR 2.0, sometimes called the IFICI regime) launched in 2024 with narrower criteria focused on specific high-value activities (research, technology, scientific roles). If you’re relocating in 2026, you’re working with the successor regime, not the original NHR.
Quick comparison: who wins for which profile
| Profile | Likely better choice | Why |
|---|---|---|
| High-earning remote employee with US income | Spain (Beckham) | Flat 24% on Spanish-source + foreign-income exemption is hard to beat. Beckham specifically structured for relocating employees |
| Tech/research professional in qualifying activity | Portugal (IFICI) | NHR successor is narrower but still favorable for qualifying activities. Lower cost of living than Spain in most cities |
| Self-employed digital nomad earning under 80k euro | Portugal | Spain’s autónomo regime is bureaucratic and expensive. Portugal’s simplified regime is more workable at this income level |
| Retiree with passive income and pensions | Depends on origin country | NHR’s pension benefits are gone for new entrants. Spain has wealth tax that hits retiree assets. Run the numbers per situation |
| Crypto-heavy investor | Portugal historically, but rules tightened | Both countries now tax crypto gains. Portugal still slightly more favorable for short-term holders. Country-specific advice needed |
Visa pathway differences
Beyond tax, the visa you use to enter affects everything downstream. The most common pathways:
- Spain Digital Nomad Visa (launched 2023) — allows non-EU citizens to work remotely from Spain for up to 5 years. Pairs well with the Beckham Law for employees of foreign companies.
- Spain Non-Lucrative Visa (NLV) — for those with passive income; doesn’t allow remote work in theory. Used historically by retirees and those with significant savings.
- Portugal D7 Visa — for those with stable passive income (pensions, investments). Path to permanent residency and citizenship after 5 years.
- Portugal D8 Visa (Digital Nomad) — launched 2022 for remote workers. Both temporary (up to 1 year) and residence (up to 5 years) options.
Cost of living and quality of life
For comparable lifestyle, Portugal is meaningfully cheaper than Spain in 2026 — roughly 15-25% lower across rent, groceries, and services in equivalent cities (Porto vs Valencia, Lisbon vs Barcelona, etc.). Madrid and Barcelona are particularly expensive in Spain and have seen significant rent increases driven partly by foreign demand. Portugal has seen similar pressure in central Lisbon but secondary cities (Porto, Coimbra, Braga) remain accessible.
For specific cost-of-living data by city, Nomad List maintains a comprehensive crowdsourced database. For broader quality-of-life metrics (healthcare, safety, infrastructure), the EU’s Eurostat data is more reliable than blog rankings.
The compliance reality
Both countries have meaningful compliance burdens that catch new residents off guard:
- Spain: requires Modelo 720 declaration of foreign assets above 50,000 euro per category (bank accounts, securities, real estate). Penalties for non-filing have been historically severe (though softened after EU court rulings). Wealth tax exists in some autonomous communities.
- Portugal: requires declaration of foreign income and accounts. Less aggressive than Spain on foreign-asset reporting but still substantial. NHR 2.0 has specific renewal/re-qualification requirements.
Both countries also have pension and social security implications that depend on bilateral totalization agreements with your home country. The US-Spain and US-Portugal totalization agreements both apply, but the rules differ.
How to decide
The honest answer: run the actual numbers for your specific situation. Generic guides like this one identify the rough shape of the answer, but the right choice depends on your income mix, your timing, your visa qualification, and the cities you’d actually want to live in.
For a personalized comparison that models both countries’ tax obligations against your actual income profile, tools like Taixable compute side-by-side projections. Combine the calculator output with a 30-min consultation with a tax advisor in your target country before signing a lease — that combination catches most of the gotchas before they become expensive surprises.
Bottom line
For high-earning relocating employees with foreign-source income and remote employer flexibility, Spain (Beckham Law) is hard to beat in 2026. For tech/research professionals in NHR 2.0 qualifying activities, Portugal still offers favorable treatment plus lower cost of living. For everyone else, the answer requires running the actual numbers — both countries are genuinely good options for different income profiles, and the wrong choice can cost tens of thousands per year.