Skip to content
CalContractorPrep
Menu

Trench and Excavation Safety in California: Cal/OSHA Rules for the B Exam

Section 3 of 5, about 30% of the B exam

Updated

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.

Read the Section 3 study notes: Core Trades

Practice questions

Think of your answer first, then open the explanation.

  1. 1. Unless the excavation is entirely in stable rock, Cal/OSHA requires workers in an excavation to be protected by a cave-in protective system (sloping, benching, shoring or a shield) once the excavation is how deep?

    Core Trades

    • A. 4 feet or more
    • B. 5 feet or more
    • C. 6 feet or more
    • D. 20 feet or more
    Show answer

    Correct answer: B

    • A. 4 feet or more

      4 feet triggers the ladder and air-testing rules, not the protective-system rule.

    • B. 5 feet or more

      Correct answer

      Correct: 5 feet (T8 1541.1).

    • C. 6 feet or more

      Protection is required before 6 feet.

    • D. 20 feet or more

      Protection is required long before 20 feet.

    Explanation

    Cal/OSHA Title 8 section 1541.1 requires a protective system for every worker in an excavation unless it is entirely in stable rock, or it is less than 5 feet deep and a competent person has found no sign of a potential cave-in. At 5 feet or more, protection is required.

  2. 2. A contractor will dig a 6-foot-deep trench for a sewer line, and a pipe layer must go down into it. What does Cal/OSHA require before the trench is dug?

    Core Trades

    • A. Nothing beyond the 811 ticket; Cal/OSHA issues no permits for trenches
    • B. A Cal/OSHA permit only if the trench will be more than 20 feet deep
    • C. A Cal/OSHA permit (annual or project), because the trench is 5 feet or deeper and a worker must enter it
    • D. A Cal/OSHA permit only if the trench is wider than 15 feet
    Show answer

    Correct answer: C

    • A. Nothing beyond the 811 ticket; Cal/OSHA issues no permits for trenches

      The 811 notice is a separate requirement; a Cal/OSHA permit is also needed.

    • B. A Cal/OSHA permit only if the trench will be more than 20 feet deep

      The permit trigger is 5 feet, not 20 feet.

    • C. A Cal/OSHA permit (annual or project), because the trench is 5 feet or deeper and a worker must enter it

      Correct answer

      Correct: 5 feet or deeper with a worker descending (T8 341).

    • D. A Cal/OSHA permit only if the trench is wider than 15 feet

      Width does not set the permit trigger.

    Explanation

    Cal/OSHA Title 8 section 341 requires a permit (annual or project) to construct a trench or excavation 5 feet or deeper into which any person is required to descend. Exceptions such as swimming pool excavations and trenches no person must enter do not apply here.

  3. 3. Workers are laying pipe in a trench 6 feet deep. Under Cal/OSHA, ladders or other ways out must be placed so no worker has to travel more than how far laterally to reach one?

    Core Trades

    • A. 10 feet
    • B. 15 feet
    • C. 20 feet
    • D. 25 feet
    Show answer

    Correct answer: D

    • A. 10 feet

      Closer than required.

    • B. 15 feet

      Closer than required.

    • C. 20 feet

      Closer than required.

    • D. 25 feet

      Correct answer

      Correct: 25 feet of lateral travel maximum (T8 1541).

    Explanation

    Cal/OSHA Title 8 section 1541 requires a trench 4 feet or more deep to have a stairway, ladder, ramp or other safe way out placed so no worker travels more than 25 feet laterally to reach it.

  4. 4. An excavator is stockpiling spoil next to an open trench with no retaining device. Under Cal/OSHA, how far back from the edge must the spoil be kept?

    Core Trades

    • A. At least 2 feet
    • B. At least 3 feet
    • C. At least 4 feet
    • D. At least 5 feet
    Show answer

    Correct answer: A

    • A. At least 2 feet

      Correct answer

      Correct: at least 2 feet (T8 1541).

    • B. At least 3 feet

      More than the rule requires.

    • C. At least 4 feet

      More than the rule requires.

    • D. At least 5 feet

      More than the rule requires.

    Explanation

    Cal/OSHA Title 8 section 1541 requires excavated soil and other materials or equipment to be kept at least 2 feet from the edge of an excavation, or held back by retaining devices, or both.

  5. 5. For a planned (non-emergency) excavation, when must the excavator notify the regional notification center (811) under the California Government Code, after marking the dig area?

    Core Trades

    • A. At least 24 hours and not more than 7 calendar days before digging
    • B. At least 2 working days and not more than 14 calendar days before digging
    • C. At least 5 working days and not more than 30 calendar days before digging
    • D. At least 10 calendar days and not more than 60 calendar days before digging
    Show answer

    Correct answer: B

    • A. At least 24 hours and not more than 7 calendar days before digging

      Too short a notice and too short a window.

    • B. At least 2 working days and not more than 14 calendar days before digging

      Correct answer

      Correct: 2 working days minimum, 14 calendar days maximum (GC 4216.2).

    • C. At least 5 working days and not more than 30 calendar days before digging

      Longer than the law requires, and the ticket window is 14 days.

    • D. At least 10 calendar days and not more than 60 calendar days before digging

      Not the legal notice window.

    Explanation

    California Government Code section 4216.2 requires the excavator to delineate the area first and then notify the regional notification center at least 2 working days, and not more than 14 calendar days, before the excavation begins. The day of the notice does not count toward the 2 working days.

    Source

  6. 6. It rained hard overnight on an open, shored trench. Under Cal/OSHA, what must happen before the crew goes back into the trench?

    Core Trades

    • A. A competent person must inspect the trench, adjacent areas and protective system
    • B. The trench must be backfilled and dug again
    • C. A registered engineer must redesign the shoring
    • D. Workers may enter once standing water is pumped out, with no inspection needed
    Show answer

    Correct answer: A

    • A. A competent person must inspect the trench, adjacent areas and protective system

      Correct answer

      Correct: an inspection is required after every rainstorm.

    • B. The trench must be backfilled and dug again

      Wrong: the code does not require re-digging.

    • C. A registered engineer must redesign the shoring

      Wrong: a redesign is not automatic; the required step is a competent person's inspection.

    • D. Workers may enter once standing water is pumped out, with no inspection needed

      Wrong: rain increases the hazard, so an inspection is required; pumping must also be monitored by a competent person.

    Explanation

    Title 8 section 1541 requires a competent person to inspect excavations, adjacent areas and protective systems daily before work starts, as needed during the shift, and after every rainstorm or other event that increases the hazard. If there are signs of a possible cave-in or failing protective system, exposed workers must be removed until it is made safe.

    Source

  7. 7. A trench shield (trench box) protects a crew laying pipe. Under Cal/OSHA, how far below the bottom of the shield may the trench be dug?

    Core Trades

    • A. Not at all; the shield must rest on the trench bottom
    • B. Up to 4 feet, if a competent person is present
    • C. Any depth, as long as workers stay inside the shield
    • D. Up to 2 feet, if the shield is designed for the full trench depth and no soil is being lost from behind or below it
    Show answer

    Correct answer: D

    • A. Not at all; the shield must rest on the trench bottom

      Wrong: up to 2 feet below is allowed under the stated conditions.

    • B. Up to 4 feet, if a competent person is present

      Wrong: the limit is 2 feet, not 4.

    • C. Any depth, as long as workers stay inside the shield

      Wrong: the open soil below the shield is limited to 2 feet.

    • D. Up to 2 feet, if the shield is designed for the full trench depth and no soil is being lost from behind or below it

      Correct answer

      Correct: 2 feet maximum, with the full-depth design and no soil loss.

    Explanation

    Title 8 section 1541.1: excavation of earth material to no more than 2 feet below the bottom of a shield is permitted, but only if the shield is designed to resist the forces calculated for the full depth of the trench and there are no signs of soil loss from behind or below the bottom of the shield.

    Source

  8. 8. A trench 8 feet deep with a 4-foot-wide bottom is dug in Type B soil. Both sides are sloped from the bottom at the steepest slope Cal/OSHA's Appendix B allows. How wide is the trench at the top?

    Core Trades

    • A. 12 feet
    • B. 16 feet
    • C. 20 feet
    • D. 28 feet
    Show answer

    Correct answer: C

    • A. 12 feet

      Wrong: slopes only one side (4 + 8).

    • B. 16 feet

      Wrong: uses the Type A slope of 3/4:1 (4 + 6 + 6).

    • C. 20 feet

      Correct answer

      Correct: 4 + 8 + 8 = 20 feet at 1:1.

    • D. 28 feet

      Wrong: uses the Type C slope of 1-1/2:1 (4 + 12 + 12).

    Explanation

    Title 8 section 1541.1, Appendix B: the maximum allowable slope for Type B soil in excavations less than 20 feet deep is 1:1 (1 horizontal to 1 vertical, 45 degrees). Each side runs back 8 feet over its 8-foot depth. Top width = 4 + 8 + 8 = 20 feet.

    Source

Test yourself

Try 25 free General Building practice questions from all five sections. Each answer explains the rule and names the code section it comes from. No sign-up.

See what the General Building exam covers