Buying a Property in Spain: Complete Guide to Taxes, Legal Steps, and Hidden Costs
Buying a Home in Spain Without Surprises: Taxes, NIE Number, and Legal Guide
Are you dreaming of an apartment, villa or second home in Spain? Then it is important not only to find the right property and location, but also to know which taxes, legal obligations and additional costs come with the purchase.
Spain is particularly attractive for Belgian and Dutch buyers, but the buying rules are not the same everywhere. Taxes differ per autonomous region and urban planning regulations, coastal legislation and local points of attention can also vary widely. Whether you dream of a villa in Marbella, an apartment in Cartagena, a property in Orihuela Costa or a new-build apartment in Villajoyosa: good preparation prevents unpleasant surprises.
At ImmoMoment, we guide buyers in their search for real estate on the Spanish coast. With more than twenty years of experience in the real estate sector, we know that a successful purchase goes far beyond finding a nice property. Legal, tax and technical due diligence is at least as important. In which region are you buying a property? One of the most important things to understand is that Spain has different autonomous regions with their own powers regarding taxes and certain real estate rules.
For the four important real estate areas, these are the differences:
Costa del Sol – Andalusia, including Marbella, Estepona and Benahavís;
Costa Cálida – Region of Murcia, including Cartagena, Cabo de Palos, La Manga and Mar de Cristal;
Costa Blanca South – Valencian Community, including Orihuela Costa, La Zenia, Cabo Roig, Playa Flamenca and Villamartín;
Costa Blanca North – Valencian Community, including Villajoyosa, Benidorm, Finestrat and Altea.
That distinction is important, because the purchase tax on an existing property can differ significantly between these regions. Which taxes do you pay when buying a property? Purchase tax is one of the largest additional costs. It is essential to distinguish between a resale property and a new-build property that you buy directly from a property developer.
When buying a resale property from a private individual, you generally pay the Spanish transfer tax, the so-called Impuesto sobre Transmisiones Patrimoniales (ITP). The general rates for 2026 are: Andalusia, including Marbella, Estepona and Benahavís: 7%; Region of Murcia, including Cartagena: 7.75%; Valencian Community, including Orihuela Costa and Villajoyosa: 9% up to €1 million and 11% above €1 million.
Reduced rates or tax benefits exist in certain situations. These depend on, among other things, the intended use of the property, the value and the personal circumstances of the buyer. Therefore, always have it checked which rate actually applies. If you buy a new property directly from the developer, you in principle pay 10% IVA (Spanish VAT) on a standard first delivery of a residential property. On top of that, you pay the tax on notarial deeds, the so-called Actos Jurídicos Documentados (AJD). The general AJD rates for these regions are: Andalusia: 1.2%; Region of Murcia: 1.5%; Valencian Community: 1.4%. The rates apply to standard taxable purchase deeds in 2026. For special transactions or specific tax benefits, a different rate may apply.
Concrete calculation example for a resale property of €300,000: in Marbella you pay 7% ITP or €21,000; in Cartagena 7.75% or €23,250; in Orihuela Costa 9% or €27,000; in Villajoyosa 9% or €27,000. These are exclusively the amounts of ITP.
Notary, property registration, lawyer and any other costs are added to that. For a new-build property of €300,000, the usual taxes, assuming 10% IVA and the general AJD rate, amount to: Marbella €33,600; Cartagena €34,500; Orihuela Costa €34,200; Villajoyosa €34,200. These calculations assume a purchase price and a taxable base of €300,000. The final tax calculation can turn out differently when the statutory taxable base is higher. Pay attention to the tax reference value of the property. An important point that foreign buyers sometimes overlook is the valor de referencia, the tax reference value of the Spanish cadastre. For the calculation of ITP, the highest of the applicable values is in principle taken: the statutory reference value or the value stated in the purchase deed, taking into account the statutory rules. That means you sometimes have to pay tax on a higher amount than the agreed purchase price. Example: you buy a resale property for €250,000, but the tax reference value is €275,000. Then the tax can be calculated on €275,000. So check this value before you finalize the purchase. If you believe that the reference value is incorrect, a lawyer or tax advisor can investigate what possibilities exist to contest it. Which additional purchase costs must you budget for? In addition to the purchase tax, you must take several other costs into account. Notary: the notary draws up the authentic purchase deed (escritura pública de compraventa) and checks the formal aspects of the transaction. Notary fees are regulated by law and depend, among other things, on the value and complexity of the deed. Property register: after signing, the purchase deed is submitted to the Registro de la Propiedad. Registration provides important legal publicity and protection of property rights against third parties.
Independent lawyer: a specialized Spanish real estate lawyer checks the legal situation of the property, the purchase contract, any debts, permits and other risks. Fees are not fixed by law and vary per firm and case.
Gestoría: a gestor can take care of administrative formalities, such as tax returns and certain registrations. A gestor is not automatically a lawyer and does not replace independent legal due diligence. Translations and powers of attorney: when you cannot be present in person, a notarial power of attorney can be useful. Translations of documents can also cause additional costs. As a practical budget, for a resale property you can often set aside around 9 to 12% on top of the purchase price, depending on the region, price and professional fees. For new builds, around 11 to 13% is a useful initial estimate. These are guidelines, not fixed statutory rates. In the event of a mortgage, special structure or complex case, costs can turn out differently.
Why is an independent Spanish lawyer important? A notary and a lawyer have different tasks. The notary is an independent public official who executes the authentic deed and carries out the legally required checks. However, the notary is not a personal buyer's lawyer who investigates all interests and risks of the buyer. An independent lawyer works on the instructions of the buyer and can, among other things, check whether the seller is actually the owner and authorized to sell, whether there are mortgages, attachments or other charges on the property, whether the property and outbuildings comply with urban planning regulations, whether there are outstanding debts or community fees, whether the purchase contract offers sufficient protection, whether tax obligations are calculated correctly and whether the purchase deed is drawn up and registered properly. Our advice is to choose a lawyer who works independently of the seller and the developer. That way you know that the legal due diligence primarily protects the interests of the buyer.
Due diligence: investigate the property before you buy. The term due diligence means that before the purchase you have a thorough investigation carried out into the legal, tax, urban planning and technical condition of the property. It is one of the most important steps in the entire buying process.
Ownership and legal charges: via a Nota Simple from the Spanish property register you can, among other things, check who is registered as owner and which mortgages, attachments, rights or restrictions are recorded on the property.
A Nota Simple is informative and reflects the registered status at the time of issue. Therefore, it is wise to check the information again right before signing.
Cadastre and property register: the data of the Catastro and the Registro de la Propiedad must be carefully compared with each other. Check, among other things, the surface area of the plot and the property, the registered construction, terraces, garages and storage rooms, swimming pools and other structures, and any discrepancies between the actual and registered situation. A discrepancy between the cadastre, the property register and the actual situation must be investigated. It does not automatically mean there is a problem, but it certainly should not simply be ignored. Urban planning permits: check whether the property was built in accordance with the applicable urban planning rules and whether subsequent extensions or renovations are properly permitted. An enclosed terrace, extra bedroom, porch, garage or swimming pool may look completely fine, yet not be properly permitted or registered. This is especially important with older villas, rural properties and real estate that has undergone several renovations over the years.
Debts and community fees: check whether the owner has paid all relevant taxes and community fees. For apartments and properties in a community, a recent certificate from the comunidad de propietarios is important. Under Spanish law, the buyer can become liable with the property for certain overdue community contributions of the seller, within legal limits. Also request the minutes of recent meetings. Planned renovations, special assessments (derramas) and future costs may be mentioned in them.
Technical inspection: a legal check alone is not enough. In case of doubt, also have an independent architect or technical expert inspect the property. Think of damp problems, roof structure, facades, plumbing, electricity, insulation, air conditioning, pool installations and any structural defects.
Buying a property on the Costa del Sol: Marbella and surroundings. Marbella, Estepona and Benahavís are among the best-known real estate locations on the Costa del Sol. You will find beachfront apartments, golf properties, modern new-build projects, exclusive villas and properties in gated residential complexes. When buying, there are some specific points of attention. Urban planning situation: check the permits and urban planning status of the property. For older buildings or properties that were renovated, it is important to verify that all works were carried out and registered properly. Golf urbanizations: investigate the community fees, the maintenance condition of the infrastructure and any special assessments. Sea views and future construction: a property with sea views is not automatically protected against future construction on a nearby plot. Check the urban planning designation of the surrounding land. Coastal protection: properties close to the sea may fall under Spanish coastal legislation (Ley de Costas). That can have consequences for renovations, extensions and certain usage possibilities. New builds: check the building permit, guarantees for advance payments, completion documents and connection to utilities.
Buying a property on the Costa Cálida: Cartagena and surroundings. The Costa Cálida in the Region of Murcia offers an interesting alternative for buyers looking for a Spanish coastal property with its own character. Cartagena combines a historic port city with a wide range of properties in the surrounding coastal areas. Places such as Cabo de Palos, La Manga, Mar de Cristal and the surroundings of the Mar Menor also attract foreign buyers. When buying in this region, the following matters are important. Flood risk: investigate the exact location of the plot and check whether the area is subject to flood risk. That is especially relevant for properties near watercourses, low-lying areas and certain coastal zones. Mar Menor: for real estate in the surroundings of the Mar Menor, it is wise to check the applicable environmental rules, protection zones and any restrictions on future developments. Coastal legislation: for properties close to the coast, restrictions may apply under the Ley de Costas. Permits and extensions: check whether swimming pools, terraces, porches, outbuildings and other structures are legally permitted. Urbanizations: inquire about community fees, maintenance, the financial condition of the community and any planned works. For resale properties, the Region of Murcia has a general ITP rate of 7.75% and for standard new-build purchases a general AJD rate of 1.5% in 2026.
Buying a property on the Costa Blanca South: Orihuela Costa. Orihuela Costa is particularly popular with Belgian and Dutch buyers. The offer consists of apartments, bungalows, townhouses and detached villas, often in urbanizations with communal swimming pools and gardens. Well-known areas are La Zenia, Cabo Roig, Playa Flamenca, Punta Prima, Villamartín and Campoamor. When buying in Orihuela Costa, you must pay attention to, among other things, the following matters. Community property: request the minutes of the comunidad de propietarios. This gives you insight into planned renovations, any extra contributions and discussions about communal facilities. Tourist rentals: anyone who wants to rent out the property to holidaymakers must check in advance whether the property complies with the applicable regional, municipal and community rules. A property offered on a rental platform is not automatically legally registered or permitted as a holiday rental. Extensions: check enclosed terraces, porches, pergolas, roof terraces and swimming pools. Not every existing structure is automatically permitted. Accessibility: check the actual walking distance to the beach, the location relative to shops and restaurants, parking options and accessibility during peak season. New builds: check the building permit, payment guarantees, completion conditions and connection to utilities. In the Valencian Community, since June 1, 2026, the general ITP rate is 9% for properties with a value up to €1 million. Above that threshold, 11% applies in principle. The general AJD rate is 1.4%.
Buying a property on the Costa Blanca North: Villajoyosa. Villajoyosa, also known as La Vila Joiosa, has a character all of its own. The colorful houses by the sea, the historic center, the beaches and the residential zones make the town attractive for those seeking an authentic Spanish coastal environment. The real estate offer includes beachfront apartments, older properties in the center, residential complexes and modern new-build projects. When buying in Villajoyosa, there are some specific points of attention. Historic center: for older properties, protection rules may apply to facades, windows, balconies, roofs and renovations. Check in advance which works are permitted. Coastal protection: for properties close to the beach, it must be verified whether Spanish coastal legislation imposes restrictions. Sea views: investigate not only the current view, but also the urban planning designation of nearby plots. An unobstructed view today is no guarantee that nothing can be built tomorrow. Older buildings: watch out for damp problems, salt exposure, facades, terraces, roof insulation, plumbing and the condition of communal installations. New builds: check the building permit, completion schedule, infrastructure, community fees and guarantees. For Villajoyosa, the same general purchase tax rates apply as for Orihuela Costa, because both places are located in the Valencian Community.
NIE number and Spanish bank account. To buy a property in Spain, a foreign buyer generally needs an NIE number: Número de Identidad de Extranjero. This is a tax identification number for foreigners who have economic, professional or social interests in Spain. It is not a residence permit and does not in itself grant the right to permanent residence in Spain. The NIE number is needed for, among other things, the purchase deed, tax returns and various administrative formalities. A Spanish bank account is not legally required in all cases to become an owner, but in practice it is often particularly useful. You can use it for paying taxes, community fees, electricity, water, insurance and other recurring expenses.
How does buying a property in Spain work? Although every purchase is different, a standard purchase generally follows these steps.
Step 1 – Finding the right property: you determine the budget, desired region, property type, location and intended use: own residence, second home, investment or rental.
Step 2 – Making an offer: when you have found a suitable property, an offer is made. The price, included items, any conditions and desired timing are discussed.
Step 3 – Reservation: sometimes a reservation agreement is signed and a reservation amount is paid to temporarily take the property off the market. The conditions for refund or loss of this amount must be clearly recorded in writing.
Step 4 – Legal check and due diligence: before you sign a binding purchase contract or pay a significant amount, the lawyer must check the legal and urban planning situation.
Step 5 – The arras contract: a commonly used agreement is the contrato de arras. This sets out the purchase price, deadlines, conditions and consequences of non-performance of the contract. With so-called arras penitenciales, it applies in principle that the buyer loses the deposit if they withdraw, while the seller must refund double the amount if they withdraw. This must be expressly agreed as such. A 10% deposit is common, but is not a legally mandatory standard percentage.
Step 6 – Notarial signing: the final purchase is generally recorded in an authentic notarial deed. The buyer pays the remaining amount according to the agreed payment terms and receives the keys when the transfer takes place.
Step 7 – Taxes and registration: after signing, the applicable taxes are paid and the deed is submitted to the property register.
Step 8 – Utilities and administration: finally, electricity, water, any gas connections, insurance and community fees are transferred to the name of the new owner. Extra attention when buying a new build. Buying a new-build property directly from a developer often offers advantages such as modern installations, energy-efficient techniques, contemporary architecture and guarantees. However, with new builds too, a thorough check is necessary. Before paying deposits, check the identity and legal situation of the developer, the building permit and approved plans, the ownership status of the land, payment terms and completion deadline, the bank guarantee or insurance guarantee for paid deposits, technical specifications and included materials, and completion documents and utility connections. Spanish building regulations provide different liability periods for certain construction defects: one year for certain finishing defects, three years for defects affecting habitability and ten years for certain structural defects. Exact application depends on the nature of the defect and legal conditions. Therefore, always have the contractual guarantees and project documents reviewed by an independent lawyer.
What annual costs do you have as an owner? After the purchase, tax and financial responsibility does not stop. Even when you do not live permanently in Spain, there can be annual costs and tax obligations. IBI: the annual municipal property tax. This is calculated based on the cadastral tax value and the applicable municipal rate.
Waste tax: depending on the municipality, you pay a separate tax or contribution for waste collection and processing.
Community fees: for apartments and properties in a residential complex, you pay a contribution for the maintenance of communal areas, such as swimming pools, gardens, lifts, lighting and access control.
Derramas: these are special assessments for larger or unexpected works, for example a renovation of the facade, roof, lift or swimming pool. Insurance: home insurance is strongly recommended. With a mortgage, certain insurance obligations may apply.
Utilities: electricity, water, internet and any gas remain recurring costs, even when you only use the property part of the year. Non-resident tax: anyone who is not fiscally resident in Spain may be required to declare Spanish tax on income from Spanish real estate. That can apply, among other things, to rental income or to so-called imputed income when the property is available for personal use or vacant. Wealth tax: depending on the value of the assets, personal situation and applicable regional and national rules, wealth tax may also be relevant. Good tax planning prevents you from being confronted with unexpected obligations afterwards.
What if you want to rent out or sell the property later? Many buyers want not only to use their property themselves, but also to rent it out or resell it in the long term. When renting out, it is important to investigate in advance which rules apply to the chosen rental model. Holiday rentals, seasonal rentals and long-term rentals can have different legal obligations. For tourist rentals, registration, permits, municipal regulations and rules of the owners' association can play a role, among other things. Regulations can change. Therefore, check the current situation before developing a rental strategy. In the event of a later sale, you must take into account possible capital gains tax and the municipal plusvalía municipal, if applicable. When the seller is not fiscally resident in Spain, the buyer must in principle withhold 3% of the agreed sale price and remit it to the Spanish tax authority as an advance payment on the seller's tax. This must also be properly handled in the deed of sale and tax settlement. Why an experienced real estate agent makes an important difference.
Buying a property in Spain is a major financial decision for many Belgian and Dutch buyers. You are often buying in another country, with another language, other customs and other legislation. An experienced real estate agent therefore does much more than show properties or arrange an appointment at the notary. It starts with understanding the buyer's wishes: where do you want to live, what budget do you have, which amenities are important and what will you use the property for? After that, it is important to look beyond the photos and the asking price.
Two properties that seem very similar at first glance can still show major differences legally, technically and financially. Think of a property with an unregistered extension, an apartment with high community fees, a villa with an unfavorable urban planning situation or a new-build project whose completion conditions are insufficiently clear. Thanks to experience, local market knowledge and good cooperation with independent legal and technical specialists, potential points of attention can be flagged in time.
At ImmoMoment, we believe that a buyer should not only find a property that suits their wishes, but also be able to complete the purchase with confidence and a clear picture of all costs and obligations.
Checklist: what should you check before buying a property? Check whether the seller's identity and ownership have been verified, whether a recent Nota Simple has been requested, whether mortgages, attachments and other charges have been investigated, whether cadastral and registered data have been compared, whether the urban planning situation and permits have been checked, whether extensions, terraces, swimming pools and outbuildings have been checked, whether community fees and any derramas have been requested, whether the tax reference value has been checked, whether purchase taxes and additional costs have been calculated, whether the reservation contract and arras contract have been legally reviewed, whether the technical condition of the property has been inspected where necessary, whether potential rental options have been checked and whether the NIE number and practical payment formalities have been arranged.
Conclusion: don't just buy a property, buy with knowledge and certainty. Buying a property in Spain can be a fantastic investment in quality of life. Whether you choose the lively surroundings of Marbella, the authentic coast of Cartagena, the popular urbanizations of Orihuela Costa or the characterful Villajoyosa or the beautiful Moraira: every region has its own advantages and points of attention. The most important thing is that you know in advance what you are buying, which taxes and costs you must pay and whether the property is legally and urbanistically in order. An attractive purchase price is only truly interesting when the legal, technical and tax situation is also right.
ImmoMoment guides Belgian, Dutch and international buyers in finding real estate on the Spanish coast. With more than twenty years of experience, we help you not only in finding a suitable property, but also in understanding the local real estate market and the various steps of the buying process.
Do you want to buy a property on the Costa del Sol, Costa Cálida or Costa Blanca? Get in touch with ImmoMoment. We are happy to help you approach your purchase in Spain well-prepared and with confidence.
Important note: this guide contains general information about buying real estate in Spain and the general tax rates for 2026. The concrete tax and legal situation may differ depending on the property, region, buyer and nature of the transaction. Before signing a purchase contract, have the applicable rules and amounts confirmed by an independent Spanish lawyer or tax advisor.