Costs of buying a home in Madrid
In the Community of Madrid, a resale flat pays 6% transfer tax (ITP), with a 10% reduction of the tax due if it's your main home and it's worth up to €250,000, and 4% if you hold a large family certificate. A new build pays 10% VAT and stamp duty (AJD) on the deed, between 0.4% and 0.75% depending on the value (0.2% on some public protection housing). The 4% rate for under-40s is a bill for 2027: it does not apply today.
Resale homes: transfer tax
- General
- 6%, on any purchase of a resale home.Legislative Decree 1/2010, art. 28
- Main home worth up to €250,000
- 6%, with a 10% reduction of the tax due: an effective 5.4%. The value includes the garage and outbuildings bought with it.Legislative Decree 1/2010, art. 30 bis
- Under 35 in a municipality of fewer than 2,500 inhabitants
- 100% reduction: you pay no ITP. Main home worth up to €250,000, in a municipality with fewer than 2,500 inhabitants according to the INE on 1 January of the previous year.Legislative Decree 1/2010, art. 30 bis
- Large family certificate holder
- 4%, on the family's main home. If the family owned another main home, it has to be sold within the two years before or after. It can't be combined with the 10% reduction.Legislative Decree 1/2010, arts. 29 and 30 bis
Madrid's ITP has no specific rate for disability or for resale officially protected housing: they pay 6%, with the 10% reduction if they meet its requirements.
- Main home
- These benefits require you to live in the home within twelve months of the purchase and for three years in a row. If not, a supplementary self-assessment is filed in the following month at the general rate, with late-payment interest.Legislative Decree 1/2010, art. 30 bis.3
- What it's calculated on
- On the Cadastre reference value or the price in the deed, whichever is higher. Check the reference value on the Cadastre website before signing the deposit contract.Royal Legislative Decree 1/1993, art. 10.2
- Deadline
- Thirty working days from signing the deed to file form 600 and pay.Royal Decree 828/1995, art. 102.1
The bill for 2027: 4% for under-40s
In October 2026 the Governing Council approved the 2027 Budget Bill, which is before the Madrid Assembly. It is a bill and does not apply today. If it is passed as it stands, from 1 January 2027:
- ITP, resale, under 40
- Today, 6%. In the bill, 4%, on homes worth up to €450,000.
- AJD, new build, under 40
- Today, 0.75% if the home is worth more than €180,000. In the bill, 0.4%, on homes worth up to €450,000.
- Requirements in the bill
- Not having turned 40 on the day of the deed, the home being your main home, and selling any previous main home you own within the two years before or after.
- If two people buy
- If only one is under 40, the 4% applies to their share. It can't be combined with other ITP reductions for a main home.
Until the law is published in the BOCM, the rate is 6%.
New builds: VAT and AJD
Buying a brand-new home from the developer pays VAT instead of ITP, plus AJD on the deed, which in Madrid goes by value bands.
- Public protection housing of up to 90 m² usable, without exemption
- 0.2%Legislative Decree 1/2010, art. 32.1
- Up to €120,000
- 0.4%Legislative Decree 1/2010, art. 32.1
- From €120,000 to €180,000
- 0.5%Legislative Decree 1/2010, art. 32.1
- More than €180,000
- 0.75%Legislative Decree 1/2010, art. 32.1
- Main home worth up to €250,000
- 10% reduction of the AJD due.Legislative Decree 1/2010, art. 38 bis
- Under 35 in a municipality of fewer than 2,500 inhabitants
- Main home worth up to €250,000: 100% reduction of the AJD.Legislative Decree 1/2010, art. 38 bis
- Large family certificate holder
- Main home: 95% reduction of the AJD. It can't be combined with the 10% one.Legislative Decree 1/2010, art. 38 ter
- VAT
- 10% across Spain, and 4% on special-regime or publicly promoted protected housing bought from the developer; from 1 December 2026, also on protected housing with permanent or indefinite classification.Law 37/1992, art. 91 · Royal Decree-law 29/2026, ratified
- First transfer of officially protected housing
- With final classification, the deed is exempt from AJD.Royal Legislative Decree 1/1993, art. 45.I.B.12.c
Notary, land registry and agency
Notary and land registry fees follow a national scale, the same across Spain. On €300,000:
- Notary, purchase deed
- €388 on the fee scale, with the 5% discount; €470 with 21% VAT.Royal Decree 1426/1989
- Land Registry, registration
- €205 on the fee scale, with the 5% discount; €249 with 21% VAT.Royal Decree 1427/1989
- Pages, copies and notes
- On top of that come the notary's pages and copies and the registry notes, which depend on each deed. Ask for a quote before signing.
- Who pays the notary
- The deed, the seller; the first copy, the buyer, unless agreed otherwise. Check what your deposit contract says.Civil Code, art. 1455
- Gestoría (administrative agent)
- It has no official fee scale. If you hire one, the price is not regulated.
The mortgage: who pays what
It's set by Law 5/2019 on real estate credit, and the bank has paid the mortgage AJD since November 2018.
- Valuation
- You.Law 5/2019, art. 14.1.e
- Notary for the loan deed
- The bank.Law 5/2019, art. 14.1.e
- Copies
- Whoever asks for them.Law 5/2019, art. 14.1.e
- Registering the mortgage
- The bank.Law 5/2019, art. 14.1.e
- Gestoría (administrative agent)
- The bank.Law 5/2019, art. 14.1.e
- Mortgage AJD
- The bank.Royal Legislative Decree 1/1993, art. 29
The valuation has no official price: ask the bank for it with the offer.
How much mortgage you can getThe example: a €300,000 flat in Carabanchel
Laura buys a resale flat for €300,000, with a mortgage. As it's over €250,000, the 10% reduction doesn't apply.
Valuation and gestoría (administrative agent), as quoted.
- Under 40, if the bill is passed
- From 2027 and only if the law is passed: €12,000 of ITP (4%), €12,719 with the fees. It does not apply today.
- If it cost €240,000
- As a main home: €14,400 of tax, minus 10%, €12,960.
- If it were a new build
- €30,000 of VAT plus €2,250 of AJD (0.75%), €32,250. With a large family, the AJD drops to €112.50. With the 2027 bill and under 40, the AJD would be €1,200 (0.4%).
- The same flat in Catalonia
- Pays €30,000 of ITP.
Get verified once. Open every door.
Your documents, only for whoever you choose. We stay with you until you have the keys.
Building your profile and getting verified is free.
- You upload your documents only once.
- Agencies see your verified badge, not your documents.
- Your documents are only seen by the agency you give permission to, and you can withdraw it.
What people ask most about the costs of buying in Madrid.
How much is ITP in Madrid in 2026?
6% of the value of the home. If it's your main home and it's worth up to €250,000, the tax due has a 10% reduction. Large families pay 4%.
Do under-35s pay less ITP in Madrid?
Today, only if they buy their main home worth up to €250,000 in a municipality of fewer than 2,500 inhabitants: there they pay no ITP. In the city of Madrid they pay 6%, with the 10% reduction if the home is worth up to €250,000.
Is the 4% rate for under-40s in force in Madrid?
No. It's a bill: it's in the 2027 Budget Bill, which provides for it to come into force on 1 January 2027, with a limit of €450,000. It will only apply if the law is passed and published in the BOCM; until then, the rate is 6%.
How much do you pay to buy a new-build flat in Madrid?
10% VAT and AJD on the deed: 0.75% if the home is worth more than €180,000, 0.5% between €120,000 and €180,000 and 0.4% below that. On a €300,000 flat, €32,250 in total.
What reduction do large families get in Madrid?
4% ITP on resale homes, and a 95% reduction of AJD on new builds, if the home is to be the family's main home and, if the family owned another, it is sold within the two years before or after.
Is there a disability reduction in Madrid's ITP?
Madrid's ITP has no specific rate for disability. The general 6% applies and, if it's your main home worth up to €250,000, the 10% reduction.
How long do I have to pay ITP in Madrid?
Thirty working days from signing the deed, with form 600. Without the proof of payment, the Land Registry won't register the purchase.
Who pays the mortgage costs?
The bank pays the notary for the loan deed, registering the mortgage, the gestoría (administrative agent) and the mortgage AJD. You pay the valuation and any copies you ask for.
Do I pay ITP on the price or on the reference value?
On whichever is higher. If the Cadastre reference value is above the price in the deed, you're taxed on it.
How much is the notary for a €300,000 flat?
The fee scale gives €388 with the mandatory discount, €470 with VAT, plus pages and copies. By law the seller pays it and the buyer pays the first copy, unless agreed otherwise.
Sources
- Legislative Decree 1/2010 of the Community of Madrid, consolidated text on ceded taxes, art. 28 (consolidated text: https://www.boe.es/buscar/act.php?id=BOCM-m-2010-90068): "Con carácter general, en la transmisión de inmuebles, así como en la constitución y en la cesión de derechos reales que recaigan sobre los mismos, excepto en los derechos reales de garantía, se aplicará el tipo del 6 por 100."
- Legislative Decree 1/2010, art. 29.1: "Se aplicará el tipo impositivo reducido del 4 por 100 a la transmisión de un inmueble que vaya a constituir la vivienda habitual de una familia numerosa" · "c) Que, en el supuesto de que la anterior vivienda habitual fuera propiedad de alguno de los titulares de la familia numerosa, la misma se venda en el plazo de dos años anteriores o posteriores a la adquisición de la nueva vivienda habitual."
- Legislative Decree 1/2010, art. 30 bis, as worded by Law 5/2024 (in force on 29 November 2024; BOE-A-2025-3303): "Las personas físicas que adquieran un inmueble que vaya a constituir su vivienda habitual podrán aplicar una bonificación del 10 por ciento de la cuota tributaria en la modalidad de 'Transmisiones Patrimoniales Onerosas' derivada de dicha adquisición. La bonificación será del 100 por cien cuando la vivienda habitual sea adquirida por un contribuyente menor de 35 años y esté situada en un municipio con una población inferior a los 2.500 habitantes a 1 de enero del ejercicio anterior al del devengo de la bonificación, de acuerdo con los datos publicados por el INE." · "La bonificación será aplicable, exclusivamente, cuando el valor del inmueble adquirido sea igual o inferior a 250.000 euros." · "La bonificación contenida en este artículo será incompatible con la aplicación del tipo impositivo a que se refiere el artículo 29." Art. 30 bis.3: "En el caso de que la vivienda adquirida no llegue a habitarse efectivamente en el plazo de doce meses desde su adquisición o construcción o no se habite efectivamente durante un plazo mínimo continuado de tres años [...] el adquiriente deberá presentar, en el plazo de un mes desde que se produzca el incumplimiento, una autoliquidación complementaria aplicando el tipo impositivo general"
- Legislative Decree 1/2010, art. 32.1: "a) Se aplicará el tipo del 0,2 por 100 cuando se transmitan viviendas de protección pública reguladas en la Ley 6/1997 [...] con una superficie útil máxima de 90 metros cuadrados, que no cumplan los requisitos para gozar de la exención en esta modalidad del Impuesto. [...] b) Se aplicará el tipo del 0,4 por 100 cuando se transmitan viviendas cuyo valor real sea igual o inferior a 120.000 euros. c) Se aplicará el tipo del 0,5 por 100 cuando se transmitan viviendas cuyo valor real sea igual o inferior a 180.000 euros y superior a 120.000 euros. d) Se aplicará el tipo del 0,75 por 100 cuando se transmitan viviendas cuyo valor real sea superior a 180.000 euros."
- Legislative Decree 1/2010, arts. 38 bis.1 and 38 ter.1: "podrán aplicar una bonificación del 10 por cien de la cuota tributaria gradual en la modalidad de 'Actos Jurídicos Documentados' derivada de las primeras copias de escrituras que documenten tales adquisiciones. La bonificación será del 100 por cien cuando la vivienda habitual sea adquirida por un contribuyente menor de 35 años y esté situada en un municipio con una población inferior a los 2.500 habitantes" (limit: "igual o inferior a 250.000 euros") · "Los sujetos pasivos que sean titulares de una familia numerosa y que adquieran inmuebles que vayan a constituir su vivienda habitual aplicarán una bonificación del 95 por 100 de la cuota tributaria gradual en la modalidad de 'Actos Jurídicos Documentados'"
- Legislative Decree 1/2010, arts. 28, 29, 30, 30 bis, 30 ter, 30 quáter and 30 quinques: the ITP rates and reductions subsection contains no specific rate for disability or for resale officially protected housing.
- Bill on the General Budget of the Community of Madrid for 2027, book 1, articles, second final provision, amending Legislative Decree 1/2010 (new arts. 29 bis and 32.3), before the Madrid Assembly; it is a bill and does not apply (https://www.comunidad.madrid/docs/2026-10/2027-proyecto-libro-01-articulado.pdf): "Artículo 29 bis. Tipo impositivo reducido para la adquisición de vivienda habitual por menores de 40 años. 1. Se podrá aplicar el tipo impositivo reducido del 4 por ciento a la transmisión de un inmueble cuyo valor, incluidos los anejos y plazas de garaje transmitidos conjuntamente con aquel, no supere los 450.000 euros, cuando el sujeto pasivo no haya cumplido los 40 años de edad en la fecha del devengo del impuesto" · "Cuando la adquisición se realice por varios contribuyentes, el tipo reducido se aplicará exclusivamente a la parte de la base imponible correspondiente a quienes cumplan los requisitos previstos en este artículo." · "La aplicación del tipo impositivo reducido previsto en este artículo será incompatible con la aplicación de cualquier otro tipo impositivo reducido o bonificación previsto en este Texto Refundido para la adquisición de vivienda habitual en la modalidad de 'Transmisiones Patrimoniales Onerosas'." · "3. Será aplicable el tipo reducido del 0,4 por 100 a las primeras copias de escrituras y actas notariales que documenten la transmisión de un inmueble cuyo valor, incluidos los anejos y plazas de garaje transmitidos conjuntamente con aquel, no supere los 450.000 euros, cuando el sujeto pasivo no haya cumplido los 40 años de edad en la fecha del devengo del impuesto" · "Disposición final cuarta. Entrada en vigor. La presente ley entrará en vigor el día 1 de enero de 2027." Community of Madrid, 30 October 2026: "La Comunidad de Madrid registra en la Asamblea los cuartos y últimos Presupuestos de la Legislatura, los más altos de su historia" (https://www.comunidad.madrid/noticias/2026/10/30/comunidad-madrid-registra-asamblea-cuartos-ultimos-presupuestos-legislatura-altos-su-historia).
- Royal Decree 828/1995, ITP and AJD Regulations, art. 102.1 (https://www.boe.es/buscar/act.php?id=BOE-A-1995-15071): "El plazo para la presentación de las declaracionesliquidaciones, junto con el documento o la declaración escrita sustitutiva del documento, será de treinta días hábiles a contar desde el momento en que se cause el acto o contrato." Community of Madrid, Atención al contribuyente, Transmisiones Patrimoniales Onerosas (https://www.comunidad.madrid/atencion-contribuyente/transmisiones-patrimoniales-onerosas): "El plazo de presentación es de 30 días hábiles a contar desde el momento que se formalice el acto o contrato gravado, esto es, la fecha de la escritura o del documento judicial, administrativo o privado."
- Royal Legislative Decree 1/1993, art. 54.1: "Ningún documento que contenga actos o contratos sujetos a este impuesto se admitirá ni surtirá efecto en Oficina o Registro Público sin que se justifique el pago de la deuda tributaria a favor de la Administración Tributaria competente para exigirlo, conste declarada la exención por la misma, o, cuando menos, la presentación en ella del referido documento."
- Royal Legislative Decree 1/1993, consolidated text of the ITP and AJD, art. 10.2 (https://www.boe.es/buscar/act.php?id=BOE-A-1993-25359): "No obstante, si el valor del bien inmueble declarado por los interesados, el precio o contraprestación pactada, o ambos son superiores a su valor de referencia, se tomará como base imponible la mayor de estas magnitudes."
- Royal Legislative Decree 1/1993, art. 29, amended by Royal Decree-law 17/2018: "Cuando se trate de escrituras de préstamo con garantía hipotecaria, se considerará sujeto pasivo al prestamista."
- Royal Legislative Decree 1/1993, art. 45.I.B.12.c: "Las escrituras públicas otorgadas para formalizar la primera transmisión de viviendas de protección oficial, una vez obtenida la calificación definitiva."
- Law 37/1992, on Value Added Tax, arts. 91.One.1.7 and 91.Two.1.6 (https://www.boe.es/buscar/act.php?id=BOE-A-1992-28740): "6.º Las viviendas calificadas administrativamente como de protección oficial de régimen especial o de promoción pública, así como las viviendas protegidas sujetas a calificación permanente o indefinida, cuando las entregas se efectúen por sus promotores". BOE note: "Se modifican, con efectos de 1 de diciembre de 2026, los apartados Uno.2.2º, Uno.2.10º y Dos.1.6º por el art. 7.2 a 4 del Real Decreto-ley 29/2026, de 6 de octubre." Validation: BOE-A-2026-23755, of 13 November 2026.
- Law 5/2019, regulating real estate credit agreements, art. 14.1.e (https://www.boe.es/buscar/act.php?id=BOE-A-2019-3814): "i. Los gastos de tasación del inmueble corresponderán a prestatario y los de gestoría al prestamista. ii. El prestamista asumirá el coste de los aranceles notariales de la escritura de préstamo hipotecario y los de las copias los asumirá quien las solicite. iii Los gastos de inscripción de las garantías en el registro de la propiedad corresponderán al prestamista."
- Civil Code, art. 1455: "Los gastos de otorgamiento de escrituras serán de cuenta del vendedor, y los de la primera copia y los demás posteriores a la venta serán de cuenta del comprador, salvo pacto en contrario."
- Royal Decree 1426/1989, notaries' fee scale, and Royal Decree 1427/1989, registrars' fee scale, annex I, number 2 (https://www.boe.es/buscar/act.php?id=BOE-A-1989-28111 and https://www.boe.es/buscar/act.php?id=BOE-A-1989-28112), with the discount: "se aplicará una rebaja del 5 por 100 del importe del arancel". Calculation on €300,000: notary €388.01 (€469.50 with VAT); registry €205.40 (€248.54 with VAT).