Adverse possession in Spain in 2026: usucapion and how someone can acquire your property through occupation
Adverse possession (usucapion) in Spain lets someone acquire your property through occupation. The Code Civil sets 10 to 30 year periods for real estate.
Under Spanish law, a person who occupies your property as if they were the owner, openly and without interruption for long enough, can become its legal owner through a doctrine called usucapion. The Spanish Code Civil sets the thresholds at 10 years for ordinary acquisition (with good faith and a valid title) or 30 years for extraordinary acquisition (without either), for real estate. Registration at the Land Registry does not make your title immune. The key protection is vigilance: a single judicial claim resets the clock.
What is usucapion under Spanish law?
Usucapion, or prescripcion adquisitiva, is an original mode of acquiring property ownership through the passage of time combined with qualified possession. Article 1930 of the Spanish Code Civil establishes that “by prescription one acquires, in the manner and with the conditions determined by law, ownership and other real rights.” The legal foundation is legal certainty: someone who behaves as owner for years without opposition eventually becomes owner in law, preventing possessory situations from remaining indefinitely unresolved. It applies to both movable and immovable property, though the timeframes differ substantially. For a foreign property owner on the Costa del Sol, the practical risk arises when a neighbouring plot, an inherited rural parcel or an unregistered apartment is occupied for decades without the registered owner taking action.
What are the two types of usucapion?
Spanish law distinguishes ordinary and extraordinary usucapión, each with different requirements and timeframes. Ordinary usucapión, governed by Article 1940 of the Code Civil, requires both buena fe (good faith, meaning the possessor believed the person who transferred the property was the legitimate owner) and justo título (a just title, meaning a legal act capable of transferring ownership, such as a sale contract, that for some reason did not fully produce its effect). In exchange for these stricter requirements, the periods are shorter. Extraordinary usucapión, governed by Article 1959, requires neither good faith nor just title. It demands only the qualified possession described below for a longer period. This means a possessor who knows they do not own the property can still acquire it, provided the possession meets the statutory qualities and lasts 30 years for real estate.
What does STS 419/2023 say about good faith in ordinary usucapion?
The Supreme Court’s STS 419/2023 of 28 March 2023 clarified that good faith in ordinary usucapión is not a purely subjective or psychological state but must be assessed against an objective standard of diligence. The possessor must have acted with the care that a reasonable buyer would exercise when acquiring real estate. In the case before the Court, the purchaser tolerated the seller’s failure to produce title documents, ignored a notary’s warning, voluntarily waived a Land Registry search on the grouped fincas, did not request the cadastral reference, and failed to notice that the boundary descriptions did not match the physical reality of the land. The Court held that this lack of basic diligence was legally significant: the ignorance was not excusable because the buyer was subject to the ethical burden of minimal prudence in acquiring real rights.
The ruling also confirmed the principle mala fide superveniens nocet, meaning that good faith must be maintained throughout the entire statutory possession period, not only at the moment of acquisition. Article 1957 of the Code Civil requires that good faith exist “during” the whole time of prescription. Under Article 435, good faith is lost through acts that demonstrate the possessor knows they hold the property improperly. In the STS 419/2023 case, the criminal proceedings initiated during the possession period gave the possessor full knowledge that the seller’s title was fabricated, so the time during those proceedings could not count as good-faith possession toward the ordinary usucapión period.
What possession qualifies for usucapion?
Article 1941 of the Code Civil sets the common requirement for both types: possession must be “en concepto de dueño, publica, pacifica y no interrumpida” (as owner, public, peaceful and uninterrupted). Each quality matters. “As owner” means the possessor behaves externally as the proprietor, not as a tenant, a usufructuary or someone occupying with the owner’s tolerance. A tenant or a caretaker cannot usucapir, no matter how long they stay. “Public” means the possession is visible and not clandestine. “Peaceful” means the possession was not acquired or maintained by force or violence. “Uninterrupted” means the possession continued without gaps exceeding one year, which would trigger a natural interruption under Article 1944. The Tribunal Supremo has consistently held that these requirements must be interpreted strictly, as usucapión is an exceptional mode of acquisition that operates against the registered owner.
The DGSJFP Resolution of 12 November 2024 (BOE-A-2024-25403) reinforced the objective nature of the “as owner” requirement. In a case involving the inscription of a Supreme Court usucapión judgment concerning two portions of a finca in Pozuelo de Alarcón, the DGSJFP confirmed that possession in concepto de dueño requires “actos inequívocos, con clara manifestación externa en el tráfico” (unequivocal acts with clear external manifestation in commerce), citing the consolidated jurisprudence of STS 467/2002. The possessor must act and present themselves to the outside world as the effective owner, not merely hold an internal intention to own.
| Requirement | Ordinary usucapión (Art 1940 + 1957) | Extraordinary usucapión (Art 1959) |
|---|---|---|
| Just title (justo título) | Required | Not required |
| Good faith (buena fe) | Required | Not required |
| Possession as owner | Required | Required |
| Public possession | Required | Required |
| Peaceful possession | Required | Required |
| Uninterrupted possession | Required | Required |
| Period (real estate, present) | 10 years | 30 years |
| Period (real estate, absent) | 20 years | 30 years |
| Present vs absent distinction | Applies | Does not apply |
How long does adverse possession take in Spain?
For real estate, the timeframes depend on the type of usucapión and, for ordinary usucapión only, whether the parties are present or absent. Under Article 1957, ordinary usucapión of real estate takes 10 years between present parties (those residing in the same province) or 20 years between absent parties (those residing in different provinces). Article 1958 provides that when part of the time is absent and part present, two years of absence count as one of presence. Under Article 1959, extraordinary usucapión of real estate takes 30 years, with no distinction between present and absent parties. For movable property, Article 1955 sets three years for ordinary usucapión with good faith and six years for extraordinary usucapión without any additional condition. The distinction between present and absent refers to the residency of the parties, not their physical presence on the land.
Can someone usucapir registered property?
Yes. Registration at the Land Registry does not render a right imprescriptible. The Dirección General de Seguridad Juridica y Fe Publica confirmed this in its Resolution of 26 July 2024 (BOE-A-2024-20708), stating that “the inscription of the right in the Registro de la Propiedad does not endow it with imprescriptibility” and that a third party can acquire ownership through usucapión by possessing the property in the conditions established by law. This is the usucapión contra tabulas doctrine. The Tribunal Supremo fixed the doctrinal framework in its Pleno ruling of 11 February 2014, declaring that Article 36 of the Ley Hipotecaria prevails over Article 1949 of the Code Civil, which must be considered derogated. The new Article 36 regime does not require the usucapiente to have any inscription in their favour. Instead, it adopts a knowledge test: a completed usucapión prevails against a good-faith third-party acquirer if (a) the acquirer knew or had rational means to know that the property was possessed by someone else as owner before acquiring, or (b) the acquirer consents to that possession, expressly or tacitly, for the full year following acquisition. The practical lesson: a registered owner who discovers unauthorised occupation must act within one year of any subsequent transfer to preserve the usucapión claim or to defeat one.
What did the Supreme Court decide in STS 534/2026 on community elements and prescription?
STS 534/2026 of 9 April 2026 (Roj: STS 1551/2026, ECLI:ES:TS:2026:1551, ponente Raquel Blázquez Martín, rec. 3672/2021) resolved a critical question for property owners in horizontal regimes: how long does a community of owners have to recover a common element that a neighbour has usurped through unauthorised construction. The case involved a two-unit building in Alicante where the upper-floor owners had built a cobertizo (storage shed) of approximately 15 square metres on the shared terrace. The lower-floor owners sued to declare the construction illegal and to restore the space to the community. By the time they filed, more than 27 years had passed since the construction.
The juzgado and the Audiencia Provincial dismissed the claim, characterising the action as personal and therefore prescribed under the version of Article 1964 of the Code Civil then in force (before the Ley 42/2015 reform), given that more than 27 years had elapsed since the construction. The Supreme Court reversed. It held that because the demand sought not only the declaration of illegality and physical restoration but also the restitution of the property right to all co-owners, the action was real in nature and subject to the 30-year prescription of Article 1963. At 27 years, the action was still alive. The ruling consolidates the doctrine fixed by the Pleno in STS 540/2016 of 14 September, which established that actions seeking the return of any common element to its prior state, against the private owner who benefits from the alteration, have a real character. The critical distinction is the petitum: a demand that merely asks for cessation of unauthorised use may be treated as personal, but one that demands restitution of the property right to the community is real and enjoys the full 30-year window.
Can common elements be acquired through usucapion?
Yes, in narrow circumstances. STS 2923/2025 confirmed the usucapión of two storage rooms (trasteros) in a Madrid building after more than 30 years of exclusive use by two neighbours and their predecessors. The Supreme Court upheld the acquisition because the trasteros were common elements by destination (not by nature), meaning they were capable of becoming private through prolonged exclusive possession. The possessor had used the spaces with their own locks and keys, publicly and without opposition from the community, for over three decades, satisfying the extraordinary usucapión requirements of Article 1959.
However, STS 534/2026 limits this outcome in practice. The community’s action to recover a usurped common element is a real action with a 30-year prescription period. This means the community and a possessor are racing on parallel 30-year clocks: the possessor needs 30 years of qualified possession to complete extraordinary usucapión, while the community has 30 years to sue for restitution. If the community sues before the possessor’s 30 years are complete, the judicial citation civilly interrupts the prescription under Article 1945 and resets the possessor’s clock to zero. The practical consequence for a property owner in a horizontal regime is that community inaction for 30 years can consolidate a possessor’s title, but any timely judicial action to recover the element will defeat the claim. Additionally, Article 1942 of the Code Civil provides that tolerated possession (acts permitted by the owner or community) does not count as possession in concepto de dueño, further narrowing the route to usucapir a common element.
How does usucapión interact with the Land Registry?
A judicial declaration of usucapión is a valid title for inscription at the Land Registry, but the procedure must respect the principle of tracto sucesivo (successive tract) under Article 20 of the Ley Hipotecaria. The 2024 DGSJFP Resolution confirms that in cases of ordinary or extraordinary usucapión, “the declaration that ends it will alter the content of the Registry’s books, so it must be brought, in all cases, against the registered titular to avoid their defencelessness.” This means the possessor’s lawsuit must name the registered owner or their heirs as defendants. If the possessor sues a previous transferor who no longer appears on the Registry, the registrar will refuse inscription.
The DGSJFP Resolution of 12 November 2024 (BOE-A-2024-25403) added a further layer: even when a final Supreme Court judgment declares usucapión, the registrar can still refuse inscription if the urban-planning status of the property is unresolved. In that case, the usucapión judgment recognised two portions of a finca in Pozuelo de Alarcón, but the registrar suspended inscription because the segregated parcels lacked the necessary municipal licence or urban-planning certification. The DGSJFP confirmed the suspension, holding that a usucapión declaration does not override the requirement to accredit the urban-planning status of the land for registration purposes. The possessor should also consider requesting a preventive annotation of the lawsuit (anotacion preventiva de demanda) under Articles 34 and 42 of the Ley Hipotecaria to warn any prospective third-party acquirer and neutralise the good-faith shield. Article 38 of the Ley Hipotecaria establishes the presumption that registered rights exist and belong to the registered titular, but this is a rebuttable presumption (iuris tantum) that a firm judicial sentence of usucapión overcomes.
How is the prescription period interrupted?
Article 1943 of the Code Civil provides that a begun prescription is interrupted naturally or civilly. Natural interruption, under Article 1944, occurs when possession ceases for more than one year. Civil interruption, under Article 1945, occurs through judicial citation of the possessor, extrajudicial claim that reaches the possessor’s knowledge, or recognition of the owner’s right by the possessor. The effect is severe: the entire elapsed period is lost and a new full period must begin. The Tribunal Supremo has held that the interruption must result from clear and unequivocal acts directed at recovering possession or asserting the owner’s right. Ambiguous verbal claims that cannot be proven are insufficient. A properly served burofax containing a clear demand to vacate can constitute a valid extrajudicial interruption, provided receipt is documented. For a non-resident owner, the safest method is a judicial demand, which offers stronger evidentiary guarantees.
What cannot be acquired through usucapión?
Public domain goods are imprescriptible. Article 132 of the Spanish Constitution establishes that the law regulates the legal regime of public domain and communal goods, inspired by the principles of inalienability, imprescriptibility and non-attachability. This includes the maritime-terrestrial zone, beaches, the territorial sea, public roads, plazas, public parks and other goods affected by public use or service. No amount of occupation, however prolonged, can transfer ownership of these assets to a private individual. Additionally, property that cannot be possessed (such as a future or contingent right) cannot be usucapired. A tenant, a usufructuary or anyone who occupies with the owner’s permission cannot claim usucapión because their possession is not “as owner.” The okupas phenomenon, which we cover in our squatters and okupacion guide, is distinct: most okupas enter without colour of title and their possession is often not peaceful from the outset, meaning the statutory clock does not run or runs only under the extraordinary 30-year route.
How does usucapión differ from the okupas problem?
Usucapión and okupacion are often conflated but are legally distinct. Okupas typically enter a property without any document or claim of title, often by force or stealth. Their possession may fail the “peaceful” requirement of Article 1941 if entry was violent, and it frequently fails the “as owner” quality because they do not behave as proprietors in a way visible to the community. Even if an okupa’s possession somehow qualified, the extraordinary 30-year period would apply (no just title or good faith), giving the registered owner a long window to interrupt.
The LO 1/2025, effective 3 April 2025, changed the practical landscape for okupas without altering the usucapión framework. The law reclassified allanamiento de morada (home invasion) and usurpacion de bienes inmuebles (usurpation of real estate) as offences susceptible to juicio rápido (fast-track trial), allowing courts to order eviction within approximately 15 days where the occupation involves a primary residence or constitutes a criminal offence. This procedural acceleration does not affect the civil prescription rules of usucapión, which remain governed by the Code Civil. The real okupas risk is not loss of title through usucapión but the practical and procedural difficulty of eviction, which the LO 1/2025 partially addresses for criminal-entry cases. Usucapión, by contrast, typically arises in grey-area situations: a rural fence that encroaches on a neighbour’s plot, an inherited apartment never formally segregated, or a structure built on land the builder believed was theirs. Our property boundary disputes guide covers the encroachment scenario in detail.
How can a property owner protect against usucapión?
The single most effective protection is a timely judicial claim. Under Article 1945, a judicial citation of the possessor civilly interrupts the prescription, resetting the clock to zero. A non-resident owner who discovers unauthorised occupation should instruct a Spanish lawyer to file a demand without delay. Practical preventive measures include periodic inspection of registered and unregistered land, maintaining clear boundary markers (amojonamiento), keeping land visibly attended, and recording any lease or tolerance agreement in writing so the possessor’s status is clearly not “as owner.” For inherited or rural property, checking the Land Registry and the Catastro periodically is essential, as our property registration guide explains. If a dispute is brewing, a preventive annotation of the lawsuit at the Registry warns prospective buyers and prevents a good-faith third-party acquisition under Article 34 of the Ley Hipotecaria. Where co-owners are involved, our co-ownership partition guide explains the risks of leaving jointly owned property unattended.
What evidence proves usucapión in court?
The burden of proof rests on the person claiming usucapión. They must demonstrate every element: the possession as owner, its public character, its peaceful nature, its continuity, and the duration. The most common evidence includes IBI (property tax) receipts showing the possessor paid the municipal tax, utility bills in the possessor’s name, photographs of fences or structures, witness testimony from neighbours, and proof of maintenance or improvement works. For ordinary usucapión, the possessor must also produce the just title (such as a private sale contract) and evidence of good faith. Article 440 of the Code Civil allows an heir to add the deceased’s possession time to their own, so inheritance documents and proof of the deceased’s possession can extend the period. A firm judicial sentence declaring the usucapión serves as the title for inscription at the Land Registry, as the DGSJFP confirmed in 2024, provided the registered owner was properly named as defendant and the urban-planning status is resolved.
Can a foreign owner inherit a usucapión claim?
Yes. Article 440 of the Code Civil provides that “possession of hereditary goods is understood to be transmitted to the heir without interruption and from the moment of the death of the deceased.” This means a foreign owner who inherits Spanish property from a relative who had possessed it for years can aggregate the deceased’s possession time with their own to reach the statutory period, provided both possessions meet the Article 1941 requirements. The heirs step into the shoes of the deceased possessor. This is particularly relevant for rural parcels or inherited apartments where the original acquisition may have been informal. The EU Succession Regulation (650/2012) determines which national law applies to the succession, but the substantive question of whether usucapión has been completed is governed by Spanish civil law for Spanish real estate. Our inheritance planning guide covers the broader inheritance framework for non-resident owners.
What does a usucapión defence strategy look like in practice?
A non-resident owner who discovers that a neighbour has fenced off a portion of their rural finca near a property in the Costa del Sol should follow a structured defence. The first step is documentation: commission a topographical survey comparing the registered boundaries with the physical occupation, and obtain a nota simple from the Land Registry and a certificacion catastral from the Catastro to establish the legal versus the occupied perimeter. The second step is interruption: instruct a Spanish abogado to send a burofax with acuse de recibo and certificacion de texto demanding the immediate cessation of the occupation and the removal of the fence. This extrajudicial claim, if it reaches the possessor’s knowledge, constitutes a civil interruption under Article 1945. If the possessor does not comply within a reasonable period (typically 10 to 30 days), the third step is a judicial demand for reivindicacion (recovery of possession) under Article 348 of the Code Civil, naming the possessor as defendant and requesting a preventive annotation of the lawsuit at the Registry under Article 42 of the Ley Hipotecaria. The judicial citation automatically resets the prescription clock to zero, regardless of how many years have elapsed. If the possessor claims usucapión, the owner’s defence should challenge each element: whether the possession was truly “as owner” (not as a tolerated neighbour), whether it was public (visible to the community, not hidden), and whether it was uninterrupted (no gaps exceeding one year). For ordinary usucapión claims, the owner should demand proof of the just title and challenge the good faith, particularly if the possessor knew or should have known of the owner’s title through a reasonable registry search.
Frequently asked questions
- Can someone acquire my registered Spanish property through usucapion?
- Yes. Registration does not make a right imprescriptible. Under Article 36 of the Ley Hipotecaria, a person who has possessed your registered property as owner for the full statutory period can acquire it through usucapión, though a good-faith third-party acquirer has limited protection against a prescription already running.
- What is the shortest period for adverse possession of real estate in Spain?
- The shortest period is 10 years for ordinary usucapión between present parties, meaning the possessor and the owner reside in the same province. This requires good faith and a just title under Article 1957 of the Code Civil. Without those elements, the extraordinary route needs 30 years.
- Is occupying a property as a squatter the same as usucapion?
- No. Okupas typically enter without colour of title and their possession is rarely peaceful or in the concept of owner from the start. Usucapión requires possession en concepto de dueño, public, peaceful and uninterrupted. A clandestine or violent entry does not satisfy Article 1941 of the Code Civil and the clock does not run.
- How do I stop someone from acquiring my property by adverse possession?
- File a judicial claim against the possessor, which civilly interrupts the prescription period under Article 1945 of the Code Civil. Any valid judicial citation resets the clock to zero. You can also record an annotation of the dispute at the Land Registry to warn potential third-party acquirers.
- Can I inherit a usucapión claim from a deceased relative?
- Yes. Article 440 of the Code Civil states that possession of hereditary goods is transmitted to the heir without interruption from the moment of death. The heir can add their possession time to that of the deceased to complete the statutory period, provided both possessions meet the legal requirements.
- Can public land or beaches be acquired through adverse possession?
- No. Article 132 of the Spanish Constitution declares public domain goods imprescriptible. This includes the maritime-terrestrial zone, beaches, public roads, parks and other public-use assets. No amount of occupation can transfer ownership of these lands to a private individual.
- Can a community of owners recover a common element after 27 years of occupation?
- Yes. STS 534/2026 of 9 April 2026 confirmed that the action to recover a usurped common element and restore its ownership to all co-owners is a real action subject to the 30-year prescription of Article 1963 of the Code Civil, not the 5-year period for personal actions. The key is drafting the demand to seek restitution of the property right, not merely cessation of the unauthorised use.
Sources and data
- Codigo Civil consolidado, Arts 1930-1961 (prescripcion adquisitiva) — BOE - Agencia Estatal Boletin Oficial del Estado
- Ley Hipotecaria consolidada (Decreto de 8 de febrero de 1946), Art 20, 34, 36, 38 — BOE - Agencia Estatal Boletin Oficial del Estado
- Resolucion de 26 de julio de 2024, DGSJFP, recurso sobre inscripcion de sentencia de usucapion (BOE-A-2024-20708) — BOE - Direccion General de Seguridad Juridica y Fe Publica
- Resolucion de 12 de noviembre de 2024, DGSJFP, recurso sobre inscripcion de sentencia de usucapion (BOE-A-2024-25403) — BOE - Direccion General de Seguridad Juridica y Fe Publica
- Constitucion Espanola, Art 132 (bienes de dominio publico, imprescriptibilidad) — BOE - Agencia Estatal Boletin Oficial del Estado
- Ley Organica 1/2025, de 2 de enero, de medidas en materia de eficiencia del Servicio Publico de Justicia (BOE-A-2025-76) — BOE - Agencia Estatal Boletin Oficial del Estado
- STS 534/2026, de 9 de abril, prescripcion de acciones sobre elementos comunes en propiedad horizontal (Roj: STS 1551/2026) — Codigo Civil - Boletin de actualidad de Derecho Civil
- El Tribunal Supremo fija doctrina en materia de usucapion contra tabulas (STS, Sala de lo Civil, Pleno, 11 de febrero de 2014) — Consejo General del Poder Judicial