Vallas MálagaFencing & boundary walls
Photos or visit · Measuring & setting out · Itemised quote · Foundations · Installation · Clean-up & handover01Photos orvisit02Measuring &setting out03Itemisedquote04Foundations05Installation06Clean-up &handover
Guide · Permits

Fence permits in Spain: what Andalusian owners need to know

Building a fence in Málaga province is a building act, and the town hall controls it. This guide explains the framework, the two main routes and the questions to ask before you build.

Technical guidesLast reviewed: Bauman Raymond Attila

Do you have a right to fence your property in Spain?

In short: yes – the Civil Code recognises an owner's right to enclose their land, but that right is exercised within planning rules and existing easements.

Spanish civil law starts from a simple position. Article 388 of the Civil Code states that every owner may close or fence their land by means of walls, ditches, live or dead hedges or in any other way, without prejudice to the easements (servidumbres) that already burden the property. You can read the article in the consolidated text published by the Boletín Oficial del Estado (BOE), linked in the sources below.

That right does not mean you can build any fence you like. The second layer is public law: town planning. In Andalusia, building work is controlled by the municipality under the regional land and planning law and each town's own plan (the PGOU) and bylaws (ordenanzas). A fence is a construction, so the town hall decides how it may be built and what authorisation it needs.

The third layer, for many coastal homes, is private: the statutes of your urbanisation or community of owners. Our urbanisation rules guide deals with that.

Licence or declaration: which route applies to a fence?

In short: Andalusian law distinguishes works that need a municipal licence from works that can proceed with a responsible declaration; which one covers your fence depends on the work, the land and your town.

The Andalusian planning law – Ley 7/2021, de 1 de diciembre, de impulso para la sostenibilidad del territorio de Andalucía, usually called LISTA – sets out two main routes for building acts:

  • Article 137 lists acts subject to a municipal planning licence (licencia urbanística), meaning the town hall must authorise the work before it starts.
  • Article 138 lists acts that can instead be carried out with a declaración responsable (a responsible declaration in which the owner states that the work complies with the rules) or a comunicación previa (prior notice).

Whether a particular fence falls under one route or the other is not something we state in general terms. It depends on the characteristics of the fence, the class of land (urban or rural) and how your municipality applies the law in its ordinances (check with your ayuntamiento). Many town halls publish forms and lists of works for each route on their websites or electronic offices.

In practice, assume that a fence needs some form of authorisation and ask before you commit to a design.

Does it matter whether the land is urban or rural?

In short: yes – rural land (suelo rústico) is treated differently from urban land, and fences in the countryside can face extra conditions.

The class of land shapes almost every planning question. A villa plot inside a town or urbanisation is normally urban land, where the municipal plan sets clear rules for boundaries along streets and between plots. A finca in the hills is usually rural land, where the priority is protecting the landscape and rural uses, and where some routes available in urban areas may not apply.

On rural land, a fence may also interact with protected areas, livestock routes, watercourses or wildlife, each with its own authority (check for your specific plot). If you are fencing country land, read our page on fencing a plot and ask the town hall which conditions apply to your parcel before choosing a fence type.

What will the town hall usually want to know?

In short: where the fence goes, what it is made of, how high it is and how much of it is solid – plus details of the property and owner.

Requirements vary by municipality, but applications for small building works typically ask for:

  • the identification of the owner and the property, often including the cadastral reference;
  • a description of the work: type of fence, materials, length and height;
  • the position of the fence, sometimes on a sketch or plan;
  • a budget or quote for the work, which some town halls use when calculating fees and taxes (check locally);
  • for some works, documents signed by a technician.

Our itemised quote describes the work stage by stage, which is helpful when you or your representative prepare the paperwork. We do not process permits ourselves. If the town hall asks for a technical project, you will need an architect or building engineer.

The height and opacity limits the town hall applies are covered in our fence height guide.

What should you do before any digging starts?

In short: confirm the line, check the planning route, check community rules and only then sign off the design.

A sensible order for owners, especially those abroad, is:

  • Confirm the boundary line from deeds, the cadastral plan or a survey; see our guide on boundary and party walls.
  • Ask the ayuntamiento which route applies and what limits exist for your plot.
  • Read your urbanisation statutes if you are in one.
  • Choose the fence type within those limits; our fence types page helps.
  • Get an itemised quote and submit the application with it if required.
  • Keep copies of the authorisation or declaration on site and with your records.

Building first and asking later is a gamble. Works without the required authorisation can lead to enforcement action by the town hall, which may include orders to adapt or remove the work (check for your municipality).

Official sources

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

Frequently asked questions

Do I need planning permission for a garden fence in Spain?

In most cases some form of municipal authorisation is required. In Andalusia that is either a licence or a responsible declaration, depending on the work and the town. Ask your ayuntamiento.

What is a declaración responsable?

A statement by which the owner declares that the planned work complies with the applicable rules and that they have the required documents. Under the Andalusian planning law some works can proceed this way instead of with a licence.

What is LISTA?

Ley 7/2021 de impulso para la sostenibilidad del territorio de Andalucía, the regional law on land and planning. Articles 137 and 138 distinguish works needing a licence from those that can use a declaration or prior notice.

Can I replace an old fence without a permit?

Do not assume so. Replacing a fence is still building work. Check with the town hall whether your replacement needs authorisation.

Does the contractor apply for the permit?

We do not. The owner or their representative applies. Our itemised quote helps describe the work.

How much are the municipal fees?

Fees and any construction tax are set by each town, and how they are calculated is a local matter. We do not quote them; ask the ayuntamiento.

Do I need an architect for a fence?

For many simple fences, no, but some works or locations may require technician documents. Your town hall will tell you what it needs.

Are the rules different in rural areas?

Yes. Rural land is treated differently and may involve extra conditions and authorities. Ask about your specific parcel.

Can my urbanisation stop me building a fence the town hall allows?

Community statutes can add private rules on style and materials. You may need to satisfy both the town hall and the community.

What happens if I build without authorisation?

The town hall can open enforcement proceedings, which may lead to fines or orders to legalise, adapt or remove the work. The detail depends on the case.

Where do I find my town's rules?

On the ayuntamiento website or electronic office, in the PGOU and ordinances, or by asking the planning department (urbanismo) directly.

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.