What counts as a hidden defect in a home
Article 1484 of the Civil Code makes the seller liable for the hidden defects of the thing sold. For a defect in a home to give rise to a claim on this basis, several requirements must be met:
- It must be hidden: the seller is not liable for obvious or visible defects, nor for those that a buyer who is an expert, by trade or profession, should easily have spotted.
- It must be serious: it must make the home unfit for its use or reduce that use so much that, had the buyer known, they would not have bought it or would have paid less.
- It must pre-date the sale: the defect must exist, at least in embryonic form, at the time of the sale.
- The claim must be brought in time: within six months of handover (art. 1490 of the Civil Code).
Typical cases are concealed structural leaks or damp, termite infestations in wooden beams, serious drainage problems or a septic tank that does not work, something frequent in country houses in Mallorca. By contrast, normal wear and tear in a second-hand home is not a hidden defect.
What the buyer can claim for hidden defects
| Situation | Buyer's rights |
|---|---|
| The seller was unaware of the defect | Withdraw from the contract with reimbursement of the expenses paid, or a proportional price reduction as assessed by experts (art. 1486 of the Civil Code). |
| The seller knew of the defect and concealed it | The same options plus damages if the buyer chooses rescission (art. 1486 of the Civil Code). |
| The home is lost because of the defect | Refund of the price and contract expenses; plus damages if the seller knew (art. 1487 of the Civil Code). |
| Court-ordered sale (auction) | Warranty applies but without damages (art. 1489 of the Civil Code). |
Exclusion clauses: "sold as seen and in its current condition"
Contracts for second-hand homes often exclude the seller's liability. The Civil Code allows such a clause, but it only protects a seller who genuinely did not know of the defects (art. 1485 of the Civil Code). If it is proved that they knew and concealed them, the clause does not help them. That is why it is important to review the deposit contract and the deed before signing, as we explain in our guide on buying property.
We review the contract and the property before you sign.
The six-month time limit for hidden defect claims in Mallorca
This is the major hurdle: warranty claims are extinguished six months after the home is handed over (art. 1490 of the Civil Code), not from when the defect is discovered. Case law has traditionally treated it as a strict expiry period, which is not interrupted by mere out-of-court claims. If a defect appears in the seventh month, the hidden-defects route will normally be closed.
Other routes once six months have passed
- Breach of contract: if the defect is so serious that the home is unfit for the purpose for which it was bought, the courts have allowed claims for breach (delivery of something different, known as aliud pro alio), with damages (art. 1101 of the Civil Code). Personal actions with no special time limit become time-barred after five years (art. 1964.2 of the Civil Code).
- Fraud by the seller: if the seller deliberately concealed the problem, for example by painting over damp patches before viewings, annulment of the contract or damages for fraud may be sought.
- Non-apparent charges or easements not mentioned in the deed: these have their own regime, with a one-year limit for rescission (art. 1483 of the Civil Code).
How this differs from the Building Act (LOE)
The LOE does not govern the sale itself, but the liability of those involved in construction: developer, builder, architects and other technical professionals. It applies to works whose building licence was applied for after it came into force (first transitional provision) and also protects subsequent buyers. They are liable for material damage to the building during the following periods, counted from acceptance of the works (art. 17.1 LOE):
- Ten years: defects affecting foundations, supports, beams, floor slabs, load-bearing walls or other structural elements and compromising the strength and stability of the building.
- Three years: defects in construction elements or installations that breach habitability requirements: hygiene and health, protection against noise, or energy saving and thermal insulation (art. 3.1.c LOE).
- One year: finishing defects, for which the builder is liable.
The damage must appear within those periods, and the claim becomes time-barred two years after the damage occurs (art. 18 LOE). The developer is jointly and severally liable with the other parties towards buyers (art. 17.3 LOE). Note: anyone who builds for themselves and later sells is also a developer (art. 9 LOE), so a private individual selling a house they had built may be liable on this basis.
In practice, if you buy a new or recently built home, the LOE is usually the more useful route; for an older home you will have to rely on the Civil Code and act quickly. In buildings divided into flats, defects in common elements are normally claimed by the owners' association. More details in our guide on construction defect claims.
What to do if you discover a hidden defect in Mallorca
- Document the defect with photographs and dates and do not carry out permanent repairs before an expert has seen it, unless urgent.
- Commission an expert report explaining the origin and age of the defect.
- Send the seller a formal written demand by burofax, opening the prior negotiation required by Organic Act 1/2025 before bringing a civil claim (art. 5).
- If no agreement is reached, file the claim with the competent Court of First Instance (Tribunal de Instancia) in Palma, Inca or Manacor as appropriate, always keeping an eye on the time limit.
At Castell Abogados we assess which route suits you and pursue it in time, working with trusted experts, as part of our real estate law service.
Tell us about your case: the first consultation is free and without obligation.
Frequently asked questions
How long do I have to claim for hidden defects after buying a flat?
Six months from handover of the home (art. 1490 of the Civil Code). After that period other routes may be available, such as breach of contract or the LOE, depending on the case.
Can I claim if the contract says the home is sold in its current condition?
Yes, if the seller knew of the defects and concealed them. The exclusion clause only protects a seller who genuinely did not know of them (art. 1485 of the Civil Code).
What is the difference between hidden defects and LOE construction defects?
Hidden defects are claimed from the seller within six months; the LOE allows claims against the developer, builder and technical professionals for damage appearing within one, three or ten years of acceptance of the works.
Is a private individual who sold me their second-hand house liable?
Yes, for hidden defects within six months. In addition, if they promoted the construction themselves, they may be liable as developer under the LOE.
Do I need an expert to make a claim?
In practice, yes. Proving that the defect is serious, hidden and pre-dates the sale almost always requires a technical report.