Glass railings in Spain: height rules and safe glass
A glass railing keeps the sea view open, takes the edge off the wind and does not rust like old ironwork. But it is first of all a safety barrier: its height, the gaps, the glass and the fixings are all set by the Spanish building code (Código Técnico de la Edificación, CTE). Here is, in plain English, what the railing on your terrace, balcony or staircase has to meet and what to ask for in a quote.
Updated 12/11/2026
When is a railing compulsory?
The building code (document DB-SUA 1, safety against falls) requires a protective barrier on any drop of more than 55 cm: terraces, balconies, stairs, ramps, mezzanines and low windows. Below that it is not compulsory, although it is often a good idea anyway.
The code applies to new buildings and to renovation work. If your old railing is lower, nobody forces you to replace it tomorrow; but when you do replace it, the new one has to meet the rules below. Many older Spanish apartments have balcony railings well under today's height, which is worth knowing if you are buying a resale property.
How high must it be?
| Height of the drop it protects | Minimum railing height |
|---|---|
| Up to 6 m | 0.90 m |
| More than 6 m | 1.10 m |
| Stairwell gap narrower than 40 cm | 0.90 m |
The height is measured vertically from the finished floor of the terrace to the top edge of the railing. On a staircase it is measured from the line joining the front edges of the steps. In practice, a raised ground floor or first-floor terrace is usually under 6 m; from the second or third floor up you normally need 1.10 m. We check this when we measure, because what counts is the real drop, not the floor number.
One detail people forget: if you later raise the floor (decking, artificial grass on pedestals, new tiles on top of old), the railing gets "lower" by those centimetres. Tell us which floor finish you plan before we manufacture.
Children must not be able to climb it or slip through
In homes the code adds three conditions with children in mind:
- No footholds between 30 and 50 cm above the floor: nothing to put a foot on.
- No ledges between 50 and 80 cm: no near-horizontal surface deeper than 15 cm.
- No gap a 10 cm sphere can pass through: not between bars, not between panels, not between the glass and the floor.
That is why wire or horizontal-bar railings, so common in magazine photos, are not suitable for a home: they work as a ladder. Glass and vertical bars comply easily. Watch what you put next to the railing too: a planter or a bench pushed against it becomes exactly the step the rule was meant to avoid.
How strong must it be?
A railing in a home has to withstand a horizontal push of 0.8 kN per metre on its top edge, roughly 80 kg leaning on every metre of length (document DB SE-AE). Busy public premises need more.
What matters for you: a railing almost never fails at the glass, it fails at the fixing. So before we make anything we look at where it will be anchored: the condition of the slab edge, the thickness of the screed, whether there is waterproofing that should not be drilled. On the coast we use stainless-steel fixings, because a rusty anchor is an anchor that no longer holds.
Which glass is safe?
Railing glass should be laminated safety glass: two panes bonded by a plastic interlayer. If a blow breaks it, the pieces stay stuck to the interlayer and the panel stays in place, still closing the gap. Glass that is only toughened crumbles into small blunt grains, which do not cut, but it leaves the opening wide open, the last thing you want on the fifth floor.
The code (DB-SUA 2) grades glass by impact resistance under the European standard EN 12600 and asks for more the higher the drop: class 1 or 2 for a drop between 0.55 and 12 m, and class 1, the strictest, above 12 m. Our railings use 6+6 laminated glass; always ask for the glass make-up to be written into the quote.
- Clear: an unobstructed view; the favourite facing the sea.
- Frosted: lets light through and gives privacy from neighbours or the street.
- Mixed: frosted on the side facing the neighbour, clear at the front.
More on glass types in our glazing guide.

Railing types and fixing
- Aluminium posts with glass panels and a handrail: the most common. The handrail spreads the load and protects the glass edge.
- Glass only, in a continuous base channel: no posts, the cleanest look. It needs thicker glass and a solid base to bolt the channel to.
- Vertical aluminium bars: the classic and most economical option; lets the breeze through.
It is fixed either on the terrace floor or to the slab edge, on the outside. The second option leaves the full width of the terrace free and does not pierce the waterproofing, but the slab edge has to be sound. See examples on our aluminium and glass railings page and in our projects.
Pool fences
For shared pools, such as those of a community of owners, where children's access is not supervised the code requires a fence at least 1.20 m high, with a gate that closes and locks and the same anti-climbing conditions (DB-SUA 6). Pools of single-family houses fall outside that section, although with children or grandchildren around a glass fence is one of the best investments: it protects without hiding the garden. Your town hall or region may have rules of its own, so ask first. And if you rent the villa to holidaymakers, check what your insurer and your rental licence expect.
By the sea: salt and wind
In Torrevieja, Guardamar or La Manga the salt air punishes anything metallic. Powder-coated or anodised aluminium copes well; what goes first are screws and anchors if they are not stainless. Rinse the railing with fresh water now and then, especially after an easterly storm. A pleasant extra: a glass railing acts as a windbreak, so the terrace gets used for more months of the year. More tips in our guide PVC or aluminium near the sea.
Community of owners and town hall
The railing is part of the façade. If you live in an apartment block or an urbanisation, swapping bars for glass, or changing the colour, alters the shared appearance and needs the community's agreement; many communities already have an approved model. We give you a data sheet and a drawing to present. At the town hall it is usually handled as minor works (obra menor), but each municipality has its own procedure. More detail in our guide to terrace enclosure permits and in replacing windows in Spain as a foreign owner.
What the price depends on
There is no per-metre price that fits everyone, and be wary of anyone who gives you one without seeing the terrace. It depends on:
- the linear metres and the number of corners;
- the height (0.90 or 1.10 m) and the type: glass with posts, glass only or bars;
- the glass: clear or frosted;
- the fixing and access: a ground floor is not the same as a penthouse without a lift.
Send us the metres and a couple of photos and we will give you a fixed price. If you are replacing windows at the same time, see our factory prices or the price calculator.
What to ask for in the quote
- The height of the railing once installed, measured from the finished floor.
- The glass make-up in writing (for example, 6+6 laminated) and whether it is clear or frosted.
- The type of fixing, with stainless-steel anchors and screws.
- The colour of the aluminium and the type of handrail.
- That it includes measuring, fitting and removal of the old railing. More ideas in our guide to checking a window quote.
How we help
- We make railings to measure in our own workshop in San Fulgencio, in the colour of your aluminium windows or sliding doors, and our own team fits them.
- We work in San Fulgencio, Torrevieja, Orihuela Costa, Guardamar, Elche, Alicante and along the Murcia coast.
Frequently asked questions
What is the minimum height of a terrace railing in Spain?
0.90 m if the drop it protects is up to 6 m and 1.10 m if it is higher, measured vertically from the finished floor. This is set by the Spanish building code (CTE DB-SUA 1).
My old railing is only 80 cm high. Do I have to replace it?
The current code applies to new builds and renovation work, so an old railing does not become illegal on its own. But if you replace it, the new one must meet today's height, and with children in the house it is worth not waiting.
Is glass safe on a high floor?
Yes, if it is laminated safety glass and properly anchored. If a blow breaks it, the pieces stay bonded to the interlayer and the panel keeps closing the gap until it is replaced.
Can I have a wire or horizontal-bar railing?
Not in a home: the code bans footholds between 30 and 50 cm above the floor so that children cannot climb. Glass or vertical bars comply.
Do I need the community's permission?
If you change the look of the façade (bars to glass, a different colour), yes. We prepare the data sheet for you to present at the owners' meeting.
How do I clean and maintain it?
Water and mild soap, plus a fresh-water rinse now and then if you live by the sea. Once a year check that screws and cover caps are still tight.
How many metres of railing do you need?
Send us the linear metres, the floor you are on and a couple of photos of the terrace or staircase on WhatsApp: we will tell you which height and glass apply and what it costs.