What you can build on a plot is not decided by the architect or by the seller: it is decided by the urban planning rules (planeamiento urbanístico) of your municipality, through five parameters: setback, buildable area, site coverage, height and which floor area counts.
And a warning that saves grief: the Cadastre (Catastro) tells you none of this. The Cadastre is tax information. The parameters are in the zone by-law schedule, which is a different document in a different place.
The five parameters, in order of surprises
Setback (retranqueo)
The minimum distance the building must keep from each boundary of the plot: side boundaries, street frontage and rear.
It brings down more permits than any other, nearly always for the same reason: where it is measured from.
Buildable area (edificabilidad)
The square metres you may build in total, adding up storeys. Usually expressed as a ratio applied to the plot area.
A ratio of 0.4 on 800 m² gives 320 m² of buildable area.
Site coverage (ocupación)
How much of the plot the building may stand on, as a percentage.
This is what decides whether the house goes on one storey or two.
Height and storeys
The maximum height to the cornice and the number of storeys allowed, which do not always go together.
Some by-laws allow a habitable roof space and others do not.
Countable floor area
What counts and what does not towards the buildable area: basement, porch, terrace, roof space.
It is the parameter that wins or loses the most square metres, and the one least looked at.
The setback and the missing metre
The setback is the minimum distance between the building and a boundary of the plot. It is set by each town hall’s zone by-law and varies enormously: there are detached-housing zones with three metres to the boundaries and others with five, in the same town.
But the number is not usually the problem. The problem is where it is measured from:
- Many by-laws measure from the outermost point of the building. That brings in the overhang, the eaves and the cornice.
- Others measure from the plane of the façade, and overhangs have a separate rule of their own.
- Some include the part of the basement that stands proud of the ground.
- And some by-laws distinguish between side boundary, rear and frontage, with three different distances for the same house.
A metre of difference in a setback can bring a permit down, and the worst of it is that it is detected late: when the design is already drawn and the client has already approved it. Checking the exact definition before drawing takes an afternoon.
And do not confuse it with the distance for opening windows
Two independent rules, and both have to be met. The setback is a planning matter. The distance for opening windows facing a neighbour is civil: article 582 of the Civil Code requires two metres between the wall and the neighbouring property for direct views, and sixty centimetres for oblique views.
You can comply with the municipal setback and be in breach of the Civil Code. That is a neighbour’s claim, not a permit matter, and it arrives later.
Buildable area and site coverage: the pair almost everyone mixes up
They are two different limits and both apply at the same time. An example makes it obvious.
| Item | Value | What it means |
|---|---|---|
| Plot area | 800 m² | What you have bought |
| Buildable area ratio | 0.4 m²/m² | 320 m² buildable in total, adding up storeys |
| Maximum site coverage | 30 % | 240 m² maximum at ground level: what the house may stand on |
| Outcome A | 1 storey of 240 m² | It fits, but you waste 80 m² of buildable area |
| Outcome B | 2 storeys of 160 m² | You use all 320 m² and free up more garden |
| Outcome C | 240 + 80 m² | Ground floor at its maximum and a small first floor |
All three comply with the rules and give three radically different houses. That decision is design, not regulation, and exactly where an architect adds or subtracts value.
If you want the calculation step by step, with real examples of what counts and what does not, it is in buildable area: what it is and how it is calculated (in Spanish). And if you are torn between a detached, semi-detached or terraced house, read the differences between the three types.
Countable floor area: where square metres are won
This is the parameter least looked at and the one that changes the result most. What counts within those 320 m² depends on the by-law, but the usual criteria are:
| Element | Usual criterion |
|---|---|
| Basement wholly below ground | Does not count |
| Basement standing proud | May count in full or in part |
| Covered but open porch | Counts at 50 %, or does not count |
| Uncovered terrace | Does not count |
| Roof space | The part with enough clear height counts |
| Garage below ground | Usually does not count |
| Store rooms and plant rooms | Depends on whether they are below ground |
These criteria are the usual ones, not a rule. Every by-law defines them in its own way, and you have to read them in the specific schedule for your zone. A porch that counts at 50 % in one municipality and does not count in the next is twenty square metres of difference in the house you can build.
Where you actually look these up
In order, and with the warning that matters:
The Cadastre tells you what you have, not what you can do
The Cadastre’s electronic office (Sede Electrónica del Catastro) gives you the plot area, the cadastral reference and what is already built. It is tax information.
It contains no buildable area, no site coverage and no setbacks. Starting here is fine; stopping here is the mistake.
The planning rules tell you what you may do
The municipality’s general urban plan, or its planning rules, assign your plot a zone by-law (ordenanza de zona). That schedule is what contains the five parameters.
Almost every town hall publishes it, though not always in an easy-to-find way.
And you have to check the constraints, which are not in the schedule
Rights of way, watercourses, roads, power lines, archaeological or drove-road protection, and aviation constraints.
These turn up late and cost the most, because they are not in the document everybody looks at.
One more check, if the plot is outside the town centre: on “rural” land (suelo rústico) a house is almost never possible. We explain it in can you build on rural land? (in Spanish)
What getting this wrong costs
This is the one mistake in a self-build that has no remedy. If you buy a plot counting on building 400 m² and the schedule allows you 250, there is no design, builder or budget that will solve it: you have paid for square metres that do not exist.
And once you know what fits, the next thing is what it costs: the construction cost calculator adds it up with your town hall’s taxes, and ICIO by municipality sets out what each of them takes.
Each municipality has its own plan and by-laws. We cover it, for example, in Collado Villalba, Alcobendas, Leganés and Getafe.
Frequently asked questions
What does the word retranqueo mean?
Retranquear means to set back. In planning, the setback (retranqueo) is the compulsory minimum distance that has to be left between the building and a plot boundary or the street line. It is not a recommendation: it is a planning condition, and if it is not met the permit is not granted.
What is the setback of a plot?
It is that same minimum distance, applied to each boundary separately. The by-law may require a different setback at the front, the rear and the sides, so the area where the house can actually sit is usually considerably smaller than the plot.
How many metres of setback do I have to leave?
There is no single figure, and that is exactly the mistake that costs most. The setback is set by each municipality’s planning rules and changes with the zone the plot falls in: even within the same town, two plots on different streets can have different requirements. The figure that applies to your plot is in its planning schedule, not in what the neighbour was told.
What does setback mean in architecture?
Besides the distance to the boundaries, in architecture setback also means stepping back a façade plane: pulling the upper floors back from the lower ones. Sometimes it is a design decision, and sometimes the by-law itself requires it to control the height perceived from the street.
What is the setback?
The minimum distance the building has to keep from a boundary of the plot: the boundaries with the neighbours, the street frontage or the rear. It is set by your town hall’s zone by-law and varies enormously from one municipality to another, and even between zones of the same municipality. It is not a national figure.
Where is it measured from?
This is the commonest mistake. Many by-laws measure from the outermost point of the building, and that takes in overhangs, eaves, cornices and in some cases the basement where it stands proud. Others measure from the façade. The difference can be a good metre, and a metre in a setback can bring down a permit.
Is the setback the same as the distance for opening windows?
No, and they are confused all the time. They are two independent things and both have to be met. The setback is a planning rule set by the town hall. The distance for opening windows is a civil-law matter: article 582 of the Civil Code requires two metres between the wall and the neighbouring property for direct views and sixty centimetres for oblique views. You can meet the setback and still be in breach of the Civil Code.
What is buildable area (edificabilidad)?
The square metres you can build in total, normally expressed as a ratio multiplied by the plot area. A ratio of 0.4 on an 800 m² plot gives 320 m² of buildable area. Careful: buildable area and site coverage are different things.
Are buildable area and site coverage the same thing?
No. Buildable area caps the total built square metres, adding up every storey. Site coverage caps how much of the plot the building may stand on. With 320 m² of buildable area and 30 % site coverage on an 800 m² plot, you can cover 240 m² at ground level: the house fits on one storey, or on two smaller ones with more garden.
Does the Cadastre tell me what I can build?
No, and it is a confusion that costs money. The Cadastre gives you the plot area and what is already built on it, which is tax information. What you may build is in the urban planning rules: the municipality’s general plan or its planning by-laws, and specifically in the schedule of the zone by-law that applies to your plot.
What counts towards buildable area?
It depends on the by-law, and it is where most is won or lost. Usually the basement does not count if it is buried, porches count at 50 % or do not count, uncovered terraces do not count and roof spaces count for the part with enough clear height. Change municipality and the criterion changes, and with it the house that fits.
Can I find all this out before I buy the plot?
Yes, and it is the most worthwhile thing you can do. Before signing you can look up the zone schedule, check the constraints and verify that what you have in mind really fits. It is the most expensive mistake in a self-build, because by the time you find out you have already signed, and it is the only one that cannot be fixed.
Send us the cadastral reference and we will tell you what fits
We send you back the buildable area, the maximum site coverage, the setbacks, the height allowed and any warnings we see: constraints, protections or easements.
If you have not bought yet, even better. That is when this is worth most.



