Crossing 183 days makes you a Spanish tax resident for the whole year. What Modelo 030, the tax residence certificate and the 2027 rent scale cost an owner.
There is a specific moment when a Marbella apartment stops being a foreign asset and becomes a Spanish one. It is not the day you sign the purchase, and it is not the day you collect the keys. It is the day the tax authority decides that your centre of gravity has moved, and that decision rewrites how the property is taxed for the whole year.
For an owner who spends most of the year abroad, this matters more than it does for a resident: the same building generates a different tax bill under the non-resident regime (IRNR, Modelo 210) than under the resident regime (IRPF), and the gap between the two is not a rounding error. For some owners residency is a tax saving. For others it is a tax bill they never planned for. Which one depends on three numbers you can find on your own IBI receipt, your rent ledger and your travel calendar.
This guide sets out how the residency test actually works, what the Modelo 030 does and does not do, which deadlines bind you in each direction, and how the rules change from 2027. It also walks through one worked example in full — two empty apartments, one owner, two regimes, one year — because the arithmetic, not the theory, is where the decisions get made.
🏠 What actually changes when you cross the line
Spanish tax residence is determined per calendar year, not per month. Article 9 of the Ley del IRPF says a natural person has their habitual residence in Spain when they are present in Spain for more than 183 days during the calendar year, or when the main base of their activities or economic interests lies in Spain, directly or indirectly. If the first test is met, your days present are counted, and sporadic absences are added back in unless you prove tax residence somewhere else.
The second test is the one that catches people. You can pass through 183 days by accident. If the economic centre of your life — the family, the working life, the business, the property — sits in Spain, you are resident whether or not you were ever counting days in a spreadsheet. And there is a presumption that runs against you: where your spouse, not legally separated, and your minor dependent children habitually reside in Spain, you are presumed a Spanish tax resident unless you prove otherwise.
Two further points catch out even careful owners. First, residency runs for the whole calendar year: the change does not split the tax period, so a move in August can pull the whole of that year into resident rules once the 183 days are in. Second, a NIE number, a Spanish residence permit, a Spanish bank account and a Spanish property do not make you a Spanish tax resident — and a residence permit in another country does not stop you being resident here. A tax residence permit and a fiscal residence are different animals.
The corollary matters just as much. If you are a non-resident, you prove it with a certificate of tax residence issued by the tax authority of your own country, and that certificate is valid for one year. Nothing else substitutes for it: not a padron certificate, not utility bills, not a rental contract on a Spanish property. Renew it annually or the non-resident position becomes harder to defend with every passing quarter.
Where a treaty fits in
If you are resident in two countries, the tie is broken in a fixed order: permanent home available, then centre of vital interests, then habitual abode, then nationality, and finally by agreement between the two tax authorities. Spain applies that ladder in its treaties with the United Kingdom, the United States, Germany and the Gulf states, which is why a Dubái-based owner with a Spanish apartment can end up Spanish-resident on facts that have nothing to do with the apartment itself.
The counter-move
If you are relocating rather than simply spending more days here, there is a special regime for new residents that lets you keep the non-resident rules for the year of the move and the four years after it. We covered it separately in our guide to Spain's Beckham Law. It is the escape hatch for owners whose business and family remain abroad but whose days have crept past 183.
📊 Two regimes, one property
The table below sets the non-resident rules against the resident rules for a Costa del Sol property held by an individual. Read the right-hand column as the tax bill you are choosing between.
Two limits on that table deserve emphasis. The percentage reduction in article 23.2 LIRPF covers residential lettings only; a seasonal tourist let keeps the full expense deduction under article 22.2 but earns no percentage reduction at all. And that reduction is an IRPF tool: article 24.1 TRLIRNR removes it for non-residents, so staying non-resident means your Costa del Sol rent is taxed at a flat 19% or 24% on the net, with no relief on top. On a residential let, residency is often the cheaper answer on the rent alone.
💼 Modelo 030: the filing that makes it official
The Modelo 030 is the census declaration used by individuals who are not in the Censo de Empresarios, Profesionales y Retenedores. It does four things: it registers you in the tax census, it communicates a change of tax address, it lets a foreign national without a NIE obtain a NIF, and it lets you vary your notification address. If you move your tax address to Spain, this is the form that tells the Agencia Tributaria.
The deadline is three months from the change of address. If you are in the business census, the deadline is one month and the form is a Modelo 036 or 037. There is one shortcut worth knowing: if your IRPF filing period ends before those three months run out, you communicate the change of address on your IRPF return instead of filing a separate Modelo 030. Do not rely on that to the day — file the Modelo 030 and note the IRPF date in your file.
On the other side of the same coin sits the certificate of tax residence that the AEAT issues through the Sede electrónica, under Certificados, Censales. It is available the same day if you identify with Cl@ve, an electronic certificate or DNI electrónico, it carries a CSV code you can verify later, and if the tax office cannot issue it on the spot you get a refusal document and a route to reopen the file with supporting documents rather than a dead end. That certificate is what a buyer asks for before releasing the full price: without it, the buyer must withhold 3% under Modelo 211, because a NIE and a Spanish bank account are not proof of residence.
📅 The deadlines that decide the money
Tax residency creates a calendar, and the calendar does not wait for you. The dates below mix the two directions of travel, because an owner who is arriving in Spain needs the resident deadlines and an owner who is leaving needs the non-resident ones.
💰 Worked example: two empty apartments, one owner, one year
Here is the arithmetic, in full, for the case most Costa del Sol owners would recognise: an owner who lives in the United Kingdom, holds two apartments that nobody lives in, and pays tax on the mere fact of owning them.
Assumptions. Cadastral values of €340,000 and €260,000, a combined €600,000, with neither municipality carrying a collective cadastral valuation in force since 1 January 2012, so the 2% rate applies for 2026. The owner lives outside the EU/EEA, so the non-resident rate is 24%. In the resident case the owner is assumed to have a base liquidable general of €30,000, which sits inside both the state band of 15% and the Andalusian band of 15%, a combined 30%.
Three conclusions fall straight out of that table. First, on imputed rent alone, residency is the more expensive answer in 2026: a flat 24% beats a 30% marginal rate on the same base. Second, the 2027 scale changes the base itself, and it cuts it by €3,900 — the €600,000 of cadastral value now taxed as one aggregate instead of two separate properties, which is where most of the saving comes from. Third, residency flips the answer from €390 worse to €390 better. A decision made on 2026 numbers alone will be the wrong decision by 2027.
The crossover point matters if you own more. The new scale stays cheaper than the old flat 2% up to roughly €1,290,000 of combined cadastral value and turns more expensive above it. Against the 1.1% rate available in municipalities with a recently revised cadastre, the new scale is already more expensive once your combined value passes €100,000. Either way, the number that governs your bill from 2027 is the sum of the cadastral values of every property you hold, not the value of the one you are looking at.
💰 Selling: the 3% that disappears if you are resident
If you sell, your residency status decides the mechanics before it decides the rate. As a non-resident, the buyer withholds 3% of the agreed price and pays it to the tax office on Modelo 211 within one month of the deed, whether or not you made a profit. You then file your own gain on Modelo 210 within the three months that follow, credit the withheld amount against your tax and claim the excess back if your real liability was lower. If the buyer withholds nothing, the property itself becomes liable for your tax. That is why the contract should oblige the buyer to hand you the Modelo 211 copy marked for the transferor: without it you cannot file, and without filing you lose the 3% for good.
As a resident, none of that applies. There is no buyer withholding, the gain goes on your IRPF return, and a certificate of tax residence from the AEAT is what stops a buyer from withholding in the first place. The rates move too: 19% or 24% for a non-resident against the IRPF savings scale for a resident, with a different set of exemptions and reinvestment rules. If you are close to a sale and close to the 183-day line, this is the point at which a few weeks of travel can be worth more than a season of sunshine.
✅ What to do about it
- Count your days present in Spain for each calendar year separately, and add back the days you were away for a reason you can document.
- Test the second limb of article 9 anyway: where does the centre of your family and economic life actually sit?
- Check the presumption that follows your spouse and minor children. If they live in Spain, you are presumed resident until you prove otherwise.
- Order the certificate of tax residence from your home country and diarise the twelve-month expiry.
- File the Modelo 030 within three months of the change of address, or one month via the Modelo 036 if you are in the business census.
- Pull your IBI receipts and total the cadastral values of every property you own, then work out the 2027 imputed rent on the aggregate.
- If you are relocating rather than simply travelling, check the special regime for new residents before you file anything.
None of this is exotic. It is the ordinary machinery of Spanish tax administration, applied to an ordinary fact: a foreign owner of a Costa del Sol property who has started spending more time here. The advantage of understanding it early is that every piece of it is cheap. A certificate, a form, a calendar. The cost of understanding it late is a retroactive year in the wrong regime, an imputed rent bill you did not know existed, or a 3% withheld on a sale that was never properly filed.
Casa España Real Estates works with international buyers and owners across the Costa del Sol on exactly these questions — residency status before a purchase, the tax consequences of a change of address, the documentation a notary or a buyer will demand. Ask before you sign, not after.
📞 +34 624 770 233 · WhatsApp · 📧 info@cerealestates.com
🌐 Request a Property Consultation
Ready for the lifestyle?
Download our exclusive free guides to learn everything about living and investing in Spain.
Explore Expert Guides