Free guide · 2 min read · Updated 2026-12-02

OSHA Excavation and Trenching Requirements: The 5-Foot Rule, Soil Types and Protective Systems

Quick answer

OSHA requires a protective system (sloping, benching, shoring or a trench box) for every excavation 5 feet or deeper unless it is entirely in stable rock, and a design by a registered professional engineer for excavations deeper than 20 feet (29 CFR 1926.652). Trenches 4 feet or deeper need a ladder or other exit within 25 feet of travel, spoil piles must be at least 2 feet from the edge, and a competent person must inspect daily.

The key numbers

RuleRequirement
Protective system5 feet or deeper (or shallower if a competent person sees a cave-in risk)
Engineer-designed protectionDeeper than 20 feet
Means of egressTrenches 4 feet or deeper: ladder, ramp or steps within 25 feet of lateral travel
Spoil and equipmentAt least 2 feet back from the edge
Atmospheric testingDeeper than 4 feet where a hazardous atmosphere could exist
InspectionsDaily before work, and after rain or other hazard-increasing events, by a competent person

Soil types and maximum slopes

SoilExamplesMax slope (H:V)Angle
Stable rockSolid rockVertical90°
Type AClay, silty clay; unconfined compressive strength 1.5 tsf or more3/4:153°
Type BSilt, angular gravel, previously disturbed soil1:145°
Type CGravel, sand, submerged or seeping soil1½:134°

Soil that is fissured, vibrated or previously disturbed cannot be Type A. When in doubt, the competent person classifies it as Type C.

Protective systems

  • Sloping cuts the walls back at a safe angle.
  • Benching forms steps (not allowed in Type C soil).
  • Shoring supports walls with hydraulic, timber or mechanical systems.
  • Shielding (trench boxes) protects workers inside without preventing cave-ins; use per the manufacturer's tabulated data.

Other hazards

Call 811 before digging to locate utilities, keep workers away from lifted loads, protect against water accumulation, and keep everyone out of the trench until it is protected. A cubic yard of soil can weigh as much as a car. Courses: excavation, trenching and shoring and competent person for excavation.

Frequently asked questions

At what depth does OSHA require trench protection?

5 feet, unless the excavation is entirely in stable rock. A competent person may require protection in shallower trenches if there is a cave-in risk.

How far apart must ladders be in a trench?

Trenches 4 feet or deeper must have a ladder, ramp or other exit within 25 feet of lateral travel for every worker.

What is the maximum slope for Type C soil?

1½ horizontal to 1 vertical, about 34 degrees.

This guide summarizes federal OSHA, Cal/OSHA, EPA and DOT rules for training purposes. It is not legal advice. Always check the current regulation text and your site safety and health plan. Written by the HazwoperOSHA.org training team; last reviewed 2026-12-02.

More free guides