‹ Back to the blog

Guides · · 17 min read

Do I need a lawyer to sell or buy a flat in Spain? What they do, how much it costs and when it is worth it

Selling or buying a flat is usually the most important financial transaction of a lifetime, and hardly anyone is an expert in arras (deposit contracts), charges on the property or plusvalía (municipal capital gains tax). We explain what a lawyer does in a home sale in Spain, how it differs from the notary, how much they charge in 2026 and when it is worth hiring one.

€500–3,000Typical cost of a lawyer for a home purchase or sale, depending on the service chosen (Gibobs, July 2026)
€150–400Approximate price for reviewing the arras (deposit contract) only (Gibobs, July 2026)
No fee scaleBar associations have not been allowed to publish fee scales since 2009: prices are freely set (art. 14 Law 2/1974; CNMC, March 2025)
€23,000Deposit lost by buyers who could not get a mortgage, in cases handled by the OCU (OCU, June 2026)
752,661Home sales authorised by notaries in Spain in 2025, 4.4% more than in 2024 (Consejo General del Notariado)
€3,463/m²Average price of homes sold by deed in the Comunidad de Madrid in 2025, up 13.3% (Consejo General del Notariado)

When someone decides to sell their flat or buy one, the question comes up early: do you need a lawyer if everything is ultimately signed before a notary? The short answer is that the law does not require you to hire a lawyer for a home sale. But the notary and the lawyer do not do the same job. The notary is impartial and certifies what is signed; the lawyer works only for you and protects your interests from before you sign anything.

This is no small matter. According to the Consejo General del Notariado (General Council of Notaries), 752,661 home sales were signed in Spain in 2025, 4.4% more than the previous year, and in the Comunidad de Madrid (Madrid region) the average price in deeds reached €3,463 per square metre, 13.3% more than in 2024. With amounts like these, a badly drafted arras contract or a charge nobody spotted in time can cost tens of thousands of euros and months of grief.

In this guide we look at who does what in a property sale, what exactly a lawyer checks, the most common mistakes and disputes, how much a lawyer charges for a property sale in 2026 and in which situations it is really worth it. If you are in the middle of a sale, it can complement our guide “How to sell a flat in Madrid in 2026”; if you are buying, “Costs of buying a home in the Comunidad de Madrid”.

General information, not advice. This article explains common rules and practices in plain language. It is no substitute for advice from a lawyer, notary or tax adviser who knows your specific case. Fee figures are approximate and come from the sources cited, with their dates.

Notary, land registrar and lawyer: who does what in a property sale

Three legal professionals with very different roles are involved in a home sale, and confusing them is the source of many nasty surprises. The notary is a public official. According to the Consejo General del Notariado itself, their advice is free and impartial, they are obliged to give it (article 147 of the Notarial Regulations) and they must pay special attention to the party most in need of protection. They also carry out a legality check: they verify that the transaction meets the requirements of the law.

In practice, before authorising the deed the notary verifies the identity, capacity and standing of the parties, checks the charges on the home and whether community of owners fees have been paid, requests municipal information on IBI (property tax) and requires the energy performance certificate. Their fees are not freely set: they are governed by an official scale approved by royal decree.

The land registrar comes in afterwards. They assess the deed, that is, they check that the contract meets the legal requirements, and register it. According to the guide from the Colegio de Registradores (Association of Land Registrars), anyone who registers their purchase is treated as the owner as against everyone unless a judge rules otherwise, and is protected against hidden charges; registration must be completed within fifteen working days of submission. It is also the Registro de la Propiedad (Land Registry) that issues the nota simple, the information extract that shows who owns the property and what charges it has.

The lawyer, on the other hand, is not impartial and does not claim to be. You hire them and they protect your interests: they negotiate, draft or review the arras contract, spot risks, explain the tax consequences and review the draft deed before you go to the notary. Their fees are freely set, and they can be with you from before the listing goes live until after signing.

ProfessionalWho they representWhat they doWhen they step inHow they charge
NotaryNo one in particular: they are impartialCertifies with public authority, checks legality, advises both parties and authorises the deedAt the end, at signing (and before, if you consult them)Official fee scale, the same throughout Spain
Land registrarNo one in particularAssesses and registers the purchase; issues notas simples and certificatesBefore (nota simple) and after signing (registration)Official fee scale
LawyerOnly the person who hires themReviews paperwork, negotiates, drafts the arras, reviews the deed and taxes, accompanies youFrom the start until after signingFreely set fees, agreed in writing

Source: Consejo General del Notariado; Colegio de Registradores, “How to buy a home in Spain” (2020); our own analysis.

The key is the timeline. The notary appears at the end, when the most important terms were agreed weeks earlier in a private document: the reservation, the offer or the arras contract. During that stretch no public official is looking at the paperwork, and that is precisely where most problems arise. Notaries themselves warn about it.

Do not sign anything without proper legal advice.

Consejo General del Notariado, press release on the steps in buying a home

Is it compulsory to hire a lawyer to sell or buy a flat?

No. No rule requires the buyer or seller to have a lawyer, and many straightforward sales are completed without one. You can request the nota simple yourself, negotiate the price, sign the arras and go to the notary. The notary will explain the deed and answer your questions on the day of signing, at no extra cost for that advice.

However, there is a detail many people are unaware of. The Ayuntamiento de Madrid (Madrid City Council) points out in its consumer handbook on housing that when the purchase is between private individuals, the relationship is governed by civil law and not by consumer law. In other words: if the problem arises with another private individual, there is no complaint form or consumer arbitration to fall back on, and the route to resolving it, if there is no agreement, is the courts. Prevention is far cheaper than litigation.

What a lawyer checks in a home sale

A good property lawyer works through a checklist. It varies a little depending on whether they act for the seller or the buyer, but the core is the same: making sure that what is being sold is what the listing says, that it carries no debts or charges and that the contract allocates the risks fairly.

  • Nota simple and charges: ownership, mortgages, seizures, easements, tax liens and restrictions recorded at the Land Registry.
  • Debts with the community of owners: outstanding fees, approved special levies and a certificate from the secretary or property manager.
  • IBI and municipal taxes: paid receipts and any debts still attached to the property.
  • Planning status: that the home matches what is registered and the Catastro (Land Cadastre), works without a permit, changes of use (for example, commercial premises converted into homes) and technical inspections of the building.
  • Energy performance certificate and other documents that must be handed to the buyer.
  • Arras contract: type of arras, amounts, deadlines, conditions (such as financing) and consequences of breach.
  • Draft deed: that it reflects what was agreed, the method of payment, the cancellation of charges and how costs are split.
  • Taxes: the seller's plusvalía municipal and income tax (IRPF); the buyer's transfer tax or VAT.
  • Possession and occupancy: who lives in the flat, whether there is a tenant with rights, and that it is handed over free of occupants.

Let's start with the nota simple. The Colegio de Registradores defines it as a purely informative document: it identifies the property, says who owns it and whether it has mortgages or seizures, but only reflects what is in force at the moment it is requested. That is why it is advisable to request it at the start and check again just before signing. If something has to be proved to third parties or in court, what counts is the registry certificate (certificación registral), signed by the registrar.

Registry information must be requested before handing over any money or signing any contract.

Colegio de Registradores, “How to buy a home in Spain” (2020)

Community debts are another classic. The Ley de Propiedad Horizontal (Horizontal Property Act, article 9.1.e) states that the flat is legally bound to pay the communal expenses of the current year and the three previous ones, so the buyer can end up answering with the home for what the previous owner owed. To avoid this, the seller must state in the deed whether they are up to date and provide a certificate of debts; without it the deed cannot be authorised, unless the buyer expressly waives it. A buyer's lawyer will rarely advise that waiver.

Something similar happens with IBI. The consolidated text of the Local Finance Act (article 64) provides that, if the owner changes, the property remains bound to pay the outstanding tax, and requires the notary to give information on debts and that liability. The prudent thing is to agree in the arras who pays that year's bill and check that there are no arrears from previous years.

As for planning paperwork, in the Comunidad de Madrid no cédula de habitabilidad (certificate of habitability) is required to sell a second-hand home, unlike regions such as Catalonia or the Balearic Islands; the reference is the building's first occupation licence. What a lawyer does check is that the floor area, layout and use match what is registered and the Catastro, and that there are no works without a permit that could cause problems for the buyer or the bank financing the purchase.

Finally, taxes. If you sell, the gain is taxed under income tax (IRPF) in the savings base, at rates that in 2026 range from 19% to 30% depending on the amount, and there are exemptions, such as reinvesting in another main home within 24 months or the sale of the main home by people over 65. In addition, the plusvalía municipal must be self-assessed within 30 working days of the sale. Calculating both figures before setting the price avoids unpleasant surprises when the money is already in the bank.

The arras contract: where most is at stake and most is improvised

The arras contract is the private document that reserves the home: the buyer hands over an amount and both parties undertake to sign the deed within a set period. It is signed without a notary, often using a template downloaded from the internet or provided by an intermediary, and it is the moment when the most money changes hands without any outside oversight. That is why having a lawyer review the arras contract is probably the job with the best ratio of cost to peace of mind.

The Código Civil (Civil Code, article 1454) only regulates one type of arras, known as penitential arras, but in practice three types coexist:

  • Penitential arras (arras penitenciales): allow either party to pull out. If the buyer withdraws, they lose what they paid; if the seller withdraws, they pay back double.
  • Confirmatory arras (arras confirmatorias): an advance on the price that proves the contract exists. If someone breaches it, the other party can demand performance or terminate the contract and claim damages.
  • Penal arras (arras penales): set in advance how much a breach costs, like a penalty clause, but give no right to withdraw.

Here is the trap. The Tribunal Supremo (Supreme Court) requires penitential arras to be interpreted restrictively: the right to withdraw is not presumed and must be expressly agreed. The Ayuntamiento de Madrid's housing handbook sums it up: if nothing is specified, they are understood to be confirmatory. Many people sign believing that, at worst, they will lose the deposit, and then find out they can be forced to buy or to pay compensation.

The financial consequences are not theoretical. In June 2026 the OCU (Spain's main consumer organisation) explained that it had helped buyers who lost €23,000 paid as a deposit when they failed to get a mortgage, and pointed out that a seller who received €20,000 in penitential arras and pulls out has to pay back €40,000. A well-drafted clause making the purchase conditional on the financing being granted, with deadlines and how to prove it, would have changed those outcomes.

Before signing the arras, a lawyer will check at least these points:

  1. That the person signing as seller is the registered owner, or all the owners, or has sufficient power of attorney.
  2. What type of arras is being agreed, stated in clear words and citing article 1454 if they are penitential.
  3. Price, amount paid, method of payment and to whom it is paid (never in cash and always with a receipt).
  4. Deadline for signing the deed and what happens if it is delayed for reasons beyond the parties' control.
  5. Financing condition for the buyer, if needed, with a deadline and the documents that prove it.
  6. Undertaking to hand over the home free of charges and occupants and up to date with community fees and IBI.
  7. How costs and taxes are split, which furniture is included and in what condition the home is handed over.

Common mistakes and disputes that end up with a lawyer

There are no public statistics on how many lawsuits arise from sales between private individuals or why, so be wary of anyone who gives exact percentages. What there is, though, is evidence from public bodies and associations that lets us map out the most common problems.

Badly drafted arras. This is the case we have just seen: the type of arras is unclear, the financing condition is missing or the deadline is unrealistic. It is the most expensive mistake and, at the same time, the easiest to prevent.

Documents signed without reading them. The OCU warns of claims of over €11,000 arising from viewing forms and other intermediary documents signed as if they were an unimportant formality. Any paper bearing your signature can create obligations, even if it is presented as a mere formality.

Hidden or improperly cancelled charges. A mortgage that was paid off but is still registered because it was never cancelled at the Land Registry, a seizure entered for an old debt or an easement nobody mentioned. They do not usually prevent the sale, but they need to be resolved beforehand, or the deed must set out how they will be cancelled, with part of the price withheld if necessary.

Inheritances. To sell an inherited flat, the heirs must have accepted the inheritance and, normally, registered it in their names; if there are several of them, they all have to sign. In addition, the plusvalía municipal on an inheritance has its own deadline, six months, which is sometimes forgotten. Many delays at the notary come from inheritances that have not been finalised.

Co-ownership (proindiviso). When the flat belongs to several co-owners (siblings, ex-partners, business partners), one of them alone cannot sell the whole home. The Civil Code (article 400) states that no one is obliged to remain in co-ownership and that anyone can ask for it to be divided, and each co-owner can sell their share, although the others have a right of redemption (article 1522). These are emotionally charged situations in which a lawyer helps negotiate before things reach court.

Homes with a tenant. The Ley de Arrendamientos Urbanos (Urban Tenancies Act, article 25) gives the tenant a preferential right to buy: they must be formally notified of the price and terms, and they have thirty calendar days to match the offer (right of first refusal, or tanteo). If they are not notified, or are notified of a price other than the real one, they can exercise the right of redemption (retracto) and take the home after the sale. In addition, to register the purchase it must be proved to the Land Registry that those notifications were made, and the buyer must respect the tenancy agreement in force.

Squatting. It is a real but uncommon risk, and it should not be exaggerated. According to the Tribunal Superior de Justicia de Madrid (Madrid High Court of Justice), in the third quarter of 2025 there were 33 summary possession proceedings in the region for the illegal occupation of homes owned by an individual or a social organisation, 34% fewer than a year earlier. Even so, the buyer's lawyer will ask for the deed to state that the home is handed over free of occupants and for the final viewing to take place just before signing.

How much does a lawyer charge for a property sale in 2026?

There is no official rate. Since the 2009 reform of the Professional Associations Act (article 14), bar associations cannot set guideline fee scales or recommendations on fees; they can only draw up criteria for the purpose of assessing legal costs. The CNMC (Spain's competition authority) noted this in a report in March 2025 and has fined several associations for turning those criteria into price lists. The result: each firm sets its own price, and the differences between them can be large.

These are the ranges published by various sources in the sector. Treat them as a market reference, not a fixed price:

ServiceApproximate rangeSource and date
Review of the arras contract only€150–400Gibobs, July 2026
Full online advice€500–900Gibobs, July 2026
In-person support, including the notary€900–1,800Gibobs, July 2026
Full handling with taxes and registration€1,200–3,000Gibobs, July 2026
Fees as a percentage of the price0.5%–1%Gibobs, July 2026
Fees as a percentage of the price (another estimate)1%–1.5% or fixed feeasesor.legal, May 2026 revision
Support plans from a consumer association, with lawyer consultations€149 (purchase) and €219 (sale), VAT includedOCU, June 2026

Source: Gibobs (16 July 2026), asesor.legal (May 2026 revision) and OCU (June 2026). Unless stated, the sources do not make clear whether the amounts include VAT; always ask for the final price.

To give you an idea: on a €300,000 flat, fees of 0.5% would be €1,500 and fees of 1%, €3,000, plus VAT if not included. If a 10% arras deposit is paid on that same flat, €30,000 is at stake from day one. The comparison is not meant to scare you, but to put the cost in context.

Before hiring, ask for a written letter of engagement (hoja de encargo) stating what the price includes (review of the arras, attendance at the notary, calculating and filing taxes, cancelling charges), what is excluded, whether VAT is included and when payment is due. Also check that the lawyer is a member of a bar association and has professional liability insurance. A very low fee may be great, or it may cover only a consultation; what matters is knowing what you are paying for.

When is it worth hiring a lawyer, and when might the notary be enough?

There are simple transactions in which an informed seller and buyer can manage with the nota simple, a good arras template and the notary's advice. And there are others in which going without a lawyer means taking a risk that is not worth it. As a general rule, a lawyer is more worthwhile the more money is paid up front before the notary and the more people or special circumstances surround the flat.

It is clearly worth it in these cases:

  • An inherited home, especially if there are several heirs or the inheritance has not been registered.
  • A co-owned flat, a sale after a divorce or co-owners who cannot agree.
  • A let or occupied home, because of the tenant's rights and the handover of possession.
  • Charges in the nota simple: uncancelled mortgages, seizures or entries that need to be lifted.
  • Planning doubts: works without a permit, discrepancies with the Catastro or commercial premises converted into homes.
  • Purchases with a mortgage, to coordinate the arras with the deadlines and the approval of the financing.
  • When you are selling and buying at the same time and need the dates to fit, or when the other party brings their own contract.
  • A buyer or seller who is not resident in Spain, because of the specific tax rules.

Something lighter may be enough if the flat has a single owner, is free of charges and tenants, the buyer is paying without a mortgage and both parties understand what they are signing. Even then, a one-off review of the arras contract for a few hundred euros is cheap insurance. And remember that you can consult the notary before the day of signing: their advice is free and impartial, although they will not negotiate for you.

The lawyer's tasks at each stage of the sale

This table summarises what to check at each point, whether you are selling or buying. It also works as a checklist if you decide to do it yourself.

StageIf you are sellingIf you are buyingKey documents
Before listingUp-to-date nota simple, cancellation of charges, community certificate, IBI receipts, energy certificate, advance calculation of income tax and plusvalíaSet a realistic budget including taxes and costs; arrange the financingNota simple, title deed, energy certificate, IBI receipt
Offer and negotiationReview the offer, deadline and method of payment; do not sign reservation documents without reading themRequest the nota simple before paying anything; check charges, community and planningNota simple, certificate of community debts, cadastral information
Arras contractType of arras, amount, deadline, consequences of breach, handover free of occupantsFinancing condition, realistic deadline, split of costs, safeguards if there are chargesDraft arras, proof of the bank transfer
NotaryReview the draft deed, cancellation of charges and method of payment; provide certificatesReview the draft, check the same-day nota simple and that the home is handed over as agreedDraft deed, community certificate, energy certificate, means of payment
After signingSelf-assess the plusvalía within 30 working days, declare the gain for income tax, cancel utilitiesPay transfer tax, check registration and change the name on the IBI and utilitiesCopy of the deed, self-assessments, registration note

Source: our own analysis based on the Horizontal Property Act (art. 9), Civil Code (art. 1454), Urban Tenancies Act (art. 25), Colegio de Registradores and Consejo General del Notariado. A guide only: each transaction may require additional steps.

Notice that almost all the useful work happens before the notary. Arriving at the signing with the paperwork reviewed does not just reduce risk: it also makes the signing quick and calm, which is exactly what buyer and seller want.

How we do it at Llavely

At Llavely we believe peace of mind in a property sale should not depend on knowing the law. We work with lawyers specialising in property sales and inheritance, with more than 35 years of experience, who review the paperwork for each transaction together with our team. We check the identity and ownership of the seller, speak to each buyer before showing them the home, check their ID before the viewing and coordinate with the notary from the start.

If you are selling, the lawyers are included in “Llavely Sale”, for 2.5% + VAT of the sale price, with everything included: review of the nota simple, charges and debts, drafting the arras, calculating the plusvalía and income tax, preparing the deed, going with you in person to the notary on the day of signing and answering your questions. Plus professional photos, video, floor plan, virtual tour, the viewings, which we carry out ourselves, and a private portal to follow the sale. You only pay if you sell, on the day of signing at the notary. If you are buying, you pay nothing: the transaction's lawyer works for the seller and acts as a mediator with you, explains every step, deadline and document at no cost, and looks for an agreement that is good for both sides. If you want someone to defend only your interests, you can always hire your own lawyer.

No extra payments or hidden costs: what you see is what you get. What matters, with Llavely or without it, is the idea behind this guide: checking before you sign costs little and avoids most of the grief.

Frequently asked questions

Is it compulsory to hire a lawyer to buy or sell a flat?

No. No law requires you to have a lawyer in a home sale, and the notary gives free, impartial advice on the day of signing. Even so, it is wise to have one in transactions involving inheritances, co-ownership, tenants, charges or a mortgage, and whenever you are going to sign the arras.

Doesn't the notary already do the lawyer's job?

Not exactly. The notary is impartial, checks legality and advises both parties, but steps in at the end, when the terms have already been agreed in the arras. The lawyer defends only your interests and can be involved from the start, negotiating and drafting.

How much does a lawyer charge for a home sale?

There is no official rate: bar associations cannot publish fee scales and each firm sets its own price. According to 2026 sector sources, the usual range is between €500 and €3,000 depending on the service, or between 0.5% and 1.5% of the price. Always ask for a letter of engagement setting out what is included and whether VAT is charged.

How much does it cost to have a lawyer review the arras contract?

A review of the arras contract alone usually costs between €150 and €400, according to figures published in July 2026. It is one of the jobs with the best ratio of cost to protection, because the arras is the document in which the most money is paid up front without a notary.

What happens if I sign the arras and I am refused a mortgage?

It depends on what the contract says. If no financing condition was agreed, you may lose the deposit or even be required to pay compensation if the arras are confirmatory. That is why it is important to include a clause making the purchase conditional on the loan being granted, with a deadline and how to prove it.

What is the difference between penitential and confirmatory arras?

Penitential arras allow you to withdraw: the buyer loses the deposit or the seller pays back double. Confirmatory arras are an advance on the price and, if someone breaches the contract, the other party can demand performance or termination with compensation. If the contract does not make it clear, they are treated as confirmatory.

Who pays the lawyer, the buyer or the seller?

Each party pays the lawyer they hire. As the interests of buyer and seller are opposed, it is prudent for each to have their own or, at least, for you to know whom the lawyer involved is acting for. The notary, by contrast, is impartial and their fee is split according to the law and what has been agreed.

Can I sell an inherited flat if one of the heirs does not want to?

If the flat belongs to several people, all of them must sign to sell the whole home. The Civil Code allows any co-owner to ask for the jointly owned property to be divided and to sell their own share, although the others have a right of redemption. These are cases where it is worth negotiating with a lawyer's help before going to court.

Can a flat with a tenant be sold?

Yes, but the tenant has a preferential right to buy: they must be notified of the price and terms and have thirty calendar days to match the offer. If this is not done properly, they can exercise the right of redemption after the sale. The buyer must also respect the tenancy agreement in force.

When should I hire the lawyer?

Before signing anything or handing over money, ideally when preparing the sale or starting your search. Almost all the useful work is done before the notary: reviewing the nota simple, the debts and the arras contract. Hiring one when there is already a dispute usually costs considerably more.

Sources

  1. Why go to a notary (Consejo General del Notariado, General Council of Notaries, accessed October 2026)
  2. Notaries explain the steps to follow when buying a home and applying for a mortgage loan (Consejo General del Notariado, press release)
  3. Home sales grow 4.4% in 2025 and prices exceed the 2007 peak, according to notaries (Forbes España, 26 February 2026)
  4. What is the difference between a nota simple and a registry certificate? (Colegio de Registradores, Association of Land Registrars, accessed October 2026)
  5. How to buy a home in Spain. Consumer security (Colegio de Registradores, revised edition February 2020)
  6. Housing handbook (Ayuntamiento de Madrid, Madrid City Council, Consumer Affairs, accessed October 2026)
  7. In which regions is a certificate of habitability compulsory to sell a flat? (Housfy, updated 29 May 2026)
  8. Article 25 of the Ley de Arrendamientos Urbanos (Urban Tenancies Act) (Iberley, accessed October 2026)
  9. Between withdrawal and breach: the legal nature of arras (LegalToday, 2 July 2026)
  10. Report INF/CNMC/053/25 on the guideline fee criteria of the Alzira Bar Association (CNMC, Spain's competition authority, 19 March 2025)
  11. Lawyer for a home purchase: how much it costs and what they do (Gibobs, 16 July 2026)
  12. Lawyer for buying a home: practical guide 2026 (asesor.legal, May 2026 revision)
  13. OCU's new property support service (OCU, Spanish consumer organisation, 17 June 2026)
  14. Housing advice: plans and prices (OCU, accessed October 2026)
  15. Effects of the crisis on Madrid's courts, third quarter of 2025 (Tribunal Superior de Justicia de Madrid, Madrid High Court of Justice, CGPJ, 12 December 2025)
  16. Capital gains on the sale of a home in 2026: income tax guide (Guía Fiscal, 26 July 2026)

Sell to people who can already buy.

Listing is free. 2.5% + VAT only if you sell, no hidden costs.