Buying Process & Basics

The Foreigner’s Step-by-Step Blueprint to Buying an Apartment in Spain

Your complete step-by-step guide to buying an apartment in Spain as a foreigner—from NIE and bank accounts to notary, taxes, and final deed.

Table of contents

Imagine strolling through sun-drenched plazas, savoring tapas, and knowing a key to your very own Spanish apartment is in your pocket—a dream both intoxicating and impossibly complex. The allure of Spanish property for foreigners is undeniable, yet the process often hides behind legal jargon, unfamiliar taxes, and bureaucratic traps that can quickly turn excitement into overwhelm. This guide is your personal, step-by-step roadmap. It demystifies every stage, from securing your NIE number and scouting the perfect location to navigating notaries, registries, and bank accounts with confidence. By the end, you’ll hold a clear, actionable blueprint that turns a daunting legal maze into a straightforward, rewarding purchase. Focus on the lifestyle; leave the logistics to the plan.

Before you browse listings or book a flight, you must confront the single most important administrative hurdle in the Spanish property market: the NIE. Short for Número de Identificación de Extranjero, this is your tax identification number as a foreigner, and it is non-negotiable for any purchase. You cannot sign a purchase deed (escritura), open a local bank account, pay property transfer taxes, register utilities in your name, or appear before a notary without one. Think of it as your Spanish fiscal fingerprint—without it, the entire transaction grinds to a halt.

The application process is straightforward but bureaucratic. You must secure an appointment, often via the Spanish consulate in your home country or, if you are already in Spain, at a local police station or immigration office. Then complete the official EX-15 form, provide a valid passport and a photocopy, and submit proof of why you need the number. A property reservation contract (contrato de reserva) is the most common evidence, as it demonstrates you are actively purchasing. Some buyers use a lawyer to obtain the NIE on their behalf via a power of attorney, but most first-timers apply in person. Expect to pay a modest administrative fee, typically €10 to €30 per application, though agency-assisted processing can cost considerably more.

Your second critical distinction is whether you are a tax resident or non-resident in Spain. The good news: you do not need a visa or residency permit to buy property. A non-resident can purchase, own, and sell an apartment with the same legal rights as a resident. However, your status dictates everything from mortgage terms to annual wealth tax obligations. Non-residents pay the same purchase taxes—like Transfer Tax or VAT—as residents, but they face different annual taxes, notably the non-resident wealth tax and the imputed income tax on the property’s cadastral value.

If you spend more than 183 days per calendar year in Spain, you are automatically considered a tax resident, which shifts your global income and assets into Spain’s tax net. This also affects whether you must appoint a fiscal representative—a local individual or firm—to handle your tax filings and communications with the tax agency. Non-residents who do not spend significant time in Spain are generally required to have such a representative, while residents handle their own declarations.

Mortgage lenders also treat the two groups differently. Non-residents typically face higher interest rates, lower loan-to-value ratios (often capped at 60-70% for non-residents versus 80% for residents), and stricter income documentation requirements. Understanding which bucket you fall into before you start negotiating is essential, because it will shape your budget, your ongoing costs, and your legal obligations for as long as you own the apartment.

Pre-Purchase Planning and Budgeting

Before you fall for a sun-drenched terrace or a Mediterranean view, build a financial wall around your enthusiasm. The most common mistake foreign buyers make? Assuming the asking price is the total cost. It isn’t. Structure your budget in two distinct phases: the acquisition itself, and the years of ownership that follow.

Total Cost Breakdown for Resale and New Builds

For a resale apartment, set aside an additional 10% to 14% on top of the negotiated price. This isn’t optional padding—it’s the legal and professional machinery of the deal. The biggest chunk is Transfer Tax (ITP), ranging from 6% to 10% depending on the autonomous community. Andalusia and Catalonia sit at the higher end; Madrid is more moderate. Then come notary fees (0.1% to 0.5%), land registry fees, and legal fees. A competent, independent lawyer will charge 1% to 2% of the purchase price. Agency commission is usually folded into the seller’s price, but get that in writing. For new builds, the structure shifts: VAT (IVA) at a flat 10%, plus Stamp Duty (AJD) of about 1.5%, bringing your total extra cost to roughly 11.5% to 12%. The critical rule: before signing any reservation contract, demand a full, itemized written cost estimate from your lawyer. If they hesitate, walk away.

Hidden Recurring Costs After Purchase

The purchase is the start of your financial relationship with Spain, not the end. Plan for annual Property Tax (IBI)—0.4% to 1.1% of the cadastral value, which is always lower than market value. If your building has a pool, elevator, or concierge, expect community fees from €50 to €300 per month, depending on services. Add garbage collection fees. And crucially: if you don’t become a tax resident, you’ll owe non-resident income tax on deemed rental income—a theoretical 2% of the cadastral value, taxed at roughly 19%. Finally, set aside at least 1% of the property value annually for maintenance and surprises. A leaky roof or faulty boiler won’t wait for your holiday schedule.

Finding the Right Property and Making an Offer

Searching Locally vs. Online

Start your search online—portals like Idealista and Fotocasa let you shortlist neighborhoods and compare price-per-square-meter across entire provinces. But the screen is only a starting point. To move from browsing to buying, you need a local real estate agent who works the streets, not just the listings. These agents often hold off-market properties, apartments sold privately before ever hitting a public portal, and they can explain nuances no online filter captures: which blocks have noisy ground-floor commercial units, how rental demand shifts between summer and winter, and whether the city council has approved future infrastructure projects that will raise or lower property values. Before engaging anyone, verify their license with the regional property registry and ask for references from recent foreign buyers. Never commit based on photos alone. Arrange a physical visit; if you cannot travel, ask your agent to do a live video walkthrough while a trusted local contact—your lawyer or a friend—attends in person to check for damp, natural light, and noise levels.

The Reservation Contract

Once you identify the right apartment, the seller may ask you to sign a reservation contract (contrato de reserva). This short, binding agreement takes the property off the market in exchange for a deposit, typically €3,000 to €6,000. Its purpose is exclusivity while your lawyer conducts due diligence on the title deed, outstanding debts, and planning permissions. The contract must state that the deposit is fully refundable if your checks uncover legal issues—such as unpaid community fees or an unregistered extension—that the seller cannot resolve. Insist on a reservation period of at least 30 days; anything shorter is a red flag, since a thorough title search and local council consultation can take weeks. Your lawyer must review the document before you sign, and they should confirm the deposit will be held in escrow by the agent or notary, not paid directly to the seller. This step protects you from losing money on a property that looks perfect but carries hidden legal baggage.

Before you sign anything—even a reservation agreement—you need a wall of legal protection around your deposit. This is where the process slows down, and rightly so; it’s also where careless buyers lose the most money. Your first move: hire an independent lawyer, an abogado, who represents you and you alone. Don’t use the seller’s lawyer, and be cautious of the agency’s in-house team. A truly independent lawyer will pull a nota simple from the Land Registry—a short official document confirming the current owner, the property’s exact boundaries, and any encumbrances. That document reveals mortgages still registered against the home, embargoes (seizures) from unpaid debts, or pending legal actions that could block the sale. Your lawyer must also request the catastral certificate to cross-check that the physical layout—rooms, terrace, storage unit—matches the registry. A mismatch can mean illegal construction or an unregistered extension, both of which become your problem after purchase. You’ll also need to confirm the energy certificate is valid and that no hidden structural issues have been flagged in a technical inspection.

What Your Lawyer Must Verify

The nota simple is a starting point, not a guarantee. Your lawyer will dig deeper into the community of owners. Ask for the minutes of the last general meeting to see if a special assessment (a derrama) for a new roof or elevator has been approved but not yet paid—that bill will fall on you. Likewise, confirm that the current owner has paid all community fees up to the date of the deed. The seller must provide an official certificate from the community president or administrator stating the account is clear. Your lawyer will also request a certificate from the local town hall (ayuntamiento) covering municipal charges, including the IBI (property tax) and any special urban development levies. If either certificate shows outstanding debt, the purchase contract must include a specific clause: the seller pays everything before the deed, or a portion of the purchase price is withheld at the notary and paid directly to the community or town hall from the closing funds.

Checking Community and Municipal Debts

Don’t rely on verbal assurances. A seller who claims “everything is paid” may simply have lost the receipts. The only documents that matter are originals, stamped and dated. If the community certificate isn’t available yet because the administrator is slow, your lawyer should insert a condition in the contract giving you the right to withdraw with a full refund of your deposit if debts appear after signing.

Never sign a private purchase contract without a full legal report. A clean nota simple does not guarantee that the seller has paid community fees or that the property has no pending fines. Always verify with original certificates.

For this full legal due diligence, expect to pay from €800 to €1,500 per property, depending on the complexity of the title search and the number of certificates required. It’s the cheapest insurance you’ll ever buy in Spain.

Signing the Private Purchase Contract and Paying the Deposit

The Arras Contract Explained

After your offer is accepted, the next critical step is signing the contrato de arras—the private purchase contract. This isn’t a simple receipt; it’s a binding legal agreement. It locks in the final price, sets the payment schedule, and establishes the completion date for the deed transfer. In most transactions, you’ll pay a deposit of 10% of the purchase price at this stage—your financial commitment. If you, as the buyer, withdraw without a legally valid reason, you forfeit that deposit entirely. But if the seller backs out, they’re legally obligated to return double what you paid. This symmetry protects both sides. Precision matters here: vague language is a common source of disputes. Make sure the contract includes clear deadlines for each milestone, especially the notary appointment, and explicitly states the exact bank account details for the deposit transfer.

Conditions to Include Before Signing

Never sign the arras contract without inserting protective clauses. First, make the entire agreement subject to your lawyer’s due diligence being fully satisfactory. That means you can walk away with your deposit returned if the legal checks uncover issues like unregistered alterations or planning violations. Second, include a warranty that the property is free of all debts—mortgages, liens, or outstanding community fees. Your lawyer will obtain a nota simple from the Land Registry, but the contract should make this a formal condition. Third, if you need financing, add a mortgage contingency clause. This lets you cancel the contract and recover your deposit if your bank financing falls through within a specified period—typically 30 to 45 days. Finally, be explicit about cost division. The contract must state precisely who pays for utilities, community fees, and property taxes (IBI) up to the handover date. Otherwise, you could inherit the seller’s outstanding bills. A well-drafted arras contract is your safety net; never sign one that lacks these essential protections.

Financing Options for Non-Residents

Mortgage Limits and Requirements

For non-residents, Spanish banks generally lend between 60% and 70% of the lower of the purchase price or the official appraisal value. So, plan on bringing at least 30% to 40% of the property’s cost in cash, plus an extra 10% for taxes, notary fees, and legal expenses. To qualify, you’ll need a valid passport, your NIE (Número de Identificación de Extranjero), proof of income—such as tax returns, recent payslips, and home-country bank statements—and a Spanish bank account. The appraisal fee, which ranges from €300 to €600, is always on you. Interest rates for non-residents typically run 0.5% to 1% higher than for Spanish residents, and the mortgage deed itself adds extra notary and registry costs, usually €1,000 to €2,500 to your closing expenses. Mortgage terms usually span 15 to 25 years, though older applicants often opt for shorter ones.

Opening a Spanish Bank Account

With just your passport and NIE, you can open a non-resident account. It’s essential—not only for receiving mortgage funds but also for paying the arras deposit, property taxes, utility bills, and monthly installments. While many banks require an in-person visit, some digital banks now allow remote onboarding via video verification. Compare maintenance fees carefully: opening an account can cost anywhere from free to €50, and monthly fees can reach €15. Also, watch international transfer costs, since moving funds from abroad can be pricey. If you’re transferring money from overseas, open this account before signing the arras contract—banks need time to verify the source of funds under Spanish anti-money-laundering rules. Having it ready in advance lets you move quickly when you find the right property and prevents delays that could put your deposit at risk.

The Public Deed, Notary, and Final Payment

Preparing for the Notary Appointment

Signing the escritura—the public deed—before a Spanish notary marks the climax of your purchase. This is a legally binding ceremony, not a mere formality. The notary verifies the identities of all parties, confirms your NIE is valid, and checks that the seller has the legal capacity to transfer ownership. Crucially, the notary also ensures that all applicable taxes—such as the Property Transfer Tax (ITP) for resale properties, or VAT for new builds—have been declared or will be paid from the funds you provide. Bring your original passport, your NIE certificate, and proof of the deposit already paid (typically 10% of the purchase price). The notary will read the deed aloud or provide a summary; you have the right to request a translation, and hiring a sworn translator is wise if your Spanish isn’t fluent. Notary fees are regulated, usually ranging from 0.1% to 0.5% of the purchase price, depending on the deed’s complexity and the property’s value.

Payment Methods and Timing

The remaining balance—usually 90% of the purchase price—is paid on signing day, typically via a banker’s draft or a direct bank transfer from a Spanish account. If you’re transferring funds from abroad, initiate the transfer at least 3 to 5 business days before the notary date to avoid delays, as Spanish banks often hold foreign transfers for verification. Before you hand over the money, the notary will request an official certificate from the Land Registry confirming that the seller has no outstanding mortgages, liens, or embargoes on the property—this protects you from inheriting hidden debts. After the deed is signed, the notary issues you a certified copy immediately, while the original is sent to the Land Registry for final registration. This process, which typically takes a few weeks, formally makes you the legal owner in the public record. Your lawyer usually handles this step, and you should budget for registration fees of approximately 0.1% to 0.5% of the purchase price. Only after registration is your ownership fully secure against any third-party claims.

Post-Purchase Registration and Ongoing Obligations

Registering the Property in Your Name

A few weeks after you sign the notary deed, your lawyer must submit that document to the local Land Registry (Registro de la Propiedad). This isn’t a mere formality—it’s the crucial step that makes you the legal owner. The registry checks for liens, encumbrances, or conflicting claims, then records your name in the public register. The fee typically ranges from 0.1% to 0.5% of the purchase price, depending on the region and deed complexity. Once done, you’ll receive a nota simple or a full registered title, and from that point, the property is yours against the whole world. Don’t mistake signing the deed for ownership; until registration, you hold only a contractual right.

Paying Taxes and Setting Up Utilities

Within 30 calendar days of signing, you must pay the transfer tax—either the Impuesto sobre Transmisiones Patrimoniales (ITP) for resale properties or the Actos Jurídicos Documentados (AJD) for new builds. Your lawyer usually handles this and gives you a stamped receipt. Next, register the property with the local cadastre (Catastro) so future annual property tax (IBI) bills come correctly in your name. Then, switch electricity, water, gas, and internet into your name with the utility providers. You’ll need your NIE (foreigner’s identification number) and a local Spanish bank account with a direct debit mandate. If you don’t live in Spain permanently, you’re legally required to appoint a fiscal representative—often your lawyer or a gestor—to receive official tax agency correspondence and file your annual non-resident tax returns.

Registration is not optional. Without it, the seller could legally sell the same property to another buyer, and you’d have no legal claim. Always confirm with your lawyer that the registration certificate is issued before you consider the purchase complete.

Navigating Spain’s property market as a foreigner is structured and entirely doable if you break it into clear stages. It starts with securing your NIE and opening a bank account, moves through signing the arras contract, and ends with finalizing the deed at the notary. The real lesson? Preparation matters—and so does local expertise. A bilingual lawyer, in particular, can transform what looks like a bureaucratic maze into a straightforward, legally protected transaction. So don’t start browsing listings just yet. Instead, book your NIE appointment first, and interview two or three recommended lawyers to build your team. Once those foundations are set, you can move forward with confidence. Every step that follows—from property search to keys in hand—unfolds in a predictable, manageable rhythm.

Frequently asked questions

Can I buy an apartment in Spain as a non-EU foreigner?
Yes, non-EU citizens can buy property in Spain with the same rights as EU citizens, provided they have a valid passport and a Spanish tax identification number (NIE). You do not need residency to purchase, but you will need to obtain an NIE before signing any purchase contract.
What is the step-by-step process for buying an apartment in Spain?
The full process typically involves: 1) obtaining your NIE, 2) opening a Spanish bank account, 3) searching and making an offer, 4) signing a reservation contract (if applicable), 5) hiring a lawyer to perform due diligence (checking title, debts, licenses), 6) signing the private purchase contract (contrato privado) with a deposit, and 7) final signing at the notary (escritura) and registering the property. Expect the entire process from offer to keys to take roughly 2 to 4 months.
Do I need a Spanish lawyer to buy an apartment?
While not legally required, it is strongly recommended to hire an independent lawyer who speaks your language. A lawyer will verify that the property has no outstanding debts, liens, or planning issues, and will guide you through the contract and tax filings, reducing the risk of costly mistakes.
What are the main costs and taxes I should budget for beyond the purchase price?
Budget for transfer tax (ITP) of 6% to 10% on resale properties, or VAT (IVA) of 10% plus stamp duty (0.5% to 1.5%) on new builds. Add notary and registry fees (0.5% to 1.5%), legal fees (1% to 2%), and a mortgage arrangement fee (0% to 2%) if financing. Total additional costs usually range from 8% to 14% of the purchase price.
Can I get a mortgage in Spain as a foreigner?
Yes, but conditions vary. Non-residents can typically borrow 60% to 70% of the property value (residents may get up to 80%), and you will need to prove income and provide a larger deposit. Interest rates are often slightly higher for non-residents, and you should expect to pay a mortgage broker fee or arrangement fee of 0.5% to 1.5%.
What is the NIE and when do I need it?
The NIE (Número de Identificación de Extranjero) is your tax and identification number for all legal and financial transactions in Spain. You must obtain it before opening a bank account, signing any purchase contract, or paying taxes. You can apply at a Spanish consulate in your home country or in Spain, and it typically takes 2 to 4 weeks.
How does the deposit and payment schedule work?
After your offer is accepted, you typically pay a reservation deposit of 1% to 3% to take the property off the market. Later, when signing the private contract, you pay a further deposit of 10% (sometimes 5% to 15%). The remaining balance is paid at the notary on the day of the final deed, usually via bank transfer or banker’s draft.
What happens at the notary signing and after?
At the notary, you sign the public deed (escritura) in the presence of the seller and your lawyer, transfer the remaining funds, and receive the keys. After signing, the notary files the deed with the land registry, which takes 1 to 3 months, and you must pay the transfer tax and registry fees within 30 days. You also need to register the property in your name and update the cadastral records.
Are there any restrictions on buying property in certain areas of Spain?
In general, there are no restrictions for foreigners buying apartments in most of Spain. However, in certain military or border zones, you may need prior authorization from the Ministry of Defence. Also, in some autonomous regions (like the Balearic or Canary Islands), there may be special rules for buying land or properties with rural classification, but standard urban apartments are usually unrestricted.
What ongoing costs do I have as a foreign owner?
You will pay annual property tax (IBI) of roughly 0.4% to 1.1% of the cadastral value, plus community fees (if the building has shared areas) of €50 to €300 per month, and possibly a waste collection tax. If you rent the property, you must declare rental income and pay non-resident income tax of 19% on gross rental income (or 24% for non-EU residents).