Your tax situation in Spain as a remote worker depends primarily on your tax residency status. Spain determines tax residency based on several criteria, including spending more than 183 days in the country during a calendar year (even if not consecutive), having your main economic or vital interests in Spain, or if your spouse/children reside there. For remote workers, if you're physically working from Spain for over 183 days in a year, you're generally considered a tax resident. The fact that you're working for non-Spanish clients doesn't automatically change this—it's about your physical presence and activities in Spain.
Spain also offers a Digital Nomad Visa (introduced in 2023) for remote workers, which can allow you to live and work in Spain for up to 5 years. Holders of this visa often qualify for the "Beckham Law" (a special tax regime named after David Beckham, who benefited from an early version). Under this regime, even if you're a resident by time spent, you're treated as a non-resident for tax purposes for up to 6 years (you plus your tax year of arrival). This means you're only taxed on Spanish-sourced income at a flat 24% rate (up to €600,000, then 47-48% above that), while most foreign income is exempt. To qualify for Beckham Law, you must not have been a Spanish tax resident in the previous 5 years, move to Spain for work reasons (including remote work for a non-Spanish employer), and apply within 6 months of registering with Spanish Social Security. However, if your "temporary" stay is short-term (under 183 days) without the visa, you may remain a non-resident.
We break down some specific questions below, covering both standard residency scenarios and the Beckham Law option where relevant. Note that tax rules can vary based on your nationality, home country (due to tax treaties), and whether you're an employee or freelancer/self-employed. Spain has double taxation agreements with over 90 countries (including most EU nations, the US, UK, and many others), which can provide credits or exemptions to avoid paying tax twice on the same income. Always consult a tax advisor for your personal situation, as this is general guidance.
1. Do You Pay Tax on Your Worldwide Income?
- If you're a standard tax resident (e.g., over 183 days in Spain without Beckham Law): Yes, Spain taxes your worldwide income, regardless of where it's earned or sourced. This includes salaries, freelance earnings, investments, rentals, and other income from anywhere in the world. Income tax (IRPF) is progressive, ranging from 19% to 47% depending on your total income level, plus potential regional surcharges (varying by autonomous community, e.g., up to 3-5% extra in some areas). For remote workers earning from non-Spanish clients, your income is still fully taxable in Spain as a resident.
- If you're a non-resident (under 183 days, no visa): No, you're only taxed on Spanish-sourced income (e.g., if you had any local clients or property). Foreign earnings are not taxed in Spain. Rates are flat: 24% for general income (19% for EU/EEA residents) and 19-24% for capital gains/dividends.
- Under Beckham Law (if eligible via Digital Nomad Visa or similar): No worldwide taxation. You're only taxed on income sourced in Spain, which for remote workers typically includes your work income (since the work is performed in Spain, it's considered Spanish-sourced). This is at a flat 24% up to €600,000. Foreign-sourced income (e.g., investments or passive earnings from abroad) is generally exempt, except for certain cases like foreign employment income if it's not your main job. This can be a major benefit for high earners, but you must actively apply for it.
2. Do You Have to Self-Declare All Your Earnings?
- If you're a tax resident (standard or under Beckham): Yes, you must file an annual personal income tax return (Modelo 100, also called "La Renta") declaring all relevant income. This is mandatory if your gross income exceeds €22,000 (from one payer) or €15,000 (from multiple payers), or if you have certain deductions/reliefs. Filing occurs online between April and June for the previous calendar year (e.g., April-June 2026 for 2025 income). If you're self-employed/freelancing for non-Spanish clients, you'll also need to register as autónomo (self-employed) with Spanish Social Security, file quarterly VAT/income declarations (Modelo 130/131 for income, Modelo 303 for VAT if applicable), and pay Social Security contributions (around €300-€1,200/month, depending on base). Under Beckham, you still declare, but only on the taxable Spanish-sourced portion.
- If you're a non-resident: You only declare Spanish-sourced income via Modelo 210 (quarterly or annually, depending on type). No need to declare foreign earnings.
Failure to declare can result in fines (50-150% of unpaid tax) and interest. You can file electronically via the Agencia Tributaria website using a digital certificate, Cl@ve PIN, or NIE number.
3. Are You Liable for Capital Gains Tax in Spain on Selling a House in Your Home Country?
- If you're a tax resident (standard, without Beckham): Yes, you're liable for capital gains tax (CGT) on the sale, as residents are taxed on worldwide gains. CGT is calculated on the profit (sale price minus purchase price, adjusted for inflation and costs) and taxed at progressive rates: 19% on the first €6,000, 21% on €6,000-€50,000, 27% on €50,000-€200,000, and 28% above €200,000 (as of 2025). If the house was your principal residence, you may qualify for an exemption if you reinvest the proceeds in a new principal residence (within 2 years)—this can apply even if the new home is abroad, but you must prove it's your main home. Tax treaties with your home country can provide a foreign tax credit in Spain for any CGT paid there, reducing or eliminating double taxation. Your "temporary" status doesn't exempt you if you're resident during the year of sale.
- If you're a non-resident: No, Spain doesn't tax gains from foreign property sales. Only gains from Spanish assets are taxed (at 19% for EU/EEA residents, 24% otherwise).
- Under Beckham Law: Generally no, as you're treated as a non-resident and only taxed on Spanish-sourced gains. A house sale in your home country is foreign-sourced, so it's exempt from Spanish CGT (though still taxable in your home country).
In summary, if your stay is truly temporary (under 183 days), you're likely not liable for worldwide taxes or foreign CGT in Spain. But if it exceeds that or you get the Digital Nomad Visa, consider applying for Beckham Law to minimize exposure. Track your days in Spain carefully, and seek professional advice from the Spanish Tax Agency (Agencia Tributaria) or a specialist.




