Fence Selection by Need

Pet-Friendly Fencing Options for Your Home

How to keep dogs in with the right fence: height, digging barriers, gaps, picket spacing and gate latches, plus how to match the fence to your dog.

On this page
  1. Start with the dog, not the fence
  2. Height
  3. Gaps and picket spacing
  4. Digging barriers
  5. Materials that suit dogs
  6. Gates and latches
  7. Security and safety for the dog
  8. Small pets and other animals
  9. Before you build

Start with the dog, not the fence

Dogs differ a lot. A small, calm dog may never test a fence, while a young, athletic one may jump, dig or squeeze through any weakness. The best pet fence is one built around the specific animal. Before choosing anything, watch your dog: Does it jump? Dig? Bark at passersby? Chew? Is it a puppy that will grow? A fence that works today may need to change as the dog develops. No fence is escape-proof, and supervision remains important, particularly with escape artists.

Height

Height is the first thing most people consider. As a general guide, small dogs may be contained by a fence of moderate height, while larger or athletic dogs often need a taller one. Some dogs can clear fairly high barriers, or climb a fence that has footholds. Because individual dogs vary so much, a fixed number cannot be recommended for all; it is better to start from your dog’s size and behavior and consult your veterinarian, trainer or local shelter if unsure. Local limits may cap how tall a fence can be, so check them before planning, and weigh your fence height choices against both the rules and your dog’s abilities.

Things that make a fence easier to jump or climb include:

  • horizontal rails on the inside
  • a pile of stored items, a compost bin or a doghouse near the fence
  • uneven ground that lowers the effective height
  • trees or furniture that provide a launch point

Gaps and picket spacing

Dogs can squeeze through remarkably small spaces, and puppies and small breeds can pass through openings an adult would not expect. Check the spacing between pickets or bars, gaps at the bottom, and spaces at gates and posts. Wider picket spacing is fine for large dogs but not for small ones. A bottom gap that looks small can still let a determined dog wriggle under. Ask whether you can add a lower mesh, a kickboard or a solid bottom section. Some dogs also get their heads stuck in bars, so spacing should be either narrow enough to prevent a head passing or wide enough to avoid wedging; ask a veterinarian if you are unsure.

Digging barriers

Dogs that dig under fences are common. Options for deterring digging include:

  • A buried barrier: wire mesh buried along the base, sometimes bent outward in an L shape, so digging meets resistance.
  • A concrete or stone strip along the bottom, which is durable but more costly.
  • A solid kickboard set partly below grade.
  • A wide gravel or paver border along the fence that is less attractive to dig.
  • Rocks or landscaping blocks at the base, which are modest but sometimes effective.

Digging often has a cause, such as boredom, heat, prey or an interest in what is on the other side, so exercise, shade and a designated digging spot may help along with the physical barrier. Dig-proof fence techniques work best when combined with training.

Materials that suit dogs

  • Solid wood or vinyl privacy blocks the view, which can reduce barking at passersby and prevent dogs from reaching through. Wood can be chewed by some dogs.
  • Chain link is common, sturdy and cheap, but dogs can see out, and some dogs climb it.
  • Aluminum or steel bars are strong and durable, and must be spaced to suit your dog.
  • Welded wire can contain small and medium dogs when the mesh is appropriately sized and posts are stable.
  • Invisible or electronic containment is a separate approach with trade-offs; talk to a veterinarian or trainer about whether it suits your dog, as it does not physically prevent others from entering and may not work for all dogs.

Gates and latches

A fence is only as good as its gate. Check that the gate closes fully, hangs without sagging, has no wide gap at the bottom or sides, and has a latch the dog cannot lift or push open. Smart dogs can learn to nose-open a simple latch. Self-closing hinges and gate latch types that require two motions, a lock, or a latch above the dog’s reach are common choices. Remember that visitors, delivery people and children may leave gates open, so a self-closing, self-latching option adds a margin of safety. Consider a double-gate or airlock entry for dogs that dash out as people come in.

Security and safety for the dog

Pet fences also protect dogs from outside hazards. Keep the fence free of sharp edges, exposed nails, broken boards or protruding wire. Check regularly for loose boards or gaps that appear after storms or digging. Provide shade and water. Avoid leaving a dog unsupervised for long periods in a yard, since fences do not prevent every problem, such as heat stress, theft or teasing from outside.

Small pets and other animals

Rabbits, cats and other pets have their own needs. Cats can climb most ordinary fences, and a catio or angled roll bar system is the usual answer. Chickens and other poultry need predator-aware fencing. Check species-specific advice before relying on a dog fence for other animals.

Before you build

Confirm local rules on height, materials and permits, and talk to neighbors, since some pets bark more along a shared boundary. If you rent, get the landlord’s permission. Once the fence is up, test it carefully with the dog on a leash or under supervision for a few weeks, watching for the weak points. Adjust as needed; dogs are good at finding what you missed.

The complete guide to fence selection by need

The Ultimate Guide to Choosing the Right Fence for Your Home
Read the guide

Keep exploring

Guides from other topics

All topics →