Autoregistro
FeaturesPricingBlogContactAbout
LoginCreate account
← Back to blog2026-04-30

Vacation rental of primary residence vs. second home: tax, legal, and practical differences in Spain

Two houses side by side representing primary residence and second home with tax document symbols

The difference between renting your primary residence and a second home as a vacation rental has significant tax implications in Spain: your primary residence doesn't generate imputed income for days it's not rented, allows capital gains tax exemption through reinvestment if you sell, and may deduct mortgage interest (if purchased before 2013). A second home is taxed on imputed real estate income for empty days, has no capital gains exemption, but allows proportional deduction of all expenses. Choosing the right tax framework can mean thousands of euros difference per year.

Many owners who start in vacation rental don't consider this question until their tax return arrives. And then they discover that the tax treatment of their property depends on whether the tax authority considers it a primary residence or second home — and that this classification has real consequences on what they pay.

What qualifies as primary residence for tax purposes?

For Spain's tax authority (Hacienda), your primary residence is one that meets these requirements:

  1. Effective and permanent residence for at least 3 years (except for job change, marriage, separation, or other justified causes)
  2. Occupation within 12 months of purchase or completion of works
  3. Constitutes your habitual domicile — where you live most of the year

Key point: if you rent your primary residence as a vacation rental for part of the year and live in it the rest, it remains your primary residence as long as you maintain effective residence. You don't lose the status by renting it temporarily.

What is a second home?

Any property you own that isn't your primary residence: beach apartment, village house, inherited flat you don't use as your domicile, etc.

Key tax differences

1. Imputed real estate income

ConceptPrimary residenceSecond home
Days you live in itNo imputationN/A (you don't live there)
Days empty (neither rented nor used)No imputationYes: 1.1-2% of cadastral value proportional
Days rentedTaxed as rental incomeTaxed as rental income

This means: if you have a second home and rent it only 4 months per year, the remaining 8 months generate imputed income that's taxed on your income tax return. With a cadastral value of €100,000, that's about €1,100-2,000 of imputed income added to your tax base.

Your primary residence doesn't have this problem. Days you're not renting it and living in it generate no imputation.

2. Deductible expenses

Both allow proportional expense deduction based on days rented (complete deductible expenses guide), but with nuances:

ExpensePrimary residenceSecond home
Mortgage interest (rented proportion)DeductibleDeductible
Depreciation (3% of construction value)Deductible (proportion)Deductible (proportion)
Utilities (rented proportion)DeductibleDeductible
Property tax, HOA, insurance (proportion)DeductibleDeductible
Management and platform fees100% deductible100% deductible
Primary residence deduction (pre-2013)Yes, if applicableNo

3. Capital gains on sale

ConceptPrimary residenceSecond home
Reinvestment exemptionYes (if you reinvest in another primary residence within 2 years)No
Over-65 exemptionYes (total)Only if reinvested in life annuity (up to €240,000)
Gain taxation19-28% (if no exemption)19-28%

Real impact: if you buy a flat for €200,000 and sell for €300,000, the €100,000 gain is taxed at 23-28%. If it's your primary residence and you reinvest, that tax is €0. We're talking about a €23,000-28,000 difference.

4. Wealth Tax

Your primary residence has an exemption of up to €300,000 in Spain's Wealth Tax. A second home is taxed from the first euro (above the general exempt minimum of €700,000).

Practical scenarios

Scenario 1: renting your primary residence while traveling

You live in your Madrid flat 9 months per year and rent it as a vacation rental for 3 summer months while traveling.

  • Classification: primary residence (you still reside most of the year)
  • Taxation: real estate capital income for the 3 rented months
  • Imputed income: €0 (it's your primary residence)
  • Deductible expenses: 3/12 proportion of fixed costs + 100% of rental variable costs
  • Tax advantage: no imputation for the 9 months you live there

Scenario 2: beach second home, seasonal rental

You have an apartment on the Costa Brava that you use in August and rent from May to July and September-October (5 months).

  • Classification: second home
  • Taxation: rental income for the 5 rented months
  • Imputed income: yes, for the remaining empty months (November-April; August personal use doesn't generate imputation, but empty months do)
  • Deductible expenses: 5/12 proportion of fixed costs + 100% of variable costs
  • Additional cost: imputed income for empty months

Important nuance: days of personal use (August in this example) don't generate imputed income, but also don't allow expense deduction. Only empty days (neither rented nor personal use) generate imputation.

Scenario 3: flat purchased exclusively for vacation rental

You buy a flat as an investment and dedicate it 100% to vacation rental.

  • Classification: second home (it's not your domicile)
  • Taxation: rental income for all rented days
  • Imputed income: yes, for empty days between bookings
  • Deductible expenses: proportion based on rented days vs. total
  • Strategy: maximize occupancy not just for income, but to minimize imputed income

Can I "convert" my second home into a primary residence?

Technically yes, if you move in and meet the effective residence requirements (3 years minimum). But it has implications:

  • Your previous primary residence becomes a second home
  • You lose the capital gains exemption on the previous one if you sell after 2 years without having resided
  • You need to register your address and demonstrate real residence

This isn't a strategy you can use opportunistically. The tax authority cross-references address registration, utility consumption, and other indicators to verify real residence.

Platform implications

Airbnb and Booking ask whether the property is your primary residence. This affects:

  • Listing type: some platforms distinguish between "entire place" and "room in host's home"
  • Insurance: host protection policies may vary depending on whether you live in the property
  • Local regulation: some autonomous communities have different requirements for primary residence vs. second home

Implications by autonomous community

Tourism regulation varies by community, and some explicitly distinguish between primary residence and second home:

  • Catalonia: Barcelona's moratorium primarily affects second homes dedicated to tourism
  • Balearic Islands: more severe restrictions for second homes in saturated areas
  • Madrid: doesn't formally distinguish, but coexistence regulations may apply differently
  • Andalusia: the tourism registry doesn't distinguish, but technical requirements apply equally
  • Valencia: new 2025-2026 restrictions that affect second homes in the historic center more

Always check your specific community's regulations (guide by autonomous community).

Summary: when each option is better

FactorPrimary residenceSecond home
Imputed income on empty daysNoYes
Capital gains exemption (reinvestment)YesNo
Wealth Tax exemption (€300K)YesNo
Mortgage deduction (pre-2013)YesNo
Flexibility of useLimited (must reside)Full
100% rental dedicationNot viableYes

Practical conclusion: if you can maintain primary residence status (residing most of the year), the tax advantages are significant. If the property is exclusively dedicated to vacation rental, accept it as a second home and maximize occupancy to minimize imputed income.

How Autoregistro fits in

Regardless of whether you rent your primary residence or a second home, the obligation to register guests is the same. Autoregistro manages that process automatically — data collection, document verification, submission of traveler reports to SES Hospedajes — whether you rent 3 months per year or 12. Additionally, by having a complete record of all stays with exact dates, you have the documentation needed to justify to the tax authority which days were effectively rented versus empty or personal use.

Frequently asked questions

Do I lose primary residence status if I rent it as a vacation rental part of the year? No, as long as you continue residing there most of the year and maintain your tax domicile there. Renting it temporarily doesn't change its classification.

What happens with imputed income if my second home is empty between bookings? Days when the property is neither rented nor in personal use generate imputed real estate income (1.1-2% of cadastral value, proportional to empty days). It's a tax cost many owners don't account for.

Can I deduct the mortgage on my second home dedicated to vacation rental? Mortgage interest is deductible, proportional to rented days. Principal repayment is not deductible, but you can apply property depreciation (3% of construction value).

Is it better tax-wise to hold the property in a company? It depends on income volume and number of properties. For 1-2 properties with moderate income, personal taxation is usually more favorable. From 3-4 properties or high income, a company can optimize the tax burden. Consult an advisor.

How do I prove to the tax authority which days I rented vs. which were empty? With platform booking records, traveler reports submitted to authorities, and declared income. Having a registration system like Autoregistro that documents each stay with exact dates greatly facilitates this justification.

Related posts

Tax document with income and expense charts for a vacation rental in Spain

Vacation rental taxes in Spain: income tax, VAT, and deductible expenses

Complete guide to how vacation rental income is taxed in Spain: which taxes apply, what expenses you can deduct, how part-year rental affects your return, and what changes if you're a non-resident.

Spanish vacation rental apartment with floating icons of deductible expenses: receipts, cleaning, repairs, insurance

What Expenses Can You Deduct from Vacation Rental Income in Spain?

Complete list of tax-deductible expenses for vacation rental owners in Spain: utilities, cleaning, repairs, insurance, depreciation, platform commissions, and how to calculate the deductible proportion.

Globe with Spain highlighted connected to a vacation rental apartment, passport and tax document

Vacation Rental in Spain as a Non-Resident: Taxes, Obligations, and Tax Traps

Complete tax guide for non-resident property owners renting vacation homes in Spain: IRNR vs IRPF, tax rates, deductible expenses, withholdings, double taxation treaties, and registration obligations.

Spanish Mediterranean house with green checkmark and legal gavel next to a map of Spain

Is It Legal to Rent My Property as a Vacation Rental in Spain?

Complete answer to the most searched question by property owners: yes it's legal, but with conditions. Licenses, registration, regional regulations, homeowners' associations, and the exact steps to operate within the law.

Ready to automate your guest registration?

Create your account and start streamlining SES Hospedajes compliance for your Spanish rentals.

Get started

© 2026 Autoregistro. All rights reserved.