Huskies

Husky care, training and breed guides

How to Keep a Dog from Digging Under a Fence

· 5 min read · Training and Behavior

Bury a 2-foot-wide L-shaped footer of welded wire or hardware cloth along the fence line, with 12 inches buried horizontally outward and 12 inches vertical against the fence, to stop digging in most dogs. For persistent diggers, add a second barrier or an electric deterrent. This guide covers the barrier, the fixes, and the training that makes it stick.

  1. Dig a trench 12 inches deep and 12 inches wide along the inside of the fence line. Use a flat shovel or a trenching shovel; for runs over 50 feet, rent a trencher.
  2. Lay the wire – use 1/2-inch or 1-inch mesh welded wire (not chicken wire). Cut a strip 24 inches wide. Bend it into an L shape: 12 inches vertical, 12 inches horizontal.
  3. Secure the vertical part to the bottom of the fence with heavy-duty zip ties or fence staples every 12 inches. The horizontal part should extend outward (away from the yard).
  4. Backfill the trench with the original dirt, tamping it down firmly. Pack the soil over the horizontal wire so no gaps remain.
  5. For the first 2 weeks, inspect the line daily for any new scrape marks or exposed wire. Fill any small holes immediately with gravel or compacted soil.

The L-footer works because it removes the reward: the dog digs, hits wire, and stops. The horizontal 12-inch part blocks the upward angle most dogs use to pop out. If you can't dig, use a 24-inch-wide strip of wire laid flat on the ground and pinned with landscape staples every 6 inches – most dogs won't dig through wire they can't grip. For concrete or paver bases, use 16-inch-wide metal edging sunk 6 inches deep. The table below compares common barriers.

BarrierDepth neededCost per 10 ftBest forWeakness
Welded wire L-footer12 in$8–$15Most dogsCan rust over 5–10 years
Hardware cloth (1/4 in mesh)12 in$12–$20Small diggers, chewersStiff, harder to bend
Pressure-treated lumber (2x6)6 in$15–$25Dogs that pushCan rot if not treated
Gravel trench (3/4 in gravel)6 in wide, 12 in deep$5–$10Dogs that hate textureGravel can scatter

How Deep Should the Wire Go for a Large Breed?

For dogs over 60 pounds (like Huskies, Labs, or German Shepherds), increase the vertical depth to 18 inches and the horizontal to 18 inches. Large breeds have stronger paws and can dig a 12-inch trench in under an hour if motivated. If your dog is a known escape artist, use 1/4-inch hardware cloth and bury it 18 inches deep, with 12 inches horizontal. For giant breeds (over 100 lbs), consider a concrete footer poured 4 inches thick and 12 inches deep – but that's a permanent solution that costs more and requires forms.

What to Do If Your Dog Digs at the Gate

Gates are the weakest point because the bottom often has a gap. Install a 4-foot-wide piece of wire across the gate opening, buried 6 inches deep and extending 6 inches outward on both sides. Use a tension wire or a spring-loaded gate latch to keep the gate tight. If the dog digs specifically at the gate corners, place large flagstones (at least 2 inches thick) or paver stones on the ground inside the gate – dogs avoid digging on hard, uneven surfaces. Check the gap under the gate; it should be no more than 2 inches for a medium dog, 1 inch for a small dog.

How to Stop Digging Without Burying Anything

If you can't dig (rental property, rocky soil), use a surface deterrent. Lay a 3-foot-wide strip of plastic poultry netting flat on the ground along the fence, secured with landscape staples every 12 inches. The netting catches the dog's paws and feels unpleasant, but it's not painful. Another option: place a line of large, smooth river rocks (3–5 inches in diameter) along the fence base – dogs find them hard to dig through. For a temporary fix, spray a commercial bitter apple or citrus repellent on the fence bottom, but reapply after rain; this works for taste-sensitive dogs but not for determined diggers.

Training: How to Teach 'Leave It' for the Fence Line

Barriers alone fail if the dog is bored or anxious. Train the dog to stay away from the fence: stand 10 feet from the fence with the dog on a leash. Say "leave it" and toss a high-value treat (like chicken) on the ground away from the fence. When the dog ignores the fence and looks at you, reward. Repeat 5 times daily for 2 weeks. Then practice off-leash, but always supervise. For boredom diggers, increase exercise to 45 minutes of brisk walking or fetch twice a day. For separation anxiety, consult a certified dog trainer or your vet – digging may be a symptom.

How to Tell If the Barrier Worked (and Fix the Most Common Failure)

After installing the L-footer, wait 7 days. Each morning, check for fresh dig marks within 2 feet of the fence. If you see none for 14 consecutive days, the barrier is working. The most common failure is a gap at the corner – dogs find the seam where two wire pieces meet. Overlap the wire by at least 6 inches at corners and secure with zip ties. The second failure is shallow burial: if the dog digs down and hits the wire, then digs sideways to get around the horizontal part, you need to add a second horizontal strip extending 12 inches further out. If the dog digs at the same spot repeatedly, pour a 2-inch layer of gravel in that spot – the texture change often stops the behavior.

When to Call a Professional

If your dog digs under a fence despite a correctly installed L-footer, and you've ruled out boredom (exercise is sufficient) and anxiety (training is consistent), call a licensed fence contractor or a certified professional dog trainer. A contractor can install a concrete footer or a deeper barrier (24–36 inches) for persistent diggers. A trainer can assess if the digging is compulsive or due to prey drive (e.g., chasing rodents). Do not attempt to electrify the fence yourself – that's a job for a licensed electrician, and it's not recommended for most dogs due to risk of injury.

In this article
  1. Why the L-Footer Works (and What to Use Instead)
  2. How Deep Should the Wire Go for a Large Breed?
  3. What to Do If Your Dog Digs at the Gate
  4. How to Stop Digging Without Burying Anything
  5. Training: How to Teach 'Leave It' for the Fence Line
  6. How to Tell If the Barrier Worked (and Fix the Most Common Failure)
  7. When to Call a Professional