Home › Code Library › CPC 314.1

CPC 314.1 · General rules

Trenches next to footings

A trench that's deeper than a building's footing and runs parallel to it has to stay at least 45 degrees out from the bottom exterior edge of the footing, unless it's approved otherwise under Section 301.0.

2025 California Plumbing Code, Chapter 3 (General Regulations) · Applies to: Homes and commercial buildings

Cross-section of a footing with a 45 degree line sloping down and out from its bottom outside edge and a trench located outside that line.
A trench deeper than the footing and parallel to it stays outside a 45 degree line from the bottom exterior edge of the footing. Diagram: Hoffman & Sons Plumbing (hoffmanandsons.com), CC BY 4.0. Free to share with credit. PNG · SVG · All diagrams

The rule

Soil beside a footing helps carry the building. A deep trench alongside it can undermine the footing. The code's answer is an angle: draw a line sloping out and down from the bottom outside edge of the footing at 45 degrees, and keep a parallel trench outside that line.

It only applies to trenches deeper than the footing and running alongside it. A crossing trench, or one shallower than the footing bottom, isn't what this rule is about, though the inspector may still care.

If the trench has to be closer, the code lets the authority approve it under Section 301.0. That can mean an engineer's detail or shoring.

On the job

  • Find the footing depth before you lay out the trench. Probe or check the plans. Guessing depth is how footings get undermined.
  • If the line has to run close, talk to the inspector before you dig. An engineered detail is easier to get approved ahead of time.
  • Keep any open trench near a footing shored or backfilled quickly. Section 314.4 covers backfill, and 314.3 covers trenches inside the building.

The inspector and your city's adopted edition have the final word.

Give us a call

Call (760) 912-9831