End of the rental contract and extensions
If your main-home contract was signed on or after 6 March 2019, it lasts at least five years (seven if the landlord is a company): even if you sign for one, it renews by itself each year and only you can end it, with thirty days' notice. When the five or seven years are up, if nobody gives notice (the landlord four months ahead, you two), it continues for up to three more years. After that you can ask for an extraordinary extension: up to three years if the flat is in a stressed housing area, and up to two if your contract was in force on 8 October 2026, its mandatory extension ends before 31 December 2028 and you have been up to date with payments for at least eight months.
The three stages of the contract
The Urban Leases Act separates what you sign from how long the contract lasts. In a main-home contract signed on or after 6 March 2019:
- Agreed term
- Whatever the contract says, often one year. Only you can decide not to renew when it ends, with thirty days' notice.LAU, art. 9.1
- Mandatory extension
- Year by year, until it reaches five years (seven if the landlord is a legal entity). Only you can end it at the end of each year, with thirty days' notice.LAU, art. 9.1
- Tacit extension
- Year by year, up to three more. To stop it starting, the landlord gives notice four months before the five or seven years are up and you two months. Once started, only you can end it, one month before each year ends.LAU, art. 10.1
- When it starts counting
- From the date of the contract or from the day you were given the home, if that was later.LAU, art. 9.1
- If it doesn't say how long
- It is taken as signed for one year, with the same extensions.LAU, art. 9.2
- A clause that removes them
- It isn't valid: anything that worsens the law's rules for the tenant is void, unless the law itself allows it.LAU, art. 6
- The same contract
- During the extensions you keep the same contract. The rent is only updated if the contract provides for it and within the legal limit.
- The deposit
- It isn't updated in the first five or seven years. On each later extension, the landlord can ask for it to match one month of the current rent, and you can ask for it to go down if the rent is lower.LAU, art. 36.2
An example with dates
Marta signed a one-year contract for a flat in Sants on 1 March 2022. The landlord is an individual.
- 1-3-2023 to 1-3-2026
- The contract renews by itself each year. If Marta wanted to leave at the end of a year, she would give thirty days' notice.
- 1-11-2026
- Last day for the landlord to give notice that they won't renew when the five years are up: four months before.
- 1-1-2027
- Last day for Marta to give notice that she won't stay on: two months before.
- 1-3-2027
- The five years are up. If nobody gave notice in time, the tacit extension starts, year by year and at most until 1-3-2030.
If the landlord gave notice in time, the contract ends on 1 March 2027, unless Marta asks for an extraordinary extension. As the flat is in Barcelona, a city declared a stressed housing area, she can ask for the one in art. 10.3 of the LAU while the declaration remains in force. If it were not in a stressed area, she could ask for the one in Royal Decree-law 29/2026: her contract was in force on 8 October 2026 and its mandatory extension ends before 31 December 2028, as long as she is up to date with payments and has been for the previous eight months.
The extraordinary extensions you can ask for
When the mandatory or the tacit extension ends there are three more extensions, depending on your case. They all have to be requested: none applies by itself.
- Stressed area: up to three years
- A main home in a stressed housing area, with the declaration in force. Year by year, up to three.
- The landlord can refuse if you agree on other terms, if you sign a new contract that respects the area's rent limits or if they have given notice, within the periods of art. 9.3, that they need the home for themselves or their relatives.
- Contracts in force on 8-10-2026: up to two years
- A main home whose mandatory extension ends before 31-12-2028, or whose tacit extension or tacit renewal ends, if you are up to date with payments and have been for the previous eight months. Year by year, up to two.
- The landlord can refuse if you agree on other terms, if you sign a new contract or if they give notice, within the periods of art. 9.3, that they need the home for themselves or their relatives, even if the contract didn't provide for it, as long as the need is real and proven. It doesn't apply if you renew or sign a new contract with a rent at least 5% lower.
- Vulnerability: up to one year
- If you prove a situation of social and economic vulnerability with a report or certificate from the municipal or regional social services issued in the last year.
- The landlord is only obliged to accept it if they are a large holder, and is not obliged if you have signed a new contract.
- On the same terms
- During the extraordinary extension the terms and conditions of the current contract continue.LAU, art. 10.3
- They don't add up
- The one in Royal Decree-law 29/2026 isn't added to the stressed-area one: if you are in a stressed area, the one in art. 10.3 applies first.Royal Decree-law 29/2026, fifth final provision
- Large holder
- Someone who owns more than ten urban residential properties or more than 1,500 m² of built residential floor space, not counting garages and storage rooms. The region can lower this in a stressed area, giving its reasons, to anyone with five or more residential properties in that area.Law 12/2023, art. 3.k
- How to ask for it
- The law sets no deadline or form. Do it in writing, dated and in a way that proves the landlord received it, such as a burofax or registered post, before the contract ends. Say which extension you are asking for and why you meet its conditions. For the two-year one, keep the payment receipts for the previous eight months to hand.
- If you asked for it in the spring
- Extensions requested under Royal Decree-law 8/2026, repealed in April 2026, count as valid without asking again.Royal Decree-law 29/2026, first transitional provision
When the landlord can take the home back early
During the mandatory extension, only if all these conditions are met:
- The four conditions
- They are an individual.
- At least the first year of the contract has passed.
- The contract expressly says they might need it before the five years are up for themselves or their first-degree relatives to live in, or for their spouse after separation, divorce or annulment.
- They tell you at least two months in advance, giving the reason.
- If the person named doesn't move in
- If within three months of your leaving they don't move in, you can choose within thirty days between going back to the home for a new period of up to five years, on the same terms and with the costs of moving out paid, or compensation of one month's rent for each year left until the five.LAU, art. 9.3
If the flat is sold or the person who signed dies
- Sale
- The buyer takes over the contract for the first five years (seven if the previous landlord was a legal entity), even if it isn't entered in the Land Registry. If the contract agreed more years and wasn't registered, the seller compensates you with one month's rent for each year remaining.LAU, art. 14
- Death of the tenant
- The contract can be continued, in this order, by the spouse who lived there, the partner who lived there for at least two years or with children in common, the children and other relatives who lived there, in the cases set by law. The landlord must be told in writing within three months, with the death certificate.LAU, art. 16
- Separation or divorce
- If the court gives you the use of the home your partner rented, you can stay on by telling the landlord within two months of being notified of the decision.LAU, art. 15.2
Contracts from before 2019
Each contract keeps the duration rules of the law in force when it was signed:
- From 1-1-1995 to 5-6-2013
- Mandatory extension up to five years and a tacit extension of up to three more, year by year. Notice not to renew: one month before, both parties.LAU, arts. 9.1 and 10, 1995 version
- From 6-6-2013 to 18-12-2018, and from 24-1-2019 to 5-3-2019
- Mandatory extension up to three years and a tacit extension of one more year. Notice not to renew: thirty days before, both parties.LAU, arts. 9.1 and 10.1, 2013 version
- From 19-12-2018 to 23-1-2019
- Mandatory extension up to five years (seven for a legal entity) and a tacit extension of three more years. Notice not to renew: thirty days before, both parties.LAU, arts. 9.1 and 10.1, version of 19-12-2018
- From 6-3-2019
- Mandatory extension up to five years (seven for a legal entity) and a tacit extension of up to three more, year by year. Notice not to renew: the landlord four months and you two.LAU, arts. 9.1 and 10.1
This is set by the first transitional provisions of Royal Decree-law 7/2019 and Law 4/2013. There are two exceptions for these older contracts, and one rule for when the contract has already ended:
- The stressed-area and vulnerability extensions
- Contracts signed before 26 May 2023 can be extended under art. 10 of the LAU as currently worded, so you can ask for those extraordinary extensions even if your contract is old.Law 12/2023, fourth transitional provision
- The two-year extension
- It applies to any main-home contract in force on 8 October 2026, including a tacit renewal.Royal Decree-law 29/2026, fifth final provision
- Tacit renewal
- If the contract has already ended and you stay in the flat for fifteen days with the landlord's agreement, without them asking you to leave, the tenancy continues month by month if you pay monthly.Civil Code, arts. 1566 and 1581
Before your contract ends
- The dates
- Check the signing date and the date you got the keys: the five or seven years run from there.
- The landlord
- Check whether they are an individual or a legal entity, and whether they are a large holder.
- The need clause
- Look in the contract for whether it says they might need the home.
- The area
- Check whether your street is in a stressed housing area.
- The extension
- If you are going to ask for an extraordinary extension, do it in writing and before the end date.
- If you leave
- Give the notice your stage requires and get ready for the return of the deposit.
Every home in your areas, in one list.
Get verified once. Open every door. You always know where you stand.
Building your profile and getting verified is free.
- You upload your documents only once.
- Agencies see your verified badge, not your documents.
- Your documents are only seen by the agency you give permission to, and you can withdraw it.
What people ask most about the end of the contract.
How long does a rental contract last if I signed for one year?
If it is for your main home and you signed it on or after 6 March 2019, it renews by itself year by year up to five years, or seven if the landlord is a company. Only you can end it at the end of each year, with thirty days' notice.
Can they make me leave at the end of the first year?
No, unless the landlord is an individual, the contract expressly says they might need the home for themselves or a first-degree relative, and they give you two months' notice. Without that clause, they have to respect the five years.
How much notice does the landlord have to give that they won't renew?
When the five or seven years are up, at least four months. If they don't give notice in time, the contract continues for up to three more years, year by year.
How much notice do I have to give if I don't want to renew?
Thirty days before each end date during the first five or seven years; two months before they are up; and one month before each year ends during the tacit extension.
What is the three-year tacit extension?
The one that happens by itself if, when the five or seven years are up, neither of you gives notice in time. It lasts up to three more years, year by year, with the same contract. Once started, only you can end it at the end of each year, with one month's notice.
My contract ends in 2027 and the landlord doesn't want to renew. Can I stay?
If it was in force on 8 October 2026, its mandatory extension ends before 31 December 2028 or the tacit extension ends, and you have been up to date with payments for at least eight months, you can ask for up to two more years on the same terms. If the flat is in a stressed housing area, you can ask for up to three years. In both cases the landlord can refuse if they need the home for themselves or their family, or if you sign a new contract.
Can they raise the price because of the extraordinary extension?
Not because of the extension: during it the terms and conditions of the current contract continue, including any annual update clause it had, within its legal limits.
What happens if the flat I rent is sold?
The buyer takes over the contract and has to respect it for the first five years, or seven if the previous landlord was a company. You can't be made to leave because of the sale before then.
My contract is from 2017. How long does it last?
Those signed between 6 June 2013 and 18 December 2018 have a mandatory extension of three years and a tacit extension of one more year. If it is still in force, you can ask for the stressed-area and vulnerability extensions and the one in Royal Decree-law 29/2026 if you meet their conditions.
What happens if I stay in the flat after the contract ends?
If the landlord agrees and hasn't asked you to leave, after fifteen days there is a tacit renewal: the tenancy continues month by month if you pay monthly. It is better to put it in writing.
Sources
- Law 29/1994, de Arrendamientos Urbanos (BOE-A-1994-26003, consolidated text at 14-11-2026), art. 9.1, in force since 6-3-2019: "llegado el día del vencimiento del contrato, este se prorrogará obligatoriamente por plazos anuales hasta que el arrendamiento alcance una duración mínima de cinco años, o de siete años si el arrendador fuese persona jurídica, salvo que el arrendatario manifieste al arrendador, con treinta días de antelación como mínimo a la fecha de terminación del contrato o de cualquiera de las prórrogas, su voluntad de no renovarlo." and "El plazo comenzará a contarse desde la fecha del contrato o desde la puesta del inmueble a disposición del arrendatario si esta fuere posterior." Arts. 9.2 and 9.3 (landlord's need, two months' notice and the tenant's choice within thirty days).
- LAU, art. 10, as worded by Royal Decree-law 29/2026 (art. 3.8), in force since 8-10-2026. Art. 10.1: "ninguna de las partes hubiese notificado a la otra, al menos con cuatro meses de antelación a aquella fecha en el caso del arrendador y al menos con dos meses de antelación en el caso del arrendatario, su voluntad de no renovarlo, el contrato se prorrogará obligatoriamente por plazos anuales hasta un máximo de tres años más". Art. 10.2 (vulnerability, up to one year, mandatory for a large holder), art. 10.3 (stressed area, "por plazos anuales, por un periodo máximo de tres años, durante los cuales se seguirán aplicando los términos y condiciones establecidos para el contrato en vigor") and art. 10.4.
- BOE note to art. 10 (version of 13-11-2026, with the same text as that of 8-10-2026): "Se deja sin efecto la modificación de este artículo establecida por el art. único del Real Decreto-ley 28/2026, de 6 de octubre, por Resolución de 12 de noviembre de 2026, que publica el Acuerdo del Congreso de los Diputados por el que se deroga el citado Real Decreto-ley. Ref. BOE-A-2026-23754".
- LAU, arts. 6 (anything against the tenant is void), 14 (the buyer takes over for five or seven years), 15.2 (two months after the court decision), 16.1 and 16.3 (taking over on death, notice within three months with the death certificate) and 36.2 (updating the deposit on extensions).
- Version history of the consolidated text of the LAU: arts. 9.1 and 10 in the versions of 1-1-1995 (five years and a three-year tacit extension, one month's notice), of 6-6-2013, restored on 24-1-2019 (three years and a one-year tacit extension, thirty days), and of 19-12-2018 (Royal Decree-law 21/2018: five or seven years and a tacit extension "durante tres años más", thirty days).
- Royal Decree-law 7/2019 (BOE-A-2019-3108) and Law 4/2013 (BOE-A-2013-5941), first transitional provisions: earlier contracts "continuarán rigiéndose por lo establecido en el régimen jurídico que les era de aplicación."
- Law 12/2023, on the right to housing (BOE-A-2023-12203, consolidated text), fourth transitional provision.1: earlier contracts "serán susceptibles de prórroga de conformidad con lo dispuesto en el artículo 10 de dicha ley, en la redacción introducida por la presente ley"; art. 3.k, large holder: "titular de más de diez inmuebles urbanos de uso residencial o una superficie construida de más de 1.500 m² de uso residencial, excluyendo en todo caso garajes y trasteros", which the stressed-area declaration can narrow "hasta aquellos titulares de cinco o más inmuebles de uso residencial".
- Royal Decree-law 29/2026, of 6 October (BOE-A-2026-20823, in force on 8-10-2026, ratified: BOE-A-2026-23755), fifth final provision.1: "vigentes en la fecha de entrada en vigor de este real decreto-ley, en los que el periodo de prórroga obligatoria previsto en el artículo 9.1 finalice antes del 31 de diciembre de 2028 [...] siempre y cuando la parte arrendataria se encuentre al corriente de pago del alquiler, y lo haya estado mensualmente durante los ocho meses anteriores, se aplicará, previa solicitud del arrendatario, una prórroga extraordinaria por plazos anuales y hasta un máximo de dos años adicionales", "es incompatible con la prevista en el artículo 10.3 [...] que, en su caso, se aplicará con carácter preferente"; fifth.2: it doesn't apply with "una renta inferior en al menos un cinco por ciento"; first transitional provision: requests made under Royal Decree-law 8/2026 "se tendrán por válidamente formuladas, sin necesidad de nueva comunicación".
- Repeal of Royal Decree-law 28/2026: Resolution of 12 November 2026, of the Congress of Deputies (BOE-A-2026-23754). Repeal of Royal Decree-law 8/2026: Resolution of 28 April 2026 (BOE-A-2026-9359).
- Civil Code (BOE-A-1889-4763, consolidated text), art. 1566: "Si al terminar el contrato, permanece el arrendatario disfrutando quince días de la cosa arrendada con aquiescencia del arrendador, se entiende que hay tácita reconducción", and art. 1581.