Building a Fence for Your Dog: Height, Digging, Gates and Local Rules

Most dog escapes happen at the gate, under the fence or over a low corner, not through the middle of a run. Here is how I would plan a fence around the dog you actually have.

Request a free estimateOne independent installer. No obligation.

At a glance
  • Start with the dog: Jumper, climber, digger or squeezer? That decides the height, the bottom and the material
  • Height: Many towns cap front-yard fences at 3 to 4 ft and rear yards at 6 ft, so a dog yard usually goes in back
  • Diggers: Plan the bottom: a buried wire apron or a concrete or gravel strip
  • Gates: Self-closing hinges and a latch the dog cannot nose open
  • Cost: See the per-foot planning ranges below; estimates, not quotes

Start with the dog, not the fence

Before you pick a style, watch your dog. A dog that clears a baby gate needs height. A dog that climbs needs a surface without footholds. A digger needs the bottom of the fence dealt with. A small dog that squeezes needs tight gaps. Write down which of these you have, because each one changes the fence.

How tall a dog fence should be

There is no official height for a dog fence. As a rule of thumb from the field, a 4 foot fence holds many small and medium dogs that are not jumpers, and big or athletic dogs usually need 5 to 6 feet. The real limit is your town. Around Cincinnati, front yards are often limited to 3 or 4 feet and rear yards to 6 feet. A few examples from the towns' own codes:

So the usual answer is a 5 or 6 foot fence around the back yard, with the gate on the side. Check your own town in fence permits by town or the ZIP lookup there.

Stopping diggers

Gates and latches

Gates are the weak spot. Use self-closing hinges so the gate shuts if a kid or a delivery driver forgets it, and a latch the dog cannot nose or paw open. Keep the gap under the gate small and set the gate posts deeper and in concrete so the gate does not sag over time and open up a gap. If the fence also encloses a pool, the pool rules control the gate. See our pool fence rules.

Which material works for dogs

Invisible and electric pet fences

An in-ground pet containment wire is a private line, so 811 will not mark it, and it can be cut by the next person who digs. Some towns limit these: Mason's code says nothing, including an invisible pet fence, may be placed in the right-of-way. Above-ground electric fences are prohibited in Cincinnati's residential districts, in West Chester Township and in Liberty Township. Whether a buried pet wire counts as an electric fence under a town's code is something to confirm with the office.

Your responsibility under Ohio law

Ohio Revised Code 955.22 makes an owner, keeper or harborer of a dog responsible for negligently failing to prevent the dog from committing nuisance acts off the property, such as chasing or approaching a person in a menacing way or harassing another dog, with stricter rules and penalties for more serious acts. A fence that actually holds your dog is the simplest way to stay on the right side of it. This is a summary, not legal advice.

What a dog fence costs

This site's planning ranges, installed, before gates and add-ons: chain link 4 ft galvanized about $15 to $25 per linear foot (6 ft or vinyl-coated $25 to $40), wood privacy 6 ft $28 to $45, vinyl privacy 6 ft $35 to $55, and aluminum 4 ft $35 to $55. A walk gate is usually $175 to $550. A buried wire apron adds material and labor along the whole line. These are estimates, not quotes. Use the estimator on the cost guide with your own length.

Want a real price?Request a free estimate from one independent local installer. No obligation, no call list.
Request a free estimate

More guides

See the Cincinnati fence cost guide.

Frequently asked questions

How tall should a fence be for a dog?

There is no official number. As a rule of thumb, 4 feet holds many small and medium dogs that are not jumpers, and big or athletic dogs usually need 5 to 6 feet. Your town's height limit, often 6 feet in the rear yard, sets the ceiling.

How do I stop my dog digging under the fence?

Keep the bottom close to grade and bury a galvanized wire apron along the inside of the fence, or add a concrete or gravel strip. Call 811 before you dig.

Can I put an invisible dog fence in my front yard?

Check your town. Mason's code says nothing, including an invisible pet fence, may be placed in the right-of-way, and 811 does not mark private pet-fence wire.

What is the best fence material for dogs?

It depends on the dog. Wood or vinyl privacy is hard to climb and blocks the view; chain link costs least but some dogs climb it; aluminum is open, so check the picket gap against your dog's size.

Sources

Facts checked October 2026. Codes and fees change, so confirm with the office before you build. Cost figures on this site are planning ranges, not quotes.

Who we are: Cincinnati Fence Installers is a referral service. We are not a fence contractor and do not install fences. We pass your request to one independent installer we work with, not a list. Verify licensing, insurance, and references before hiring anyone.

Request a free estimate

Request a free estimate

We're a free referral service that connects you with one local installer. No obligation, and it takes about a minute.

Optional details (skip any of these)

Your details go to one installer only, never a call list.

Request an estimateCall