How to Install an Underground Dog Fence: Complete DIY Guide
Plan an underground dog fence: choose a route, call 811, follow your equipment manual, test the wire loop, and check training readiness.
Tools Required
- Flat blade shovel or lawn edger
- Wire strippers and pliers
- Phillips screwdriver
- 100-ft tape measure
- Scissors
- Drill (twisting the return pair; transmitter mounting)
- Staple gun or lawn staples
- Safety goggles
- Circular saw with masonry blade (driveway crossings only)
Materials Required
- Underground fence system kit (transmitter, collar, test light, flags)
- Boundary wire (calculator footage plus about 20% burial slack)
- Spare 50-100 ft wire spool for future repairs
- Gel-filled waterproof splice capsules
- Fence-rated surge protector
- PVC conduit or old garden hose (gravel crossings)
- Backer rod + self-leveling polyurethane or surface-matched caulk; asphalt patch for blacktop (driveway crossings only)
- Lawn staples
- Non-metallic training collar and long lead (for training)
For a typical 400-800 foot DIY loop with one driveway crossing, our planning allowance is 8-14 active hours, usually split over a weekend, plus preparation before the dig. This is an estimate, not a measured industry average. Split it the way pros do: bench-test the kit the day it arrives (Step 1), then plan the loop and call 811 while you wait out the locate window (Step 2). Dig day covers Steps 3-8. Budget a full weekend instead for rocky soil, a lot over an acre, or a tricky crossing. Big properties start with the large-property guide. If no weekend can absorb the job, map your yard in the fence planner and request a professional installation quote. Installing in winter still works. The two-phase method is in Step 7. Print the installation checklist before you start.
What You Will Need#
Tools Required
0 of 9 items complete
Materials Required
0 of 9 items complete
Which wire? Kits ship 20 AWG solid-core wire rated for direct burial, and maximum loop length is a transmitter spec, not a gauge spec, so 20 AWG is not holding your range back. Stepping up to 16 or 14 AWG boundary wire (our store) is a durability upgrade: 14 AWG carries about 4x the copper of 20 AWG and shrugs off the nicks and freeze cycles that kill thin jackets. Figure about $80 per 500-foot roll for 16 AWG, or $64 per 250-foot roll for 14 AWG (bulk spools run far cheaper per foot) as of mid-2026. Full gauge-by-gauge comparison in the wire gauge guide. Replacing a dead older system? The buried wire is usually reusable. See replacing an old dog fence system.
Check parts for your plan
- Boundary wire (our store)(opens in a new tab)calculator footage + 20%
- Twisted wire (our store)(opens in a new tab)transmitter-to-loop run
- Boundary flags (our store)(opens in a new tab)2 packs
- Splice capsules (our store)(opens in a new tab)1 pack
- Surge protector (our store)(opens in a new tab)1
- PVC conduit10 ft
- Lawn staples1 box
Tool budgets are planning allowances. Confirm compatible models, quantities, and current prices in our store before ordering.
Footages assume the calculator estimate plus 20% burial slack; contact-point length varies by coat length.
Check options at DogFenceGear, our store(opens in a new tab)Installation Steps#
Click steps to mark them complete
0 / 8 completed
Bench Test the Kit
30 minDo this the day the kit arrives, not dig day. Inventory the box against the manual's list first: some kits include a surge module, gel capsules, and long contact points; others ship 1,000 feet of wire and 100 flags but no surge kit at all. Whatever is missing goes on this week's shopping list, not Saturday morning's.
Power the collar according to its actual manual. Rechargeable and replaceable-battery models have different charging times, maintenance, and indicators. Do not apply a generic two-hour charge or nightly-charging rule to every receiver.
Read the exact transmitter's supported wire size, loop length, and range or mode settings before installation. Do not transfer another model's capacity or stimulation levels to your equipment. Keep introductory training appropriate to the dog's readiness and the actual manual; the core training guide separates the phases. Stop and reassess if the dog shows distress.
Before burial, perform the manufacturer's prescribed system or short-loop test with the receiver off the dog and the specified test light. Follow that model's test-loop length, settings, and expected indicators; a generic ten-foot loop does not prove every system works.
One testing gotcha: collars carry over-correction protection that shuts them down during repeated triggering, so a healthy collar can read dead mid-test. Walk away for a few minutes, then re-test before blaming the hardware.
Plan Your Layout
30 minPlan before digging and follow the 811 response process. Prefer a full-house loop when it leaves practical contained access, then test every door and intended dog route. An approved partial-yard layout can be appropriate when physical access controls, supervision and exits are planned. Confirm the actual receiver's behavior during departure and return; no loop shape alone guarantees access. Plan any driveway and sidewalk crossings the selected route actually needs.
Layout rules:
- Pick the transmitter spot now (indoor, dry, correctly protected grounded outlet, near where the wire can exit the wall; full constraints in Step 5) and anchor your loop sketch to that exit point
- Use the actual transmitter's supported corner geometry and parallel-run separation, then test the complete field
- Assess road and access hazards using the tested field, usable safe space and an appropriate containment plan; a fixed setback does not guarantee containment
- Cross buried utilities at 90 degrees; keep parallel runs 5+ feet off electrical, phone, TV, and satellite lines
- Keep your own parallel runs 5+ feet apart
- Large metal structures can distort the field, so walk-test nearby runs; if the beep line wavers, move the wire a few feet farther away and re-test
- Robot mower? Route the dog-fence wire outside the mower's loop with a deliberate gap between the two
Survey neighboring systems before choosing a route. Ask adjacent owners about their equipment and known wire routes, with their cooperation. Compare the actual models' compatibility and separation requirements, and ask the providers about supported layout or frequency options. Brand name and a fixed generic distance do not establish compatibility; test both affected boundaries off the dogs.
Assess abandoned wire before changing it. Existing conductors can affect some installations. Identify ownership and function before cutting or removing any wire, follow the equipment's separation and interference tests, and seek qualified help where its purpose is uncertain. Do not assume every old loop is abandoned or is the cause.
Check private lines separately. The 811 response may not include private irrigation, landscape lighting, or other owner-installed lines. Visible heads and valves do not prove pipe routes or safe clearance. Arrange private locating where needed and follow applicable excavation requirements before digging.
Compare full layouts in layout patterns, wall off pools and gardens with exclusion zones, and sketch yours to scale in the fence planner before you buy wire.
Lay Out the Wire Above Ground
30-45 minStart at the transmitter's wire-exit point and walk the route on top of the grass. Nothing gets buried yet. This pass is where you adjust corner radii, bed lines, and the exact crossing point.
Pay wire off the spool correctly. Pulling loops off the end of a flat-lying spool adds one torsion twist per loop; twists become spirals, then kinks. Run a rod or piece of rebar through the spool as an axle so it spins as wire pays out under light tension. A kink work-hardens the copper and nicks the insulation, a delayed break site you'll hunt years from now.
Leave slack everywhere: about 20% extra footage gets eaten by trench contouring and settling. Never pull wire tight: ground shift and root growth turn tight runs into tension breaks.
Splice and Twist the Return Pair
30 minTwisted pair goes wherever the dog must cross freely: the return run from the loop to the transmitter, feeds to interior exclusion loops around pools or gardens, and small gate loops. Two rules govern it. Twisted sections splice between two single-wire sections, never into the middle of one run, because a single conductor can't cancel itself. And twisted footage counts double against transmitter capacity, so follow the model's supported total length and any limit on the twisted section.
Make it at 10-12 twists per foot. Drill method: anchor two equal lengths, chuck the far ends, and spin. Stop at 12, because over-twisting damages the wire. Buying pre-twisted wire (our store) skips the chore. One myth to retire: running wire through pipe does not cancel the signal. PVC does nothing and metal pipe actively interferes. Full technique in twisted pair wire runs.
Every splice, same recipe: strip 3/8 to 1/2 inch, cap with a wire nut leaving no exposed copper, tie a strain-relief knot 3-4 inches back, seal the nut inside a gel-filled capsule, pull-test it, and write down where it is. Bury a 2-inch-diameter slack loop at every splice so ground movement pulls the loop, not the joint.
Splices occur at supported feed connections, extensions and repairs. Minimize unnecessary joints and use the connector's actual conductor, preparation and sealing instructions. Joint count alone does not diagnose a fault or establish a replacement threshold. Inspect recurring problems and test the complete route; the wire repair guide covers locating and repairing confirmed damage.
Install the Transmitter and Surge Protection
20 minMount the transmitter in a dry protected location supported by its instructions and applicable electrical requirements, using its approved hardware. Route the wire through a suitable protected pass-through without pinching it in a door or window. An outdoor enclosure is appropriate only where the actual equipment instructions approve that installation; obtain qualified electrical help where needed.
Use surge protection (our store) documented as compatible with the actual transmitter, supply and loop. Follow its connection, grounding and bonding requirements; a plug-in module is not permission to add or remove grounding conductors. Ask a qualified electrician where the installation or applicable electrical requirements are uncertain. Follow the actual safe preparation instructions before a storm, never during active thunder or lightning. See transmitter setup and lightning protection.
Set the Boundary Width and Test
30 minNever bury wire you haven't tested. Power up, confirm the loop light, and calibrate with a walk-test.
Keep the receiver off the dog and use its specified test tool, orientation, height, modes and test sequence. A warning-only setting may not produce the output the tool tests. Use the documented warning and correction indications rather than assume every receiver has the same level numbers or delay.
Set the field within the actual model's supported range and test the complete route and usable safe area. Recheck after each supported adjustment. Follow the documented reset or rest period between test passes; repeated bench activation can trigger protection on some receivers.
Then widen the test:
- Check four points around the loop for a consistent beep line
- Walk the entire yard interior and inside the house: a too-wide field fires the collar through exterior walls, and fence signal can couple onto TV, electrical, and phone lines
- Verify the model's documented warning, output and escape-protection behavior where supported; test-light brightness alone does not establish that every function works
- Check mode-specific layout restrictions in the exact manual before using exclusion islands, multiple loops or a warning line at the wire
Done testing? Set stimulation back to the level you chose in Step 1 before the collar goes anywhere near your dog. Full calibration detail in setting boundary width and testing.
Bury the Wire
2-3 hoursFollow the actual equipment's supported burial depth and the route's ground, utility-clearance and surface requirements. Where these permit it, our 4-6 inch discussion is a planning preference, not a universal manufacturer specification, six-inch ceiling or guarantee against lawn tools. Locate and avoid the route before aeration or edging, and test the full field before and after burial. The wire-depth guide covers site checks and tradeoffs.
Lawn: drive a flat spade along the flag line, rock it to open the trench toward 4-6 inches, advance one blade width, repeat; a rented walk-behind trencher does it faster on a big yard. Seat the wire at the bottom with a dull tool (a paint stick or weeding tool), because sharp tools nick insulation. Pin escapers with lawn staples, kick the soil back, and stomp the seam shut. Taking the fast, shallow route instead? A lawn edger's 1-3 inch slit works if you flag and avoid the line before any aeration or edging. With two people, one cuts while the other follows, seating wire in the fresh cut.
Time the soil, not the calendar: trench when soil is moist but not saturated, ideally 24-48 hours after a soaking rain, or deep-water the route the day before. Damp clay cuts markedly easier than bone-dry clay, but saturated clay is heavier and stickier, not easier. Pre-water hard, compacted spots lightly about an hour ahead.
Renting a machine? Tie 3 feet of wire to a stake behind it, lower the cutter, and let the machine pay wire in as it cuts. Never pull the wire. Small wire-laying units run about $40-50 for a half day; compact walk-behind trenchers, $150-250 per day. Either class lays roughly 1,000 feet in a half day.
Driveways and sidewalks: choose a crossing method compatible with the surface, selected equipment, utilities and site requirements. Confirm permission and utility/private-line clearance before cutting or boring; use suitable tools, protection and qualified help where needed. Expansion joints, supported kerf repairs, sleeves or surface crossings have different limits. Do not use a universal cut or bore depth, or assume a shallow bore avoids utilities or that a particular depth establishes the field. The crossings guide explains the options; retest the actual field off the dog after work.
Gravel and dirt: sleeve the wire in PVC conduit or an old garden hose, never metal pipe.
Mulch and rock beds: skip the trench. Staple the wire to the soil surface under the mulch or stone so it stays findable for repairs, and keep it a foot inside the bed's cut edge, since re-edging is a documented break cluster.
No digging at all: ground-staple the wire every 2-5 feet, or fasten it to a stable nonmetal surface with insulated clips sized for the wire. Never pierce or pinch the insulation. Above-ground routes are more exposed to mower and trimmer damage, so mark and inspect them regularly. See above-ground installation.
Installing in winter? Two phases: lay and staple the wire above ground on frozen turf (the fence works immediately), then bury after the spring thaw. The driveway crossing is the one step that waits for an above-freezing day; kerf sealants won't cure in the cold.
Flag the Line, Re-test, and Document
20-30 minFlagging is two motions. Walk toward the wire with the collar at neck height, contact points up, and plant a flag at the first beep; then retreat into the yard until the beeping stops. Repeat every 10 feet around the loop. On driveways and other hard surfaces, lay flags flat. On "Mode A"-type systems the Step 6 note applies: your flag line sits at the wire itself.
Re-walk the full boundary after burial with the collar and test light, since burial can nudge the beep line.
Then document like a pro:
- Photograph the route before grass closes over it
- Draw a contractor-ready map with every splice location and the transmitter settings
- Store the repair spool and spare capsules with the map, and save weaned flags; you'll re-flag after moves or layout changes
- Brief every lawn, aeration, and plow crew, and flag the line before any yard work: aeration, re-edging, tree work, and plowing are the named break-makers
Training Your Dog: The Handoff#
Keep the receiver off the dog during installation and testing. Before live wear, assess suitability and follow the exact model's fit, compatible contact-part, power, repositioning and wear instructions. Never attach the leash to the receiver; use a separate suitable collar or harness without loading its contacts. Inspect skin daily and stop for irritation or injury; see collar skin checks.
Use receiver-off flag introduction with suitable leash control and rewards while the dog is comfortable, then assess supported warning-cue work against the actual instructions. There is no universal session count, automatic static milestone or calendar graduation. Stop for fear, persistent avoidance or repeated escapes and reassess with appropriate help. Keep a suitable fallback containment plan between sessions.
Use the documented receiver-removal or deactivation procedure before leaving or returning across the boundary, including in a car, and maintain appropriate leash control. Remove flags gradually only after readiness is assessed and according to the actual training instructions; no day-fifteen or day-thirty date establishes that supervision can end.
Start with the boundary training guide, then week one: flag introduction and chase-proofing. If push-throughs start, read why dogs run through the fence.
Maintenance Schedule#
Three habits keep the fence real:
| Cadence | What to do |
|---|---|
| Weekly | Test the collar with the test light; wash the dog's neck and contact points with a damp cloth (skin checks are daily) |
| Monthly | Walk the boundary with collar and test light at neck height to confirm the beep line sits at the recorded width; glance at splice areas after any yard work |
| Quarterly | Swap the collar battery on a manufacturer-recommended battery schedule (with extra checks if performance changes) and check transmitter settings against your documentation photo |
Some faults can occur without an obvious change in the yard. Learn the actual receiver's power indicators and transmitter alarms, and keep documented routine tests; an indicator alone does not establish the full boundary's operation.
Long-Term Ownership#
Wire life depends on the actual conductor, insulation, exposure, damage, and joints. Gauge alone does not establish a two-year or twenty-year lifespan. Inspect recurrently damaged sections and replace them when patching no longer provides a dependable circuit; follow the transmitter's wire requirements.
The seasonal rhythm:
- Spring: full perimeter walk, splice audit (splices fail first), frost-heave check where wire meets concrete, width recalibrated by walk-test
- Summer: check after any digging, edging, or aeration; brief every lawn crew and flag the line first
- Fall: pre-freeze survey, conduit over exposed runs, corroded splices replaced with gel capsules, route photos refreshed
- Winter: follow the actual model's temperature, power and inspection instructions; inspect crossings after plowing and test off the dog in the current surface conditions. Snow does not establish a fixed failure threshold or an automatic width change. Make only supported adjustments, retest the whole route and safe area, and keep suitable containment during review.
The full calendar lives in seasonal maintenance.
Aeration gets its own rule: one pass can nick the wire in multiple places, and cascading nick repairs run $135+ per trip. Flag the line before the crew arrives, every time. If a break beats you anyway, wire-break locate and repair (our store) handles it.
Once a year, or any time a neighboring house gets a dog, walk the shared property line with collar and test light; conflicts routinely appear years after a clean install.
When comparing equipment, check which fault and battery indicators or remote alerts it actually provides and which services are required. Learn the exact alarm pattern and keep routine boundary tests. Assess replacement by condition, documented support, and fault history rather than assume every transmitter lasts ten years.
If a Neighbor Has a Dog Fence#
Nearby containment systems or other conductors can affect some equipment. Compatibility, encoding, settings and routing vary, so a shared nominal frequency or a nearby wire does not establish how every receiver responds.
Unexpected activation or a changed field near a shared boundary warrants investigation. Record where and when it occurs, keep receivers off the dogs, and use the actual systems' diagnostic instructions; a green loop indicator does not identify the source.
Confirm it in three steps:
- With the receiver off the dog, follow the actual transmitter's safe power-disconnection procedure. Record whether unexpected activation remains; this result alone does not distinguish external signals from a receiver fault.
- Coordinate a power-off: the neighbor unplugs while you walk the shared leg with collar and test light at neck height, in both directions.
- Review nearby conductors and routing with the equipment provider. Use its supported tests before attributing activation to a shared cable or choosing a reroute.
The fix ladder, ranked:
- Compare both systems' documented separation and interference requirements with the measured routes
- Consider a supported reroute that preserves usable contained space, then retest both affected systems
- Ask the providers about supported frequency, encoding or equipment changes; confirm compatibility and retest each receiver after any change
- Adjust field width only within the actual model's supported range, then test the full route and safe area
Work with the equipment providers and neighboring owner to diagnose interference and follow the models' supported routing or frequency changes. Do not assume a dial change alone will preserve both boundaries; retest each affected system.
Stop condition: a neighbor-triggered correction is unpredictable and un-retreatable, exactly the kind shown to elevate stress in dogs. At the first confirmed false activation, collar off and leash supervision until it's fixed; then re-run a short flag review on that leg so the boundary predicts cleanly again.
Before off-property walks, follow the receiver's removal or deactivation procedure and use suitable leash control. Nearby properties may have active containment fields; a generic distance from a road does not establish legal placement or freedom from activation.
Know the Limits#
Electronic containment is not a physical barrier and does not keep wildlife or people out. Confirm the actual receiver's escape and re-entry behavior and assess road or other hazards. In the linked 2017 JAVMA owner survey, 44% of the electronically contained subgroup had escaped at least once; that lifetime, self-reported result does not predict every dog's outcome or compare all current systems. Percentages with different methods and definitions are not directly comparable. Static correction is aversive, and equipment instructions do not establish universal suitability. Stop receiver use for irritation, fear, injury or repeated escapes and seek appropriate veterinary or behavior guidance.
Some dogs should not be on one at all: sighthounds and high-prey-drive dogs, fearful or sound-sensitive dogs, and dogs with a bite history may be poor candidates. Use supervised or on-leash yard time and gut-check with is an underground fence right for your dog.
One limit of this guide itself: the walk-test numbers follow one manufacturer's published protocol. Where your manual disagrees with this page, your manual wins.
Troubleshooting#
- Alarm or missing loop light: compare the exact pattern with the model instructions, then test power, connections and the loop as directed
- Long-pause beep: read the actual alarm definition; cadence alone does not identify a backup battery or wire fault
- Power and loop lights both dead: check for a tripped GFCI before anything else
- Unexpected activation with a lit loop indicator: check the model's receiver, full-system and interference procedures before assigning a cause
- Weak or wandering signal: record the affected locations, then check supported settings, route, connections and possible interference using signal troubleshooting
- Collar dead: battery first, then contact points. Remember that over-correction shutoff reads falsely dead during repeated testing; see collar troubleshooting
Diagnose step by step with the troubleshooter.
Need More Help?#
Check the FAQ for common questions, or send us a message.
Sources and equipment references
- Call 811: contact your state before diggingUtility safety
- PetSafe Basic In-Ground Fence operating and training guide (PIG00-14582)Manufacturer documentation
- PetSafe: containment training instructionsManufacturer documentation
Use the instructions for your exact equipment. Manufacturer specifications describe particular models; studies apply to the populations and methods they report. Our catalog is a commercial source owned by the same business that operates this guide.
We are not affiliated with, sponsored by, or endorsed by the third-party fence brands discussed in this guide. Their names identify companies, products and source documentation. References do not indicate that those companies reviewed our content or endorse our business. All trademarks belong to their respective owners. DOG FENCE PRO and DogFenceGear.com are part of our own business.
Read about the people and business behind the guide and our research and review process.
Frequently Asked Questions
How long does it take to install an underground dog fence?
Our planning allowance for a typical 400-800 foot DIY loop with one driveway crossing is 8 to 14 active hours across a weekend, plus preparation beforehand. Ground conditions, equipment, experience, and crossings can change that estimate.
How deep should the boundary wire be buried?
Follow the actual manual's supported depth and the route's hazards. Where equipment and site conditions permit, our guides discuss 4-6 inches as a durability preference; tool reach varies, so locate and avoid the route before yard work. Test before and after burial.
Do I need to call 811 before installing a dog fence?
Request 811 before digging, follow your state's notice period and wait for required utility responses. Confirm which lines the request covers and arrange separate identification of private lines. An 811 ticket does not identify every buried hazard.
Can a neighbor's dog fence interfere with mine?
Nearby containment systems can affect some equipment. Follow both models' separation, compatibility and interference-check instructions, with receivers off the dogs. A chirp or activation by itself does not identify the source; record the pattern and ask the equipment providers about supported routing or frequency changes.
Do I have to bury the wire?
No. Burial protects the wire; follow the model's supported depth and retest its detection field. Stapling wire to the ground every 2-5 feet is a recognized installation method, with more exposure to mower, trimmer, foot-traffic, and weather damage.
Can I install a dog fence in winter?
Yes, in two phases: lay and staple the wire above ground on frozen turf so the fence works immediately, then bury it after the spring thaw. The driveway crossing is the one step that must wait for an above-freezing day, because kerf sealants will not cure in the cold.
Ready to Start Your Install?
Draw your yard for exact wire footage and a free pro quote, or jump straight to the gear.