You buy a property, move in, and shortly afterwards discover damp the seller never mentioned, a dangerous electrical installation or a crack hidden under fresh paint. These are the feared vicios ocultos: serious defects that are not visible at first sight and can cost you thousands of euros. The good news is that the law protects you; the better news is that many of these problems can be anticipated.
This guide explains what vicios ocultos are, what the Código Civil says, the deadlines for bringing a claim and, above all, how to reduce the risk of buying a home with unpleasant surprises.
What are <em>vicios ocultos</em>?
A vicio oculto is a serious defect, predating the purchase and not visible in a normal inspection, which makes the property unfit for its intended use or which, had you known about it, would have led you not to buy or to pay less. It is governed by the Código Civil (articles 1484 onwards), which makes the seller liable for these defects even if they were unaware of them.
The key lies in three requirements: the defect must be serious, it must have been hidden (not detectable by an average buyer) and it must have existed before the sale. An obvious defect that you could see when viewing the property is not a vicio oculto.
Common examples of hidden defects
- Structural damp and leaks concealed with paint or furniture.
- Dangerous installations: electrics without proper grounding, gas leaks, defective plumbing.
- Structural problems: active cracks, aluminosis, ground settlement.
- Infestations: termites or woodworm in timber structures.
- Legal or administrative defects: works without a licence, property out of planning compliance, or no occupancy certificate.
How long do I have to bring a claim?
The Código Civil sets a short and demanding deadline: six months from delivery of the property to bring a claim for vicios ocultos (through the so-called acción redhibitoria or quanti minoris). It is a limitation period that expires completely, so it is important to act quickly and document everything as soon as the problem appears.
You have two options: the acción redhibitoria (rescinding the purchase and recovering the price) or quanti minoris (keeping the purchase and claiming a proportionate reduction). If the seller knew about the defect and concealed it, they may also be liable for damages.
What if I buy 'as is' or with exclusion clauses?
Many deeds include clauses stating that the buyer accepts the property 'in its current condition'. These clauses have limits: they do not exempt the seller if they acted in bad faith, meaning they knew about the defect and concealed it. Even so, they make claims harder, which is why it is better to detect problems before signing than to fight about them afterwards.
How to reduce the risk before buying
- Check the building's age and whether it should have a building inspection (ITE/IEE).
- Verify the planning position: there should be no works without a licence or outside planning compliance.
- Compare the actual floor area with the Cadastre and verify habitability.
- Ask for renovation invoices and the electrical installation certificate if the work is recent.
- If in doubt about structural issues, commission a professional building inspection before signing.
Not every defect can be spotted during a viewing, but much of the risk — age, condition, planning, actual floor area, surroundings — can be anticipated by cross-checking official data on the property. That is exactly what the Hogarfax report does before you take the next step.
Know the property's real condition before signing
Hogarfax analyses the age, condition, planning status, floor area and risks of the exact property using official data, so you buy knowing what you are dealing with and avoid expensive surprises.
Analyse a propertyFuentes
www.boe.es/buscar/act.php?id=BOE-A-1889-4763
www.poderjudicial.es/
www.ocu.org/vivienda-y-energia
Was this article useful?
Your answer helps us improve the blog and understand which guides deserve more depth.