Property · Nov 16, 2026 · 16 min read

Buying a home with a tenant in Spain: does the lease survive, and who has first refusal after the 2026 decree

Olga Caballero & Co. Olga Caballero & Co.Law firm · Tenerife & Fuerteventura

In September 2018 a bank sold a flat in Valladolid to a company, in a deed that covered several dwellings in different buildings and declared this one free of tenants. It was not: a man had been renting it from the bank since October 2016 and lived there with his wife. The buyer found the flat occupied, reported the tenant for unlawful occupation and lost, because the occupation rested on a lease. At that trial, in February 2019, the buyer showed its deed for the first time, and three weeks later the tenant asked a court for the flat itself, at the price in the deed. On 19 January 2026 the Supreme Court upheld the claim, by then carried on by his widow: 8,237 euros, plus 247.30 euros of expenses. Anyone who buys a home in Spain with a tenant inside faces the two questions of that case. Does the lease survive the sale, and for how long? And can the tenant take the buyer's place? Both answers changed in the autumn of 2026. This article sets them out as they stand on 15 November 2026, after Real Decreto-ley 29/2026 rewrote the tenant's right of first refusal on 8 October and the Permanent Deputation of the Congress ratified it on 12 November.

Does the lease survive the sale? Five years, or seven

For a lease of a main home signed since 6 March 2019 the answer is in article 14 of the Ley de Arrendamientos Urbanos: El adquirente de una vivienda arrendada quedará subrogado en los derechos y obligaciones del arrendador durante los cinco primeros años de vigencia del contrato, o siete años si el arrendador anterior fuese persona jurídica, aun cuando concurran en él los requisitos del artículo 34 de la Ley Hipotecaria. The buyer steps into the landlord's shoes for the first five years of the contract, seven if the seller was a company or another legal entity, and the last words close the usual escape: it makes no difference that the buyer relied on a land registry that showed no lease. Article 34 of the Mortgage Act protects El tercero que de buena fe adquiera a título oneroso algún derecho de persona que en el Registro aparezca con facultades para transmitirlo; against a tenant in the protected years that protection does not count.

Two variations follow in the same article. If the lease was agreed for longer than five or seven years, the buyer is bound for the whole term unless he is that protected third party, in which case he bears the lease only until the fifth or seventh year, debiendo el enajenante indemnizar al arrendatario con una cantidad equivalente a una mensualidad de la renta en vigor por cada año del contrato that remains beyond it: the seller, not the buyer, pays the tenant. And a clause saying that a sale ends the lease does not work inside the protected years: Cuando las partes hayan estipulado que la enajenación de la vivienda extinguirá el arrendamiento, el adquirente sólo deberá soportar el arrendamiento durante el tiempo que reste para el transcurso del plazo de cinco años, o siete años si el arrendador anterior fuese persona jurídica. Once those years have run, article 10 gives the contract yearly extensions when nobody gives notice, the landlord four months ahead and the tenant two: el contrato se prorrogará obligatoriamente por plazos anuales hasta un máximo de tres años más. The notice the seller did or did not give is now the buyer's affair, so the buyer needs the date of the contract and of every extension before signing, not after.

The date of the lease decides which text applies

Article 14 has had three wordings, and a lease keeps the one of its own date. Both reforms said so in the same words: contracts signed before each of them continuarán rigiéndose por lo establecido en el régimen jurídico que les era de aplicación. So the first document to ask for is the lease, and the first thing to read in it is the date.

A lease signed from 1 January 1995 to 5 June 2013 follows the original text: five protected years, whatever the registry said. A lease signed from 6 June 2013 to 5 March 2019 follows the text of Ley 4/2013, which turned on registration: the buyer of a registered property who met the conditions of article 34 sólo quedará subrogado en los derechos y obligaciones del arrendador si el arrendamiento se hallase inscrito in the land registry before the sale. An unregistered lease of those years therefore does not bind a buyer in good faith of a registered property. A lease signed from 6 March 2019 follows the text quoted above. The Valladolid lease was of October 2016, the middle period, and the Supreme Court's ruling 28/2026 explains what that did and did not mean: the unregistered lease might not bind the buyer to keep the tenant, but the tenant kept his right to buy. In the Court's words, no existe contradicción en que un arrendamiento no inscrito no sea oponible para obligar al adquirente a mantenerlo, pero sí habilite al arrendatario para retraer la finca.

Bank sales, auctions and premises that are not homes

When the landlord loses the property instead of selling it, article 13 applies the same years to a lease signed since 6 March 2019. If his right ends through a mortgage foreclosure, a court-ordered sale or the exercise of a purchase option, among other cases, el arrendatario tendrá derecho, en todo caso, a continuar en el arrendamiento hasta que se cumplan cinco años o siete años respectivamente. Whoever buys at the auction buys the tenant's remaining years with the home.

Shops, offices and other premises follow a different rule, in article 29: the buyer is subrogated salvo que concurran en el adquirente los requisitos del artículo 34 de la Ley Hipotecaria. There the registry does matter, and a buyer in good faith of registered premises whose lease is not registered may end it. Outside the Act altogether, the Civil Code's old rule returns, article 1571: El comprador de una finca arrendada tiene derecho a que termine el arriendo vigente al verificarse la venta, salvo pacto en contrario y lo dispuesto en la Ley Hipotecaria. A holiday let is not a lease under the Act at all: article 5 excludes the furnished dwelling marketed through tourist channels under the tourism rules, whose stay no podrá en ningún caso superar los treinta y un días. A flat sold with holiday bookings carries no tenancy; what happens to the bookings is a matter for the contract of sale.

The tenant's right to buy first: thirty days before, thirty days after

Article 25 gives the tenant of a home two chances to buy it. The first comes before the sale, the tanteo: the tenant may take the purchase for himself en un plazo de treinta días naturales, a contar desde el siguiente en que se le notifique en forma fehaciente la decisión de vender la finca arrendada, el precio y las demás condiciones esenciales de la venta. Thirty calendar days from a notice that can be proved, such as a notarial letter or a burofax, stating the price and the main terms. The notice does not last for ever: Los efectos de la notificación prevenida en el párrafo anterior caducarán a los ciento ochenta días naturales siguientes a la misma, so a sale signed seven months later needs a new one.

The second chance comes after the sale, the retracto, which the Civil Code defines in article 1521: El retracto legal es el derecho de subrogarse, con las mismas condiciones estipuladas en el contrato, en lugar del que adquiere una cosa por compra o dación en pago. The tenant has it when he was not notified, when the notice left out a required term, or when the real price turned out lower or the terms lighter than those notified. Its clock is also thirty days, and the Act says exactly what starts it: El derecho de retracto caducará a los treinta días naturales, contados desde el siguiente a la notificación que en forma fehaciente deberá hacer el adquirente al arrendatario de las condiciones esenciales en que se efectuó la compraventa, mediante entrega de copia de la escritura o documento en que fuere formalizada. The duty is the buyer's, and it is met by handing over a copy of the deed.

Ruling 28/2026 shows what happens when the buyer skips it. The appeal court had counted the thirty days from the day police officers told the tenant that the flat had been sold, reasoning that the sale was in the land registry for him to consult. The Supreme Court refused both ideas: la mera constancia registral de la transmisión carece de virtualidad a tales efectos, and La publicidad registral no desplaza el deber legal de notificación. Without the buyer's notice, the clock starts only when the tenant has complete and exact knowledge of the sale and its terms, which in that case was the day the deed was shown in court. A buyer who does not notify therefore keeps the tenant's right alive for as long as the silence lasts. The price of the redemption is the price in the deed unless it is shown to be fictitious, plus the expenses of the sale.

What the decree of October 2026 changed: no waiver, and block sales no longer escape

Until 7 October 2026 a lease could carry a clause by which the tenant gave up this right, and the Act allowed it: since 2013, las partes podrán pactar la renuncia del arrendatario al derecho de adquisición preferente, with the landlord bound only to announce the sale con una antelación mínima de treinta días a la fecha de formalización del contrato de compraventa. Real Decreto-ley 29/2026, in force since 8 October 2026, replaced that paragraph with one sentence: Las partes no podrán pactar la renuncia del arrendatario al derecho de adquisición preferente. The first decree of the autumn, in force on 1 October and repealed by the Congress on 2 October, had carried the same sentence for a single day.

It also removed the exception for block sales. The former text excluded the right when the flat was sold together with the rest of the landlord's units in the same building, or when the whole building was sold to one buyer; ruling 28/2026 had already read that exception narrowly and refused it to a sale of flats in different buildings. The new article 25.7 turns the rule round: Los derechos de tanteo y retracto del arrendatario no decaerán por el hecho de que la vivienda arrendada se transmita conjuntamente con otras viviendas, locales, inmuebles o activos, siempre que la vivienda sea jurídicamente individualizable. In a joint sale the notice must state the price allocated to the tenant's flat and the criteria used, the allocation follows objective criteria, atendiendo preferentemente al valor de referencia catastral o, en su defecto, a tasación independiente, and a price loaded onto one flat to keep its tenant out fails: Serán ineficaces frente al arrendatario las asignaciones de precio que tengan por finalidad impedir u obstaculizar el ejercicio del derecho de adquisición preferente.

The decree is no longer provisional. The Congress being dissolved, its Permanent Deputation voted on 12 November 2026 and, as the Official State Gazette of 13 November records, acordó convalidar el Real Decreto-ley 29/2026. One question the decree leaves open: its two transitional provisions deal with extraordinary extensions already requested and with evictions in progress, the one it adds to the Act deals with seasonal contracts, and none speaks of article 25. Whether a waiver signed in a lease of 2020 still binds a tenant in a sale of 2027 is therefore not answered by the text, and the decree is too recent for the Supreme Court to have answered it. Until it does, the safe course for a seller and a buyer is to notify the tenant as if the waiver did not exist.

What is not a sale

The right is triggered by a sale, and the Supreme Court reads that word strictly. In ruling 591/2026 of 16 April 2026 a company in liquidation had allotted a rented home and its garage in Galapagar to one of its shareholders in payment of her share, and the two tenants claimed the property for themselves. The Court refused: article 25 attaches the right to the venta de la vivienda arrendada, which requires a transfer for a price that the tenant can pay in the buyer's place, and in an allotment to a shareholder no existe un precio en sentido propio ni una contraprestación autónoma. The same ruling recalls that gifts and inheritances stay outside for the same reason. A tenant cannot pre-empt an heir, a donee or a shareholder who receives the home in a liquidation; he can pre-empt a buyer.

The land registry polices the notices. To register the sale of a rented home the deed must show that they were given, and when the home is not rented, deberá el vendedor declararlo así en la escritura, bajo la pena de falsedad en documento público. That is the declaration made in the Valladolid deed, and it protected nobody: more than seven years later the courts gave the flat to the tenant's side.

The deposit and the rent

Subrogation means the buyer becomes the landlord for everything, including what the seller received. On signing a lease será obligatoria la exigencia y prestación de fianza en metálico en cantidad equivalente a una mensualidad de renta en el arrendamiento de viviendas, and the tenant will ask the landlord of the day for it when he leaves. The deposit, and any additional guarantee, should therefore pass from seller to buyer at the notary's, and the deed should say so. The rent belongs to the buyer from the day of the deed, and the tenant must be told in writing where to pay it; the same letter can carry the copy of the deed that starts the thirty days. If the tenant later stops paying, the buyer is the one who sues, as our article on eviction for unpaid rent explains.

Eight things to settle before you sign

  • The lease itself. Ask for the signed contract and every annex, not a summary: the date, the agreed term, the rent, the deposit and any clause on sale or on the landlord's own need of the home.
  • The date. Place the lease in its period: before 6 June 2013, from then to 5 March 2019, or later. The period decides whether an unregistered lease binds you.
  • The seller. A company or another legal entity as landlord means seven protected years instead of five, and the count runs from the contract, not from your purchase.
  • The notice before. Have the seller notify the tenant, by a means that can be proved, of the decision to sell, the price and the main terms, and wait the thirty calendar days or obtain the tenant's written answer.
  • The waiver. Do not rely on a waiver clause for a sale signed since 8 October 2026; treat the tenant as holding the right.
  • The block. If the home is sold with others, see that the deed and the notice state the price allocated to it and the criteria, and that the figure can be defended against the cadastral reference value.
  • The notice after. Once the deed is signed, hand the tenant a copy of it against a signature or through a notary; your thirty days of exposure start only then.
  • The money. Receive the deposit and any guarantee from the seller at the notary's, adjust the month's rent, and write to the tenant with the new account.

Buying with a tenant at a glance

Situation The rule in force
Home leased since 6 March 2019 The buyer is bound for the first five years of the contract, seven if the seller was a legal entity, even if the registry showed no lease
Home leased from 6 June 2013 to 5 March 2019 A buyer in good faith of a registered property is bound only if the lease was registered before the sale
Lease agreed for longer than five or seven years Bound for the whole term, unless the buyer is a protected third party: then only to the fifth or seventh year, and the seller compensates the tenant
Foreclosure, court sale or purchase option The tenant stays until the fifth or seventh year
Shops, offices and other premises The buyer is bound unless he is a protected third party under the Mortgage Act
Before the sale Notice to the tenant of the decision, the price and the terms; thirty calendar days to take the purchase; the notice lapses after one hundred and eighty days
After the sale Thirty calendar days for the tenant to redeem, counted from the buyer's notice with a copy of the deed
Waiver of the right Not allowed since 8 October 2026
Sale together with other properties The right survives if the home can be legally separated; the price is allocated by objective criteria
Inheritance, gift, allotment to a shareholder Not a sale: no right of first refusal

What our team does

The firm's property practice handles purchases, sales and leases in Tenerife and Fuerteventura with full due diligence before any contract binds. For a home with a tenant that means reading the lease and placing it in its period, checking the registry and the notices already given, drafting the notice to the tenant and the clauses of the arras contract that make the purchase depend on its answer, settling the deposit and the rent at the notary's, and handing over the copy of the deed that starts the tenant's thirty days; and, when the purchase is financed, fitting those dates to the bank's, as our article on mortgages for non-residents describes. For a tenant, it means measuring the thirty days and the price, and filing the claim in time. The team works in Spanish, English, German, Russian and Italian in-house, from Costa Adeje and Corralejo, and agrees the fee before any work begins. If you are about to buy a rented home, or yours has just been sold, write to us with the lease and whatever notice you have received.

Common questions

Can I end the lease when I buy the home?

Not during the protected years if the lease was signed since 6 March 2019: you take the landlord's place for the first five years of the contract, seven if the seller was a company or another legal entity, even if the land registry showed no lease. If it was signed from 6 June 2013 to 5 March 2019 and never registered, a buyer in good faith of a registered property is not bound by it. In every case the years count from the contract, and a clause saying that a sale ends the lease does not shorten them.

The lease says the tenant gave up the right of first refusal. Is that still valid?

For a lease signed today, no: since 8 October 2026 the Act forbids the waiver. For a waiver signed before that date in a lease still running, the decree has no transitional rule and is too recent for the Supreme Court to have ruled on it, so the answer is open. The prudent course is to notify the tenant of the sale, the price and the terms as if the clause did not exist, and to wait the thirty calendar days.

How long does the tenant have to match the price?

Thirty calendar days, twice. Before the sale, from the day after a provable notice of the decision to sell, the price and the main terms; that notice lapses after one hundred and eighty days. After the sale, thirty calendar days from the day after the buyer hands over a copy of the deed, if the tenant was not notified beforehand or the sale was closed on better terms than those notified.

I bought the home and nobody notified the tenant. What now?

Notify now, with a copy of the deed and proof of delivery. The Supreme Court's ruling 28/2026 holds that the thirty days start with that notice or, failing it, when the tenant has complete and exact knowledge of the sale; the entry in the land registry does not start them. Until then the tenant can redeem the home at the price in the deed plus the expenses of the sale, however long ago you bought.

Does all this apply to a holiday let or to a shop?

A holiday let marketed under the tourism rules is outside the Act: there is no tenancy to survive the sale and no right of first refusal. A shop or an office is inside it with its own rules: the lease binds the buyer unless he is a protected third party under the Mortgage Act, and article 31 gives the tenant the right to buy first by reference to the same article 25, unless the contract excluded it, since in leases of premises the parties' agreement comes first (article 4.3).

General information on the law as it stands on 15 November 2026 (Ley 29/1994 de Arrendamientos Urbanos, articles 4, 5, 10, 13, 14, 25, 29, 31 and 36, in the text given by Real Decreto-ley 29/2026, ratified on 12 November 2026; Ley 4/2013 and Real Decreto-ley 7/2019, first transitional provisions; the Civil Code, articles 1521 and 1571; the Ley Hipotecaria, article 34; Supreme Court rulings 28/2026 and 591/2026). It is not legal advice; every purchase turns on the date of the lease, its wording and the notices actually given.

This note is general information, not legal advice. For advice on your specific situation, consult a lawyer.

Wondering how this applies to your case?

A first consultation in person or by video, in any of our twelve working languages.

Book a consultation
#Buying in Spain #Rental law #Tenants Share