What is tanteo y retracto, and how does it protect a tenant?

It is the tenant's right of first refusal when the owner sells. Spanish law calls it the derecho de adquisición preferente, and it comes in two halves. Tanteo is the right to buy first, before the sale closes: the landlord has to tell you the price and terms, and you get the chance to match them and take the flat yourself. Retracto is the fallback that kicks in afterwards, if the owner sold behind your back or on a better deal than they showed you.

The whole thing sits in article 25 of the LAU, the national Urban Leases Act that governs your tenancy across Spain, Barcelona included. The point of it is simple: the person actually living in the home gets first shot at buying it, rather than being the last to hear the flat has changed hands. It is not a discount and it is not a way to block the sale. It is a queue position, and you are at the front of it.

This is general guidance for renters, not legal advice. The deadlines are short and the paperwork is technical, so confirm anything specific to your case with a tenant advice office, the Ajuntament or a qualified lawyer before you act.

When does the right of first refusal actually apply?

It applies when the landlord sells the individual flat you rent and your contract has not signed the right away. The trigger is the sale itself. Before the owner can close a deal with a buyer, they are meant to serve you a formal, provable notice, a notificación fehaciente, setting out the price and the essential conditions of the sale. That notice starts your clock.

From the day you receive it, you have 30 calendar days to say yes and buy on those terms. Miss the window and the owner is free to sell to their buyer, though they cannot quietly drop the price or soften the terms below what they offered you. The offer is not open forever either: the effect of the notice lapses after 180 calendar days if the sale has not completed, so an old notice from months ago has to be reissued before it means anything.

The catch new arrivals miss is that this default only holds if your lease actually carries the right, which brings us to the clause that quietly removes it.

Can your contract take the right away?

Yes, and this is the part that trips people up. For any tenancy signed since 6 June 2013, the law lets the tenant waive the right of first refusal in the contract, and a large share of Barcelona leases do precisely that. It usually appears as a line about renuncia al derecho de adquisición preferente or renuncia a los derechos de tanteo y retracto, tucked among the standard clauses.

If your contract waives it, you have no right to buy first, full stop. The one thing the owner still owes you is a heads-up: even with a waiver, they have to tell you they are selling at least 30 days before signing the deed. So the first move when a sale is mentioned is not to reach for a mortgage broker, it is to read your own contract. If you never saw a copy, ask the agency for one, and if you are still weighing a place, our guide to rental contract red flags covers the clauses worth catching before you sign.

What is retracto, and when would you use it?

Retracto is your remedy when a sale goes through without giving you the fair shot you were owed. If the landlord sold without serving proper notice, or completed on terms better than the ones they put to you, you can exercise retracto and step into the buyer's shoes on the same conditions, effectively unwinding the sale in your favour.

The deadline is tight: 30 calendar days from the moment you learn the real terms of the sale, which in practice usually means from the entry in the Land Registry, where a nota simple shows who now owns the flat and on what terms. Because the window is short and you have to prove both the sale and your standing to retract, this is the point to get a lawyer involved fast rather than working it out yourself.

When the right does not exist at all

Two situations switch it off. The first is a whole-building sale. When the owner sells the entire property, every flat and the commercial units, in one transaction to a single buyer, the individual tenant loses the personal right under article 25 of the LAU. You cannot cherry-pick your own flat out of a block sold as one lot.

The second is the waiver clause covered above. Beyond those, Barcelona sits under an extra Catalan layer worth knowing:

  • Whole-building sales can pass to the public administration. Where the tenant's individual right falls away in a block sale, a right of first refusal can instead sit with the public administration.
  • Large landlords in stressed-market areas. In Catalonia, when a large holder (broadly a legal entity with five or more homes) sells housing in a declared stressed-market zone, the Generalitat can hold its own tanteo y retracto and must be notified of the sale, with roughly two months to decide. That is the administration's right, separate from yours as the person living there.

Catalan housing rules for large landlords and stressed-market zones change often and turn on precise definitions. Treat the point above as orientation and check the current position with a lawyer or the Agència de l'Habitatge de Catalunya for a specific sale.

What to do if your Barcelona landlord is selling

Move in order, and do not let the deadlines run while you decide. A calm, documented response protects both your right to buy and your right to stay:

  1. Read your contract for any renuncia to tanteo y retracto. It decides whether the right exists before anything else matters.
  2. Get the notice in writing. If the owner is selling, ask for the formal notice of price and conditions. Note the date you received it, because your 30-day clock runs from there.
  3. Decide honestly whether you want to buy and can fund it. The right only helps if you would actually take the flat at the offered price.
  4. Check the Land Registry with a nota simple if you suspect a sale has already happened without notice, so you know whether retracto is on the table.
  5. Get advice fast from a lawyer or a tenant office if any deadline is close. These windows do not pause while you think.

Whatever you decide, remember your lease usually survives the sale, so a change of owner is rarely the emergency it first feels like. Our guide on what happens when your landlord sells walks through your right to stay put. And if buying is not for you and it is time to find somewhere new, let Llavai run your Barcelona search so the next place is lined up before anything changes hands.