Guides

Contesting a will in Spain: pretericion, desheredacion and how to challenge a Spanish testament (2026)

How to contest a Spanish will: pretericion of forced heirs, desheredacion grounds, capacity challenges and the four-year limit under the Codigo Civil (2026).

Rais Rafikov · Founder, Listyco 11 min read

Contesting a will in Spain: pretericion, desheredacion and how to challenge a Spanish testament (2026)

A practical guide to the grounds, the deadlines and the cross-border dimension of challenging a Spanish will, grounded in the articles of the Codigo Civil and the EU Succession Regulation.

A Spanish will is harder to challenge than an English or American one because the notary who records it also verifies the testator’s capacity and the formal act of signing, producing a public document with strong presumptions. That said, Spanish law recognises five distinct grounds for invalidating a testament: pretericion of a forced heir, unjustified desheredacion, lack of testamentary capacity, vice of consent (violence, dolo or fraud), and formal defects in the act of signing. Each has its own legal basis, its own evidentiary threshold and, in some cases, its own deadline. For a foreign property owner whose estate is governed by Spanish succession law, understanding these grounds is the first step in deciding whether a challenge is viable, and the cross-border dimension under EU Regulation 650/2012 can shift which rules even apply. This guide explains the framework, cites the primary legal sources, and connects to the forced-heir rules that set the baseline.

What are the grounds for contesting a Spanish will?

The five grounds for contesting a will in Spain each trace to a specific provision of the Codigo Civil. Pretericion, the omission of a forced heir, is governed by Article 814. Unjustified desheredacion, where a testator disinherits a forced heir without a valid legal cause, falls under Articles 848 and 852 to 855. Lack of testamentary capacity rests on Articles 662 and 665, the latter modified by Ley 8/2021 of 2 June. Vice of consent, which includes violence, dolo (deceit) and fraud, is set out in Article 673. Formal defects, where the will fails the requirements of its type, follow the articles on each testamentary form.

GroundLegal basisEffect if proven
Pretericion of a forced heirArticle 814Institution of heirs voided; legitima preserved
Unjustified desheredacionArticles 848, 852-855Disinheritance void; heir recovers legitima
Lack of capacityArticles 662, 665Will is null
Vice of consent (violence, dolo, fraud)Article 673Will is null
Formal defectArticles on each will typeWill is void

The notary’s role is central. For an open will (testamento abierto), the most common form, the notary records that the testator appeared to have the necessary capacity and that the formal requirements were met. This creates a public document (escritura publica) with a strong presumption of validity, so a challenge usually needs compelling contrary evidence, such as medical records or witness testimony showing the testator was not of sound mind at the moment of signing.

What is pretericion and when does it void a will?

Pretericion is the omission of a forced heir from the will. Article 814 of the Codigo Civil distinguishes between intentional and unintentional omission. When the pretericion is unintentional, meaning the testator simply forgot or did not know of the heir’s existence, and the heir is a child or descendant, the law voids the institution of heirs. If all children are omitted, all dispositions of patrimonial content are voided. If only some are omitted, the institution of heirs is voided but legacies and improvements may survive provided they are not inofficious, meaning they do not encroach on the legitima. The preterido, the omitted heir, keeps their legitima in every case.

Intentional pretericion, where the testator deliberately excludes a forced heir without invoking a valid cause for desheredacion, has a different effect. The legitima is still preserved, so the excluded heir recovers their reserved share, but the rest of the will stands. The Spanish Supreme Court, in jurisprudence including a 2001 ruling, has held that intent must be deduced from the will itself and the circumstances at the time of signing, not from later evidence. For a detailed breakdown of who counts as a forced heir and how the legitima is calculated, see our guide to forced heirs in Spanish succession law.

The practical point for a non-resident heir: if a parent’s Spanish will omits you entirely, Article 814 gives you a route to recover your legitima, the reserved two-thirds share protected for children and descendants, regardless of what the will says.

How does desheredacion work and when is it invalid?

Desheredacion is the act of expressly disinheriting a forced heir in the will, and it is only valid for the closed list of causes the law sets out. Article 848 states that disinheritance can only take place for a cause the law expressly designates. Article 852 refers to the causes of incapacity for indignation in Article 736. Articles 853, 854 and 855 list the specific causes for children and descendants, parents and ascendants, and the spouse respectively.

Article 853 lists the causes for disinheriting a child or descendant, which include, among others, having denied without legitimate motive the means of subsistence to the parent who disinherits, and having mistreated, physically or psychologically, the parent or ascendant. The testator must specify the cause in the will; a generic statement of displeasure is not enough. If the cause is not one of those listed, or if the stated cause is proven false, the desheredacion is void and the disinherited heir recovers their legitima.

A challenge to desheredacion therefore has two fronts. First, the heir can argue that the cause invoked is not among those the Code lists. Second, the heir can argue that the cause, even if nominally listed, did not in fact occur. Spanish courts require proof of the cause, and the burden falls on those who defend the will, though the testator’s written statement is taken as a starting point. For context on the legitima that desheredacion attempts to defeat, our guide to inheritance tax in Andalusia for non-residents covers how the protected share flows into the tax filing.

Can a will be challenged for lack of testamentary capacity?

Yes, though the bar is high. Article 662 of the Codigo Civil presumes that everyone may test unless the law expressly forbids it, making capacity the rule and incapacity the exception. Article 665 voids a will made by a person who has been judicially deprived of testamentary capacity by a final judgment, or, after the reform of Ley 8/2021, by a person subject to support measures that expressly extend to the capacity to test. Ley 8/2021, in force since 3 September 2021, replaced the old incapacidad status with a graduated system of support measures, aligning Spanish law with the UN Convention on the Rights of Persons with Disabilities.

The practical challenge is proving that the testator, while not judicially subject to support measures, was nonetheless not of sound mind at the specific moment of signing. Medical evidence, witness testimony from those present at the notary, and expert psychiatric reports are the usual tools. The notary’s record of the signing carries significant weight because the notary is a public official trained to assess capacity at the moment of the act, so a challenge needs evidence that goes beyond a retrospective diagnosis. A 2025 Spanish court decision, reported in the Spanish press, upheld a will despite the testator having an Alzheimer’s diagnosis, on the basis that she was capable of making personal decisions at the moment of signing. The Article 665 threshold did not apply because there was no judicial measure in force.

Article 673 of the Codigo Civil states that a will granted with violence, dolo or fraud is null. Violence covers physical or moral intimidation that overrides the testator’s free will. Dolo, or deceit, includes captacion de voluntad, the subtle manipulation of a vulnerable testator by a person who steers the will in their favour. Fraud covers any deception that led the testator to make a disposition they would not otherwise have made. Article 674 adds a penalty: a person who, through dolo, fraud or violence, prevents another from freely granting their last will, loses their own right to inherit abintestato, regardless of criminal responsibility.

The jurisprudence on dolo testamentario requires proof of three elements: the existence of the deceitful act, a causal link between the act and the testamentary disposition, and the loss of free will in the testator. Mere influence or persuasion is not enough; the manipulation must be of such intensity that it displaces the testator’s own judgement. This is one of the hardest grounds to prove, but it is also the one most likely to arise in cases where a carer, a new acquaintance or a distant relative suddenly appears as the principal beneficiary of a will that cuts out the family. For the broader inheritance process a non-resident heir must follow, including acceptance and the Modelo 650 filing, see our guide to inheriting Spanish property as a non-resident.

How long do you have to contest a will in Spain?

The action to annul a will for vice of consent, which is the most common ground that carries a fixed deadline, caducates at four years under Article 1301 of the Codigo Civil. The four-year clock runs from the day the violence or intimidation ceased, or, for error or dolo, from the date the will was granted. The Spanish Supreme Court confirmed in STS 919/2021 that the four-year period in Article 1301 is one of caducity, not prescription, and because it is an institution of public order, courts can raise it of their own motion. This means a late challenge is barred even if no one raised the deadline.

Actions for pretericion and unjustified desheredacion do not have a single fixed deadline in the Code, but the general principle of acting promptly applies, and Spanish courts apply the general caducity and prescription framework to stale claims. The practical rule is to seek legal advice immediately on learning of the will’s content, because the four-year window can close sooner than expected, especially when the will was granted years before death and the vice is dated to the granting moment. For the tax deadlines that run in parallel, the six-month Modelo 650 window from the date of death is a separate but related clock.

How does EU Regulation 650/2012 affect cross-border disputes?

EU Regulation 650/2012, in force since 17 August 2015, governs cross-border successions within the EU (except Denmark and Ireland). Article 21 sets the general rule: the law applicable to the succession as a whole is the law of the state where the deceased had their habitual residence at death. Article 22 allows a person to choose the law of a state whose nationality they possess, made expressly in a disposition of property upon death. This choice can override the default habitual-residence rule and, for a foreign national owning Spanish property, can route the whole succession under their national law, potentially sidestepping Spanish forced-heir rules entirely.

Article 23 confirms that the applicable law governs the causes of opening the succession, the determination of beneficiaries and their shares, disinheritance and disqualification by conduct, and the disposable part of the estate. Article 27 sets the formal validity of a written will: it is valid as to form if it complies with the law of the state where it was made, or the state of the testator’s nationality, domicile or habitual residence at the time of making or at death, or, for immovable property, the state where the property is located. This multi-law validity test means a will valid in form under one national law may still be challenged on substance under the applicable succession law.

For a British owner of a Marbella property who habitually resides in Spain, the default is Spanish law on the whole estate. If they expressly choose English (or UK) law in the will, the whole succession follows English law, which has no forced-heir equivalent, and the Spanish legitima does not bind the estate. This is a powerful planning tool, but it also means the grounds for contesting shift: a challenge would argue under the chosen national law, not Spanish law, on questions of capacity, vice of consent and valid causes for disinheritance. The Spanish will guide for property owners covers the practical mechanics of making that choice in a Spanish will.

What should a non-resident heir do before challenging?

Before launching a challenge, a non-resident heir should take four practical steps. First, obtain a copy of the will from the Spanish Registro de Actos de Ultima Voluntad, which records every will granted before a Spanish notary and shows the latest valid one. Second, gather the medical and witness evidence that supports the specific ground of challenge, because the notarial presumption of validity is strong. Third, consult a Spanish succession lawyer (abogado) who can assess the merits against the specific articles invoked and the applicable deadline. Fourth, consider the cross-border dimension: if the deceased was a foreign national, EU Regulation 650/2012 may mean a different law governs the succession, and the choice-of-law clause in the will is the first thing to check. Acting within the four-year caducity window of Article 1301 is the single most important deadline, but the six-month inheritance tax filing under Modelo 650 runs in parallel and cannot wait for the dispute to resolve. Our guide to inheritance planning for non-resident owners sets out the proactive steps that reduce the risk of a dispute arising in the first place.

This guide is general information, not legal or tax advice. Rules change and individual circumstances differ. Verify current requirements with an independent lawyer (abogado) or tax advisor (gestor/asesor fiscal) before acting.

The Listyco Letter

Get the quarterly market report when it lands.

New listings, editorial pieces and our quarterly market data, delivered Sundays.

Frequently asked questions

Can a forced heir be excluded from a Spanish will?
Only for the closed list of causes in Articles 852 to 855 of the Codigo Civil. A testator cannot disinherit a child for any reason not expressly listed, such as a lifestyle disagreement or a business dispute. An unjustified disinheritance is void and the disinherited heir recovers their legitima, the reserved two-thirds share protected for forced heirs.
What is pretericion and what happens when it occurs?
Pretericion is the omission of a forced heir from the will, whether intentional or not. Under Article 814 of the Codigo Civil, unintentional pretericion of a child or descendant voids the institution of heirs, though legacies may survive if they are not inofficious. The preterido keeps their legitima in every case. Intentional pretericion, where the testator deliberately omits the heir, leaves the legitima intact but does not void the rest of the will.
How long do you have to contest a Spanish will?
The action to annul a will for vice of consent, such as violence, dolo or fraud, caducates at four years under Article 1301 of the Codigo Civil. The clock runs from the day the violence ceased or, for error or dolo, from the date the will was granted. Actions for lack of capacity or formal defects follow the general caducity framework, so acting promptly is essential.
Can a foreign national override Spanish forced-heir rules in a will?
Yes. Under Article 22 of EU Regulation 650/2012, a person can choose the law of a state whose nationality they hold to govern their entire succession. This choice, expressed in a will or codicil, can override Spanish forced-heirship for a British or American owner, routing the estate under their national law instead. The choice must be express and meet the formal requirements of a disposition of property upon death.
What happens if the testator lacked capacity when the will was signed?
Article 662 of the Codigo Civil presumes everyone may test unless the law expressly forbids it, and Article 665 voids a will by a person judicially deprived of testamentary capacity by a final judgment. After Ley 8/2021, incapacity is no longer a status; instead, support measures apply. A will can still be challenged if the testator was not of sound mind at the moment of signing, though the bar is high.
Can a Spanish will be challenged for a formal defect?
Yes. Each will type has formal requirements: an open will before a notary, a closed will whose envelope is delivered to a notary, or a holographic will handwritten by the testator. A will that fails the formal requirements of its type can be voided. The notary records capacity and formal compliance in the open-will protocol, which is the strongest proof of validity.

Sources and data

Rais Rafikov

Founder, Listyco

Rais Rafikov is the founder of Listyco and has led marketing and technology for luxury real-estate sales teams on the Costa del Sol. He writes about Marbella-area property, Spanish tax and the mechanics of buying internationally, working from primary sources and verified market data.

More from Rais