Key points
- A ladder, stairway or ramp is required in trenches 4 feet deep or more, within 25 feet of workers.
- A protective system (sloping, benching, shoring or a trench box) is required at 5 feet or deeper unless the trench is in stable rock.
- Deeper than 20 feet, a registered professional engineer must design the protective system.
- Keep spoil and equipment at least 2 feet back from the edge.
- A competent person inspects before work, as conditions change and after every rainstorm.
A trench wall looks solid. Soil is far heavier than it looks, and it can fall without warning on a worker who is kneeling at the bottom. People are killed in trenches that were only a few feet deep, and many of those trenches were dug on small residential jobs where nobody thought of it as dangerous work.
This guide explains the federal trench rules in plain language, the soil and slope concepts behind them, the protective systems we use and why a do-it-yourself trench can still kill. The rules are OSHA's Subpart P, 29 CFR 1926, enforced in Arizona by ADOSH.
What are the main OSHA trench rules?
OSHA's excavation standards cover how deep you can go before you need protection, how you get in and out, where you put the spoil and who must inspect. Both 1926.651 (general requirements) and 1926.652 (protective systems) apply. The key thresholds are below.
| Requirement | Rule |
|---|---|
| Ladder, stairway or ramp | Trenches 4 feet deep or more, within 25 feet of workers |
| Protective system | At 5 feet or deeper, unless the trench is in stable rock |
| Shallower than 5 feet | A protective system only if a competent person sees no sign of cave-in |
| Engineer-designed system | Deeper than 20 feet; designed by a registered professional engineer |
| Spoil and equipment | At least 2 feet back from the edge |
| Inspections | Before work starts, as conditions change, and after every rainstorm |
| Atmosphere testing | Where a hazardous atmosphere could exist, in excavations deeper than 4 feet |
Notice that the rules are not just depth rules. A shallow trench in sandy or wet soil, next to a heavy load or after a storm, can need protection even if it is under 5 feet. That is why the standard puts a trained decision-maker on the job.
Who is the competent person?
OSHA's term is competent person: someone who can identify existing and predictable hazards and has the authority to stop work and fix them. On a trench job, that person classifies the soil, chooses the protective system, checks the spoil pile, looks at the walls for cracks and signs of water, and decides when the trench is safe to enter.
The inspection schedule is tied to events: before work starts each day, as conditions change, and after every rainstorm. In Tucson, that last one matters. A storm that arrives in the afternoon can saturate a trench wall that held fine at breakfast, and monsoon thunderstorms arrive fast. See our monsoon drainage checklist for how to handle open work during the season.
How do soil types change the slope?
OSHA sorts soil into types, which determine how steeply you can slope a trench wall. Stable rock can stand vertical. Type A is cohesive and strong, Type B is weaker and Type C is the weakest, such as loose sand or gravel and wet or submerged soil. Soil that has been disturbed before, or that is cracked or running with water, is generally treated as the weaker type.
| Soil type | Maximum slope (horizontal : vertical), under 20 feet deep |
|---|---|
| Stable rock | Vertical |
| Type A | 3/4 : 1 |
| Type B | 1 : 1 |
| Type C | 1 1/2 : 1 |
A 1:1 slope means one foot of horizontal run for every foot of depth. A 5-foot trench in Type B soil, sloped on both sides, needs to be at least 10 feet wider at the top than the base, plus the trench width. That is a lot of ground to open and a lot of spoil to move, and it is the reason most utility trenches use a box or shoring instead.
Tucson ground varies. A wash bottom can be loose, wet sand that behaves like Type C. Compacted caliche can stand for a while but can also fracture and drop in slabs. Fill from an earlier project is usually weaker than native soil. Caliche is not a reason to skip protection; see our digging in caliche guide for how it behaves.
What are the protective systems?
There are four ways to keep a trench from burying someone.
- Sloping: cut the walls back at an angle the soil can hold. It needs space and a lot of digging, and it is common on open sites.
- Benching: cut the walls into steps. It works for certain cohesive soils and is not allowed for Type C.
- Shoring: install supports such as hydraulic aluminum shores or timber to hold the walls. It suits narrow, deep trenches.
- Shielding (trench box): place a rigid box in the trench so workers stay inside it. A trench box does not hold the wall back, it protects people from a collapse, so the trench must be kept from caving behind it.
A trench box is the usual solution on a utility run, and it moves along with the digging. We choose the system from the soil, depth, width, length of run and what is next to the trench. Past 20 feet, a registered professional engineer designs the system, and the design sits on site.
Our trenching and excavator crews dig to these rules on every job. When a homeowner asks why a short trench needs a box, the answer is the rule above.
How should you handle spoil, equipment and the trench edge?
Keep spoil and equipment at least 2 feet back from the edge. That includes dirt piles, pipe, tools, trucks and the machine itself. A loaded bucket or heavy tire close to the edge adds weight on exactly the wall that is about to fail.
Keep a clear path to the ladder or ramp. In a trench 4 feet deep or more, a ladder or ramp must be within 25 feet of anyone working in it, so that a worker can get out fast. Do not use the machine to lift people out. Do not let anyone work under a bucket or a suspended load.
Also look at the other things near the trench: a fence, a wall, a building footing, a driveway slab or a tree. Digging beside a structure can undermine it, and the extra surcharge from a wall or a parked vehicle adds to the load on the trench wall.
What about air, water and utilities in the trench?
Testing the atmosphere applies where a hazardous atmosphere could exist, in excavations deeper than 4 feet. That can mean a trench near a sewer or septic line, a landfill, a fuel tank or gas line. If you smell gas, see a sheen on the water or feel dizzy, get out.
Water in a trench changes everything. Pump it out and have the competent person re-inspect before anyone goes back in. Standing water means a weaker wall and often a bad bottom.
Underground utilities are a hazard in themselves. Request a locate through Arizona 811, white-line the area and hand-expose any marked line inside 24 inches before you bring in a machine. Our Arizona 811 guide covers the steps.
Why can a DIY trench still be deadly?
Because the rules apply to the soil, not to the person with the shovel. A homeowner digging a 5-foot trench for a sprinkler line or a conduit is working in the same ground that collapses on contractors. A wall can fail with no cracking or warning, and a person buried to the chest cannot breathe against the weight of the soil.
OSHA's rules are written for employers, and homeowners digging alone are not their audience. That is not the same as being safe. If you must dig by hand, keep the trench shallow, never work in a deep trench alone, keep the edges clear, and do not go in at all if the walls look cracked, wet or fresh.
For anything near or beyond 5 feet, or any long run, hire it out. The cost of a machine, shoring and a competent person is small next to the alternative.
How does ADOSH enforce this in Arizona?
Arizona runs its own occupational safety and health program through ADOSH, the Arizona Division of Occupational Safety and Health, which enforces OSHA's excavation standards on job sites in the state. OSHA's trenching and excavation page is the best overview of the rules and the hazards.
When you hire a trenching contractor, ask who the competent person is, what protective system they will use and how they handle rain. A contractor who cannot answer is a warning sign. Send us photos, the length and depth, and the soil if you know it, and we will explain how we would protect the dig. Our electrical trenching and utility trenching pages show typical jobs.
Questions we get about this
How deep can a trench be before it needs shoring?
OSHA requires a protective system at 5 feet or deeper unless the trench is in stable rock. In a shallower trench, a competent person can decide no system is needed only if there is no sign of cave-in. Wet, cracked or disturbed soil can call for protection even when the trench is shallow.
Do I need a ladder in a 4-foot trench?
Yes. OSHA requires a ladder, stairway or ramp in trenches 4 feet deep or more, and it must be within 25 feet of workers so that they can get out quickly. Do not climb out over the spoil pile or use the machine to lift workers. Keep the access clear of tools and dirt.
How far from the trench edge must I keep the dirt pile?
Keep spoil and equipment at least 2 feet back from the edge. Weight near the edge adds load on the wall and can trigger a collapse. Pipe, tools, trucks and the excavator also count, so plan the staging area before the dig starts.
How often must a trench be inspected?
A competent person must inspect before work starts, as conditions change and after every rainstorm. In Tucson, a monsoon storm can change the soil within hours, so inspect an open trench again before anyone goes back in. Standing water, new cracks and sloughing walls are reasons to stop work.
What is the steepest slope allowed for a trench wall?
It depends on soil. For trenches under 20 feet deep, OSHA Appendix B allows 3/4 to 1 for Type A, 1 to 1 for Type B and 1 1/2 to 1 for Type C. Stable rock can stand vertical. A competent person classifies the soil, and weaker or wet soil gets the flatter slope.
Do the OSHA trench rules apply to a homeowner digging a yard?
OSHA's rules are written for employers, so a homeowner digging alone is not who they target. The danger, however, is the same: soil can collapse on anyone in a deep trench. If you dig yourself, keep it shallow, never work alone and hire a contractor for anything at or near 5 feet.
Sources
- OSHA: Trenching and excavation
- OSHA 29 CFR 1926.651: Specific excavation requirements
- OSHA 29 CFR 1926.652: Requirements for protective systems
- Arizona Division of Occupational Safety and Health (ADOSH)
Rules change. Check the agency source before you rely on a number for your job.