Buying property in Spain can be an exciting investment, whether you are purchasing a holiday home, rental property, or permanent residence. However, understanding the taxes is just as important as choosing the right location and property.
This Spain real estate tax guide explains the main taxes that may apply when you buy, own, rent, or sell Spanish property. The exact amount depends on factors such as the property type, purchase price, location, and whether you are a Spanish resident or non-resident.
Spain’s tax system includes national, regional, and local taxes so rules can differ between autonomous communities. Always check the rules that apply to the specific property and transaction.
Understanding Real Estate Taxes in Spain

What Are Real Estate Taxes?
Real estate taxes are charges connected with buying, owning, renting, or selling property.
Some taxes are paid only once, such as certain purchase taxes. Others may apply every year, while rental income and property sales can create additional tax obligations.
The main categories include:
- Purchase taxes
- Annual property taxes
- Rental income taxes
- Capital gains and selling taxes
- Inheritance and gift taxes
Understanding these categories before signing a property contract can help you prepare a realistic budget.
Who Pays Property Taxes in Spain?
Both Spanish residents and foreign property owners can have Spanish tax obligations.
A foreign buyer does not automatically avoid Spanish property taxes. If you own property in Spain, you may have tax responsibilities even if you live permanently in another country.
The tax treatment can depend on your residency status, property use, income, and location.
Why Tax Rules Vary by Region
Spain is divided into autonomous communities, and regional legislation affects some property taxes.
For example, purchase-related taxes and inheritance or wealth-related rules can differ depending on where the property is located.
This means a property in Andalusia, Catalonia, Madrid, Valencia, or another region may have different tax considerations.
Don’t assume a rate you see for one Spanish region automatically applies nationwide.
Taxes When Buying Property in Spain
Buying a property involves more than the advertised purchase price. Depending on the property, buyers may need to budget for taxes, professional services, registration, and other transaction expenses.
Transfer Tax (ITP)
Impuesto de Transmisiones Patrimoniales (ITP) generally applies to purchases of existing or resale properties.
The buyer normally pays ITP, and the applicable rate is determined under regional rules.
Rates can vary by autonomous community and may also depend on the property value or the buyer’s circumstances.
Because of these differences, identify the property’s autonomous community before estimating your purchase budget.
VAT and Stamp Duty
Newly built properties can be subject to VAT (IVA) rather than the transfer tax normally associated with resale property.
Stamp Duty, known as AJD, may also apply to certain property transactions and documents.
The applicable treatment depends on the transaction, property, and regional rules.
Other Purchase Costs
Taxes are only one part of the buying process.
You may also encounter costs related to:
- Notary services
- Land registration
- Legal assistance
- Property inspections
- Mortgage arrangements
- Administrative services
Include these expenses when calculating the true cost of purchasing property.
Purchase Cost Overview
Tax or Cost When It AppliesCalculation BasisUsually Paid By
ITP Many resale-property purchases Property transaction/value rules Buyer
VAT (IVA) Certain new properties Purchase price Buyer
AJD Certain taxable documents/transactions Regional rules Usually buyer, depending on transaction
Notary Property transactions Service/transaction Usually buyer
Land Registry Registering ownership Registration requirements Usually buyer
Legal Fees When professional legal help is used Agreed fee Buyer
Annual Property Taxes and Ownership Costs
Buying the property is only the beginning. Owners should also plan for recurring expenses.
Property Tax (IBI)
IBI, or Impuesto sobre Bienes Inmuebles, is a local property tax.
It is generally based on the property’s cadastral value, rather than simply using the amount you paid for the property.
The local authority determines the applicable rate within the legal framework.
The property owner normally pays IBI, and rates can vary considerably between municipalities.
When comparing properties, checking the existing IBI bill can give you a better idea of the property’s annual tax burden.
Non-Resident Income Tax
Non-resident property owners may have Spanish tax obligations connected with their property even when they do not rent it.
The treatment can differ depending on whether the property generates rental income or is used personally.
This is particularly important for foreign owners who purchase a Spanish holiday home but spend only part of the year there.
Wealth and Other Regional Taxes
Some property owners may also need to consider wealth-related taxation and other regional taxes.
The rules can depend on the taxpayer’s circumstances and the autonomous community.
Thresholds, exemptions, deductions, and rates can change, so investors should avoid relying on old figures when making financial decisions.
Taxes on Rental Property in Spain

Rental Income Tax
If you rent out a Spanish property, Spain may tax the rental income.
Treatment can differ for residents and non-residents, and international tax treaties may also apply.
For foreign owners, it is important to understand both Spanish obligations and how their country of residence may treat the income.
Deductible Expenses
Depending on your tax situation, certain property-related expenses may be relevant when calculating taxable rental income.
Potentially relevant expenses can include items such as:
- Certain maintenance and repair costs
- Property management expenses
- Insurance
- Applicable interest expenses
- Certain professional fees
Not every expense is automatically deductible. Keep invoices, receipts, contracts, and payment records so that you can properly support your tax calculations.
Tourist and Short-Term Rentals
Holiday rentals can involve additional requirements.
Regional and local authorities may have rules covering licenses, registration, occupancy, safety, and operating tourist accommodation.
Tax treatment can also differ depending on how you operate the property.
If you plan to use your Spanish property as a short-term rental, check the rules for the specific municipality and autonomous community before advertising it.
Record-Keeping for Landlords
Good records make tax management much easier.
Keep documentation for:
Rental income + property expenses + invoices + contracts + tax filings + purchase and improvement records.
Organized records can also help when you eventually sell the property and need to calculate taxable gain.
Taxes When Selling Spanish Property
Selling a property can create several tax considerations.
Capital Gains Tax
Capital gains tax relates to the gain you make when you sell an asset.
In simple terms, the calculation generally begins by comparing the relevant acquisition value with the relevant selling value.
However, the calculation can involve more than simply subtracting the original purchase price from the sale price.
Certain qualifying costs and adjustments may affect the taxable gain.
Purchase expenses, eligible improvements, selling expenses, and other factors may be relevant depending on the circumstances.
Plusvalía Municipal
Plusvalía Municipal is a local tax associated with an increase in the value of urban land.
It is separate from the capital gain calculation described above.
The applicable rules depend on the municipality and the property circumstances.
Because it is a local tax, homeowners should check the requirements with the relevant local authority when preparing for a sale.
Tax Considerations for Non-Residents
Non-resident sellers can have additional Spanish tax obligations.
A withholding mechanism may also apply when the seller is a non-resident, followed by the appropriate tax reporting or refund process depending on the seller’s final liability.
This makes professional preparation especially useful for foreign owners selling Spanish property.
Managing Tax Liability
Legitimate deductions, adjustments, or exemptions may apply, depending on the taxpayer and transaction.
Keep documentation from the beginning of ownership.
Purchase contracts, invoices for qualifying improvements, professional fees, and selling expenses may become important when calculating the final tax position.
Spain Property Tax Rules for Foreign Buyers
Buying Property as a Foreigner
Foreign nationals can purchase real estate in Spain, but buying property does not mean that all tax obligations disappear.
A foreign owner may have Spanish tax responsibilities connected with the purchase, ownership, rental income, and eventual sale.
Before buying, determine whether you will use the property as a home, holiday property, rental investment, or combination of uses.
Taxes for Non-Resident Owners
Non-resident owners should consider both annual ownership taxes and income-related obligations.
A rented property may be taxed differently from one used only for personal purposes.
Your country of residence may also tax foreign income or assets, making international tax planning relevant.
Inheritance and Gift Tax
Inheritance and gift taxes can become important when Spanish property is transferred to family members.
Spain’s regional rules can significantly affect how these transfers are treated.
If you plan to leave Spanish property to relatives or transfer ownership during your lifetime, consider the tax consequences before making the arrangement.
Common Mistakes Foreign Investors Should Avoid
Foreign buyers sometimes mistakenly treat Spain as though it has one simple property-tax rate.
Other common problems include failing to account for local taxes, missing filing requirements, and losing invoices for improvements.
Keep complete records from the day you purchase the property.
How to Calculate and Plan Spain Real Estate Taxes

Simple Property Tax Calculation Example
Imagine you purchase a Spanish property for €300,000.
Your initial budget should not stop at €300,000. You would need to determine whether the transaction involves ITP or VAT and whether AJD applies.
Then add the appropriate professional and registration costs.
After purchase, you may have annual costs such as IBI and potentially other taxes depending on your residency and property use.
If you later sell the property, you may need to consider capital gains and Plusvalía Municipal.
This example shows why the purchase price alone does not represent the full cost of property ownership.
Spain Real Estate Tax Checklist
Before completing a transaction, work through these basic questions:
- Where is the property located?
- Is it a new build or resale property?
- Which purchase taxes apply?
- What is the annual IBI?
- Will the property generate rental income?
- Are you a Spanish resident or non-resident?
- What taxes could apply when you sell?
- Have you kept all purchase and improvement records?
How to Stay Tax-Compliant
Tax compliance becomes much easier when you stay organized.
Keep property documents together and record important payment dates. Monitor changes to regional and national rules because tax legislation can change over time.
For straightforward situations, careful record-keeping may make administration easier. For complex purchases, rental businesses, international ownership, inheritance, or high-value investments, professional Spanish tax advice can help you understand your specific obligations.
Frequently Asked Questions
What is the Spain real estate tax guide for foreign buyers?
A Spain real estate tax guide explains the major taxes that can affect foreign buyers when purchasing, owning, renting, or selling Spanish property. Foreign owners can have Spanish tax obligations even when they live outside Spain.
How much tax do you pay when buying property in Spain?
The amount depends on whether the property is new or resale, its purchase price, and the autonomous community where it is located. Resale properties generally involve ITP, while qualifying new properties may involve VAT and potentially AJD.
Do foreigners pay property tax in Spain?
Yes. Foreign property owners can have Spanish tax obligations. The exact taxes depend on factors such as residency, property use, rental activity, and location.
What is IBI in Spain?
IBI is a local annual property tax. It is generally calculated using the property’s cadastral value and the applicable municipal rate.
Do non-residents pay tax on Spanish property?
Non-residents can have Spanish tax obligations relating to property ownership. Additional rules can apply when the property is rented or sold.
What taxes apply when selling a house in Spain?
A sale may involve capital gains taxation and potentially Plusvalía Municipal. Non-resident sellers may also face additional reporting and withholding requirements.
Is rental income from Spanish property taxable?
Generally, rental income from Spanish property can be subject to Spanish taxation. The rules differ according to residency and other circumstances.
Are property taxes different across Spanish regions?
Yes. Some property taxes and allowances depend on autonomous-community and local rules. This is why the property’s exact location matters.
What is the tax on newly built property in Spain?
Qualifying new-build purchases generally involve VAT rather than the transfer tax applied to many resale transactions. AJD may also apply depending on the transaction and regional rules.
What should foreign investors know about Spanish real estate taxes?
Foreign investors should consider taxes at every stage of ownership: purchase, annual ownership, rental activity, sale, and possible inheritance. Keeping detailed records and checking current regional rules can help prevent unexpected costs.
| Tax / Cost | Typical Rate / Cost | When It Applies |
|---|---|---|
| Property Transfer Tax (ITP) | Generally 6%–11%+ | Buying a resale property; rates vary by autonomous region. |
| VAT (IVA) | 10% for most new homes | Buying a newly built residential property from a developer |
| Stamp Duty (AJD) | Usually around 0.5%–1.5% | Certain property deeds and new-build purchases; regional rates apply. |
| Annual Property Tax (IBI) | Local rate varies | Paid annually by property owners |
| Non-Resident Income Tax | Depends on income/use | May apply to non-resident owners of Spanish property |
| Capital Gains Tax | Depends on gain and taxpayer status | Usually applies when selling property at a gain |
| Notary & Land Registry | Varies | Legal documentation and registration |
| Real Estate Agent Fee | Often 2%–5% + VAT | May apply when using an estate agent |
