When someone tells you that an apartment in Madrid costs €350,000, they're actually giving you only half the information. Between taxes, notary fees, and registration, the real cost can exceed €390,000. In this guide, we break down each tax expense so you don't get any surprises on signing day.

The tax you pay depends on the type of property

In Spain there is a fundamental difference: you don't pay the same tax if you buy a second-hand property as if you buy a new build. They are two completely different taxes.

Second-hand property: ITP (Property Transfer Tax)

The ITP is a tax transferred to the autonomous communities, which means the percentage varies depending on where you buy. In the Madrid region the general rate is 6%, one of the lowest in Spain—a direct tax benefit for the investor—.

Autonomous CommunityITP RateNotes
Madrid6 %The lowest in Spain for investors
Andalusia7 %Recently reduced to boost the market
Catalonia / Valencia10 %Higher rates for standard properties

Practical example: if you buy a second-hand apartment in Madrid for €300,000, you will pay €18,000 in ITP.

New build: VAT + AJD (Stamp Duty on Legal Documents)

If you buy directly from the developer, you don't pay ITP but VAT at 10% (or 4% if it's subsidized housing). To this you must add the AJD, which in Madrid is 0.75%, one of the most competitive in all of Spain. Practical example: new build apartment in Madrid for €300,000 → €30,000 VAT + €2,250 AJD = €32,250 in taxes.

Notary, registration, and management fees

These expenses are regulated by tariff and depend on the property price. For a €300,000 property you can estimate:

  • Notary: between €800 and €1,200.
  • Property Registration: between €400 and €700.
  • Management (tax and registration processing): between €300 and €600.
  • Total operational costs: approximately 1–1.5% of the purchase price.

Additional costs if you finance with a mortgage

Since the 2019 Mortgage Law, the bank assumes the AJD of the mortgage. The buyer only pays the appraisal (€300–600) and, where applicable, the loan origination fee, which in many banks is already 0%.

Annual tax obligations for non-residents: IRNR

Once you are the owner, if you don't have tax residency in Spain you must file the IRNR model 210 each year. If the property is empty or for personal use, you will pay on 1.1% or 2% of the cadastral value. For non-EU citizens (most LATAM investors), the tax rate is 24% on gross income with no possibility of deducting expenses. If you rent it out, you will be taxed on actual rental income. Note: the seller of the property assumes Municipal Capital Gains Tax (IIVTNU) and Personal Income Tax on the capital gain obtained. The buyer does not pay these taxes.

Summary: what does it really cost me to buy in Madrid?

ConceptAmount (on €300,000)Notes
Property price€300,000
ITP (second-hand, Madrid)€18,000 (6 %)Or VAT 10% + AJD 0.75% if new build
Notary + Registration + Management~€2,500Tariffs regulated by law
Total real cost (second-hand)~€320,500≈ +6.8% on purchase price
Total real cost (new build)~€333,750≈ +11.25% on purchase price

Frequently Asked Questions (FAQ)

Are taxes the same throughout Spain?

No. The ITP varies between 6% (Madrid) and 10–11% in other regions. New build VAT is uniform: 10% across the entire country.

When do you have to pay the taxes?

You have 30 business days from the deed date to pay the ITP or VAT+AJD. If you are late, the tax authority applies surcharges and interest.

Are there tax benefits to buying in Madrid?

Yes. Madrid offers ITP and AJD rates significantly lower than other regions, resulting in direct savings of thousands of euros on your initial investment.

Can I deduct anything as a foreign investor?

It depends. Non-EU residents can deduct maintenance expenses, community fees, insurance, and mortgage. Non-residents from outside the EU are taxed on the gross amount without deductions.

What is IBI?

IBI (Property Tax) is an annual municipal tax paid by all property owners in Spain. The amount depends on the cadastral value set by the corresponding City Council.