Skip to content

Sloping, shoring, or a trench box? When a trench needs protection

November 4, 2026 · 6 minute read · TrackOver

When OSHA requires a protective system in a trench, how soil type sets the slope, and how to choose between sloping, shoring, and a trench box.

Most trench work goes fine, which is exactly the problem. A crew gets away with a vertical 6-foot cut in decent-looking clay a dozen times, and it starts to feel safe. Then the wall that looked fine lets go. A single cubic yard of soil often weighs more than a ton, and a worker buried in it may not be dug out in time.

The federal rules for this are in OSHA's excavation standard, 29 CFR 1926 Subpart P. This article walks through when a trench needs a protective system and how to pick one. It is general information, not legal advice. States that run their own OSHA plans can have stricter rules, so check what applies where you work, and read the protective systems section of the standard itself.

When does a trench need a protective system?

The depth rules are simple to state:

  • 5 feet or deeper: a protective system is required, unless the excavation is entirely in stable rock.
  • Under 5 feet: a protective system is not required only if a competent person examines the ground and finds no indication of a potential cave-in. Shallow does not mean automatically safe.
  • 20 feet or deeper: the protective system has to be designed by a registered professional engineer.

Two more rules apply to almost every trench a dirt crew digs:

  • A way out. In trenches 4 feet or deeper, a ladder, stairway, or ramp has to be within 25 feet of lateral travel for every worker in the trench.
  • Keep the edge clear. Spoil, materials, and equipment have to stay at least 2 feet back from the edge. A spoil pile at the lip adds weight to the wall and can roll back in.

The competent person

A lot of the standard rests on the competent person. OSHA's general construction definition is someone who can identify existing and predictable hazards and has the authority to take prompt corrective action. In a trench, that person inspects the excavation, the protective system, and the area around it every day before work starts, and again as needed during the shift, such as after a rainstorm or anything else that could change the ground.

Two parts of that matter on a real job. The competent person needs the training to recognize the hazards, and needs the authority to stop the work. Someone who can see the problem but has to call the office before pulling the crew out is not doing the job the rule describes.

Soil type sets the slope

If you are going to slope the walls, the first question is what kind of ground you are in. The standard sorts soil into four classes. Stable rock is natural solid mineral matter that can be dug with vertical sides and stay intact. The rest go from most stable to least:

  • Type A: cohesive soils like clay with high strength. Soil that has been disturbed before, or that is fissured or subject to vibration, cannot be Type A.
  • Type B: medium strength soils, including angular gravel, silt, and soil that would be Type A except for fissures or earlier digging.
  • Type C: the weakest, including granular soils like gravel and sand, submerged soil, and soil with water seeping out of it.

For excavations less than 20 feet deep, Appendix B of the standard gives the maximum allowable slopes, stated as horizontal to vertical:

Soil typeMaximum slope (H:V)Angle from horizontal
Stable rockVertical90 degrees
Type A3/4:153 degrees
Type B1:145 degrees
Type C1-1/2:134 degrees

If nobody classifies the soil, the standard's simplest option is to treat it as Type C and slope at 1-1/2:1. When in doubt, the weaker class is the safe call.

What sloping does to the size of the hole

Sloping sounds cheap because it needs no equipment. Look at what it does to the footprint. Take a trench that is 8 feet deep and 3 feet wide at the bottom:

  • In Type A at 3/4:1, each wall lays back 6 feet. The top is 3 plus 6 plus 6, or 15 feet wide.
  • In Type B at 1:1, each wall lays back 8 feet. The top is 19 feet wide.
  • In Type C at 1-1/2:1, each wall lays back 12 feet. The top is 27 feet wide.

That wider hole means more digging, more spoil to store or haul, more backfill and compaction, and more restoration. On an open site it can still be the cheapest option. Along a road, next to a building, or in a backyard, there often is not room. Our trench safety calculator figures the layback and top width for each soil type.

Benching, which cuts the walls into steps instead of a smooth slope, is another option in cohesive soils. It follows the same rules, and it is not allowed in Type C.

Shoring vs. shielding

When the trench cannot be laid back, the choice is between holding the walls in place and protecting the crew from them.

  • Shoring supports the walls so they do not move. Hydraulic shores, timber, and other systems fall here. It is the choice when the ground next to the trench must not shift: a road, a foundation, or another utility.
  • Shielding is a trench box. It does not stop the walls from failing. It keeps the failure off the people inside it. It moves along with the work, which suits long runs of pipe.

A trench box is only as good as its rating. The manufacturer's tabulated data says what depth and soil conditions each box is built for, and that data has to stay available on the job while the box is in use. A box rated for less than your trench, or set in a way the tabulated data does not allow, is not protection.

A few habits that go with any box:

  • Nobody in the box while it is being set, pulled, or moved up or down.
  • Keep the ladder inside the protected area.
  • Watch the gap between the box and the wall. Material can slide in from above or around the ends.

Plan it in the bid, not in the trench

Most shortcuts happen because the protective system was not planned. The box is on another job, the shores are at the yard, and the crew is already standing at the edge. Settle it when you price the work: expected depth, likely soil, room to slope, and which system you will use. Then make sure it is on the truck the day it is needed.

Trench safety is also the talk worth repeating most often at the tailgate. Our list of toolbox talk topics for dirt crews puts it at the top for a reason.

TrackOver's safety tools let a foreman give a toolbox talk at the tailgate and log it with the date, job, and attendance. If you want those records in one place, try TrackOver free.

Common questions

At what depth does OSHA require trench protection? At 5 feet or deeper, unless the excavation is entirely in stable rock. Under 5 feet, protection can be skipped only if a competent person finds no indication of a potential cave-in. State plans can be stricter.

What are the maximum slopes for Type A, B, and C soil? For excavations under 20 feet, Appendix B allows 3/4:1 or 53 degrees for Type A, 1:1 or 45 degrees for Type B, and 1-1/2:1 or 34 degrees for Type C.

When does a trench need an engineer? At 20 feet or deeper, the protective system has to be designed by a registered professional engineer.

How far back does spoil have to be from a trench? At least 2 feet from the edge, along with materials and equipment, so it does not add weight to the wall or fall back in.

How often does a trench have to be inspected? A competent person inspects it daily before work starts and as needed during the shift, such as after rain or anything else that could change the ground.

Keep reading
TrackOver makes this automatic

Stamped photos, job hours, tickets, and billing that collect themselves while the crew works. Made for excavation, utility, paving, snow and lawn crews.

  • No card to start
  • Cancel any time, no contract
  • Export your data whenever you want

Running this kind of work? See Excavation software or the plans and the free tier.

Built for: