Excavation & Trenching Safety — OSHA 29 CFR 1926 Subpart P
🌐 Español
Why This Matters
Cave-ins are among the deadliest construction hazards. A cubic yard of soil weighs approximately 3,000 pounds, emphasizing the danger involved.
Competent Person
A competent person is required on every excavation. This person has the authority to identify hazards and stop work to ensure safety.
Soil Classification
Soils are classified into Type A (most stable), Type B, and Type C (least stable). The classification determines the required protective system.
Protective Systems
- Sloping
- Benching
- Shoring
- Shielding (trench boxes)
Protective systems are required at 5 feet depth or more.
Utility Location
Call 811 before you dig. Hand-dig within the tolerance zone. Mark all utilities to avoid hazards.
Access & Egress
Ladders, ramps, or stairs must be within 25 feet of workers in trenches 4 or more feet deep for safe access and egress.
Water, Atmosphere & Spoil
- Keep water out of excavations.
- Test the atmosphere in deep excavations.
- Spoil piles must be at least 2 feet from the edge.
Key Takeaways
- Cave-ins are extremely dangerous; soil weight is significant.
- A competent person is essential for excavation safety.
- Proper soil classification guides the use of protective systems.
- Protective systems are required at 5 feet depth or more.
- Always call 811 before digging and mark utilities.
- Access & egress must be readily available within 25 feet in trenches 4+ feet deep.
- Keep water out and spoil piles away from excavation edges.
Quiz: Test Your Knowledge
// Script to handle navigation and quiz logic
(() => {
const slides = document.querySelectorAll('.slide');
const prevBtn = document.getElementById('prev-btn');
const nextBtn = document.getElementById('next-btn');
const progressBar = document.getElementById('progress-bar');
const quizContainer = document.getElementById('quiz-container');
const quizForm = document.getElementById('quiz-form');
const submitQuizBtn = document.getElementById('submit-quiz');
const quizResult = document.getElementById('quiz-result');
let currentSlide = 0;
const totalSlides = slides.length;
// Update slide visibility and progress
function showSlide(index) {
slides.forEach((slide, i) => {
slide.classList.toggle('active', i === index);
});
// Update progress bar
const progressPercent = ((index + 1) / totalSlides) * 100;
progressBar.style.width = progressPercent + '%';
// Enable/disable nav buttons
prevBtn.disabled = index === 0;
nextBtn.disabled = index === totalSlides - 1;
if (prevBtn.disabled) prevBtn.setAttribute('aria-disabled', 'true');
else prevBtn.removeAttribute('aria-disabled');
if (nextBtn.disabled) nextBtn.setAttribute('aria-disabled', 'true');
else nextBtn.removeAttribute('aria-disabled');
// Show quiz on last slide
if (index === totalSlides - 1) {
quizContainer.classList.add('active');
document.getElementById('nav-buttons').style.display = 'none';
} else {
quizContainer.classList.remove('active');
document.getElementById('nav-buttons').style.display = 'flex';
}
// Clear quiz result on slide entry
quizResult.textContent = '';
}
// Navigate to previous slide
prevBtn.addEventListener('click', () => {
if (currentSlide > 0) {
currentSlide -= 1;
showSlide(currentSlide);
}
});
// Navigate to next slide
nextBtn.addEventListener('click', () => {
if (currentSlide < totalSlides - 1) {
currentSlide += 1;
showSlide(currentSlide);
}
});
// Keyboard navigation with left/right arrows
document.addEventListener('keydown', (event) => {
if (event.target.tagName.toLowerCase() === 'input') return; // Ignore if typing in quiz
if (event.key === 'ArrowRight') {
if (!nextBtn.disabled) nextBtn.click();
} else if (event.key === 'ArrowLeft') {
if (!prevBtn.disabled) prevBtn.click();
}
});
// Enable submit button only when all questions answered
quizForm.addEventListener('change', () => {
const allAnswered = [...quizForm.elements]
.filter(el => el.type === 'radio')
.every(radio => {
const name = radio.name;
const radios = quizForm.querySelectorAll(`input[name="${name}"]`);
return Array.from(radios).some(r => r.checked);
});
submitQuizBtn.disabled = !allAnswered;
});
// Quiz correct answers keys
const correctAnswers = {
q0: '5',
q1: 'competent-person',
q2: '2-feet',
q3: 'call-811',
q4: '25-feet'
};
// Quiz submission
quizForm.addEventListener('submit', (e) => {
e.preventDefault();
let correctCount = 0;
for (const [q, correctAns] of Object.entries(correctAnswers)) {
const selected = quizForm.querySelector(`input[name="${q}"]:checked`);
if (selected && selected.value === correctAns) correctCount++;
}
const totalQuestions = Object.keys(correctAnswers).length;
const scorePercent = (correctCount / totalQuestions) * 100;
// Display result
if (scorePercent >= 70) {
quizResult.textContent = `You passed! Score: ${correctCount} out of ${totalQuestions} (${scorePercent.toFixed(0)}%)`;
quizResult.style.color = 'green';
} else {
quizResult.textContent = `You did not pass. Score: ${correctCount} out of ${totalQuestions} (${scorePercent.toFixed(0)}%). Try again.`;
quizResult.style.color = 'red';
}
// SCORM API call for completion and score
if (typeof ScormProcessSetValue === 'function' && typeof ScormProcessCommit === 'function') {
ScormProcessSetValue('cmi.core.score.raw', scorePercent.toFixed(0));
ScormProcessSetValue('cmi.core.lesson_status', scorePercent >= 70 ? 'passed' : 'failed');
ScormProcessCommit();
}
});
showSlide(currentSlide);
})();