Civil law & contracts

Building Defects in Spain: How to Claim Against the Builder

By the AbogadoAI editorial team · Updated 18 July 2026 · 11 min read

🇪🇸 Read the original in Spanish

Buying a property or undertaking a major renovation is, for the vast majority of citizens and foreign residents in Spain, the largest investment of their lives. However, the excitement of moving into a new home can quickly turn to frustration when dampness, wall cracks, system failures, or defective finishes appear. Faced with this situation, the Spanish legal system offers robust tools to protect property owners, although the success of any claim depends on acting quickly, with technical rigor, and with full knowledge of the legal deadlines.

To successfully claim for construction defects in Spain, we must look at a dual regulatory framework. Depending on whether it is a new build (complete construction) or a subsequent renovation, we will apply one legislation or another.

1. The Ley de Ordenación de la Edificación (LOE) - Law 38/1999

For buildings whose building permit (licencia de edificación) was applied for after May 6, 2000, the Ley 38/1999, de 5 de noviembre, de Ordenación de la Edificación (LOE) (Building Regulation Act) is the governing law. This law defines the responsibilities of the various building agents (developer, builder, designer, construction director, and execution director).

Article 17 of the LOE establishes joint and several civil liability (responsabilidad civil de carácter solidario) when the specific cause of the damage cannot be individualized to a single party. This means that if there are doubts about whether the fault lies with the architect or the builder, the owner can sue both jointly.

2. The Civil Code: Liability for Hidden Defects and Breach of Contract

When the LOE is not applicable (for example, in home renovations that do not alter the architectural configuration of the building) or when its deadlines have expired, the Código Civil (Civil Code) offers two fundamental pathways:

3. The Ley de Enjuiciamiento Civil (LEC) - Law 1/2000

The Ley 1/2000, de 7 de enero, de Enjuiciamiento Civil (LEC) (Civil Procedure Act) governs the entire judicial process. It is vital for submitting expert evidence (Article 335 and following of the LEC), which is the fundamental pillar upon which these claims rest in Spanish courts.

One of the biggest mistakes property owners make is confusing the warranty periods (during which the damage must appear) with the limitation periods (the time you have to file a lawsuit from the moment the damage appears).

The Three LOE Warranty Periods (Article 17)

The LOE establishes three different warranty periods depending on the severity of the defects, counting from the date the work is accepted without reservations by the developer (recepción de la obra):

The Limitation Period to File a Lawsuit

Once the defect appears within its corresponding warranty period (1, 3, or 10 years), the owner has a limitation period of 2 years to initiate legal action, in accordance with Article 18 of the LOE. This 2-year period begins to run from the day the damage occurs.

> Attention! This 2-year limitation period (plazo de prescripción) can be formally interrupted (for example, by sending a burofax—a registered fax with certified content), which resets the 2-year clock back to zero.

Deadlines Under the Civil Code

Step-by-Step Practical Steps to Claim Against the Builder

If you detect defects in your property, you must follow a strict protocol to ensure your claim is legally viable. It is not enough to call the builder on the phone; you must leave a paper trail at every step.

Step 1: Identification and Photographic Documentation

As soon as you detect the problem, take high-quality photographs and videos. Do not attempt to repair the damage yourself immediately (except in extreme emergencies threatening safety), as you could destroy the evidence of the original defect.

Step 2: Commissioning an Expert Technical Report

This is the most crucial step. A judge is neither an architect nor an engineer; they will decide the case based on technical evidence. You must hire an independent expert (an architect, technical architect, or engineer, depending on the type of damage) to draft an expert opinion (dictamen pericial). This report must detail:

  1. The precise description of the damages.
  2. The technical cause of the defect (design error, poor execution by the builder, defective materials).
  3. The technical solution required to repair it.
  4. The detailed budget for the repair works.

Step 3: Formal Out-of-Court Claim (Burofax)

Send a burofax with acknowledgment of receipt and certification of content to the builder (and the developer, if applicable). In this document, you must:

The burofax is vital because it interrupts the 2-year LOE limitation period and serves as proof in court that you attempted to resolve the issue amicably.

Step 4: Attempted Mediation or Conciliation Act (Optional)

If the builder responds but shows disagreement, you can attempt a conciliation act (acto de conciliación) in the Peace Court (Juzgado de Paz) or Court of First Instance (Juzgado de Primera Instancia), or go to private mediation. If there is a willingness to agree, a settlement contract (contrato de transacción) can be signed to avoid court.

Step 5: Filing the Lawsuit

If the builder ignores the burofax or refuses to repair, the last resort is civil court. You will mandatorily need the assistance of a lawyer (abogado) and a court procurator (procurador) if the claim amount exceeds 2,000 €. In court, the expert report and the expert who drafted it will be the key elements to secure a favorable ruling.

Concrete Examples of Claims and Costs

To understand how these claims work in practice, we will analyze two common scenarios with real figures.

Example 1: Rising Damp in a New-Build Villa

Example 2: Defective Kitchen Renovation

Mistakes You Must Avoid

Frequently Asked Questions (FAQ)

What happens if the builder has gone bankrupt or disappeared?

If the building company has declared bankruptcy (concurso de acreedores) or dissolved, the LOE protects the buyer through the figure of the Developer (Promotor), who is jointly and severally liable with the builder in most cases. Furthermore, for structural defects (10-year warranty), the law mandatorily requires a ten-year insurance policy (seguro decenal). If the builder no longer exists, you can direct your claim directly against the insurance company that issued the building's seguro decenal.

Can I claim if I bought the property second-hand?

Yes. The LOE warranty periods (1, 3, and 10 years) are transferred with the property. If you buy an apartment that is 4 years old and serious dampness appears (the 3-year habitability warranty has expired, but the 10-year structural warranty is still active), you can claim against the original developer or builder, provided you are within the corresponding deadlines from when the building was first delivered. If the LOE deadlines have already expired, you have 6 months to claim against the private seller for hidden defects under the Civil Code.

Who pays the costs of a lawsuit for construction defects?

In the Spanish judicial system, the principle of objective defeat (vencimiento objetivo) applies. If the judge fully upholds your lawsuit (meaning they agree with everything you requested), the losing party (the builder) will be ordered to pay the court costs (costas del juicio). This includes your lawyer's fees, your procurator's fees, and the expenses of the expert report, within the established legal limits.

What is the difference between an aesthetic defect and a habitability defect?

The difference lies in the severity and the applicable warranty period. An aesthetic defect (for example, a poorly glued skirting board or a scratch on the parquet flooring) is a finishing defect and has a 1-year warranty. A habitability defect (for example, failures in thermal insulation causing condensation and mold, or a lack of water pressure) affects the health, safety, and comfort of the inhabitants, and carries a 3-year warranty.

In Summary

General legal information, not personalised legal advice. For your specific situation, ask your question for free at AbogadoAI — answers grounded in Spanish law (BOE), in English.

Have a specific legal question?

Ask AbogadoAI and get an answer based on Spanish law (BOE), with sources — in English.

Ask for free

This is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.