Free valuation

How much is your flat in Madrid worth?

Get an instant market range by district and area, and download your free valuation report in PDF.

Value my home for free
What taxes are paid when buying a home in Madrid
Taxation · 5 min

What taxes are paid when buying a home in Madrid

Buying a home in Madrid involves paying taxes that vary depending on whether it is a new-build or a second-hand property. We explain what they are and how they affect your purchase budget.

One of the aspects that raises the most questions when buying a home is the taxation associated with the transaction. The taxes payable are not always the same: they depend on whether the property is new-build or second-hand, and the amount can make up a very significant part of the total budget. Below we explain, in an indicative and general way, how this taxation works so that you can plan with confidence your compra de piso en Madrid.

Second-hand property: transfer tax

When the home you buy has already had a previous owner, the transaction is taxed under the tax on onerous transfers of assets, which falls under regional jurisdiction. This tax is calculated on the reference value or the transaction value, as appropriate, and its rate may vary depending on the autonomous community and the circumstances of the buyer or the property. It is the most important expense within the set of gastos de comprar una vivienda de segunda mano.

New-build property: VAT and stamp duty

If the property is new-build, that is, bought directly from the developer for the first time, the transaction is not subject to the above tax, but rather to the relevant VAT for housing, plus stamp duty, which applies to the execution of the public deed. This difference in taxation is one of the reasons why it is important to be very clear from the outset whether you are buying new-build or second-hand.

The role of the cadastral reference value

For some years now, the basis on which these taxes are calculated usually takes as a reference the reference value published by the Cadastre, and not only the agreed price between the parties. It is important to know this value before completing the transaction, as if the deeded price is lower than that reference value, the Administration may use the latter as the taxable base.

Other taxes related to housing

In addition to the taxes on the purchase itself, as the new owner you will also assume other levies linked to the ownership of the property, such as the Property Tax (IBI), which is municipal and paid annually, and, where applicable, the waste collection tax or other local taxes, depending on the relevant council.

Reliefs and special situations

There are certain reliefs or reduced rates that may apply depending on circumstances such as the buyer's age, whether it is a main residence, a large family, or other specific situations set out in regional regulations. These reliefs change fairly frequently and depend on specific requirements, so it is essential to always consult a tax adviser or management firm before assuming that you are entitled to any of them.

Why it is worth planning the tax side before signing

Calculating the amount of these taxes accurately before signing the contrato de arras allows you to avoid last-minute strain and ensure that your financing, whether from your own savings or a hipoteca, truly covers the total cost of the transaction, not just the sale price.

Professional support makes all the difference

Given that the taxation of a property sale depends on many factors and can change over time, at UBICASA we always recommend having specialist tax advice for your specific case. Our team can help you understand the general process and coordinate with the appropriate professionals. Explore our available propiedades in Madrid or visit the compradores section to find out how we support you at every stage. If you have any questions about your specific transaction, contacta con nosotros and we will guide you from the very start.