Buy vs rent in Spain in 2026: the honest cost comparison foreign residents need
Should a foreigner buy or rent in Spain in 2026? A numbers-first breakdown of total cost of ownership vs total cost of renting, with a 5-year worked example, the taxes both sides ignore, and the profiles where each option actually wins.
Every foreigner planning a life in Spain hits the same crossroads within three months of arriving. The rental contract renewal notice lands, or a viewing goes well, or the tax adviser mentions non-resident income tax, and suddenly the question is unavoidable: buy, or keep renting?
The internet answers this badly. Property portals want you to buy. Rental platforms want you to renew. Both cite averages that hide the two costs that actually decide it: the frictions of ownership Spaniards grew up assuming (IBI, comunidad, plusvalía, ITP, notary fees) and the frictions of renting in a market where long-term supply has quietly disappeared from half of the coast.
This guide is the honest math for 2026 — total cost of buying vs total cost of renting for a foreigner, over five years, with the twists that only apply to non-Spaniards. Numbers are Bank of Spain, INE, and the Ministry of Housing quarterly bulletins, rounded to keep the arithmetic sane.
The one-line answer
If you will still be living in that specific home in five years and you can put 30% down without emptying your safety net, buying wins on the numbers. Otherwise, rent. The rest of this article is why.
Why the standard "buy vs rent" calculators lie about Spain
Most online calculators are built on the US or UK model: 20% down, a 25-year mortgage, property tax around 1% a year, capital gains tax the seller ignores because of the primary-residence exemption. Every one of those assumptions breaks in Spain.
- Purchase costs are 10–14% on top of the sticker price, not the 3–5% a UK or US buyer expects. Transfer tax alone (ITP) is 6–11% depending on the region for a resale home, or 10% VAT plus 1.5% stamp duty for a new-build. Add notary, registry, gestoría and legal fees and 12% is a realistic all-in.
- Ongoing ownership taxes are lower than most foreigners assume, but there are more of them: IBI (municipal), basura (rubbish), comunidad de propietarios if it's a flat, home insurance, and — the one nobody warns you about — non-resident imputed income tax on any Spanish property you own but don't rent out, if you're not a Spanish tax resident.
- Selling isn't free either. Plusvalía municipal, capital gains at 19–24% for non-residents, agent commission (typically 3–5% plus 21% VAT) and lawyer fees mean the round-trip cost of buying and reselling within five years often eats every euro of price appreciation.
- Rents are LAU-protected, not spot-market. The five-year statutory extension (seven if the landlord is a company) plus rent-cap zones in several autonomous communities mean the "my rent will double next year" scenario US buyers use to scare themselves is not the Spanish reality — but the "there is no long-term supply left, only Airbnb" scenario very much is.
Any calculator that skips these lines is telling you a story about somewhere else.
The full cost of buying, itemised
Take a €300,000 resale flat in a mid-sized Spanish city — call it Málaga outskirts, Valencia, Zaragoza, or Bilbao suburbs. Numbers are 2026 typicals; your region and property will vary.
Up-front costs (paid on completion)
| Item | Typical | On €300,000 |
|---|---|---|
| ITP (resale transfer tax, 6–11% by region) | 8% mid | €24,000 |
| Notary fees | 0.1–0.3% | €600 |
| Land registry (registro) | 0.05–0.2% | €400 |
| Gestoría (paperwork agent) | fixed | €400 |
| Lawyer / conveyancing solicitor | 1% typical | €3,000 |
| Bank mortgage set-up (AJD, appraisal, admin) | 0.5–1% | €2,000 |
| Furnishing a bare flat | varies wildly | €5,000 min |
| Total on top of price | ~12% | ~€35,000 |
If you're paying cash, subtract the mortgage line. If you're a non-EU buyer keeping non-resident status, see our note on the 100% tax proposal — it doesn't apply retroactively, but any new legislation could change the completion arithmetic; get current legal advice on your closing date.
Full breakdown in hidden costs of buying property in Spain.
Annual ownership costs
| Item | Typical | On €300,000 |
|---|---|---|
| IBI (municipal property tax) | 0.4–1.1% of catastral value | €600–€1,200 |
| Basura (rubbish) | fixed municipal fee | €80–€200 |
| Comunidad de propietarios (if flat) | monthly, varies | €600–€1,800 |
| Home insurance | building + contents | €300–€600 |
| Maintenance sinking fund (own rule of thumb: 1% of value) | €3,000 | |
| Non-resident imputed income tax (Modelo 210, if non-resident) | ~1.1% of catastral × 19–24% | €300–€800 |
| Total per year | €5,000–€7,600 |
The last line surprises everyone. If you own a Spanish property and are not a Spanish tax resident, the Hacienda treats you as receiving a "deemed rent" equal to 1.1% of your catastral value (1.5% for older valuations) and taxes it at 19% (EU/EEA residents) or 24% (everyone else). It applies even if the home sits empty. See our Modelo 210 guide — it is the single most-missed cost line on the buyer side.
Maintenance sits at the 1%-of-value mark because Spanish buildings age hard: humidity in the north, sun in the south, aluminium windows from the 90s, communal roofs that need resurfacing on the community's schedule not yours. See woodworm, termites and damp and aluminosis for the boring reasons the sinking fund exists.
Exit costs (paid when you sell)
| Item | Typical | On a €330,000 sale (10% appreciation over 5 years) |
|---|---|---|
| Estate agent commission | 3–5% + 21% VAT | €14,000 |
| Plusvalía municipal | varies (see guide) | €1,000–€3,000 |
| Capital gains tax (non-resident) 19% on gain | 19% × (€330k − €300k − costs) | €3,000–€5,000 |
| Energy performance certificate + admin | fixed | €300 |
| Lawyer | 0.5–1% | €2,000 |
| Total | ~€20,000–€24,000 |
Notice what happens: you paid roughly €35,000 to get in and roughly €22,000 to get out. That's ~€57,000 of pure friction on a €300,000 home — the equivalent of the entire first two years of the equivalent rent, before you even talk about appreciation.
That's why five years is the honest breakeven horizon in Spain. Two- or three-year ownership almost always loses to renting on cash-out terms.
The full cost of renting, itemised
The same €300,000 flat rents in 2026 for roughly €1,200–€1,600/month depending on the city — call it €1,400 typical. Rent-to-price ratios have compressed in most Spanish cities (yields on residential are 3.5–5% gross in the popular metros).
Up-front costs
| Item | Typical | Amount |
|---|---|---|
| First month's rent | €1,400 | |
| Statutory deposit (fianza) | 1 month for residential, 2 for commercial | €1,400 |
| Additional guarantee (garantía adicional) | 0–2 months by contract | €0–€2,800 |
| Agency fee | Since 2023 the LEY 12/2023 puts this on the landlord for residential | €0 |
| Total to move in | €2,800–€5,600 |
Since the 2023 housing law (LEY 12/2023) the agency fee for residential rentals is legally the landlord's responsibility — a genuine change that saved foreign renters an old €1,000+ hit. Check the contract; some agencies still try.
Annual costs
| Item | Typical | Amount |
|---|---|---|
| Rent (€1,400 × 12) | €16,800 | |
| IBI (only if the contract explicitly passes it — for a private landlord on a residential lease, usually the landlord's) | €0 typical | |
| Comunidad de propietarios | landlord's | €0 |
| Contents insurance (your stuff, not the building) | €120–€250 | |
| Utilities (electricity, water, gas, internet — you would pay these as an owner too, so we exclude from the comparison) | — | |
| Total incremental per year | ~€17,000 |
Rent increases inside a LAU-protected contract are capped by the IPC or a government-set index (2–3% typical in 2026). At contract end (five years, or seven with a company landlord), the landlord can reset — but must offer renewal on reasonable terms if you're a good tenant. See renting long-term in Spain for the tenant protections most foreigners don't know they have.
Exit costs
€0. Give the notice period in your contract (usually one month after the first six), get your fianza back from the regional deposit body (that's the point of the fianza being lodged with the region — the landlord doesn't hold it), walk out.
The €0 exit is renting's hidden superpower and the single strongest argument against buying if you're unsure about the location, the job, the relationship, or the country.
The 5-year comparison, worked
Assume a foreigner in Málaga, becoming Spanish tax resident, choosing between the €300,000 flat and its €1,400/month rental equivalent. 60% loan-to-value mortgage at 3.8% over 25 years for the buyer. Rent inflation 2.5%/year. Property appreciation 3%/year (rough Bank of Spain 5-year trend forecast; wildly regional in reality).
Buy scenario
- Down payment + closing: €150,000 (50% is safer than the minimum 30% here to build any equity in year 1)
- Actually let's use 30% down: €90,000 down + €35,000 closing = €125,000 cash out at day 1
- Mortgage: €210,000 at 3.8% × 25 = €1,085/month (€65,100 over 5 years, of which ~€25,000 is principal, ~€40,000 interest)
- Ownership costs: €5,500/year × 5 = €27,500
- Selling in year 5 at €347,780 (3% × 5 years), exit costs ~€22,000
- Mortgage balance at year 5: ~€185,000
- Net proceeds from sale: 347,780 − 22,000 − 185,000 = €140,780
Total cash out over 5 years: 125,000 (day 1) + 65,100 (mortgage) + 27,500 (ownership) = €217,600 Cash back at sale: €140,780 Net cost of buying over 5 years: ~€76,800
Rent scenario
- Deposit + first month + adjustments: €2,800 out at day 1 (deposit returned at end)
- Rent 5 years compounding at 2.5%: €16,800 + €17,220 + €17,650 + €18,090 + €18,540 = €88,300
- Contents insurance: €200 × 5 = €1,000
- Deposit returned at exit: −€1,400
Total net cost of renting over 5 years: ~€88,000
Verdict
Buying beats renting by ~€11,000 over 5 years in this scenario — meaningful but not huge, and highly sensitive to three variables:
- Appreciation. 3%/year is the current consensus. At 5%, buying beats renting by €35k+. At 0%, renting wins by €5k+.
- How long you stay. At 3 years instead of 5, buying loses badly (closing + exit costs unrecovered). At 8 years, buying dominates.
- Whether you become tax resident. Staying non-resident adds ~€700/year in Modelo 210 tax and moves the 19% capital gains tax onto every euro of appreciation. This is the buy-side's biggest hidden penalty for the "I'll keep my UK/US residency" buyer.
Change any of those meaningfully and the answer flips.
When buying wins clearly
- You're relocating to Spain permanently and know the city. Five-year horizon guaranteed, tax residency lowers the friction, and the LAU protections that limit rent hikes also limit landlord flexibility — for a permanent life you want the freedom of ownership.
- You're retiring in a place you already know well. No employment mobility, low property turnover, buying the last home you'll ever own. Ownership friction amortises over a much longer horizon. See our retirement guide.
- You're in a rent-stressed city. In parts of Barcelona, Madrid centre, Palma, San Sebastián and coastal Málaga, long-term residential rentals have been largely converted to tourist rentals. Even if buying is more expensive on paper, finding a legal five-year LAU lease is harder each year.
- You have a large down payment (50%+). More equity means less mortgage interest, and the ownership cost line drops sharply.
When renting wins clearly
- You're not sure this is your city yet. Every foreigner underestimates how much a Spanish city changes character between the honeymoon (month 1–6) and real life (year 2+). Rent for the first year in a city, or two years in the country, before committing.
- You're using the 90/180-day rule as a non-EU second-home holder. You're not going to be here enough to build equity, you pay the non-resident income tax on top, and everything about the Modelo 210 arithmetic hurts. See our 90/180 rule guide — the ratio of ownership friction to occupancy nights is brutal.
- You're under 40 and career-mobile. The friction cost of a sub-5-year hold is bigger than any realistic Spanish appreciation.
- You want variety. Try Costa del Sol for a winter, Valencia for a spring, Bilbao for a summer. Owning locks in exactly one answer.
- You'd have to stretch to buy. The single worst outcome is buying at 90% LTV, watching mortgage rates or life change, and being forced to sell inside three years into exit costs plus a soft market.
The Spanish-specific twists nobody tells foreigners about
- Autonomous community variation is enormous. ITP ranges from 6% (Madrid) to 11% (some regions on higher brackets). IBI multipliers, inheritance tax, wealth tax and rent-cap zones are all set at the autonomía level. A number quoted for one region is often wrong for another; see the community-specific guides linked at the end.
- Comunidad de propietarios can vote to spend your money. If the building needs a lift retrofit, aluminosis remediation, or a solar upgrade under new efficiency rules, the community can approve derramas (special assessments) by majority. Read the last three years of actas before you buy a flat. See our comunidad guide.
- The 5-year LAU protection cuts both ways. As a tenant it's your shield. As a landlord (if you decide to rent your property out during a period of absence) it means you can't easily reclaim the home if you want to move back into it before the contract ends. This is the reason many owner-relocators over-lease to friends or leave the property empty rather than rent.
- Non-resident tax residency has more traps than most tax advisers explain. See Modelo 720/721 if you keep meaningful assets abroad while becoming Spanish resident.
The decision framework
Answer these in order. Stop at the first "no".
- Will you live in this specific home for 5+ years? (If no → rent.)
- Can you put 30%+ down without emptying your emergency fund? (If no → rent.)
- Do you know the neighbourhood well enough to bet on it? (If no → rent for 12 months first, in that neighbourhood.)
- Are you already, or will you become within a year, Spanish tax resident? (If no → do the math again with non-resident tax overlaid; often flips to renting.)
- Have you had a Spanish lawyer confirm the up-front tax profile of your exact purchase? (If no → don't sign anything.)
All five "yes"? Buy. Any "no"? Rent, and revisit next year.
How Buvivo fits in
Whichever side of the decision you land on, the wrong way to run the search is the same: scrolling Idealista and Fotocasa for weeks, opening tabs, chasing agents, visiting places that looked better in the photos. That's exactly the problem Buvivo was built to fix.
You post what you're looking for — buy or rent, location, budget, must-haves — and matching agents and owners come to you. If your criteria change (you decide renting for a year first is smarter), you edit the post; the matches update. It's free for buyers and renters, and the model works especially well for foreigners running the search from abroad, before their arrival calendar starts burning.
Post your criteria in 3 minutes.
Further reading
- Buying property in Spain: the 2026 foreigner's guide
- Renting long-term in Spain
- Spain property taxes explained
- Hidden costs of buying property in Spain
- Best cities in Spain for expats in 2026
- Cost of living in Spain for foreign residents
This article is general information, not legal, tax or financial advice. Numbers are illustrative 2026 typicals; ITP rates, IBI multipliers and rental market conditions vary sharply by autonomous community and municipality. Always confirm the specifics with a qualified Spanish lawyer and tax adviser before making a decision.
Looking for property in Spain?
Post what you're searching for on Buvivo and let agents come to you with matching properties.
Post a free request