When do you become tax resident in Spain, and how does income tax (IRPF) work?
You become tax resident in Spain if you spend more than 183 days there in the calendar year, or if the centre of your activities or of your economic interests is there; and if your spouse (not legally separated) and your dependent minor children live there, the administration presumes that you are resident, unless you prove otherwise. As a resident, you pay IRPF (Impuesto sobre la Renta de las Personas Físicas, income tax) on your worldwide income, with a scale that adds a State share and a share from your autonomous community. You declare the past year between April and the end of June, online with Renta WEB, often from a draft (borrador) prepared by the Agencia Tributaria (the tax authority).
- Costs
- Free online return (Renta WEB); tax according to a progressive scale, State + autonomous community
- Timeframes
- Return for year N between April and the end of June N+1 (Renta 2025: from 8 April to 30 June 2026)
Steps
- Check your status for the year. Count your days in Spain ("sporadic" absences count as presence, unless you prove your tax residence in another country) and look at where your income and assets are. The law reasons by the whole calendar year (see "Common pitfalls").
- If you also have a strong link with your former country, apply the tax treaty between Spain and that country: its tie-breaker rules (permanent home, centre of vital interests…) decide when both countries consider you a resident. Keep a tax residence certificate from each country concerned.
- Make yourself known to the Agencia Tributaria: your NIE serves as your tax number (sheet ES-NIF-TOUS-001). Update your tax address.
- Check whether you have to file. You must in principle file, except for exceptions in the law (for example employment income only, under €22,000 per year from a single payer). You must always file if you have been an autónomo (self-employed) during the year or if you claim the deduction for international double taxation.
- During the Renta campaign (April to June), log in to Renta WEB with Cl@ve, an electronic certificate or a reference number, check your borrador, correct it (foreign income, deductions of your autonomous community) and validate.
- Pay or receive your refund. If you have to pay, you can split it into two instalments without interest or surcharge: 60% when you file your return, 40% later (for Renta 2025, second due date 5 November 2026, Agencia Tributaria 2026 calendar; the date changes every year).
Documents
- Your NIE and a means of online identification (Cl@ve, FNMT certificate): see ES-ADMINISTRATIONS-TOUS-001.
- Certificates of Spanish income (employer, bank) and foreign income (pensions, rents, dividends).
- Proof of tax paid abroad, for the double taxation deduction.
- A tax residence certificate from the other country, if you claim that you are not (or no longer) a Spanish resident.
Costs and timelines
- 2026 State scale (State share, general base): 9.5% up to €12,450; 12% up to €20,200; 15% up to €35,200; 18.5% up to €60,000; 22.5% up to €300,000; 24.5% beyond (art. 63 of the IRPF law, unchanged since 2021 in the consolidated text of 07/10/2026).
- Autonomous community share: each community sets its own scale, which is added to the State one. The total rate therefore depends on where you live: look at your community's scale in the Agencia Tributaria's Renta manual. Example, Balearic Islands for 2025: from 9% up to €10,000 to 24.75% above €175,000.
- 2026 savings income (interest, dividends, capital gains): the State share ranges from 9.5% to 15%; with the equivalent autonomous share, the total ranges from 19% (up to €6,000) to 30% (above €300,000). Here the autonomous share is not free: the State law sets the same scale for both shares (art. 66 and 76 of the IRPF law, since 1 January 2025), hence a total of 19%, 21%, 23%, 27% and 30% depending on the brackets.
- Renta 2025 campaign (2025 income): from 8 April to 30 June 2026 online; telephone assistance from 6 May and in office from 1 June 2026. The campaign for 2026 income will take place in spring 2027: the Agencia Tributaria publishes the exact dates in its taxpayer calendar, generally at the end of the year.
- Return: free of charge on the Agencia Tributaria website.
Common pitfalls
- Believing you are resident "from the date of arrival". Spanish law looks at the whole calendar year: depending on your days and your interests, you are resident or not for the entire year. A year of departure or arrival is often settled with the tax treaty. A delicate case: have it validated by a professional.
- The 183 days are not the only criterion. If the main centre of your activities or economic interests is in Spain, you are resident even with fewer than 183 days. And if your spouse (not legally separated) and your dependent minor children live in Spain, the administration presumes that you are resident, unless you prove otherwise (art. 9 of the IRPF law).
- Denmark no longer has a treaty with Spain (terminated by Denmark with effect from 1 January 2009, according to the Ministry of Finance). Double taxation is then settled by domestic law.
- Moving between communities to pay less. A change of residence whose main purpose is to reduce tax has no effect (art. 72 of the IRPF law). The administration presumes there was no change when three conditions combine: your taxable base increases by at least 50% in the year of the change or the next one compared with the year before, your effective tax is then lower than in the former community, and you return to the former community the following year or the one after. It does not presume this if your new residence lasts at least three years in a row.
- Forgetting accounts and assets abroad. Above certain thresholds, a separate declaration is required (modelo 720): see ES-IMPOTS-TOUS-003.
- Basque Country and Navarre. These territories have their own tax regime (régimen foral): if you live there, your IRPF is run by the Diputación Foral of your province (Álava, Biscay, Gipuzkoa) or by the Hacienda de Navarre, with their own rules and scales, not by the Agencia Tributaria.
- Ceuta and Melilla. Residents of these two cities deduct 60% of the part of the tax that corresponds to income earned locally (art. 68.4 of the IRPF law).
- Canary Islands and Balearic Islands. Like the other common-regime communities, they have their own autonomous scale and their own deductions (Renta 2025 manual). In the Canary Islands, 2025 scale from 9% (up to €13,748) to 26% (above €123,745), amended for 2025 by Canary Islands budget law 9/2025; in the Balearic Islands, from 9% to 24.75%.
What changes by country of origin
- EU, EEA and Swiss countries: Spain has a tax treaty with all EU states except Denmark, as well as with Switzerland, Norway and Iceland (Ministry of Finance list). No treaty with Liechtenstein: it does not appear on the Ministry's list (consulted on 20/10/2026). Double taxation is then settled by Spanish domestic law (deduction for tax paid abroad).
- United Kingdom (Scotland included): the Ministry's list indicates a "renegotiated" treaty. The treaty in force was signed in London on 14/03/2013, published in the BOE on 15/05/2014 and entered into force on 12/06/2014; it replaced the 1975 one. The Scottish brackets only apply to UK tax.
- Pensioners: each treaty has its own rule for pensions. Example, the treaty with the United Kingdom (art. 17 and 18): a pension is taxed in the country where you reside (Spain), except a civil service pension, taxed in the paying country, unless you are both resident and a national of Spain. Other treaties have their variants (social security pensions, annuities): read the one for your country, or get help for a mixed case.
- New arrivals who are employees or remote workers: look at the impatriate regime (sheet ES-IMPOTS-TOUS-002), to be requested within 6 months.
Official sources (11) ›
- BOE, Ley 35/2006 del IRPF, consolidated text (art. 9 habitual residence, art. 63 State scale, art. 66 and 76 savings scales (State and autonomous share), art. 96 obligation to file, art. 68.4 Ceuta and Melilla; last update published 07/10/2026)
- Agencia Tributaria, Manual práctico de Renta 2025, "Residencia habitual en territorio español"
- Agencia Tributaria, Manual práctico de Renta 2025, "Residencia habitual en el territorio de una Comunidad Autónoma"
- Agencia Tributaria, Calendario del contribuyente 2026, "Fechas de campaña de Renta y Patrimonio"
- Ministerio de Hacienda, "Convenios para evitar la doble imposición" (alphabetical list)
- Agencia Tributaria, Manual práctico de IVA 2025, "Tributación en territorio común y territorio foral" (Concierto with the Basque Country, Convenio with Navarre)
- Agencia Tributaria, Calendario del contribuyente 2026, "Hasta el 5 de noviembre" (second payment of 40% of Renta 2025, modelo 102)
- Agencia Tributaria, Manual de ayuda Renta 2025, "Fraccionamiento del pago (pago en dos plazos 60% y 40%)"
- Agencia Tributaria, Manual práctico de Renta 2025, "Comunidad Autónoma de las Illes Balears" (2025 autonomous scale, page updated 17/03/2026)
- Agencia Tributaria, Manual práctico de Renta 2025, "Comunidad Autónoma de Canarias" (2025 autonomous scale, amended by Canary Islands law 9/2025, page updated 17/03/2026)
- BOE, Spain – United Kingdom Convention for the avoidance of double taxation, signed in London on 14/03/2013 (BOE no. 118 of 15/05/2014, in force on 12/06/2014), art. 17 "Pensiones" and 18 "Función pública"