Capital gains tax on property development in Spain uses the same rates and the same underlying rules as any other property sale, but a development project changes what actually goes into the calculation. Where a straightforward resale mainly deducts the original purchase price and a handful of costs, a development or renovation project builds up a much larger, more detailed cost base: land, construction, licences, and professional fees, all of which reduce the taxable gain if you can document them. Getting that documentation right, and understanding where the general rules don’t quite fit a development project, is where most of the value in this page sits.
If you haven’t seen it yet, start with our general guide to capital gains tax when selling property in Spain for the baseline rates and exemptions; this page assumes those rules and focuses on how they apply once you’ve financed and built or renovated the property yourself. For the financing side of that build, see our complete guide to development finance in Spain.
Talk through how your project’s numbers will be taxed on exit. Book a call
The number that matters most: the same 19% to 26% scale, on a very different base
Spanish tax residents pay capital gains tax on the progressive scale: 19% on the first €6,000 of gain, 21% between €6,000 and €50,000, 23% between €50,000 and €200,000, and 26% above €200,000. Non-residents pay a flat 19% (EU/EEA) or 24% (non-EU), with a 3% withholding retained by the buyer at completion and offset against the final bill when the return is filed. Those rates are identical whether you bought a finished flat and sold it a year later, or bought a plot, built a house, and sold that. What changes for a development project is the size of the deductible cost base you can set against the sale price before any of those rates apply.
What counts as a deductible development cost
The taxable gain is the sale price minus the acquisition cost and any costs that genuinely improved or added value to the property, evidenced with formal invoices in the developer’s or owner’s name. For a development project, that typically includes:
- The land or original property purchase price, plus the taxes and fees paid to acquire it: Property Transfer Tax (ITP) or VAT, AJD stamp duty, notary, and land registry fees.
- Construction and renovation costs, invoiced by the general contractor for the build itself.
- Architect, technical surveyor (aparejador), and project management fees, provided they’re formally invoiced.
- Municipal licence fees (Licencia de Obra) and the municipal construction tax (ICIO) paid to carry out the works.
- VAT that wasn’t recovered, if you built or renovated as a private individual rather than through a VAT-registered company. Our VAT on new build property in Spain guide covers when that VAT is recoverable and when it isn’t, which is exactly what decides whether it belongs in this cost base.
What generally does not reduce the taxable gain is the cost of financing the project itself. Interest paid on a development loan or bridging facility is the cost of capital, not a cost of acquiring or improving the property, so it typically sits outside the deductible base even though it was a genuine, necessary project cost. This is worth confirming against your specific loan structure with a tax adviser, since how a facility was drawn and used can affect the analysis.
Reinvestment and over-65 exemptions rarely apply to a development project
The two most commonly cited capital gains exemptions are both built around a personal home, not a development project, and it’s worth being clear about that before assuming either applies:
- The reinvestment exemption shelters gains reinvested into a new primary residence within two years. It’s designed for someone selling the home they actually live in, not for a property built or renovated specifically to sell on, and generally won’t apply to a development project even if you reinvest the proceeds into your next site.
- The over-65 exemption requires the seller to be 65 or older and to have occupied the property as their main home for at least three years. A newly built or renovated property sold shortly after completion won’t meet the occupancy test.
If a development project is genuinely intended to become your own home and only sold years later, these exemptions can still apply on the general rules; they just aren’t a development-specific planning tool the way the cost-base deductions above are.
Selling before completion: assignments and off-plan resales
Development and off-plan projects create a scenario a straightforward resale doesn’t: selling before the property is actually finished. Two situations come up regularly:
Assigning the purchase contract
If you reserved or contracted to buy a property off-plan and sell your position on to another buyer before completion, known as a cesión de contrato, the profit on that assignment is still treated as a capital gain, calculated on the difference between what you paid to acquire your contractual position and what you were paid to assign it, even though no property has changed hands at the Land Registry yet.
Selling a part-built development
Selling a site or building partway through construction is taxed the same way as any other property sale: the taxable gain is the sale price minus the land cost and whatever construction costs were genuinely incurred and invoiced up to that point. It’s a smaller cost base than a finished project would have, simply because less has been spent, so timing the sale against how much of the build is actually complete and documented matters for the numbers.
Plusvalía municipal: a separate tax on the same sale
Alongside capital gains tax, most sales in Spain also trigger plusvalía municipal, a local tax charged by the town hall on the increase in the land’s official cadastral value over the ownership period. It’s calculated separately from capital gains tax and paid to the municipality rather than the state, so a development project needs to budget for both: capital gains tax on the overall profit, and plusvalía municipal on the land-value element specifically, whatever the underlying profit or loss on the project as a whole.
Selling personally vs selling through an SL company
Everything above assumes you developed and are selling as a private individual, taxed under personal capital gains tax. If you developed through a Spanish limited company (SL) instead, the exit isn’t taxed as personal capital gains tax at all: the gain is company profit, taxed at the standard 25% corporate rate, and a further layer of dividend withholding applies if you extract the proceeds personally rather than reinvesting them into the next project. Our should you use an SL company for your development project in Spain guide sets out that comparison in full, including when the corporate route works out cheaper and when it doesn’t.
This is a general explanation, not tax advice specific to your situation. Deductible cost bases, exemptions, and the personal-versus-corporate comparison depend on the detail of your project and are worth confirming with a Spanish tax adviser.
Non-resident developers: the 3% withholding and beyond
Non-resident sellers, whether developing a single project or several, have the buyer withhold 3% of the sale price and pay it directly to the Spanish tax authorities on account of the seller’s capital gains tax liability. That withholding is reconciled against the actual tax due once the non-resident’s capital gains return is filed: if the 3% withheld is more than the tax actually owed, once the full development cost base is applied, the difference is refundable, though refunds can take several months to process. Building a well-documented cost base is particularly valuable for a non-resident developer for exactly this reason, since it’s the difference between a routine reconciliation and a genuine overpayment sitting with the tax authorities.
Keeping the records that make the deductions stick
None of the deductible costs above count for anything without paper behind them. The Spanish tax authorities expect formal, sequentially numbered invoices (facturas) in the name of the person or company selling the property, not builder’s quotes, bank transfer references alone, or informal receipts. For a project running over months or years, that means:
- Keeping every contractor, architect, and licence invoice from the day the project starts, not just the major ones.
- Running the project’s ongoing accounting properly from the outset, whether personally or through a company. Our small business accounting in Spain service and business accounting for an SL company in Spain cover this for an active development business.
- Coordinating the eventual capital gains filing with your annual Spanish income tax return for expats if you’re a resident, or with a non-resident capital gains return if you’re not.
Need help structuring or exiting a development project?
Whether the biggest lever is the deductible cost base, the timing of the sale, or the choice between personal and corporate ownership depends on your specific project. We work through the numbers alongside a tax adviser and structure the financing and exit to match.
Get your development’s tax position reviewed before you sell.
Related reading
- Baseline rates and exemptions for any property sale: capital gains tax when selling property in Spain.
- Structuring the project itself: should you use an SL company for your development project in Spain.
- Financing the build: development finance in Spain by location: Madrid, Barcelona, Alicante, Valencia, Mallorca, Ibiza, and Marbella.
- VAT during the build: VAT on new build property in Spain.
- Deciding whether to build or renovate in the first place: new build vs. renovation finance in Spain.
- Holding the finished property afterward: wealth tax in Spain.
- Need short-term funding to complete before you sell? See the bridging loans in Spain hub.
FAQs: capital gains tax on property development in Spain
Can I deduct the interest on my development loan from capital gains tax?
Generally no. Loan interest is treated as the cost of financing the project rather than a cost of acquiring or improving the property, so it typically sits outside the deductible cost base used to calculate the gain. Confirm this against your specific loan structure with a tax adviser.
Do I pay capital gains tax if I assign an off-plan contract before completion?
Yes. Assigning your position in an off-plan purchase contract to another buyer (cesión de contrato) is taxed as a capital gain on the profit between what you paid for the contractual position and what you received for assigning it, even though no property has formally changed hands yet.
Is plusvalía municipal the same as capital gains tax?
No. Plusvalía municipal is a separate local tax charged by the town hall on the increase in a property’s official cadastral land value, paid alongside, not instead of, capital gains tax on the overall sale profit.
Does the reinvestment exemption apply if I reinvest development profits into my next project?
Generally no. That exemption is designed for reinvesting the sale of your own primary residence into a new primary residence, not for rolling development profits into the next site. Development businesses typically don’t qualify.
How much capital gains tax will a non-resident developer actually pay?
Non-residents pay a flat 19% (EU/EEA) or 24% (non-EU) on the taxable gain, with 3% of the sale price withheld by the buyer at completion and reconciled against the final bill once the return is filed. A well-documented development cost base reduces the taxable gain and can mean part of that 3% withholding is refunded.
This page is for informational purposes only and does not constitute formal tax, legal, or financial advice. Spanish capital gains tax, plusvalía municipal, and corporate tax rules change regularly and depend on your specific circumstances. Always consult a qualified Spanish tax advisor (gestor fiscal) and an independent legal professional before signing property contracts or transferring funds.


