
Dog-proof fencing for homes and gardens in Málaga province
A dog that gets out once will try again in the same place. We build fences that close the usual escape routes – under, over and through – with a solid base and the right infill.
Dog-proof fencing is a garden or plot fence designed to stop a dog digging under, jumping or climbing over, or squeezing through, by combining a closed base at ground level, sufficient height and an infill without footholds or wide gaps.
How do dogs actually get out?
In short: they dig under, jump or climb over, push through weak spots or slip out where the fence meets a wall, a gate or a slope.
Every dog has its own method. Terriers and hunting breeds often dig. Large, athletic dogs jump. Some climb mesh like a ladder. Others simply find the one corner where the fence meets the house wall with a hand's width of gap, or the bottom of a gate on a slope.
The practical consequence is that a dog-proof fence is less about the panel and more about the details: the base, the corners, the junctions and the gaps under gates. Before we propose a fence, we ask what your dog does – or what the previous one did. Photos of the spots where it got out are more useful than any brochure.
On the coast there is a further reason to take this seriously: plots are close together, roads are busy and a dog loose in an urbanisation can quickly become a problem with neighbours and the community.
How do you stop a dog digging under the fence?
In short: by closing the ground line – a low wall, a concrete plinth or a buried barrier – so there is no soft edge to dig.
A fence that stops just above the soil invites digging. The most reliable answer is a continuous base: a low wall or a precast concrete plinth set in a footing. It removes the soft edge entirely and also keeps soil and gravel in place. Our page on a fence on a low wall explains how we build that base.
Where a wall is not wanted, for example on a long rural line, mesh can be taken below ground or a concrete strip can be added along the bottom. The right choice depends on soil, slope and how determined your dog is. Our comparison of a low wall versus posts only sets out the trade-offs.

How do you stop a dog jumping or climbing?
In short: enough height for the dog in question, no horizontal footholds, and nothing next to the fence that works as a step.
Height matters, but it is limited by local planning rules, so it cannot be the only answer. Check what height your town allows before planning; our fence height guide explains where to find the rule.
The infill is the second lever. Horizontal rails, wide-spaced slats and some mesh patterns give a climbing dog a ladder. Vertical elements, tight mesh or closed panels are harder to climb. Closed infills also remove the visual trigger: many dogs bark and jump less when they cannot see passers-by.
The third lever is the garden itself. Benches, planters, log stores and raised beds next to the fence give dogs a launch point. Move them, or plan the fence line to keep them away from it.

Which weak points should be designed out?
In short: corners, ends against buildings, changes in level and the gap under gates are where most dogs escape.
Where a fence steps down a slope, a triangular gap often opens under each panel. Where the fence meets the house or a neighbour's wall, a gap is easy to leave. Where a gate sits on uneven ground, the bottom clearance can be large enough for a small dog.
We set out the line with these points marked and close them as part of the build: stepped walls under stepped panels, a tight finish against existing walls and a solid threshold where a gate opening is planned. Gates themselves are not part of our services, but we can prepare the opening so the gate installer has a clean, level threshold to work with.
If the boundary is shared, agree with your neighbour before building; our page on boundary fences with neighbours covers this.
What about pools and children?
In short: pool safety barriers follow their own rules; we explain them but do not build them.
Many owners with dogs also have a pool and, on holiday weeks, visiting children. A pool safety barrier is a different product from a boundary fence and has its own requirements. We do not offer pool fencing. If you need one, ask a specialist supplier and check what your town or community requires.
What we can do is make sure the boundary fence itself is secure, so that the pool area is not reachable from outside the plot. Our article on what owners wish they had known touches on planning the garden layout before choosing fences.
How we build it – step by step
- Understand the dog
We ask how your dog escapes – digging, jumping, climbing or pushing – and look at photos of the weak spots.
- Check the rules
You confirm height and style limits with the town hall or community, and we design within them.
- Setting out
We mark the line, corners, steps in level and junctions with walls and future gate openings.
- Base and foundations
We dig and pour the footing for a low wall or plinth, or post footings with a buried barrier where agreed.
- Wall, pillars or posts
We build the low wall and pillars or set the posts, closing gaps at corners and changes of level.
- Infill
We fit an infill without footholds or wide gaps, chosen for your dog and your privacy needs.
- Final check
We walk the line looking for gaps at ground level, at junctions and at openings before handover.
When is it the right choice – and when not?
A good fit if…
- Villas and townhouses with one or more dogs
- Holiday homes where dogs come with the family and the garden must be safe from day one
- Gardens next to busy roads or footpaths
- Plots where a previous fence has been dug under
Consider another option if…
- Pool safety barriers, which we do not build
- Electric or invisible fences, which are not our field
- Temporary pens or kennel runs
What affects the cost?
We don't publish fixed prices: every fence is quoted line by line using these factors.
- Length in linear metres
- Height allowed and chosen
- Low wall, plinth or buried barrier at the base
- Type of infill
- Number of corners and junctions with buildings
- Slope and steps in level
- Ground conditions for the footing
- Access to the garden for materials
- Removal of an existing fence
- Licence fees
Articles and guides

Fence on a low wall: the murete and pillars that carry your fence
Most villa fences on the Costa del Sol stand on a low wall, the murete. It is the part you notice least once finished and the part that decides whether the fence stays straight.
View details →
Fence on a low wall or posts only: which base suits your property?
Every fence stands on something. The choice between a continuous low wall and posts set directly in individual footings shapes how the fence looks, performs and ages.
View details →
What owners wish they had known before building a fence in Spain
These are the practical points owners most often raise once a fence project is under way – collected as advice, so you can deal with them before you start.
View details →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.
View details →Frequently asked questions
What is the best fence for a dog that digs?
One with a closed base: a low wall or a concrete plinth on a footing. Where a wall is not possible, a buried barrier along the bottom of the fence can help.
What is the best fence for a dog that jumps?
A fence of suitable height within local rules, with no horizontal footholds and nothing next to it to jump from. Closed infills can also reduce the urge to jump at passers-by.
Is mesh fencing dog-proof?
Rigid mesh panels on a solid base work well for many dogs. Some climbing dogs use mesh as a ladder, so for them a vertical or closed infill is better.
Can I make my existing fence dog-proof?
Sometimes, by adding a base or closing gaps. If the posts are loose or the fence is too low under local rules, replacing it may make more sense. We assess it from photos first.
Do slats work for dogs?
Horizontal slats with small gaps are hard to see through, which calms many dogs, but wide gaps can act as footholds. The spacing and the base matter.
My dog barks at people walking past. Will a fence help?
A closed infill that blocks the view usually helps. It does not replace training, but it removes the trigger.
Can you fence just part of the garden for the dog?
Yes. An internal fence around a dog area is built the same way as a boundary fence, just shorter.
How do I stop the dog escaping under the gate?
The opening needs a level, solid threshold and minimal clearance. We prepare the opening; the gate itself should come from a gate specialist.
Does a dog fence need a licence?
It is a fence like any other, so the usual municipal rules apply. Check with your ayuntamiento; our permit guide explains the general framework.
Can you build a pool fence for the dog as well?
No, pool fencing is not part of our services. We can make the boundary fence secure and explain what to ask a pool barrier specialist.
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.