Nobody becomes a tax resident by deciding to. Spanish tax residency is a legal status that follows from facts: where you slept, where your work is, where your family lives. It is also the pivot of your whole tax life, because a resident is taxed on income from all over the world, and a non-resident only on income earned in Spain. Understanding your tax residency in Spain before you move saves you from the two classic mistakes: becoming a resident without noticing, and paying tax in two countries by accident.
This article is general information, not tax advice. The rules are national, but the Basque Country and Navarre have their own tax regimes, and every region sets part of the rates.
When does tax residency in Spain begin?
The law (article 9 of the IRPF law) sets out two alternative tests. You are a tax resident if either is met.
- You stay in Spain more than 183 days in a calendar year. Sporadic absences count as time in Spain unless you can prove tax residence elsewhere.
- The main centre or base of your activities or economic interests is in Spain, directly or indirectly: for example your main job or your business.
On top of that comes a family presumption: if your spouse, not legally separated, and your dependent minor children live habitually in Spain, the tax agency presumes you are resident too, unless you prove otherwise.
Two points surprise people. First, the 183-day count is not the only test: a person who works in Spain and keeps a home elsewhere can be resident with fewer than 183 days. Second, the law looks at the whole calendar year. Resident status does not begin on the day you land. In a year of arrival or departure, the facts are weighed over twelve months, and a treaty tie-break often settles the matter. That is a delicate year, worth checking with a professional.
What if two countries both say you are resident?
Spain has tax treaties with all EU states except Denmark, which cancelled its treaty with effect from 1 January 2009, and also with Switzerland, Norway, Iceland and the UK. There is no treaty with Liechtenstein. When both countries consider you resident, the treaty applies tie-break tests in order: permanent home, centre of vital interests, habitual abode and nationality. Keep a certificate of tax residence from each country, because the tax agency may ask for it.
Without a treaty, as with Denmark, double taxation is handled through Spanish domestic law, mainly a credit for tax paid abroad.
How is income tax calculated for a resident?
Residents pay IRPF (Impuesto sobre la Renta de las Personas Físicas) on worldwide income. The tax has a state part and a regional part. For 2026, the state scale on the general base is 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 and 24.5% above. Each autonomous community adds its own scale, so the total depends on where you live: the Balearics, for 2025, ran from 9% up to €10,000 to 24.75% over €175,000, and the Canary Islands from 9% to 26%.
Savings income (interest, dividends, capital gains) has its own scale: in total 19%, 21%, 23%, 27% and 30% in successive bands up to €6,000, €50,000, €200,000, €300,000 and above.
How do you file a tax return once tax residency in Spain applies?
You file the previous year's income during the Renta campaign, in spring. For income of 2025, the online campaign ran from 8 April to 30 June 2026, with telephone help from 6 May and in-person help from 1 June. Filing is free, online, with Renta WEB. The tax agency usually prepares a draft (borrador) that you check, correct (foreign income, regional deductions) and confirm.
You identify yourself with Cl@ve, an electronic certificate or a reference number (see padrón and Cl@ve). If you owe tax, you can split it in two payments with no interest: 60% when filing and 40% by 5 November (for the 2025 return), provided you file on time. You must file in principle unless an exemption applies (for example employment income only, below €22,000 a year from a single payer). You always file if you were self-employed during the year or want to claim a credit for double taxation.
What do you have to declare about foreign assets?
Modelo 720. If you are resident, you must declare each year by 31 March your assets abroad, in three categories: bank accounts; securities, insurance and annuities; and real estate. You file when any one category exceeds €50,000 at 31 December (for bank accounts, the tax agency looks at the higher of the year-end balance and the average of the last quarter). After the first filing, you only refile if a category increases by more than €20,000 since your last declaration, or if you dispose of an asset already declared. Crypto-assets held abroad go on a separate form, modelo 721.
Since a 2022 ruling of the Court of Justice of the EU, the old special penalties are gone and the general penalties of the General Tax Law apply. Ask the tax agency or an adviser what applies to a late or missing declaration. Do not forget the year you arrive: if you are resident for that year, you owe the declaration for what you hold on 31 December.
Declaring is not paying. The 720 is only information, and the income from those assets goes into your normal return.
How do you prove where you are resident?
Keep evidence from day one. The tax agency counts days of presence, so passport stamps are rarely available inside the Schengen area, but other records are: flight and train tickets, rental and utility contracts, bank and card statements, payslips, and the padrón certificate. If you claim to be resident in another country, you need a certificate of tax residence issued by that country's tax authority for the year in question.
When you really do move, make the break visible in your home country too: notify the tax office, update your address with your bank, and check whether your old country keeps a taxing right on certain income (a pension, rent from a property you keep). The treaty articles on pensions and public-service pensions often decide this; read the ones in the treaty between Spain and your country.
What changes the year you leave Spain?
Residence is judged on the full calendar year, so a departure mid-year does not automatically end your Spanish status for that year. If you are resident on the facts for the year, you file as a resident for the whole year, and the treaty may reassign some income. Plan a leaving year with an adviser, and remember that the modelo 720 is due for any year in which you are a tax resident, for the assets you hold on 31 December.
What other taxes might apply?
- IBI (Impuesto sobre Bienes Inmuebles): the annual property tax, set by your town hall. Urban property pays between 0.4% and 1.10% of the cadastral value.
- Plusvalía municipal: when you sell, a local tax on the increase in the value of the land. The seller pays; if the seller is not resident, the buyer pays it.
- Wealth tax (Impuesto sobre el Patrimonio): the general allowance is €700,000, and some regions use a different one (for example €3,000,000 in the Balearics), plus an exemption of up to €300,000 for your main home. Some regions give large bonuses that apply differently while the temporary solidarity tax on large fortunes (net wealth above €3,000,000) exists.
What changes in the Basque Country, Navarre and the islands?
The Basque Country and Navarre have their own tax authorities (the Diputaciones Forales and the Hacienda of Navarre) with their own scales. In the Canary Islands, indirect tax is the IGIC instead of VAT, and the regional income tax scale differs. Ceuta and Melilla give a 60% deduction on tax due on income earned locally.
Before you decide on a move date, a sale or a pension withdrawal, have your situation confirmed by a Spanish tax adviser (asesor fiscal) or a gestor: the year of arrival and the treaty with your country often decide the outcome.
If you will work for a Spanish employer and arrive from abroad, ask whether you qualify for the special regime in the Beckham Law, which must be requested within six months. For the day-to-day cost picture, see cost of living in Spain.