Skip to main content
RealCostIQ
DIY Guide

Installing a Fence: DIY Guide

Fence installation is an approachable outdoor DIY job — digging, setting posts, attaching panels — but the two things that actually sink a fence project are a missed utility locate and a post set over the property line, not the carpentry.

DIY-Friendly

The physical work — digging holes, setting posts, attaching rails and infill — is manageable for most homeowners with basic tools and a weekend or two. What makes this conditional in practice is everything that has to happen before the first hole is dug: a free utility locate through 811, and confirming your property line and local zoning rules so the fence you build doesn't have to be moved. Get that sequence right and the build itself is straightforward.

Skill Level

Beginner

Time Required

1–3 days depending on length and material

Physical Demands

Heavy — digging post holes, mixing and pouring concrete, lifting panels

What this costs

Tool rentalPost hole digger or power auger $40–$90/day
Your time1–3 days depending on length and material

What moves the number

  • Material choiceWood, vinyl, chain link and composite carry different material costs per linear foot and different labor time — composite and vinyl panels are typically faster to install than a picket-by-picket wood run, which trades material cost for labor time.
  • Post-setting methodConcrete costs more per post than gravel or compacted backfill, both in material and cure-time delay before you can finish the job.
  • Terrain and line lengthSloped or uneven ground adds time for consistent post height and can require extra posts at shorter spacing on steep sections. Total linear footage is still the largest single driver of both material and rental cost.
  • Survey costA property survey is an upfront cost many homeowners try to skip. Skipping it and building over the line is the more expensive outcome — it risks having to move the fence entirely.

Run your own numbers with the cost calculator.

Before you start

A fence is one of the more approachable structural projects a homeowner can take on: dig a hole, set a post, repeat, then attach rails and infill along the line. Where fence projects actually go wrong is almost never the carpentry. It's the two decisions that have to be made correctly before the first hole is dug, because both are effectively irreversible once concrete is in the ground — where the property line actually is, and where the utilities actually run.

Call 811 before you dig, every time, on every fence line — it's free, and it's the single most important instruction on this page. Beyond that, the fence has to sit on your side of a surveyed line, and it has to comply with your local zoning ordinance's height and setback rules, which are set by your city or county, not by any national code. A fence permit exemption at a given height (many jurisdictions exempt fences under 7 feet from a building permit) is not the same thing as a zoning exemption — the two are separate approvals, and skipping the second one is what gets a finished fence torn out and rebuilt six inches to the left.

Post depth is the other decision that resists a one-size answer. It's governed by your local frost line, and frost line depth is not a number printed in the model building code — the code leaves it blank for your jurisdiction to fill in based on local climate data. A post set above the frost line will heave with the ground every winter freeze-thaw cycle until it leans. Get the actual number from your local building department before you buy materials, not from a national average.

Once those two questions are settled, the remaining decisions are about materials and method: which fence material fits the job, whether to set posts in concrete or gravel or compacted backfill, and — if any part of the wood touches soil — which treated-wood rating and which fasteners actually hold up in it. All of that is covered below, in the order you'll actually need it.

Code and permits

Fence work touches three separate approvals that are easy to conflate: a building permit (often exempted below a height threshold, commonly 7 feet), a zoning approval for height and setback (always local, never waived by the permit exemption), and — where a pool is involved — a life-safety barrier code that applies regardless of permit status. Frost-protected footing depth is set by your local jurisdiction, not printed as a single number in the model code.

IRC (International Residential Code), as adopted locally § R105.2 Fences other than swimming pool barriers, not over 7 feet high, are listed as exempt from a building permit — but the exemption list explicitly does not authorize violating any other local law or ordinance, so zoning and HOA rules still apply.

IRC 2021 (as adopted in Virginia) § R403.1.4 Footings must be at least 12 inches below undisturbed ground surface, and protected from frost by extending below the frost line specified in Table R301.2, among other listed methods.

IRC 2021 (as adopted in Colorado), Table R301.2(1) footnote § R301.2 The frost line depth used for footing design is filled in by the local jurisdiction based on local climate and soil data — it is not a value printed in the model code itself.

IRC Appendix G, 2018 edition (as adopted in Philadelphia) § AG105.2 Pool barriers must be at least 48 inches above grade on the side facing away from the pool; pedestrian access gates must open outward, be self-closing and self-latching, with the release mechanism at least 3 inches below the top of the gate when mounted under 54 inches high.

Fence height limits, setback distances and permit thresholds are set by your city or county zoning ordinance, not by a national code — confirm the specific numbers with your local planning or zoning department before you finalize a layout. Frost-protected footing depth works the same way: the model code defers to your jurisdiction's own frost-line figure rather than a national constant. Where a pool barrier is involved, confirm the exact edition your jurisdiction has adopted, since barrier requirements are revised between code cycles.

Permit requirements for this project vary by state and municipality. Select your state above for specific guidance, or check with your local building department before starting work.

Stop and call a pro if…

These are hard stops, not cautions. If you hit one, the job is finished for you until a licensed trade or your building department signs off on it.

A dig hits, or comes close to, an unmarked or suspected utility line

Buried electric, gas and communications lines are frequently only a foot or two down — well within reach of hand digging or a power auger — and striking one is a safety emergency, not a construction delay.

Who to call
Stop digging immediately. If you strike a gas line, leave the area and call 911 and the gas utility from a safe distance; for any other suspected unmarked utility, call 811 again before continuing.

811 / Common Ground Alliance § Call-before-you-dig program 811 routes a free locate request to the utility companies with lines near a dig site; digging before the required notice period has passed, or in an area with an unresolved or unmarked utility, is exactly the scenario the locate exists to prevent.

The fence is planned on or near a property line and there is no current survey

A fence built over the line is a legal dispute between neighbors, and the standard resolution is removing or relocating it — often at the builder's cost. This is not something the construction itself can fix after the fact.

Who to call
A licensed land surveyor to establish the line, and your local zoning or planning department to confirm setback requirements before you build.

IRC (International Residential Code), as adopted locally § R105.2 A building-permit exemption for a fence under a given height does not authorize violating any other local law or ordinance, including the zoning and boundary rules that actually govern where a fence may sit.

The fence line crosses a retaining wall, a significant grade change, or unstable slope

Post footings interact with retaining-wall and slope engineering in ways an ordinary fence layout does not account for — undermining a wall's footing or a slope's stability is a structural problem, not a fencing one. Code treats taller retaining walls as engineered structures for exactly this reason.

Who to call
A structural engineer or a licensed contractor experienced with retaining structures before any digging near the wall or slope.

IRC (International Residential Code), as adopted § R404.4 A retaining wall not laterally supported at the top that retains more than 48 inches (1219 mm) of unbalanced fill must be designed in accordance with accepted engineering practice, with a safety factor of 1.5 against sliding and overturning — digging a fence post footing near such a wall without accounting for that design is a structural risk, not a landscaping one.

The fence will serve as a barrier around a swimming pool

Pool barrier fencing is life-safety code, not a style preference — specific height, gap and self-closing/self-latching gate requirements exist because they are what actually keeps a small child from wandering into a pool unsupervised.

Who to call
Your local building department to confirm the exact pool-barrier code edition and requirements adopted in your jurisdiction before finalizing the gate design.

IRC Appendix G, 2018 edition (as adopted in Philadelphia) § AG105.2 Barrier height at least 48 inches above grade on the side away from the pool; pedestrian gates open outward, are self-closing and self-latching, with the release mechanism at least 3 inches below the top of the gate when mounted under 54 inches.

Safety Warnings

  • Never dig without a current 811 locate — buried utilities are often only a foot or two down
  • Wear gloves when handling concrete mix — wet concrete is caustic and can burn skin with prolonged contact
  • Wear eye protection when cutting posts, rails or panels with a circular saw
  • Brace posts until concrete has fully cured before loading them with rails, panels or a gate

Choosing your materials

OptionBest forTrade-off
Wood (cedar, pressure-treated pine)Classic look, easiest to customize on site (height, picket spacing, gate design), and the most repairable material if a section is damaged later.Any part in ground contact — the posts — has to carry an AWPA UC4A ground-contact rating, not the lighter rating used for above-ground pickets and rails, and it needs fasteners rated for modern treated wood or they corrode.
Vinyl/PVCLow maintenance — no staining, sealing or repainting — and a consistent factory finish along the whole run.Panels are a fixed size, so an out-of-square or sloped yard is harder to adapt to than wood. Posts still typically go in the ground the same way, so the same depth and utility-locate rules apply.
Chain linkThe cheapest fully-enclosed option, fast to install, and the standard choice for a pool barrier or a dog run where visibility through the fence is fine.Offers no privacy, and if it's the pool barrier, the mesh openings and gate hardware have to meet the same barrier code as any other material — chain link doesn't get a pass on the gap and latch rules.
CompositeWood-like appearance with vinyl-like maintenance; a middle ground for homeowners who want the look without the upkeep.Highest material cost of the four, and posts are still commonly set the same way as wood or vinyl — the savings are in upkeep over the years, not in the install itself.

Tools & Materials

Tools

  • Post hole digger or power augerRent — $40–$90/day
  • Post levelBuy
  • String lineBuy
  • Circular sawBuy
  • Post hole tamperBuy
  • Tape measureYou likely own

Materials

  • Fence posts rated for ground contact (UC4A or higher, if wood)
  • Rails and pickets, panels, or mesh infill
  • Concrete mix or gravel backfill (buy to hole volume, not a rule of thumb)
  • Hot-dip galvanized (ASTM A153) or stainless steel fasteners for any hardware touching treated wood
  • Gate hardware — hinges, latch, and a self-latching device if the fence is a pool barrier

Step-by-Step

  1. 1

    Confirm the property line and your local zoning rules

    1–2 weeks for survey lead time, plus about 1 hour of research

    Before buying anything: locate the actual property line and check your local zoning ordinance for height limits, setbacks and any HOA approval — a permit exemption for the fence itself is not a zoning exemption.

    Do not rely on an existing fence, a hedge line, or a neighbor's word for where the property line sits. A recent survey or the plat on file with your county is the only reliable source. This matters most where you plan to build close to the line — a fence built even a few inches over it is a legal problem between neighbors, not a construction defect, and the usual resolution is moving it.

    Separately from the property line, check your local zoning ordinance for fence height limits and setback requirements — how far a fence has to sit back from the property line, the street, or a corner-lot sightline. Many jurisdictions exempt fences under a given height, commonly 7 feet, from needing a building permit at all. That exemption is explicit that it does not authorize violating any other law or ordinance — meaning your fence can be fully exempt from a building permit and still be a zoning violation if it exceeds a height limit or ignores a setback. The two approvals are separate, and only your local planning or zoning office can tell you what applies on your lot.

    If you're in an HOA, add its architectural review to the list before you buy materials — HOA rules on height, material and even color are enforced separately from municipal zoning and can be stricter.

    Check your workYou can point to the actual surveyed property line on the ground, you have your local zoning department's height and setback answer in writing or from their published ordinance, and — if applicable — HOA approval is in hand.

    A fence permit exemption at a given height only waives the building permit. It does not waive zoning setbacks, height limits, or HOA rules — those are separate approvals from a separate authority.

  2. 2

    Call 811 before any digging

    A few business days' notice, then the call itself takes minutes

    Free, national, and the single hard gate before this project starts — call 811 or use your state's 811 center and wait for the locate before the first hole goes in the ground.

    811 is a free national service that routes your call to your state's utility locate center, which notifies the utility companies with lines near your dig site to come mark them. Required notice periods before you're cleared to dig vary by state — plan for a few business days between the call and the day you actually start digging, and confirm your state's specific window through your state 811 center rather than assuming a number.

    This is not a step to skip because the fence line 'looks clear.' Buried electric, gas, water, sewer and communications lines are frequently only a foot or two down, well within reach of a post-hole digger or auger, and a fence line often runs exactly where a utility crosses the yard to reach the house.

    Check your workYou've called 811 (or filed online through your state center), waited out the required notice period, and every conflicting utility along your fence line has been marked before you touch a shovel.

    If a locate reveals a utility crossing your planned line, redesign around it or call the utility company directly — do not dig closer to a marked line than the clearance they specify.

  3. 3

    Choose your material and post-setting method

    Pick wood, vinyl, chain link or composite based on the comparison above, and decide how posts will be set — concrete, gravel, or compacted backfill.

    Concrete gives the most rigidity and is the standard choice for taller or heavier panel fences that need to resist wind load without racking. Gravel backfill around the base of the post, with soil compacted above it, drains better in wet ground and is a common choice for wood posts specifically because standing water against untreated wood cross-sections is what accelerates rot — the tradeoff is a less rigid post than one set in concrete. Compacted native soil backfill alone is the least rigid of the three and is generally reserved for lighter fences or temporary installations. There is genuine disagreement in the trade about which method is 'correct' for a given fence — treat it as a decision that depends on your soil, drainage and fence weight rather than a single universal answer, and when in doubt, follow your fence material manufacturer's own setting instructions.

    Whatever method you choose, buy concrete or gravel by the volume of the holes you're actually digging, not by a rule of thumb — bag coverage varies by product and is printed on the bag.

    Check your workYou've picked one setting method for the whole run (not mixed post-to-post) and bought material to the actual hole volume you're planning to dig.

  4. 4

    Get your local frost depth and set post spacing

    30 minutes

    Call your local building department for the frost line depth used in your area — it's not a number the model code publishes nationally — and plan post spacing (typically 6–8 ft between posts for panel fencing).

    Footing depth in the 2021 IRC is governed by two rules together: footings must sit at least 12 inches below undisturbed ground, and separately, protected from frost by extending below the frost line for your area. The model code deliberately does not print that frost line number — a footnote to its climatic design table instructs the local jurisdiction to fill in the frost line depth column for footings below finish grade, because it depends on regional climate and soil, not on a national constant. Your building department, not a national average, is the correct source for the number you actually build to.

    With frost depth in hand, lay out post spacing along the property line. Panel and picket fencing commonly runs 6–8 feet between posts, driven by the length of the rails or panels you're using — check your specific material's spec rather than assuming a spacing and cutting rails to fit afterward.

    Check your workYou have a specific post-hole depth in hand from your local building department (not a generic online figure), and your post spacing matches the rail or panel length of the material you bought.

  5. 5

    Mark post locations and dig the holes

    3–6 hours for a typical residential run · Tape measure, String line, Post hole digger or power auger

    Mark every post location with your final spacing, then dig each hole to the frost-protected depth you confirmed, staying clear of every utility mark from step two.

    1. Stake and string-line the fence run using the surveyed property line, not a guess.
    2. Mark each post location at your confirmed spacing, adjusting only at corners and gate openings.
    3. Dig each hole to the frost-protected depth from step four, staying outside the clearance zone around any marked utility.
    4. Add a few inches of gravel at the bottom of each hole for drainage before setting the post, if your setting method calls for it.

    Check your workEvery hole reaches the depth you determined from local frost data, no hole encroaches on a marked utility, and the line of stakes still tracks the surveyed property line end to end.

  6. 6

    Set, plumb and brace the posts

    2–4 hours to set, then a full cure before loading · Post level, Post hole tamper

    Set each post using your chosen method, keep it plumb with a post level while it sets, and brace it until the concrete has fully cured.

    Set the post, check it plumb on two adjacent faces with a post level, and brace it in place — most fence panels and gates put enough lateral load on a post that even a small tilt at setting time becomes visibly worse once the fence is loaded. Recheck plumb after backfilling or pouring, since compacting backfill or pouring concrete can nudge a post out of true if you're not watching it.

    If you're setting in concrete, let it cure fully before attaching rails, panels or a gate — treat the post as unloaded structural material until the concrete manufacturer's cure time has passed. Loading a green post is one of the more common ways a fence ends up leaning within its first season.

    Check your workEvery post reads plumb on both faces, the tops of all posts sit level to the same string line, and — for concrete-set posts — the cure time has fully elapsed before anything is attached.

    Do not attach rails or panels to a concrete-set post before the concrete has cured. Green concrete has not reached its working strength and can crack or let the post shift under load.

  7. 7

    Attach rails and infill, and fasten treated wood correctly

    4–8 hours depending on fence length · Circular saw

    Attach rails, then pickets, panels or mesh along a level string line, and use corrosion-resistant fasteners on any treated lumber.

    Run a level string line along the top of the posts before attaching anything, so the finished height stays consistent even where the ground slopes — cutting each post to a level line, rather than to a fixed above-ground measurement, is what keeps a long fence run looking straight.

    If any part of the fence is pressure-treated wood, know which rating you're actually holding. AWPA's Use Category System rates ground-contact lumber — posts — as UC4A, a higher retention level than the UC3B rating that covers above-ground infill like rails and pickets. Buying UC3B-rated lumber for a post because it's cheaper is buying the wrong product for the job.

    Fastener choice matters as much as the lumber rating. Modern treated-wood preservatives are copper-based and more corrosive to plain steel than the older treatments they replaced, so hardware manufacturers specify hot-dip galvanized fasteners (meeting ASTM A153) or stainless steel for any fastener, bracket or hinge that contacts treated wood — and specifically warn that electroplated or electro-galvanized coatings are not an equivalent substitute for hot-dip galvanizing. A fastener that looks galvanized at the hardware store is not automatically the right one; check the coating spec.

    Check your workThe top line of the fence is level and consistent along the whole run, ground-contact lumber carries a UC4A (or higher) rating, and every fastener touching treated wood is hot-dip galvanized or stainless.

  8. 8

    Hang the gate — and meet pool-barrier rules if the fence encloses a pool

    1–2 hours per gate

    Hang the gate on the most solidly set posts on the run, and if this fence is a pool barrier, meet the specific height, gap and self-latching requirements — this is life-safety code, not a style choice.

    Gate posts carry more racking stress than line posts because of the leverage of an open gate, so confirm they're solidly set — deeper or in a larger-diameter concrete footing than the rest of the run, if your plan calls for it — before hanging any hardware.

    If this fence is enclosing a pool, it is not an ordinary fence in the eyes of the code. Barrier height and gate hardware requirements are specific and non-negotiable — see the stop point below before you build this section of the fence.

    Check your workThe gate swings freely without dragging or binding, latches securely in the closed position, and — where it's a pool barrier — meets every requirement in the stop point below.

Common mistakes

Building to an existing fence line or a neighbor's description of the property line

Why it happens
An old fence, hedge or driveway edge feels like reliable evidence of where the line is, and ordering a survey feels like an unnecessary expense for a backyard fence.

The fix
Get a current survey or pull the plat before you dig. If a fence is already over the line, the fix later is moving it — get the boundary right before concrete goes in the ground.

Treating the building-permit exemption as a zoning exemption

Why it happens
Many jurisdictions don't require a building permit for fences under about 7 feet, and it's easy to read that as 'no approval needed at all.'

The fix
Check your zoning ordinance for height limits and setbacks separately from the permit question, and check with your HOA if you have one. The permit exemption explicitly does not authorize violating other local ordinances.

Setting posts to a depth pulled from an online average instead of your local frost line

Why it happens
A quick online search returns a plausible-sounding number, and it's faster than calling the building department.

The fix
Get the actual frost line depth for your jurisdiction from your local building department — the model code leaves that number for the jurisdiction to set, so a generic figure found online may not match your area.

Using standard steel screws or brackets on treated lumber

Why it happens
A screw is a screw, and the treated-lumber label doesn't always make the fastener requirement obvious at the hardware store.

The fix
Use hot-dip galvanized (ASTM A153) or stainless steel hardware on anything touching treated wood. Modern copper-based treatments corrode plain and even electroplated steel faster than older treatments did.

Building a pool enclosure fence to standard privacy-fence rules

Why it happens
It looks like any other backyard fence project, so it's easy to build it the same way you'd build a property-line fence.

The fix
Treat a pool barrier as life-safety code, not a style choice — minimum height, maximum gap sizes, and self-closing, self-latching, outward-opening gates are specific requirements, covered in the stop point below.

After the job: care and maintenance

  • First few months

    Recheck posts for plumb after the first heavy rain or freeze-thaw cycle, especially on gravel- or backfill-set posts, which move more than concrete-set ones while the surrounding soil settles.

  • Annually

    Inspect gate hinges, latches and any hardware touching treated wood for corrosion. On a pool barrier, test that the gate still self-closes and self-latches from a fully open position — hinges sag over a season of use.

  • Every 1–3 years (wood only)

    Re-stain or reseal wood fencing per the product's own reapplication schedule; vinyl, chain link and composite don't need this but benefit from a rinse to keep grime from building up.

  • Keep permanently

    Your survey or plat showing the property line, and any zoning or HOA approval you received. Both are the paperwork that protects you if a boundary or height question ever comes up later.

FAQ

How deep do fence posts actually need to be?

Deep enough to clear your local frost line, which your building department sets based on regional climate data — the model building code deliberately leaves that number blank for the jurisdiction to fill in rather than printing one nationally. A post set above the local frost line will heave with the ground through freeze-thaw cycles until it leans. Call your local building department for the specific depth before you dig, rather than using a number found online for a different climate.

Do I need a permit to build a fence?

Often not a building permit — many jurisdictions exempt fences under roughly 7 feet from that requirement. But the exemption applies only to the building permit, not to zoning. Height limits, setbacks and (if you're in an HOA) architectural approval are separate requirements that still apply even when no building permit is needed, so check with your local zoning office regardless of the fence's height.

How do I find my property line before building?

Order a current survey or pull the plat from your county records office. Don't use an existing fence, hedge, or a neighbor's recollection as your reference — building even a few inches over the actual line is the version of this project that ends with a legal demand to move the fence, at your cost.

Should I set fence posts in concrete or gravel?

Both are legitimate, and the trade genuinely disagrees on which is 'correct' for a given job — concrete gives the most rigidity and is standard for heavier panel fences; gravel backfill drains better around the post base, which matters most for wood posts in wet soil. Follow your fence material's own manufacturer instructions where they specify one, and buy concrete or gravel to the actual volume of your holes rather than a fixed number of bags per post — coverage varies by product and is printed on the bag.

What's different about a pool fence versus a regular fence?

A pool barrier is life-safety code, not a style choice. It requires a minimum barrier height (48 inches in the code cited above), maximum gap sizes so a small child can't squeeze through or climb the structure, and gates that open outward, close themselves, and latch themselves — with the release mechanism placed out of a child's reach. Confirm the exact pool-barrier code your jurisdiction has adopted before finalizing the gate design; it's specific and non-negotiable.

Can I use any screws on pressure-treated fence posts?

No. Modern treated-wood preservatives are copper-based and corrode plain steel — and even some electroplated 'galvanized-looking' fasteners — faster than older treatments did. Use hardware rated hot-dip galvanized (meeting ASTM A153) or stainless steel for anything touching treated wood, including brackets, hinges and gate hardware, not just the visible screws.

Can I install a fence myself?

The physical work is one of the more approachable outdoor DIY projects — digging, setting posts and attaching rails don't require specialized trade skills. What makes it conditional rather than purely DIY-friendly is the homework before you dig: a free 811 utility locate, a confirmed property line, and a check of your local zoning rules. Skip any of those and the risk isn't a bad weld or a crooked cut — it's a legal dispute or a struck utility line.

Sources

Every figure, clearance and code section on this page traces to one of these. Manufacturer instructions govern their own product and override anything general said here.

  1. Common Ground Alliance / 811. 811 — Call Before You Dig — accessed August 21, 2026.811 is the free national call-before-you-dig service; the site directs the caller to their state 811 center and states to contact it a few business days before digging begins.
  2. American Wood Protection Association (AWPA). AWPA U1-24, Use Category System: User Specification for Treated Wood (excerpt) — accessed August 21, 2026.Defines Use Category UC4A (Ground Contact, General Use) and lists sawn fence posts by name as a typical UC4A application, distinct from the lighter UC3B rating that covers only above-ground infill like pickets and rails.
  3. Western Wood Preservers Institute. Specifying with AWPA Use Categories for Construction — Preservative Use Categories — accessed August 21, 2026.Plain-language definition of UC4A ground-contact service conditions, reproduced from the AWPA standard, and confirmation that fence posts fall under it.
  4. Simpson Strong-Tie. Preservative-Treated Wood FAQ — Corrosion Information — accessed August 21, 2026.Hot-dip galvanized (ASTM A153) or stainless steel fasteners and connectors are recommended for modern preservative-treated wood because the copper-based treatments are more corrosive to steel than older CCA formulations; electroplated/electro-galvanized coatings should not be treated as equivalent to hot-dip galvanizing.
  5. UpCodes (2021 IRC, as adopted in Virginia). R403.1.4 Frost Protection — accessed August 21, 2026.Footings must be at least 12 inches below undisturbed ground surface and protected from frost by extending below the frost line specified in Table R301.2, among other listed methods.
  6. UpCodes (2021 IRC, as adopted in Colorado). R301.2 Climatic and Geographic Design Criteria — Table R301.2(1) footnote — accessed August 21, 2026."The jurisdiction shall fill in the frost line depth column with the minimum depth of footing below finish grade" — the frost depth used for footing design is a value the local jurisdiction supplies, not a number printed in the model code itself.
  7. UpCodes (2018 IRC Appendix G, as adopted in Philadelphia). AG105.2 Outdoor Swimming Pool — Barrier Requirements — accessed August 21, 2026.Pool barriers must be at least 48 inches above grade on the side facing away from the pool; pedestrian access gates must open outward, be self-closing, and have a self-latching device, with the release mechanism at least 3 inches below the top of the gate when mounted under 54 inches.
  8. UpCodes (IRC, as adopted in Texas). R404.4 Retaining Walls — accessed August 21, 2026.Retaining walls that are not laterally supported at the top and retain in excess of 48 inches (1219 mm) of unbalanced fill must be designed in accordance with accepted engineering practice, with a safety factor of 1.5 against sliding and overturning.
  9. UpCodes (IRC, as adopted). R105.2 Work Exempt From Permit — Fences — accessed August 21, 2026.Fences other than swimming pool barriers, not over 7 feet high, are listed as exempt from a building permit — but the exemption list is explicit that it does not authorize work in violation of any other law or ordinance, so zoning, setback and HOA rules still apply even when no building permit is required.

You might also find these helpful

← All DIY Guides