Skip to main content

    SiteKiln gives you plain-English information, not legal advice. If you need advice specific to your situation, talk to a qualified professional.

    Trenching and excavation safety

    7 min read·Reviewed August 2026
    By Scott JonesFirst published Jul 9, 2026Updated Sep 5, 2026
    Site Safety & OSHA

    How this site is funded →

    A trench can bury you in seconds, and a cave-in gives no warning. A single cubic yard of soil weighs about as much as a small car, so being caught in one is usually fatal, and you cannot dig yourself out. That is why OSHA's rule is blunt: any trench 5 feet deep or more needs a protective system unless it is solid rock or a competent person has examined it and cleared it. Never step into an unprotected trench, however quick the job feels. The "I'll just hop in for a second" is exactly what kills people every year.‍‌​​​‌​‌‌‌‌‌‌‌​‌‌‌​‌‌​​‌‌​‌​‌‌‌​‍

    Protecting a trench

    At 5 feet, you need one of these before anyone goes in:

    • Sloping or benching: cutting the walls back to a safe angle so they cannot collapse inward.
    • Shoring: supports pushed against the walls to hold them.
    • A trench box (shield): a steel box that protects workers inside even if the walls give.

    Which one is right depends on the soil, so this is a competent-person decision, not a guess.

    How far back is "cut back"?

    This is the number the rule actually turns on, and it depends on how the competent person classifies the soil. For any excavation less than 20 feet deep, Table B-1 of OSHA's Appendix B sets the steepest slope allowed:

    Soil or rock type Maximum allowable slope (H:V) Angle from horizontal
    Stable rock vertical 90 degrees
    Type A 3/4:1 53 degrees
    Type B 1:1 45 degrees
    Type C 1 1/2:1 34 degrees

    Read the ratio as horizontal run to vertical rise. A 1 1/2:1 slope in Type C means that for every 1 foot of depth you cut the wall back 18 inches, so a 6-foot trench needs 9 feet of run on each side before anyone steps in. That is a lot of ground, and it is why a trench box is usually the practical answer on a tight site.

    There is a shortcut, and it is the one most small crews should use. Under 1926.652(b)(1)(i) you can skip soil classification altogether by sloping at no steeper than 1 1/2 horizontal to 1 vertical (34 degrees), which is the Type C figure. Type C is the worst case, so a slope cut for it is safe in any soil. You give up ground to gain simplicity, and you avoid betting a life on a soil call nobody on site is qualified to make.

    One allowance worth knowing: Type A soil in an excavation 12 feet deep or less may be cut to 1/2:1 (63 degrees) for short-term exposure only. Past 12 feet that short-term figure drops back to 3/4:1. And anything deeper than 20 feet has to be designed by a registered professional engineer, whichever system you pick.

    Two trench box rules that catch people out

    • Nobody is allowed inside a shield while it is being installed, removed, or moved vertically (1926.652(g)(1)(iv)). Riding the box down is a common shortcut and it is expressly prohibited.
    • You may dig up to 2 feet below the bottom of the shield, but only conditionally (1926.652(g)(2)): the box has to be designed to resist the forces of the full trench depth, and there must be no sign of soil loss from behind or below it. Otherwise the bottom of the box is the bottom of your dig.

    The depth thresholds

    • 2 feet from the edge: keep your spoil pile, materials, and equipment back from the edge, so nothing slides in on top of a worker.
    • 4 feet deep: provide a safe way out (a ladder, ramp, or steps) within 25 feet of any worker, and test the air for low oxygen or toxic gas.
    • 5 feet deep: a protective system is required, unless stable rock or a competent person clears it.
    • 20 feet deep: the protective system has to be designed by a registered professional engineer.

    The competent person

    Every trench needs a competent person: someone trained to spot cave-in and other hazards, with the authority to stop work and fix them. They have to inspect the trench before work starts and again as needed through the shift, not just once in the morning (1926.651(k)(1)). An inspection is also required after every rainstorm or other hazard-increasing occurrence, which in practice means water getting in, a vibration source starting up nearby, or a load being set down near the edge. If there is no competent person on site, the trench should not be open.

    The inspection is not a formality. A competent person is looking for evidence of a possible cave-in, signs that the protective system itself is failing, hazardous atmospheres, and any other hazardous condition. If they find one, employees come out of the trench until it is fixed.

    Before you dig

    Call 811 to have underground utilities located first. A trench is not just a cave-in risk, it is where crews hit gas lines and buried power, so locating utilities is step one, not an afterthought.

    Common questions

    How deep can a trench be before it needs a protective system?

    Under federal OSHA, any trench 5 feet deep or more needs a protective system: sloping, benching, shoring, or a trench box. Below 5 feet a competent person can examine the ground and decide a system is not needed, and trenches cut entirely in stable rock are exempt. In practice most soils are not stable, so treat any trench at or past 5 feet as needing protection.

    Do I need a ladder in a trench?

    Yes, at 4 feet deep or more you must provide a safe way out within 25 feet of any worker. That can be a stairway, ladder, ramp or other safe means of egress, and the 25 feet is lateral travel, so it is the distance a worker has to walk along the trench to reach it (1926.651(c)(2)). Air testing is a separate rule and a narrower one: below 4 feet it is not required at all, and past 4 feet it is required where oxygen deficiency or a hazardous atmosphere exists or could reasonably be expected, which the standard illustrates with landfill ground and excavations near stored hazardous substances (1926.651(g)(1)(i)). Oxygen deficient means under 19.5 percent. If you are digging anywhere that fits that description, test before anyone enters.

    How far from the trench edge should the spoil pile go?

    Keep the spoil pile, materials, and equipment at least 2 feet back from the edge of the trench. Weight sitting at the lip adds load to the trench wall and can slide in on top of a worker. Setting it back is one of the cheapest things you can do to prevent a cave-in.

    Who is allowed to inspect a trench?

    Only a competent person: someone trained to spot cave-in and other hazards, with the authority to stop work and fix them. They have to inspect before each shift, after any rain or water intrusion, and after anything else that could affect the walls. If there is no competent person on site, the trench should not be open.

    Do I have to call 811 before digging a trench?

    Yes, call 811 to have underground utilities located before you break ground, and it is free. Crews hit gas lines and buried power in trenches every year, so locating utilities is step one, not an afterthought. Wait for the lines to be marked before you dig.

    The honest bit

    • These are the federal OSHA rules. State-plan states can add to them. See Working in Your State.
    • This is general guidance, not training. Choosing and installing a protective system correctly for your soil is exactly what a competent person is for, so get one before the trench is open, not after.

    Know someone who needs this?

    Templates you might need

    Sources

    How this site is funded →

    Was this guide useful?

    Didn't find what you were looking for?

    Spotted something wrong or out of date? Email us at hello@kilnguides.co.uk.

    In crisis? 988 Suicide & Crisis Lifeline 988 ·

    How this site is funded →