“Do I need a trench box for a sewer line?” Not always a box, but once the trench is five feet deep, OSHA requires a protective system for anyone working in it: a shield (the box), shoring, or walls sloped back far enough, unless the trench is cut entirely in stable rock (29 CFR 1926.652(a)(1)). Under five feet, the walls can stay vertical only if a competent person has examined the ground and found no sign of a possible cave-in. Here are the depth lines, the three ways to protect a crew, the daily inspection, and the rest of OSHA’s excavation rules (29 CFR Part 1926, Subpart P) in plain words.
Why trenches kill
OSHA’s trenching page puts it first: “Trench collapses, or cave-ins, pose the greatest risk to workers’ lives.” Its booklet on trench safety (OSHA 2226) explains why in one line: “One cubic yard of soil can weigh as much as a car.”
The numbers bear it out. The Bureau of Labor Statistics counted 18 workers killed in 2024 by a collapse or engulfment in an open trench or excavation. CPWR, the construction research center, reports that OSHA recorded 39 workers who died doing trench or excavation work in 2022, against 15 in 2021, and that construction accounted for 85% of fatal trenching injuries from 2011 to 2021.
What counts as a trench
OSHA defines a trench as a narrow excavation below the surface of the ground; in general the depth is greater than the width, and the width at the bottom is not more than 15 feet (29 CFR 1926.650(b)). The excavation rules apply to all open excavations, trenches included. A sewer lateral, a water service, a footing, a drain line or a septic line is an excavation under these rules, and the cave-in protection applies to anyone working in it.
The depth lines
| Depth | What the rules require |
|---|---|
| Any depth | Utility locations estimated and the owners contacted before the cut is opened; spoil and equipment kept at least 2 feet from the edge or held by a retaining device; a competent person’s inspection every day that anyone may be exposed |
| Under 5 feet | Vertical walls allowed only if a competent person examines the ground and finds no indication of a potential cave-in |
| 4 feet or more | A ladder, stairway, ramp or other safe way out within 25 feet of lateral travel |
| Over 4 feet | The air tested before entry where low oxygen or a hazardous atmosphere exists or could reasonably be expected |
| 5 feet or more | A protective system (sloping or benching, shoring, or a shield) unless the cut is entirely in stable rock |
| Over 20 feet | Sloping or benching designed by a registered professional engineer |
The citations: utilities, 1926.651(b); spoil, 1926.651(j)(2); inspections, 1926.651(k); egress, 1926.651(c)(2); air testing, 1926.651(g)(1)(i); protective systems, 1926.652(a); the 20-foot line, note 3 to Table B-1 in Appendix B. OSHA’s trench QuickCard sums up the last two rows: trenches 5 feet deep or greater require a protective system, and trenches 20 feet deep or greater require one designed by a registered professional engineer.
The under-five-feet row is not a free pass. The exception depends on a competent person looking at the ground and finding no warning signs, so a four-foot cut in wet, sandy or previously dug soil can still need protection.
Three ways to protect the crew
Slope or bench the walls
The simplest option needs no soil test: slope the walls no steeper than 1½ horizontal to 1 vertical, which is 34 degrees from the horizontal (1926.652(b)(1)). OSHA’s booklet calls a slope of this gradation “safe for any type of soil.” It also takes room. Say a plumber needs a 6-foot-deep trench with a 2-foot-wide bottom for a sewer lateral. At 1½:1, each wall goes back 9 feet, so the trench is about 20 feet across at the top. Next to a house, a driveway or a neighbor’s fence, that much open ground may not exist.
Steeper slopes are allowed when a competent person classifies the soil under Appendix A. For excavations less than 20 feet deep, Table B-1 allows ¾:1 (53 degrees) in Type A soil, 1:1 (45 degrees) in Type B and 1½:1 (34 degrees) in Type C. Read the soil types closely before leaning on them: OSHA 2226 notes that no soil is Type A if it is fissured or has been previously disturbed, and the backfill around an old sewer line has been disturbed by definition.
Shore them
Shoring holds the walls in place; OSHA’s QuickCard describes it as installing aluminum hydraulic or other types of supports to prevent soil movement. A system drawn from the manufacturer’s tabulated data must follow all of the manufacturer’s specifications, recommendations and limitations, may deviate from them only with the manufacturer’s specific written approval, and the data must be in writing at the jobsite while the system goes in (1926.652(c)(2)). Support members come out from the bottom up, with backfilling keeping pace (1926.652(e)(1)).
Shield the work: the trench box
A shield is a structure able to withstand the forces of a cave-in and protect the workers inside; the definitions in 1926.650(b) note that shields used in trenches are usually called trench boxes or trench shields. OSHA 2226 describes a box approved by a registered professional engineer or designed to tabulated data an engineer approved. When the box comes from the manufacturer’s or other tabulated data, that data must be in writing at the jobsite while the system goes in (1926.652(c)(2) and (c)(3)). The rules for using one:
The competent person, every day
Much of Subpart P hangs on one role. A competent person is someone capable of identifying existing and predictable hazards and who has the authority to take prompt corrective measures to eliminate them (1926.650(b)). OSHA 2226 lists the tasks: classifying soil, inspecting protective systems, designing structural ramps, monitoring water removal and conducting site inspections.
The inspection is daily: the excavation, the area around it and the protective systems, before work starts and as needed through the shift, and again after every rainstorm or other event that raises the hazard, whenever workers can reasonably be expected to be exposed (1926.651(k)(1)). If the competent person finds signs of a possible cave-in, a failing protective system or a hazardous atmosphere, exposed workers come out until the problem is fixed (1926.651(k)(2)). On a small crew, designate that person by name, make sure they have the training to classify soil and read a box’s tabulated data, and have them at the trench when it is open.
The rest of the list
State rules and penalties
OSHA 2226 notes that states with their own OSHA-approved plans must have standards identical to, or at least as effective as, the federal ones, and some add requirements of their own. California is one example: Cal/OSHA requires the employer to hold an annual or project permit for “construction of trenches or excavations 5 feet or deeper into which any person is required to descend” (8 CCR 341(d)(5)(A)), with an exception for emergency repair work on underground facilities. Check your own state plan before the first deep job.
For penalties assessed after January 15, 2026, OSHA’s maximums are $16,550 per serious violation and $165,514 per willful or repeated violation. CPWR found that in 2023 trenching standard violations made up 4% of OSHA’s construction citations but 9% of the penalties. If an inspector does arrive, OSHA at the Job Site covers what happens next. Before it comes to that, OSHA 2226 describes the On-site Consultation Program: free, confidential advice for small businesses, separate from enforcement, with no penalties.
Put it in the price
OSHA 2226 suggests a safety checklist before bidding: traffic, nearby structures, soil classification, surface water and the water table, overhead and underground utilities, the quantity of shoring or protective systems needed, and the number of ladders. That list is also a cost list. A box rental, the extra digging and backfill of a sloped cut, the dewatering pump and the competent person’s inspection time belong on the estimate as their own lines, not inside a guess. If you run excavation, septic or plumbing jobs, the deep-trench lines are part of what makes your price different from the one that skipped them.
Before anyone steps in
OSHA’s QuickCard gives the test in five lines. Never enter a trench unless:
- It has been properly inspected by a competent person.
- Cave-in protection measures are in place.
- There is a safe way to enter and exit.
- Equipment and materials are away from the edge.
- It is free of standing water and atmospheric hazards.
General information, not legal or tax advice. Rules change and vary by state; check with the agency named above or a professional for your situation.