1. Where the self-build rules come from
The current article 41 of the Income Tax Regulation treats only renovation as equivalent to acquisition and says nothing about construction. The rules come from former article 55 (wording at 31 December 2012), which treated construction as acquisition for the old mortgage deduction. The Supreme Court extended it to the exemption in judgment 1098/2020, of 23 July (appeal 4417/2017, ROJ STS 2698/2020, CENDOJ), and the DGT follows it.
2. Two limits that run together
- Two years to pay. Payments outside the two years before or after the sale are not reinvested (V1639-25). It is not enough to commit the money or sign contracts.
- Four years to finish. Counted from the first payment for the construction treated as reinvested (V1148-25, V1639-25, V0703-26).
- Twelve months to move in after completion (article 41 bis.2).
If the first reinvested payment was made before the sale, the four years start then. A pending appeal, admitted by Supreme Court order of 12 November 2025 (appeal 7688/2024), asks whether the four-year limit survives the repeal of article 55; it is prudent to comply in the meantime.
3. The plot
Only what you pay inside the two-year window counts. A plot bought earlier, inherited or received as a gift is not reinvestment, although you may build on it.
4. Construction costs that may count
- Architect and quantity-surveyor fees, licence fees and construction tax (ICIO).
- Certificates paid to the builder, materials and installations fixed to the building.
- Notary and registry costs of the new-building deed, and irrecoverable VAT.
Furniture, appliances and loan interest do not count. It does not matter whether payments were financed with a loan (V1623-25).

5. Extending the four years
- Former article 55.3: if, because the developer is in insolvency proceedings, the works are not finished or the home is not delivered in four years, the period is extended by another four. Supporting documents must accompany the return for the year of the breach.
- Former article 55.4: for other exceptional circumstances beyond your control that halt the works, you may apply to the Tax Agency within thirty days of the breach, for up to four more years. If there is no decision within three months, the application may be treated as refused.
The DGT recalls that no other extension is possible (V1532-25, on the old deduction).
6. Three self-build examples
Plot already owned
Rodrigo sells in March 2024, amount obtained €480,000, gain €200,000. He owns the plot and starts building in July 2024. Only construction payments made up to March 2026 count. If they reach €480,000 the exemption is full; if he pays €400,000 by then and the rest in 2027, 83.3 % of the gain is exempt. The four years run from July 2024.
Cost overrun
Elena sells in January 2025 for €350,000 (gain €130,000) and pays €350,000 of works before January 2027. The extra €50,000 the house costs does not enlarge the exemption, which is already full.
Works started before the sale
Marta pays €60,000 from January 2024, sells in September 2024 for €300,000 (gain €100,000) and pays €240,000 more before September 2026. Full exemption. Four years from January 2024 end in January 2028; the house is finished in June 2027.
7. Papers to keep for a self-build
- Deed of sale, title to the plot, building licence and project.
- Every invoice and certificate with its bank payment and date.
- Completion certificate, new-building deed, first-occupation licence or equivalent, and proof of when you moved in.
Renovating an existing building follows different rules: see renovation as reinvestment. Source: Royal Decree 439/2007 (BOE). Spanish version: autopromoción.
Building your own home with the proceeds
Does building my own house count as reinvestment?
Yes. Amounts paid for the construction within two years before or after the sale count (DGT V1639-25), and the works must finish within the time limits of former article 55 of the Regulation.
Are the four years counted from the sale?
No. The DGT counts them from the first payment for the construction treated as reinvested, which may be earlier than the sale.
I already owned the plot. Does its value count?
Only if you paid for it within two years before or after the sale. Otherwise only the construction payments made in that window count.
What if the works are not finished in four years?
The exemption is lost unless the period is extended under paragraphs 3 or 4 of former article 55: developer in insolvency, or exceptional circumstances beyond your control that halt the works.
Last reviewed: 30 November 2026. General information on Spanish law in force; it does not replace advice on your specific case.
Further reading
