Short answer: Five feet. Under 29 CFR 1926.652(a)(1), every worker in an excavation 5 feet or more deep must be protected from cave-ins by sloping or benching, shoring, or a shield such as a trench box — unless the cut is made entirely in stable rock. Under 5 feet, protection can be skipped only when a competent person has examined the excavation and found no evidence of a potential cave-in. A cubic yard of soil can weigh more than a car, and trench walls give no warning — Subpart P exists because "it looked solid" is how people get buried.
The rule is mechanical: depth, soil type, protective system, daily inspection, safe way out. Get those five right and the trench is a workplace instead of a gamble.
The protective systems, and when each one fits
Sloping and benching — 1926.652(b). Cut the walls back at an angle determined by the soil type (below). Sloping needs room — a 10-foot-deep trench in Type C soil is more than 30 feet wide at the top — but it needs no equipment in the hole and nothing to fail.
Shoring — 1926.652(c). Hydraulic, mechanical, or timber systems that hold the walls up and let crews work in a narrow cut. Shoring is installed and removed from outside the trench or from inside a protected area — never by a worker standing in an unprotected section.
Shielding (trench boxes) — 1926.652(g). A box does not hold the wall up; it gives workers a protected space if the wall comes in. Workers stay inside the box while it is moved, never work outside its protection, and the box must extend at least 18 inches above the surrounding ground if the ground slopes down toward the excavation.
20 feet changes everything. For excavations more than 20 feet deep, the protective system must be designed or approved by a registered professional engineer, per 1926.652(b)(4) and (c)(4). Manufacturer tabulated data and the appendices stop at 20 feet.
Soil classification: the competent person's call
Under Subpart P Appendix A, the competent person classifies the soil at each excavation as stable rock, Type A, Type B, or Type C, using at least one visual test and one manual test, and reclassifies when conditions change — rain, vibration, drying, or a different layer in the wall.
Type A — cohesive soil with unconfined compressive strength of 1.5 tons per square foot or greater: clay, silty clay, hardpan. Maximum allowable slope 3/4:1 (53 degrees). Soil next to heavy vibration, previously disturbed soil, or soil with water seeping through it cannot be Type A.
Type B — cohesive soil above 0.5 tsf up to 1.5 tsf, plus angular gravel and previously disturbed soils that do not meet Type C. Maximum allowable slope 1:1 (45 degrees).
Type C — cohesive soil at 0.5 tsf or less, granular soils (sand, gravel, loamy sand), and any soil with water seeping or submerged. Maximum allowable slope 1-1/2:1 (34 degrees). When in doubt, the soil is Type C — classifying down costs width or a bigger box; classifying up costs lives.
The daily duties around the hole
Competent-person inspections — 1926.651(k). Daily before the shift, as needed during the shift, and after every rainstorm or other hazard-increasing event. Evidence of a possible cave-in, a failing protective system, or a hazardous atmosphere means workers come out until it is fixed. This inspection is the one to put in writing every single day.
Egress — 1926.651(c)(2). In trenches 4 feet or more deep, a ladder, stairway, or ramp must be within 25 feet of lateral travel of every worker, and ladders extend 3 feet above the landing.
Spoil and equipment — 1926.651(j)(2). Keep spoils, materials, and equipment at least 2 feet back from the edge, or use retaining devices. Nothing rolls back in on the crew.
Utilities first — 1926.651(b). Underground installations must be located before opening the excavation — call 811 — and located utilities must be protected, supported, or removed as needed while the trench is open.
Loads and water — 1926.651(e) and (h). No employee works under a raised load, and no one works in accumulated water unless adequate precautions — special support, water removal, safety harness and lifeline — are in place and monitored.
Adjacent structures — 1926.651(i). Where the excavation puts a building, sidewalk, or other structure at risk, it must be supported by shoring, bracing, or underpinning before and during the dig.
Run the daily inspection on a real form, not from memory: our Trench & Excavation Inspection Checklist Template — $12.00 covers the competent-person daily inspection, soil class, protective system, and corrective actions in Excel and Google Sheets. More paperwork that gets a contractor paid is on the templates page.
The full Subpart P, translated: OSHA Construction Rules in Plain English
This page is the summary. The book is the whole code. OSHA Construction Rules in Plain English by Ren Delivers covers all of 29 CFR 1926 in 565 pages — the rule, what it means on your site, and what gets you fined — including the complete excavations chapter: protective systems, soil classification, and the competent-person duties in Subpart P, written for the trailer, not the law office.
Paperback — $34.95 on Amazon Kindle — $9.99 Both books — First Aid & OSHA
Common questions
Can a worker enter a 4-foot trench with no protection?
Only if a competent person has examined it and found no evidence of a potential cave-in, per 1926.652(a)(1)(ii). Four feet still requires a ladder or other egress within 25 feet, and the competent person still inspects daily.
Does a trench box have to be used with shoring?
No. Shielding is its own protective system under 1926.652(a). Workers must stay within the box's protection, and the box can sit up to 2 feet above the bottom of the trench only when it is designed to resist the full depth load and there is no indication of soil loss behind it.
Who is a competent person for trenching?
Someone capable of identifying existing and predictable hazards in the excavation and surrounding area, with authorization to take prompt corrective measures — including ordering workers out. For Subpart P that includes classifying soil and inspecting protective systems.
How deep before an engineer has to design the system?
More than 20 feet. Below that line the system must be designed or approved by a registered professional engineer, per 1926.652(b)(4) and (c)(4).
This page is a plain-language summary of the federal rules, not legal advice. State-plan states can have their own rules — check yours.