Skip to content
Free UK delivery over £50 · Tracked & fast · Happy pets, happy homes
Giddy PetsGiddy Pets
Health

Are electric fences safe for dogs?

How invisible and electric containment fences work, what vets and welfare charities say, and where they're restricted across the UK

By Matt Garnett, founder18 July 2026Lived-experience guidance, not medical advice

The quick answer

It depends where you live. Electric containment fences and shock collars have been banned in Wales since 2010. In England, a planned ban was drafted in 2023 but never formally approved by Parliament, so they remain legal, though the Animal Welfare Act 2006 still applies if a device causes unnecessary suffering.

If you're looking at ways to keep your dog safely contained in the garden without putting up a full physical fence, you've probably come across invisible or electric containment fences. They're marketed as a tidy, affordable solution for gardens where a conventional fence is impractical - but they're also one of the more contested pieces of dog-owning kit in the UK, with major veterinary and welfare bodies raising real concerns about how they work.

This guide explains what electric fences actually do, what the evidence says about their effect on dogs, and what the law currently allows in England, Scotland, Wales and Northern Ireland. It also looks at where the welfare concerns are strongest, what the safer alternatives look like, and how to think it through if you're weighing one up.

We've written this because it's a genuinely confusing area - the legal position keeps shifting, and the marketing from fence manufacturers doesn't always match what vets and behaviourists are telling their clients. Our aim is to give you the full, sourced picture so you can make an informed decision, not a scare story either way.

How electric containment fences work

An electric or "invisible" fence usually consists of a buried or surface-laid wire (or, in newer GPS-based systems, a virtual boundary) that marks the edge of the area your dog is allowed into. Your dog wears a special collar with metal contact points against the skin. As they approach the boundary, the collar typically gives a warning beep or vibration first; if they carry on past that point, the collar delivers an electric stimulus, described by manufacturers as a "static correction" but which vets and behaviourists more plainly call a shock.

Training a dog to use one properly is not a quick process. Reputable installers recommend a gradual programme using flags to mark the boundary visually, walking the dog on a lead near the line, and letting them learn where the warning tone happens before they ever experience the shock. Skipping this stage, or leaving a dog to "figure it out" alone, is one of the most common reasons these systems go wrong in practice.

It's worth being clear on the terminology, because it gets mixed up a lot. Electric shock collars are handheld remote-control devices a person triggers deliberately, usually as a training aid for behaviours like barking or recall. Electric containment fences (sometimes called invisible fences) are automated systems that shock a dog whenever they cross a boundary, regardless of who is watching. The welfare concerns overlap a great deal, but the regulatory picture treats them slightly differently, which is where a lot of the confusion in this guide comes from.

What the law says across the UK

The legal position on electric collars and containment fences is different in each UK nation, and it has changed several times in recent years, so it's easy to find out-of-date information online.

  • Wales: Electric shock collars and containment systems have been banned outright since 2010, under the Animal Welfare (Electronic Collars) (Wales) Regulations. Anyone using one on a dog or cat in Wales risks prosecution, a fine, and up to a year in prison.
  • England: The Government announced plans in 2023 to ban remote-controlled electric shock collars, and a draft statutory instrument (the Animal Welfare (Electronic Collars) (England) Regulations 2023) was debated in the House of Lords. However, that instrument was never formally approved by both Houses of Parliament and did not come into force. As things stand, electric shock collars and containment fences remain legal to buy and use in England, though the general Animal Welfare Act 2006 still applies - if a device causes unnecessary suffering, that can be a prosecutable offence regardless of the specific ban not being in force.
  • Scotland: Electric shock collars remain legal. The Scottish Government issued guidance in 2018 advising against their use, and an amendment to ban them via the Welfare of Dogs (Scotland) Bill was considered and voted down, with ministers indicating the issue needs further debate.
  • Northern Ireland: Electric shock collars and containment fences are currently legal, with no ban proposed.

Because the law is unsettled in England, Scotland and Northern Ireland, the practical question for most owners isn't really "is this legal" but "is this the right thing to do for my dog" - which is where the veterinary and welfare evidence matters more.

What vets and welfare charities say

The British Veterinary Association (BVA) has called for a complete ban on the sale and use of handheld electric shock collars, stating that "the application of an electric shock to dogs or cats, even at a low level, can cause physiological and behavioural responses associated with stress, pain, and fear." On electric containment fences specifically, the BVA has taken a slightly more nuanced position: rather than calling for an outright ban, it wants tighter regulation, including a requirement that boundaries be visible or audible to the animal (rather than relying purely on the dog learning where an invisible line is through being shocked), and that these systems should only be sold through approved vendors who meet welfare criteria.

The RSPCA describes shock collars as "cruel" and "unnecessary," and has campaigned for years - alongside the Kennel Club, Dogs Trust, Battersea and Blue Cross - for a ban across the UK. Its position is that reward-based training is both kinder and, in its experience, just as effective at achieving lasting behaviour change.

Dogs Trust has similarly called shock collars "unnecessary and cruel," pointing to research showing they cause behavioural and physiological signs of distress, and can risk creating new unwanted behaviours rather than resolving existing ones. It's also worth noting Dogs Trust research found around a third of the public wrongly believe shock collars are already illegal in the UK - a sign of how muddled public understanding of this topic has become.

The Royal Kennel Club takes the same line, stating it "fully supports a complete ban on the use and sale of electric shock collars," and citing a DEFRA-funded 2014 study which found that around 25% of dogs trained using shock collars showed signs of stress, compared with fewer than 5% of dogs trained using reward-based methods over the same period. The Kennel Club also reported a 2023 survey in which more than three-quarters of the British public said they'd support a ban.

"The application of an electric shock to dogs or cats, even at a low level, can cause physiological and behavioural responses associated with stress, pain, and fear." - British Veterinary Association

The welfare research: what the evidence actually shows

The strongest, most consistently cited piece of evidence in this space is the DEFRA-funded research referenced above, which compared dogs trained with electric shock collars against dogs trained using reward-based methods. It found more dogs in the shock-collar group displayed stress-related behaviours - things like lip-licking, yawning, tucked tails, or freezing - and found little evidence that shock-based training produced better behavioural outcomes overall than positive reinforcement.

For containment fences specifically, the core welfare issue isn't just the shock itself but the fact that a dog has no way to predict or control when it happens if the boundary isn't clearly visible or audible in advance. A shock that a dog can't associate with a clear, learnable cue is more likely to cause generalised anxiety, because the animal can't work out how to avoid it reliably. This is exactly the gap the BVA's "visible or audible boundary" recommendation is trying to close - a dog that can see a flag or hear a distinct tone well before the shock point has a fair chance to learn and avoid it; a dog relying purely on an invisible line does not.

There's also a practical, non-welfare risk worth knowing about: containment fences only work one way. They can stop your dog leaving the garden, but they do nothing to stop another dog, a fox, or an off-lead animal getting in. A number of veterinary commentators, including VCA Animal Hospitals, have flagged cases where a contained dog was unable to retreat from a threat because retreating meant crossing back over the shock boundary - which can turn a containment system into a genuine safety hazard rather than a protective one.

Practical benefits some owners report

To be fair to the technology, it exists because it solves a real problem for some households. Reported benefits include:

  • Works on difficult terrain - hills, woodland gardens, or oddly shaped plots where a standard fence is expensive or impractical to install.
  • No visual barrier - some owners prefer not to obstruct garden views with fencing or lose usable space to fence posts and gates.
  • Deters climbing, digging and jumping dogs - a physical fence can be defeated by a determined digger or jumper in a way a containment boundary sometimes isn't.
  • Lower upfront cost than a full run of stock fencing or close-board panels over a large boundary.

These are genuine, practical considerations, and they're part of why containment fences remain widely sold and used despite the welfare concerns. The question for most owners isn't whether they "work" in a narrow sense, but whether the welfare trade-off is one they're comfortable with, and whether a safer option would do the same job.

The risks and downsides

Set against those benefits, the downsides raised by vets and behaviour professionals are significant:

  • Fear and anxiety generalisation. Some dogs start to associate the warning tone with pain, and can become fearful of similar-sounding beeps - a microwave, a phone notification, a smoke alarm - long after the fence itself is gone.
  • Avoidance of the garden. A dog that has been shocked, even once, may become reluctant to go near the boundary at all, effectively shrinking their usable space and reducing their exercise and enrichment.
  • No protection from what comes in. As above, these systems only contain your dog - they don't keep other animals or people out.
  • Equipment failure. A flat collar battery, a severed wire, or a system fault can mean a shock happens when it shouldn't, or containment fails silently and your dog escapes without warning.
  • Re-entry shocks. Some systems continue to shock a dog trying to get back into the garden if they've already crossed the boundary, which can be distressing and confusing.
  • Reliance on a stressed, frightened response rather than understanding. Reward-based recall and boundary training teaches a dog what to do; a shock only teaches them what to avoid, which doesn't always transfer well to new or high-arousal situations, such as chasing wildlife.

Common mistakes owners make

If you already own a containment system, or are set on using one, these are the mistakes that most often turn a manageable system into a welfare problem:

  • Skipping the training period. Fitting the collar and letting a dog learn "the hard way" rather than running a proper, gradual flag-and-lead introduction over one to two weeks.
  • Using it on a fearful or anxious dog. Dogs that are already nervous are more likely to generalise the fear response to unrelated sounds and situations.
  • Leaving a dog unsupervised for long periods within the boundary. Especially in the early weeks, when a dog is still learning where the line is.
  • Not maintaining the equipment. Old batteries, frayed wires, and unchecked signal strength are behind many of the "unpredictable shock" cases vets hear about.
  • Assuming it replaces supervision entirely. A containment fence is not a substitute for checking on your dog regularly, particularly around dusk, in bad weather, or when local wildlife (foxes, cats, other dogs) is likely to be active nearby.

Safer alternatives to consider

Given the welfare concerns, it's worth seriously weighing up alternatives before installing an electric fence:

  • Physical fencing. A well-maintained wooden, wire-mesh or close-board fence remains the gold-standard containment method, since it needs no training and carries no shock risk. For diggers, burying mesh along the base line or adding a dig-guard can solve the main weakness.
  • Reward-based recall training. Investing time in solid recall, ideally with a qualified, accredited trainer using positive reinforcement, gives your dog the skills to stay close even off-lead, and it's an investment that pays off well beyond the garden.
  • GPS tracking collars (non-shock). Modern GPS trackers let you know instantly if your dog leaves a set area, without delivering any stimulus - useful as a monitoring backup alongside physical fencing rather than a replacement for it.
  • Secure outdoor runs or fenced sections. For gardens where full boundary fencing isn't feasible, a smaller, securely fenced section can still give a dog safe, unsupervised outdoor time.
  • Supervised access only. For some households, particularly with a young or newly rehomed dog, the simplest and safest option is supervised garden time until a permanent physical solution is in place.

If you're still weighing up whether your home and garden set-up genuinely suits a dog, our Pet Ownership Quiz can help you think through the practical side - space, containment, and time - before you commit.

When to see your vet or a behaviourist

If your dog is already showing signs of anxiety around a containment fence - reluctance to go into the garden, flinching at beeping sounds, tucked tail or lip-licking near the boundary, or a sudden reluctance to be handled around the neck - it's worth speaking to your vet. They can rule out any physical injury (including burns at the collar contact points, which do occasionally happen) and refer you, if needed, to a clinical animal behaviourist who uses reward-based methods.

It's also worth a vet conversation before you install any containment system in the first place, particularly if your dog is a puppy, is naturally anxious, or has a history of noise sensitivity - these dogs are more likely to have a poor experience with shock-based containment and may do much better with a physical fence and structured recall training instead.

*This is general guidance, not a substitute for advice from your vet, who can assess your individual pet.*

Sources

  • RSPCA - campaign to ban electric shock collars (rspca.org.uk).
  • Dogs Trust - call for a ban on shock collars and welfare research summary (dogstrust.org.uk).
  • The Kennel Club - electric shock collar campaign, including DEFRA-funded research findings (royalkennelclub.com).
  • VCA Animal Hospitals - pros and cons of invisible fences for dogs (vcahospitals.com).

Common questions

Are electric fences for dogs legal in the UK?

It depends where you live. Electric containment fences and shock collars have been banned in Wales since 2010. In England, a planned ban was drafted in 2023 but never formally approved by Parliament, so they remain legal, though the Animal Welfare Act 2006 still applies if a device causes unnecessary suffering. They are also currently legal in Scotland and Northern Ireland.

Do vets recommend electric fences for dogs?

Most UK veterinary and welfare organisations, including the BVA, RSPCA, Dogs Trust and the Kennel Club, have raised welfare concerns about electric containment fences and shock-based training. The BVA does not call for an outright ban on containment fences but wants stricter rules, including boundaries dogs can see or hear rather than relying on a shock alone.

Do electric fences hurt dogs?

Electric containment fences deliver a static electric stimulus, sometimes described as mild but which can still cause pain, stress and fear, particularly if a dog cannot predict or learn to avoid it. Research cited by the Kennel Club found around 25% of dogs trained with shock collars showed signs of stress, compared with under 5% trained using reward-based methods.

What's a safer alternative to an electric fence for a dog?

A well-maintained physical fence remains the safest containment option, since it needs no training and carries no shock risk. Reward-based recall training, non-shock GPS tracking collars, and supervised garden access are also safer ways to manage a dog's boundaries without the welfare risks of a containment fence.

Can an invisible fence still let other animals into my garden?

Yes. Containment fences only control whether your dog can leave the garden; they do nothing to stop other dogs, foxes or wildlife getting in. Vets have flagged cases where a contained dog couldn't safely retreat from a threat because doing so meant crossing back over the shock boundary, so it's worth planning for this if you use one.

About the author

Matt Garnett — founder, Giddy Pets

Matt started Giddy Pets to make getting pets the good stuff simpler and fairer. Everything in these guides comes from real life with pets and a lot of trial and error — it's practical guidance, not veterinary advice. If a guide gets something wrong, tell him directly.

Free tools & more guides

Read next