Features April 2004 Issue

Solve Fence Aggression with a Better Dog Fence

Put a stop to fence-running, fence-fighting, and barking.

[Updated December 14, 2018]


1. If your dog is just beginning to display barrier frustration, take steps immediately to eliminate his opportunities to practice the behavior. The more opportunities he has to practice the behavior, the more difficult it will be to control it.

2. Build a solid fence to prevent your dog from being able to see the things that arouse him and trigger his barking. If you already have a solid fence, keep him in the house unless you are supervising him.

3. Counter-condition your dog to the stimulus that sets him off. If bikes trigger his fence-running and barking, sit in the yard with him and toss delicious treats to him as a helpful friend on a bike approaches and passes by.

As I sit here writing, I hear a ruckus from my backyard. Leaning forward, I look out my window to see Dubhy the Scottie running the fenceline and barking madly at two black Labs who have wandered over from a distant neighbor’s house, still sporting the highly ineffective shock collars that are supposed to keep them home.

As I cuss under my breath yet again at my irresponsible neighbors and get up to call Dubhy in, I have a sudden epiphany. Three years ago when Dubhy’s on-again, off-again dog aggression erupted for the first time, it was directed at a black Lab. I have always wondered why . . . and suddenly I see it. There’s a good chance that Dubhy has a strong negative classical association with black Labrador Retrievers as a result of his irregular but frequent encounters-of-the-fence-kind with our neighbor’s wayward dogs. Duh!

dog fences

If a dog has had ample opportunities to fence-run, fence-fight, or just bark madly when people pass by his yard, it can be challenging to stop these behaviors. Strict management of his environment to eliminate his "practice time" is critical.

In his famous poem, “Mending Wall,” Robert Frost starts out by saying, “Something there is that doesn’t love a wall.” We could revise that slightly to say “Something there is that doesn’t love a fence.”

That “something” is our dogs.

Fence-running, and its close cousin, fence-fighting, are manifestations of barrier frustration, also called restraint frustration. The frustration that a dog feels when he can see – but not reach – his objective can (and often does) give rise to canine obsessive-compulsive disorders (COCD) and aggression, both of which are serious behavior problems caused by stress.

Fence-running can quickly become a COCD. I see a mild version of it with Dubhy – stereotypic running along the fence line, accompanied by aroused barking, and spinning at the corners. He has a path worn around the interior of our large yard, which wasn’t there prior to his joining our family.

I have no doubt that if Dubhy were a (shudder) backyard dog, he would have serious problems. Instead, he’s only outdoors when we are home, and if he starts his fence-running behavior we interrupt it and bring him in. We are fortunate that our fence doesn’t conjoin any of our neighbors’ fenced-in dogs, or we would have to take much stronger steps to manage or retrain the behavior.

Restraint frustration also quickly turns into aggression. Aggression is caused by anxiety and stress, easily triggered by the arousal of fence-running. Some dogs who fence fight are fine if they meet the same dog sans barrier. Others, like Dubhy, may generalize their aggression to some or all dogs even when there’s no fence present.

As dog owners become more and more responsible about keeping their dogs safe at home, the incidence of fence-related behavior problems rises. Even the unfortunately popular underground electronic (shock) containment system fences can give rise to the problem. The barrier is there, even if the dog can’t see it, and the intense punishment of the shock the dog receives if he breaches the invisible barrier can intensify the resulting aggression.

Tying a dog outside also poses restraint frustration problem, and shares a drawback with electronic fences: neither prevents trespassers (human or otherwise) from invading the dog’s territory, putting both the trespasser and the dog at serious risk.

Preventing Fence Aggression and Barrier Frustration

It sounds like you’re damned if you do, and damned if you don’t! If not confining your dog isn’t safe or responsible, and confining him causes behavior problems, what are you supposed to do with him?

This is a case where prevention and management are much easier solutions than training. There are a number of things you can do to reduce the likelihood and opportunity for fence running and fighting. You can:

1. Install a solid fence

This is the best solution, albeit expensive, and in an increasing number of shortsighted communities, prohibited. If you block your dog’s visual access to the stimuli outside his fences, he’s not likely to get aroused enough to begin the undesirable behaviors. If you live in a no-fence community, you might want to consider moving.

2. Keep your dog indoors

Dogs who are permanent outdoor residents are at high risk for fence-related behavior problems. There are many reasons it’s not wise to leave your dog outdoors when you’re not home; this is just one of them. If he’s out while you’re away, he’ll get lots of opportunities to practice fence-running and -fighting. The more he practices, the harder the behavior is to modify.

Do like we do with Dubhy: let your dog out in the yard for limited periods only when you’re home, and bring him in immediately if he starts the unwanted behaviors.

3. Eliminate the stimuli

Dubhy’s fence problems are triggered by stray dogs and itinerant cats. We eliminated the majority of Dubhy’s fence running by adopting (with the neighbor’s blessing) the neighbor’s cat who had taken up residence in our barn. We had Barney vaccinated and neutered, and brought him indoors, solving a good percentage of Dubhy’s problem. (See “Barney Morphs Into Housie,” next page.) We’re still working on the black Labs.

4. Modify your existing fence

If you have a see-through fence, like the ubiquitous chain-link enclosures common here in Tennessee, do something to make it more solid. There are slats available that you can slide into the chain link to block some of the visual stimuli. This will work with mild fence problems, but won’t deter a dedicated fence-runner or -fighter if he can still see through the gaps between the slats.

You can try the slats to see if they work, and if not, line the inside of the fence with something to block his view completely. FRP (fiberglass reinforced plastic) is probably the most durable option, also the most expensive and least visually offensive. Other options might be plywood, or tarps, at least temporarily.

5. Install an “airlock,” another fairly costly option that can discourage fence-fighting

An airlock is created by building a second fence inside your existing one to create a “no-dog’s land” between your dog and your neighbor’s.

As an added benefit, this protects your dog from neighbor children sticking fingers and potentially harmful objects through the fence. While a double barrier can reduce actual fence-fighting, I am confident that this option would not have put a dent in Dubhy’s fence-running behavior.

Retraining a Fence-Aggressive Dog

dog fences

This dog used to spend much of his day scaring the wits out of unsuspecting passers-by. He would wait until a person was in front of the gate and then explode in a fit of barking at their feet. Recently, his owners sealed the gap, and once he could no longer scope out the sidewalk, he quit the bothersome activity.

If you have a dog who already manifests fence-related behaviors, you can do some training that will help you get a handle on the problem. You have probably already discovered how difficult it can be to call your dog to you when he is in a state of high arousal, racing along the fence in futile, frustrating pursuit of his adversary.

Your first challenge is to find a way through the fog in his brain so he can even acknowledge your presence. With Dubhy, I found that standing directly in his path didn’t work. He simply darted around me and continued on his mission. I know better than to try the lunge-and-grab method, which would only serve to make him wary of me. Tossing something like a treat or a ball to try to break his focus was equally ineffective.

I began a two-pronged training program, one to counter-condition him to the presence of the arousal-causing stimuli, and the other to improve his recall response, even in the face of high distractions.

Recall Training and Counter-Conditioning

The recall training was easiest to implement, as I could do it any place, any time. Dubhy already had a rock-solid and speedy recall in the training center, but it was somewhat less reliable in the backyard, and even less so in wide open spaces. I was already fed up with his “maybe” recall, after being forced on several occasions to go out and get him in the dark when he declined to come back indoors after the pack’s bedtime bathroom break.

We embarked on backyard and long line recall training. Several times a day I would play with Dubhy in the backyard, calling him, giving him a high-value reward (such as canned chicken or fish), and letting him go again. Especially since Dubhy prefers outdoors to indoors – the first dog I have ever had who exhibited this bizarre preference – I didn’t want his recall to be a predictor of “outdoors is over” by bringing him indoors every time I called him.

I would also call him to the back deck and cue him to do several of his tricks for high value rewards, since he likes to do tricks. And I called him and had him do several pieces of agility equipment; he loves his agility stuff. Gradually his recall responses improved.

I even used a little negative punishment on one occasion, when he failed to come for dinner call. Rather than trekking out to get him, I let him stay out, and didn’t serve him his meal when he finally did deign to come in. He hasn’t missed dinner call since.

In addition, we worked on recalls in wide open spaces on his long line, until I started getting snappy responses, even spinning on his heels if he was heading in the other direction. We now take a chance on our five acres and occasionally let him off-leash to practice recalls outside the yard. Most of the time, he comes when called. Every once in a while his Scottie brain takes over, and I have to retrieve him before he wanders off the property.

I also did counter-conditioning work with him. Whenever the opportunity presented itself – with the neighbor dogs or Barney – I went out in the yard and waited for a brief lapse in Dubhy’s fence-focused attention, then offered him yummy treats. At first he would grab a treat and go right back to his running and barking. My ability to keep him focused on me and the treats was in direct proportion to the distance to the stimulus. If the neighbor dogs appeared to be just passing through, Dubhy would stay more attentive to me as they moved away. Over time, as we worked on it, he would turn his attention to me and keep it there with the dogs in closer and closer proximity.

Barney, who loved to tease Dubhy by rolling around on the driveway six feet from the fenceline, was more of a challenge. But with time and practice, I could even call Dubhy away from his feline nemesis.

A Cure for Canine Fence Aggression?

What I have accomplished with Dubhy is a compromise, not a cure. He still “goes off” when neighbor dogs pass by; it’s just easier for me to interrupt his behavior and call him into the house. If I were to leave him in the backyard unattended he would continue his arousal behavior and the COCD nature of his actions, especially the spinning, would probably worsen.

I’m still dealing with the collateral damage of his fence behaviors; specifically, his aggression toward some dogs, especially black Labs. When we are out in the world and he sees another dog he will go on alert – tail up, ears pricked, eyes bright, leaning forward. Then, unless it’s a Lab, he’ll swivel his head toward me to ask for his treat – the positive result of lots of counter-conditioning. With Labs, I still have to draw his attention to me; he doesn’t offer it on his own. I can gauge how aroused or relaxed he is by the amount of pressure from his teeth when he takes the treat from my fingers. With Labs, his teeth definitely hurt.

It would be a very large challenge to counter-condition a dogs’ fence-running or -fighting behaviors to the point that the behavior goes away. Even if you succeed in habituating your dog to the presence of the arousal-causing stimuli, the chances of spontaneous recovery are very high; the behavior is likely to resurrect itself with additional exposures to the stimuli.

Prevention is your best course of action, by not putting your dog in a position to develop the behaviors in the first place – not leaving him fenced and unattended. If it’s too late for prevention, management is your next best bet – putting up a solid fence and/or not leaving in him the yard alone.

If at any time you feel that you and your dog are not making progress, or your dog is exhibiting signs of a serious COCD, contact a good positive behavior consultant or veterinary behavorist. She can evaluate your training and help you investigate the possibility of using behavior modification drugs to control obsessive behaviors that may be interfering with the success of your program.

The property we are hoping to purchase in Maryland is in the middle of 80 rural acres, and the backyard is fenced with a solid wooden fence. Sounds like a great management plan to me!

Robert Frost’s neighbor was right; good fences do make good neighbors, and especially better neighbor dogs!

A Challenge for a Former Cat-Chaser: "Barney" Morphs Into “Housie”

Although my husband and l are strong advocates of indoor-only cats, after we adopted Barney it was our intention to allow him to continue his life as a barn cat until we moved. and then transition him into the house. It can be difficult to turn a full-time outdoor cat into a house resident, and we were reluctant to upset the equilibrium of our four-legged family while we were trying to sell the house. Stressed dogs and cats can find ways to make a house less marketable, if you know what I mean.

Barney, however, had other ideas. On a frigid rainy night just after Christmas, Barney sat outside our den windows and cried for an hour. Clearly, he wanted to come in. I tried to ignore him, but when he took to hanging on the window screens and meowing, I couldn‘t stand it. Barney came indoors.

One of the things that worried me about bringing him in was Dubhy’s reaction. The feisty Scottie had developed a strong animosity toward Labs as a result of his fence running: would he generalize the same reaction to an indoor Barney? I had done scads of counter-conditioning with Dubhy when I brought home a kitten 18 months prior; would that help?

Armed with stick cheese, I let Duhhy into the den with Barney. As I'd feared, Duhhy's radar was instantly on high alert. His tail went up, ears pricked, eyes bright, leaning forward...l held my breath - and he swiveled his head back toward me for his treat. The crisis was over. Counter-conditioning wins again.

Interestingly enough. Barney's life as an outdoor cat made him fairly pugnacious. If a dog gives him a hard time, Barney holds his own - lunging at the dog and swatting with claws that are now kept clipped. Barney and Dubhy have invented a game that they play together. Dubhy will tease Barney into leaping at him, and then do puppy rushes around the dining room table, occasionally deliberately passing close enough to Barney to elicit
another lunge. They both seem to derive great enjoyment from the game.

And I was worried.

Pat Miller, WDJ’s Training Editor, is a Certified Pet Dog Trainer, and past president of the Board of Directors of the Association of Pet Dog Trainers. She is also the author of The Power of Positive Dog Training and Positive Perspectives: Love Your Dog, Train Your Dog.

Comments (10)

Great article...thank you!! Makes sense to me and I appreciate you posting :)

Posted by: Pointer | August 22, 2018 10:16 PM    Report this comment

I hope dog owners will read this hub and follow the advice here.Nice information share with thanks.

Posted by: fegohilavo | March 28, 2018 1:26 AM    Report this comment

Yes. Hedges are excellent. Just be sure that the hedge is of easily preplaced plants and quick recovering. An uneven boundary to the hedge is better too as it stops "fence running". If you are trying to stop the neighbour's dogs, then all that is needed is density. (on our 'internal' fence (ie totally within our own property) the plants are on the outside.

Posted by: Jenny H | April 2, 2017 6:11 PM    Report this comment

Does anyone have experience with adding a hedge against the fence to prevent overly aggressive and noisy dogs from barking? I can't walk in my yard (most of the 3 acres) without these 2 dogs barking incessantly at my dogs and my family. I try to walk in the area furthest away from my fence in that area but they still see us and start their barking. I already invested money in this fence and feel that the neighbor who owns the aggressive noisy dogs should be doing something to stop HIS dogs. I'm at the point of putting up a privacy fence and taking down the nice, non-invasive fence that we installed. This neighbor's dogs also run into the fence in their aggressive attacks toward my dogs. If their dogs actually break through our fence, my larger dog will kill their dogs. I am so very frustrated at their lack of concern for their dogs and inability to hear the incessant barking, for 30 minutes at a time sometimes. HELP!!!

Posted by: Chevellegirl | October 11, 2016 10:22 AM    Report this comment

I have to say that fence styles don't seem to matter. If one dogs starts aggressively barking, the others will rush to defend their perceived territory. Our dogs, (who have lived in this neighborhood longer than any of the other dogs currently residing here), have never before attacked the fence like they do now or attacked it, period. But our neighbor's yappy, aggressive fence barking dogs have changed that to full on war. Now, our fence is destroyed and covered up by plywood, so as they cannot get any purchase on the fence. Neighbors won't train their dogs to not bark, or even put a bark collar on them to deter that behavior. Now I have to lock my dogs in when we are gone because heaven knows what destruction will occur when we are gone. Will make our upcoming vacation tricky. They have to be able to go out to the bathroom during the day, you know. And of course, it's seen as my dogs being the aggressors, just because they are big enough to tear apart the fence. What about the little guys that started it in the first place? Seriously annoying issue. Need some viable solutions. Thanks!

Posted by: Tam09 | October 4, 2016 1:25 PM    Report this comment

Your article had wonderful ideas! In addition to, not in place of, what you suggest in training and/or fencing changes, the Pushback Recall might help:

. Start at the closest distance from the stimuli that you usually can get a successful recall on a leash or a long line.
. LET her run to the end of the leash or long line, barking. If you're sure of the results, you can do this off-lead.
. Do a happy recall (sweet voice-not demanding).
. Praise lightly (no food) for coming, then
. Physically PUSH her gently back toward what she had been barking at. I want her to feel your hands on her, pushing her.
. Repeat until she stops barking. Do several successful (no barking) recalls and end that session.
. Repeat session as often as possible and under as many barking conditions as you can.
This appears to work on the Premack principle.
She does what she wants: watch the distraction.
But first she has to do what you want: not charge.

As with all behavior issues, first check with your veterinarian for a physical cause and make sure you are providing sufficient mental and physical exercise as well as a quality, suitable diet.

Posted by: smithdogs | April 11, 2013 8:29 AM    Report this comment

OWN THE SPACE!!! Get out there and block and take back the space between the fence and the dog and get the dog to relinquish the space between you and him 5-feet. Then walk the fence with the dog and when a distraction appears and the dog goes to respond, own the space, walk the dog back till he/she is calm and in a non reactive stance, and keep doing it and keep doing it until - one day - the dog will not react. And/or the dog will look to you for instruction....it will take about a month to instill the new behavior and YES it will have to be reinforced over time. And -oh- same for dogs, cars, people, whatever, dogs don't generalize.

Posted by: DONNA L | April 10, 2013 12:45 PM    Report this comment

Unfortunately, a solid block wall does not stop my miniature poodle from going crazy when the neighbor's hounds are out running in the easement behind our house. Our neighbor does not leash them but lets them run free. He does this several times a day and is not amenable to doing anything about it - he doesn't even clean up after his dogs. Most of the time, Spud will come in when I call but will go right back out. Our Queensland Heeler barks at us to let us know Spud is out there after she has been out there with him barking at him to get him to come inside. I have to call him in and close the dog door until the hounds are back inside.

Posted by: Rainbear | April 10, 2013 11:33 AM    Report this comment

My dogs listen for sound now. We have a stockade fence between neighbors yard and ours. dog next door which is a beagle mix has a tendency to bay at the fence when our dogs are out. My landlords dogs go out the door barking. My BC puppy now goes out the door, hits the yard and almost immediately starts barking and spinning. I am currently taking her out on a line and doing recalls, but I am not convinced just these measures will in the end stop this behavior. As of this week she has begun exhibiting this behavior in other places which contain chain link fencing or kennels.

Posted by: agilitywhippet | September 26, 2012 8:48 AM    Report this comment

I need suggestions on how to train to stop excess (wire) fence barking when my dog sees ANY person or dog on the other side. He is never unattended and will stop barking if the person comes to talk to me, but some people can't/won't stop to wait until I can run over (1/2 acre) to stop him, turn him away and reward for quiet sits. I have 3 very well socialized BMD's that are always friendly and never bark outside the fence, and only one is the instigator, but the other 2 join in when he starts. I will work harder on recalls but wonder if there's a way to prevent the trigger response? One neighbor is willing to help train, should I ask them to approach the fence, wait for calm, then they can give treats? But the other 2 sides of fence won't get that reinforcement.

Yesterday the other neighbor got a timid 10wk old puppy and I worry that my 3 will scare him for life with their combined noise - are there any suggestions for that owner to help their puppy? I know if I bring mine on a leash to meet their puppy in the front yard they will be friendly, but they'll still bark when there's a fence in-between.
Suggestions please?!

Posted by: Karen F | July 16, 2012 9:57 AM    Report this comment

New to Whole Dog Journal? Register for Free!

Already Registered?
Log In