Vallas MálagaFencing & boundary walls
Panel (slats / mesh)Strip footingLow wall (murete)PillarPanel (slats / mesh)Ground
Guide · Heights

Fence height rules: how high can your fence be in Málaga province?

There is no single national fence height in Spain. Each town sets its own limits, often with separate rules for the solid part and the open part of a fence – and urbanisations can add more.

Technical guidesLast reviewed: Bauman Raymond Attila

Is there one maximum fence height for all of Spain?

In short: no – fence heights are set locally, mainly in each municipality's general plan (PGOU) and ordinances, and can differ between zones of the same town.

Owners arriving from countries with a national rule of thumb are often surprised. In Spain, building control is largely municipal. In Andalusia, the regional planning law (LISTA) sets the framework for how works are authorised, but the detailed conditions for a fence – height, materials, how much may be solid – are written in each town's plan and ordinances.

That means a fence that is perfectly legal in one municipality may not be in the next one along the coast, and even within one town the rules for a street front can differ from those for a side boundary or a rural plot. It also means that any website quoting a single figure for 'Spain' or 'Andalusia' should be treated with caution.

Our fence permit guide explains the authorisation routes. This guide focuses on where the height limits are found and how to read them.

What does a real municipal height rule look like?

In short: Málaga city's general plan is a good example – it separates a solid lower part from a light, transparent upper part on street fronts, and lets zone ordinances vary the rule.

The general building rules in Málaga city's PGOU documents (Title XII, Normas Generales de Edificación, approved version of 2011) include an article on fences on the front of plots (article 12.2.7, 'Vallas en el frente de parcelas'). As published by the city council, it says, in summary:

  • for built plots facing the street, solid and opaque elements up to 1.00 m in height, and a light, transparent enclosure up to a maximum of 2.10 m;
  • for unbuilt plots, an enclosure of 2.00 m, unless the town hall decides otherwise for safety reasons;
  • particular zone ordinances may introduce their own regulation.

The same document has separate rules for buildings on slopes. We quote this only as an example of how a municipal rule is structured. It applies to Málaga city, may have been modified since, and may be overridden by the ordinance of your zone. Always check the current rule for your own plot with the ayuntamiento before designing a fence.

Why do towns treat the solid and open parts differently?

In short: to keep streets from becoming corridors of blank walls while still allowing privacy and security.

The split between a solid base and a lighter upper part is common in Spanish planning rules. A low solid wall marks the boundary and gives some privacy, while an open upper part – railings, mesh or spaced slats – keeps light and views along the street.

For you as an owner, this has practical consequences. A fully closed slat fence or a tall rendered wall may exceed what your zone allows for the solid part, even if the total height is acceptable. Some owners solve this by choosing slats with gaps, mesh with planting, or by placing a closed screen further inside the garden where different rules may apply (check with your town).

Our page on a fence on a low wall explains how we build the solid base, and the fence types overview shows which infills are open or closed.

What else can limit fence height?

In short: urbanisation statutes, slopes and changes in ground level, corner visibility, and rules for rural land.

Beyond the general plan, several other factors can cap the height:

  • Community statutes. Many urbanisations set their own heights, colours and materials. Read our urbanisation rules guide.
  • Sloping ground. Where the ground differs on each side, how height is measured matters. Plans often contain specific rules for hillside plots.
  • Corners and road junctions. Visibility for traffic can lead to stricter limits near junctions (check locally).
  • Rural land. Fences on rural land may be subject to different conditions, including on permeability for wildlife (check for your parcel).
  • Shared walls. Raising a party wall is addressed by the Civil Code, which allows an owner to raise it at their own expense, subject to the conditions it sets; see our boundary and party walls guide.

How do you check the rule for your own plot?

In short: identify your zone in the PGOU, read the general and zone rules on fences, then confirm with the town hall's planning department.

A practical sequence:

  • Find your cadastral reference (on the IBI tax receipt or deeds).
  • Locate your plot on the municipal plan and note its zone and land class.
  • Read the general rules on fences and the specific ordinance for your zone.
  • Check community statutes if you are in an urbanisation.
  • Ask the planning department (urbanismo) to confirm, ideally in writing or through the electronic office.

If you are abroad, a local representative or lawyer can do this for you. Once you know the limits, we design the fence to fit them. For dogs, where height matters most, see dog-proof fencing.

Official sources

BR
Bauman Raymond Attila
Author and person responsible · Last reviewed:
FAQ

Frequently asked questions

What is the maximum fence height in Spain?

There is no single national figure. Each municipality sets limits in its plan and ordinances, and they can differ between zones.

What is the maximum fence height in Málaga city?

Málaga city's 2011 general building rules set a solid part up to 1.00 m and a light, transparent enclosure up to 2.10 m on fronts of built plots, but zone ordinances may vary this. Check the current rule for your plot.

Is the rule the same in Marbella, Mijas or Estepona?

Not necessarily. Each town has its own plan. Do not apply one town's figures to another.

Can my side fence be higher than my front fence?

Some plans treat street fronts and side boundaries differently. Check both in your zone's rules.

Do hedges count towards fence height?

Planting is generally treated differently from built fences, but community statutes may regulate hedges too. Ask locally.

How is height measured on a slope?

Plans often define it from a reference point such as the pavement or natural ground. Read the definition in your town's rules.

Can I build higher if my neighbour agrees?

A neighbour's agreement does not override planning limits. It may matter for a shared wall under civil law, but the town hall's rules still apply.

My urbanisation allows less than the town. Which applies?

Both can apply: the town sets the public limit and the community may set a stricter private one. Following the stricter rule avoids conflict.

Can a fence be fully solid?

Many plans limit the solid part. A fully solid fence may only be possible below a certain height or in certain zones.

Do you check the height rules for me?

We design to the limits you confirm with the town hall. We do not issue planning opinions or process permits.

What if my existing fence is higher than allowed?

That is a question for the town hall or a lawyer. When replacing it, we build the new fence to the limits you confirm.

Get a quote

Send photos – get an itemised fence quote

Send photos and the approximate length of your fence line. We reply with questions or a visit, then an itemised quote with no commitment. Owners abroad welcome.