In California, workers in an excavation 5 feet or deeper must be protected from cave-ins by sloping, benching, shoring or a shield, unless the cut is entirely in stable rock (8 CCR §1541.1). A Cal/OSHA permit is needed before digging a trench or excavation 5 feet or deeper that any person must go down into (8 CCR §341). A trench 4 feet or more deep needs a ladder, stairway or ramp within 25 feet of lateral travel, and spoil stays at least 2 feet back from the edge (8 CCR §1541). A competent person inspects the excavation every day before work and after every rainstorm (8 CCR §1541). Before any of this, call 811 at least 2 working days ahead (Gov. Code §4216.2).
This guide puts those rules in the order the work happens: before you dig, while you dig, and while the crew is in the trench. It ends with the depths that are easy to mix up and the traps the numbers invite. The trench rules are in Cal/OSHA's Construction Safety Orders, Title 8 of the California Code of Regulations, which is free to read online. CSLB's B study guide lists earthwork under Core Trades, so these questions can show up there as well as in Safety.
Words the rules use
- Excavation and trench. A trench is a narrow excavation whose depth is generally greater than its width, and whose width at the bottom is no more than 15 feet. (8 CCR §1540)
- Competent person. Title 8 defines a competent person as one who can identify existing and predictable hazards and who has the authority to take prompt corrective measures to eliminate them. (8 CCR §1504) Knowing the hazard is not enough; the person must also be allowed to fix it.
- Protective system. A way to protect workers from cave-ins: sloping or benching the sides, shoring them, or a shield (trench box). (8 CCR §1541.1)
Before you dig
Call 811 and wait for the answer
- Mark the area first. Except in an emergency, delineate (mark out) the area you plan to dig, then notify the regional notification center by calling 811. (Gov. Code §4216.2)
- Timing. Notify the center at least 2 working days, and not more than 14 calendar days, before digging begins. The day you call does not count. (Gov. Code §4216.2)
- Owners who are not members. Cal/OSHA also requires notice to known owners of underground lines who are not members of the center, at least 2 working days ahead (emergency repair of underground facilities is excepted). Find the approximate location of underground installations before you open the excavation, and do not dig until every known owner or operator has given a positive response. (8 CCR §1541)
- Tolerance zone. The zone is 24 inches on each side of the operator's field marking. If a single marking also shows the line's size, add half that size on each side. (Gov. Code §4216) Inside the zone, find the exact location of the line with hand tools before using power-driven digging or boring equipment, apart from a few narrow exceptions such as agreed vacuum excavation. (Gov. Code §4216.4)
Two numbers, two kinds of day: the minimum is counted in working days, the maximum in calendar days. A call made 3 weeks ahead is too early; a call made the afternoon before is too late.
Get the Cal/OSHA permit when one is needed
An annual or project permit from Cal/OSHA is required to dig a trench or excavation 5 feet or deeper into which any person must descend. (8 CCR §341) No permit is needed for:
- swimming pool excavations;
- emergency repair of underground facilities;
- graves; or
- trenches and excavations that no person must enter. (8 CCR §341)
So a 6-foot sewer trench where a pipe layer goes in needs a permit. A 6-foot trench dug and backfilled by machine, with no one going in, does not.
Look at the neighbors and the street
Building codes add two rules near the property line. The person making an excavation gives the adjacent property owners written notice at least 10 days before it is scheduled to start, saying the excavation will be made and their property should be protected (2025 CBC §3307.1). An excavation 5 feet or less from the street lot line is enclosed by a barrier at least 6 feet high (2025 CBC §3306.9).
Cave-in protection
When it is required
Every worker in an excavation is protected by a protective system. There are only two exceptions: the excavation is entirely in stable rock, or it is less than 5 feet deep and a competent person has examined the ground and found no sign of a possible cave-in. (8 CCR §1541.1)
Note the "and." A 4-foot trench in crumbling sand still needs protection if the competent person sees signs of a cave-in. Five feet is where protection becomes automatic, not the only time it applies.
Sloping with no soil data
If nobody has classified the soil, and there is no tabulated data or engineer's design, slope the sides no steeper than 1 1/2 horizontal to 1 vertical (about 34 degrees from horizontal). (8 CCR §1541.1) That is the slope for the weakest soil, so it works anywhere.
Classifying the soil
A competent person may classify the soil, using at least one visual test and at least one manual test, such as a thumb test or a pocket penetrometer. (8 CCR §1541.1, App. A)
| Soil type | What it includes | Source |
|---|---|---|
| Stable rock | Natural solid rock that stays intact when exposed | 8 CCR §1541.1, App. A |
| Type A | Cohesive soil such as clay with an unconfined compressive strength of 1.5 tons per square foot or more; cemented soils such as caliche and hardpan | 8 CCR §1541.1, App. A |
| Type B | Cohesive soil over 0.5 and under 1.5 tons per square foot; angular gravel, silt and sandy loam; previously disturbed soil; Type A-strength soil that is fissured or subject to vibration | 8 CCR §1541.1, App. A |
| Type C | Cohesive soil of 0.5 tons per square foot or less; gravel, sand and loamy sand; submerged soil or soil with water freely seeping | 8 CCR §1541.1, App. A |
No soil is Type A if it is fissured, subject to vibration from heavy traffic or pile driving, previously disturbed, or part of a layered system dipping into the excavation at 4 horizontal to 1 vertical or steeper. (8 CCR §1541.1, App. A)
Example: A stiff clay tests at 2.0 tons per square foot, which would be Type A. But the clay is fissured, or it is old backfill. Either one rules out Type A, so the soil is Type B.
Maximum slopes
For excavations less than 20 feet deep, the steepest allowed slopes are: (8 CCR §1541.1, App. B)
| Soil type | Steepest slope (horizontal to vertical) | About | Source |
|---|---|---|---|
| Stable rock | Vertical | 90 degrees | 8 CCR §1541.1, App. B |
| Type A | 3/4 to 1 | 53 degrees | 8 CCR §1541.1, App. B |
| Type B | 1 to 1 | 45 degrees | 8 CCR §1541.1, App. B |
| Type C | 1 1/2 to 1 | 34 degrees | 8 CCR §1541.1, App. B |
Sloping or benching for an excavation deeper than 20 feet is designed by a registered professional engineer. If a slope shows signs of distress, cut it back at least 1/2 horizontal to 1 vertical flatter than the maximum. (8 CCR §1541.1, App. B)
Example: A trench 8 feet deep with a 4-foot-wide bottom is dug in Type B soil. At 1 to 1, each side runs back 8 feet. The top width is 4 + 8 + 8 = 20 feet. In Type C soil, at 1 1/2 to 1, each side runs back 12 feet and the top is 4 + 12 + 12 = 28 feet.
Shields and shoring
- No one inside a moving shield. Workers may not be inside a trench shield while it is installed, removed or moved up or down. (8 CCR §1541.1)
- Digging below a shield. The trench may be dug no more than 2 feet below the bottom of a shield, and only if the shield is designed for the full depth of the trench and there is no sign of soil loss from behind or below it. (8 CCR §1541.1)
- Taking support out. Remove shoring and other support systems from the bottom of the excavation up, with backfill keeping pace. (8 CCR §1541.1)
While the crew is in the trench
- A way out. A trench 4 feet or more deep needs a stairway, ladder, ramp or other safe means of egress, placed so no worker travels more than 25 feet sideways to reach it. (8 CCR §1541)
- Spoil and equipment. Keep excavated soil, materials and equipment at least 2 feet from the edge, or hold them back with retaining devices, or both. (8 CCR §1541)
- Loads overhead. No worker may be under a load handled by lifting or digging equipment. (8 CCR §1541)
- Daily inspections. A competent person inspects the excavation, the areas next to it and the protective systems daily before work starts, as needed during the shift, and after every rainstorm or other event that increases the hazard. If there is evidence of a possible cave-in, a failing protective system or a hazardous atmosphere, exposed workers are removed until it is made safe. (8 CCR §1541)
- Air testing. Where a hazardous or oxygen-deficient atmosphere could exist, test the air before workers enter an excavation deeper than 4 feet. Below 19.5 percent oxygen is deficient, and flammable gas must stay at or below 20 percent of its lower flammable limit. (8 CCR §1541)
- Crossing a trench. Where workers or equipment must cross an excavation more than 6 feet deep and wider than 30 inches, provide a walkway or bridge with standard guardrails. (8 CCR §1541)
- Traffic and equipment. Workers exposed to public traffic wear high-visibility vests or similar garments. Where mobile equipment works next to the excavation and the operator cannot clearly see the edge, use a warning system such as barricades, hand or mechanical signals, or stop logs. (8 CCR §1541)
- Water. Do not work in an excavation where water has accumulated or is accumulating unless adequate precautions are taken. Where pumps or other water removal equipment control the water, a competent person monitors it. (8 CCR §1541)
- Undermining. Do not dig below the base of a foundation or retaining wall where it could endanger workers unless the structure is supported, for example by underpinning, the dig is in stable rock, or a registered professional engineer approves. (8 CCR §1541)
- Haul trucks. A vehicle with a haul capacity of 2 1/2 cubic yards or more needs an automatic backup alarm that can normally be heard 200 feet away. Where noise or congestion hides it, a signaler in clear view of the operator directs the backing. (8 CCR §1592)
The depths to keep straight
Several trench rules are set by depth, and the numbers are close together. This is the table to memorize.
| Depth or distance | What it triggers | Source |
|---|---|---|
| 2 feet | Spoil and equipment set back from the edge; most a trench may go below a shield | 8 CCR §§1541, 1541.1 |
| 4 feet or more | A ladder, stairway or ramp, within 25 feet of lateral travel | 8 CCR §1541 |
| Deeper than 4 feet | Air testing where a hazardous atmosphere could exist | 8 CCR §1541 |
| 5 feet or more | Cave-in protection (unless all stable rock) | 8 CCR §1541.1 |
| 5 feet or more, a person must enter | Cal/OSHA permit | 8 CCR §341 |
| More than 6 feet, wider than 30 inches | Walkway or bridge with guardrails to cross | 8 CCR §1541 |
| Deeper than 20 feet | Sloping or benching designed by an engineer | 8 CCR §1541.1, App. B |
Traps to watch for
- 4 or 5? The way out starts at 4 feet; the permit and automatic cave-in protection start at 5 feet. Read which rule the question is asking about.
- Under 5 feet is not automatically safe. A shallower trench needs protection too when a competent person sees signs of a possible cave-in.
- Disturbed or fissured soil. Strong clay is not Type A if it is fissured, vibrated or previously disturbed. Old backfill is never Type A.
- The slope ratio is horizontal first. "1 1/2 to 1" means 1 1/2 feet back for every 1 foot down, so each side of an 8-foot cut in Type C soil runs back 12 feet.
- Count both sides. The top width of a sloped trench is the bottom width plus the run on each side.
- 811 timing. At least 2 working days, not counting the day you call, and no more than 14 calendar days.
How to use this guide
Learn the depth table first, then work the two slope examples by hand: they are the kind of arithmetic a question asks for. Then answer the practice questions below this guide, which use the same sections. The full Safety section, including fall protection, lead and traffic control, is in our B exam safety notes, and more Cal/OSHA questions are on the personnel safety practice page.