Buying real estate in Spain?

We've created a guide to help you avoid pitfalls, save time, and make the best long-term investment possible.

Do foreigners need a lawyer to buy in Madrid?

Last updated on 

Authored by the expert who managed and guided the team behind the Spain Property Pack

property investment Madrid

Yes, the analysis of Madrid's property market is included in our pack

Foreigners can buy property in Madrid without being Spanish residents, but navigating the legal requirements requires careful attention to detail.

While hiring a lawyer isn't legally mandatory under Spanish law, the complex documentation, tax calculations, and property verification processes make legal assistance highly recommended for international buyers in Madrid's real estate market.

If you want to go deeper, you can check our pack of documents related to the real estate market in Madrid, based on reliable facts and data, not opinions or rumors.

How this content was created 🔎📝

At InvestRopa, we explore the Spanish real estate market every day. Our team doesn't just analyze data from a distance—we're actively engaging with local realtors, investors, and property managers in cities like Madrid, Barcelona, and Valencia. This hands-on approach allows us to gain a deep understanding of the market from the inside out.

These observations are originally based on what we've learned through these conversations and our observations. But it was not enough. To back them up, we also needed to rely on trusted resources

We prioritize accuracy and authority. Trends lacking solid data or expert validation were excluded.

Trustworthiness is central to our work. Every source and citation is clearly listed, ensuring transparency. A writing AI-powered tool was used solely to refine readability and engagement.

To make the information accessible, our team designed custom infographics that clarify key points. We hope you will like them! All illustrations and media were created in-house and added manually.

photo of expert anna siudzinska

Fact-checked and reviewed by our local expert

✓✓✓

Anna Siudzinska 🇵🇱

Real Estate Agent

Anna Siudzińska is a skilled business strategist and experienced manager, specializing in sales, marketing, and corporate growth. With a wealth of experience in international markets, she possesses in-depth knowledge of Madrid's real estate sector, guiding clients toward profitable investments and market advantages.

Can foreigners legally buy property in Madrid without being Spanish residents?

Yes, foreigners can legally purchase property in Madrid without being Spanish residents as of September 2025.

Spain's property laws grant foreigners the same ownership rights as Spanish citizens, with no nationality-based restrictions on residential property purchases. This applies to all types of residential real estate including apartments, houses, penthouses, and townhouses throughout Madrid.

The Madrid property market remains fully accessible to international buyers from both EU and non-EU countries. You don't need a Spanish residence permit, work visa, or long-term stay authorization to complete a property transaction.

However, you must obtain a Spanish NIE (tax identification number) before finalizing any purchase, which serves as your unique identifier for all tax and legal transactions in Spain.

It's something we develop in our Spain property pack.

What documents do foreigners need to show when buying property in Madrid?

Foreign buyers need four essential documents to purchase property in Madrid.

Your valid passport or national ID card serves as primary identification and must be current throughout the entire transaction process. The Spanish NIE (Número de Identificación de Extranjero) is mandatory and must be obtained before completing the purchase - this tax identification number is required for all legal and financial transactions in Spain.

Proof of funding documentation includes bank statements, mortgage pre-approval letters, or international money transfer records showing you can finance the purchase. The seller provides property-related documents including the title deed, energy certificate, building permits, and community of owners' certificates.

Banks may request additional documentation such as employment contracts, tax returns, or proof of income when applying for a Spanish mortgage. All foreign documents typically need official translation into Spanish and may require apostille certification depending on your country of origin.

Are there restrictions on the type or size of property foreigners can buy in Madrid?

Currently, there are no restrictions on the type or size of property foreigners can purchase in Madrid as of September 2025.

International buyers can acquire any residential property including studio apartments, multi-bedroom flats, penthouses, single-family houses, townhouses, and luxury villas without size limitations. You can buy properties in any Madrid neighborhood, from central districts like Salamanca and Chamberí to suburban areas like Pozuelo de Alarcón and Majadahonda.

Foreign investors can also purchase multiple properties and engage in buy-to-let investments across Madrid's rental market. There are no minimum or maximum purchase price thresholds that apply specifically to non-resident buyers.

However, new regulations restricting foreign property purchases have been proposed by the Spanish government and could potentially be implemented in future legislative sessions, though no concrete timeline has been established.

Do foreigners need a Spanish tax identification number (NIE) before purchasing in Madrid?

Yes, obtaining a Spanish NIE is absolutely mandatory before completing any property purchase in Madrid.

The NIE (Número de Identificación de Extranjero) serves as your unique tax identification number in Spain and is required for all significant financial transactions, including property purchases, mortgage applications, and utility connections. Without an NIE, you cannot legally complete the property transfer or register the deed in your name.

You can apply for an NIE at Spanish consulates in your home country, Spanish police stations, or authorized representatives in Madrid. The process typically takes 2-4 weeks and requires your passport, completed EX-15 form, proof of the property purchase intention, and the current fee of approximately €12.

Most property lawyers in Madrid can assist with NIE applications or recommend trusted representatives to expedite the process. You should apply for your NIE immediately after deciding to purchase property to avoid delays in the transaction timeline.

Don't lose money on your property in Madrid

100% of people who have lost money there have spent less than 1 hour researching the market. We have reviewed everything there is to know. Grab our guide now.

investing in real estate in Madrid

What are the average lawyer fees in Madrid for handling a property purchase?

Fee Structure Percentage of Purchase Price Typical Range
Standard Legal Fees 1% - 1.5% €1,500 - €2,500 minimum + VAT
Luxury Properties (>€1M) 1% - 1.2% €10,000+ depending on complexity
Complex Cases 1.5% - 2% Additional hourly rates €150-€300
NIE Application Service Fixed Fee €200 - €500 including processing
Mortgage Legal Review Fixed Fee €800 - €1,500 additional
Title Investigation Included Part of standard service
Contract Review Included Part of standard service

Is hiring a lawyer mandatory under Spanish law for foreigners buying property in Madrid?

Hiring a lawyer is not legally mandatory under Spanish law for property purchases, but it is strongly recommended for foreign buyers.

Spanish property law does not require legal representation during real estate transactions, unlike some other European countries. The notary is the only legally required professional who certifies the final deed signing and handles property registration with the Land Registry.

However, the complexity of Madrid's property market, Spanish legal terminology, tax calculations, and potential risks make legal assistance highly advisable for international buyers. Most Spanish banks also recommend legal representation when foreigners apply for mortgages to ensure all contract terms are properly understood.

Experienced foreign buyers or those with extensive knowledge of Spanish property law might choose to proceed without a lawyer, but this approach carries significant financial and legal risks. The relatively small cost of legal fees compared to potential problems makes lawyer involvement a prudent investment.

It's something we develop in our Spain property pack.

What risks exist if a foreigner buys in Madrid without a lawyer?

Buying property in Madrid without legal representation exposes foreign buyers to several significant risks.

Title authenticity issues represent the most serious risk, as you might unknowingly purchase property with disputed ownership, forged documents, or incomplete title transfers from previous transactions. Outstanding property debts including unpaid community fees, utility bills, or tax obligations remain attached to the property regardless of ownership changes, making you liable for previous owners' financial obligations.

Property encumbrances such as mortgages, liens, or legal claims against the property might not be disclosed by sellers, potentially resulting in forced sales or legal disputes after purchase. Zoning violations, unpermitted renovations, or building code non-compliance can lead to government fines, demolition orders, or restrictions on property use.

Misrepresentation by sellers regarding property condition, square footage, legal boundaries, or rental income potential becomes difficult to address without legal documentation and recourse. Contract terms written in Spanish legal language often contain clauses that significantly favor sellers or include hidden costs that foreign buyers don't recognize.

Tax calculation errors can result in underpayment penalties or overpayment without possibility of recovery from Spanish tax authorities.

What exactly does a lawyer do in Madrid during the property purchase process?

A property lawyer in Madrid performs comprehensive due diligence and legal oversight throughout your purchase transaction.

Title verification involves checking the Land Registry to confirm the seller's legal ownership, ensuring no outstanding mortgages or liens exist, and verifying that all previous property transfers were completed correctly. The lawyer reviews all property documentation including deeds, building permits, energy certificates, and community of owners' records to identify potential issues.

Contract preparation and review includes drafting or examining purchase agreements, ensuring all terms protect your interests, negotiating favorable conditions, and explaining all clauses in your native language. Tax and cost calculations involve computing transfer taxes, notary fees, registration costs, and ongoing property obligations to provide accurate budget projections.

The lawyer coordinates with the notary for deed signing, ensures all legal requirements are met, handles fund transfers, and oversees property registration in your name. They also verify compliance with zoning laws, building regulations, and any community restrictions that might affect your intended property use.

Throughout the process, they serve as your advocate, communicating with sellers' representatives, real estate agents, and government offices to resolve any complications that arise.

How long does the property purchase process usually take in Madrid, with or without a lawyer?

The typical property purchase timeline in Madrid ranges from 4-10 weeks from initial offer to completion when using legal representation.

With a lawyer, the process moves efficiently through structured phases: initial due diligence and title searches (1-2 weeks), contract negotiation and review (1-2 weeks), mortgage approval if applicable (2-4 weeks), and final deed preparation and signing (1-2 weeks). Legal professionals help streamline documentation, coordinate with all parties, and prevent delays from missing paperwork or regulatory compliance issues.

Without legal assistance, the process often extends to 8-16 weeks or longer due to complications that arise from incomplete documentation, misunderstood legal requirements, or problems discovered late in the transaction. Foreign buyers frequently encounter delays when attempting to navigate Spanish bureaucracy, obtain required certifications, or resolve title issues without professional guidance.

Complex cases involving multiple properties, commercial elements, or legal disputes can extend timelines to several months regardless of legal representation. Properties requiring significant due diligence, such as older buildings or those with complicated ownership histories, also take longer to complete.

infographics rental yields citiesMadrid

We did some research and made this infographic to help you quickly compare rental yields of the major cities in Spain versus those in neighboring countries. It provides a clear view of how this country positions itself as a real estate investment destination, which might interest you if you're planning to invest there.

Can a notary replace the need for a lawyer in Madrid property transactions?

No, a notary cannot replace the need for a lawyer in Madrid property transactions, as their roles serve different purposes.

Spanish notaries are public officials who certify document authenticity, witness signatures, and ensure the legal formality of the final deed signing. They register property transfers with the Land Registry and collect required taxes, but they maintain strict neutrality and do not advocate for any party's interests.

Notaries do not conduct title searches, negotiate contract terms, advise on legal risks, or provide buyer protection services. They assume all presented documents are legitimate and do not investigate property encumbrances, outstanding debts, or potential legal complications that could affect your purchase.

A lawyer actively protects your interests by investigating property history, identifying potential problems, negotiating favorable terms, and providing legal advice throughout the transaction. They work as your advocate while the notary serves as an impartial government official ensuring legal procedural compliance.

Both professionals are essential for a complete property purchase: the lawyer protects your interests during the transaction process, while the notary handles the final legal formalities and government registration requirements.

Are there additional costs that a lawyer typically helps foreigners calculate in Madrid?

Yes, lawyers help foreign buyers calculate comprehensive transaction costs that typically total 10-15% of the property purchase price.

Transfer tax (ITP) ranges from 6-10% of the purchase price for resale properties, while new constructions are subject to 10% VAT plus 1.2% stamp duty. Notary fees range from €600-€1,500 depending on property value and complexity of the transaction. Land Registry fees cost approximately €400-€800 for property registration and title transfer processing.

Mortgage arrangement fees include bank charges (1-2% of loan amount), valuation costs (€300-€600), and mortgage registration fees (approximately €400). Ongoing obligations include annual property tax (IBI) ranging from 0.4-1.3% of cadastral value, community fees for apartments (€50-€300 monthly), and annual income tax on rental income or imputed income for non-residents.

Legal fees themselves represent 1-1.5% of purchase price, while survey costs, building inspections, and insurance can add another €1,000-€3,000 to total expenses. Currency exchange costs and international money transfer fees can add 2-4% to the total budget depending on your home country and chosen financial services.

It's something we develop in our Spain property pack.

Do banks in Madrid usually require a lawyer to be involved if a foreigner applies for a mortgage?

Spanish banks do not legally require lawyer involvement for foreign mortgage applications, but most recommend legal representation for non-resident buyers.

Major Madrid banks including Santander, BBVA, CaixaBank, and Sabadell strongly advise foreign clients to use legal counsel to review mortgage contracts, understand Spanish banking terms, and ensure all legal requirements are properly met. Banks recognize that language barriers and unfamiliar legal concepts can lead to misunderstandings that complicate the lending process.

Mortgage contracts in Spain contain complex terms regarding interest rate variations, early repayment penalties, insurance requirements, and default consequences that require legal interpretation for non-Spanish speakers. Many banks will only proceed with foreign mortgage applications when applicants demonstrate they have legal representation or comprehensive understanding of the contractual obligations.

Legal assistance becomes particularly valuable when banks require additional documentation, collateral arrangements, or guarantee structures for non-resident lending. Lawyers help ensure mortgage terms are fair, negotiate better conditions when possible, and protect borrowers from unfavorable clauses that might not be apparent to foreign applicants.

Some private banks and specialized foreign buyer lenders may work directly with clients without legal requirement, but they typically charge higher interest rates and fees to compensate for increased risk.

Conclusion

This article is for informational purposes only and should not be considered financial advice. Readers are advised to consult with a qualified professional before making any investment decisions. We do not assume any liability for actions taken based on the information provided.

Sources

  1. Spain Easy - Buying a House in Spain in 2025
  2. InvestRopa - Spain Tourists Buy Property
  3. My Spanish Residency - Buying House Spain
  4. Barnes Madrid - Legal Requirements for Buying Property in Spain
  5. InvestRopa - Spain Documents Needed Buy House
  6. Multilaw - Real Estate Guide Spain
  7. Idealista - 10 Steps Foreigners Need to Take to Buy a House in Spain
  8. Lucas Fox - Step by Step Guide How to Buy Property in Spain as a Foreigner
  9. Malaga Solicitors - Buying Property in Spain Do I Need a Lawyer
  10. Welex - Is a Lawyer Required to Buy Property in Spain Legal Report