Every year, property owners, general contractors, and subcontractors get sued over falls from stairs, balconies, decks, and mezzanines. Many of these lawsuits trace back to a single preventable problem: guardrails and handrails that do not meet building code. The code requirements for these safety features are not suggestions. They are minimum standards written into local, state, and national building codes, and violating them opens the door to serious financial and legal consequences.

Guardrails are the protective barriers installed along open sides of stairs, landings, balconies, and elevated floors. Their job is to stop people from falling off the edge. Handrails are the graspable rails that run alongside stairs and ramps, giving people something to hold onto while moving up or down. Both serve different but equally important safety functions. When a contractor builds a stairway or a balcony without following code specifications for height, spacing, strength, or continuity, they create a predictable hazard. If someone falls and gets hurt, the builder can be held liable under negligence, breach of contract, or strict liability theories.

The most common code violation involving guardrails is incorrect height. Residential codes typically require a guardrail height of at least thirty-six inches. Commercial and industrial codes often require forty-two inches. Builders sometimes cut corners by installing rails that are too low because it looks better or saves material. A low guardrail does not stop a person’s center of gravity from tipping over the edge. That means a child leaning against it, an adult stumbling into it, or someone carrying a heavy load can easily go over the top. If a guardrail is below code height and a fall occurs, the builder is almost certain to lose in court.

Another frequent violation involves baluster spacing. Balusters are the vertical posts between the top and bottom rails. Code requires that the space between balusters be small enough that a four-inch sphere cannot pass through. That standard exists to prevent small children from squeezing through or getting their heads stuck. Contractors sometimes use wider spacing to save money on materials or speed up installation. When a child falls through a gap or gets trapped, the liability falls squarely on the builder who ignored the spacing requirement.

Handrails have their own set of common violations. A handrail must be continuous along the full length of the stairway, with no breaks except at landings. It must be graspable — not too thick, not too thin, and shaped so a person can wrap their hand around it. Many contractors install decorative rails that look nice but are too wide or oddly shaped for a firm grip. Others stop the handrail short of the top and bottom steps, which leaves people without support at the most critical moments of starting and stopping the climb. Code typically requires handrails to extend at least twelve inches beyond the top and bottom risers. Missing those extensions is a straightforward violation that has caused countless falls.

Strength requirements are equally important. Guardrails must be able to withstand a concentrated load of at least two hundred pounds applied in any direction at the top. Handrails must resist two hundred pounds applied downward or outward. Builders who use undersized fasteners, weak materials, or improper anchoring create guardrails that collapse when someone leans on them. A collapsed rail is a catastrophic failure that usually results in severe injury and a clear-cut liability case.

From a legal perspective, building code violations create a strong presumption of negligence. Courts and juries understand that codes exist to protect public safety. When a contractor installs a guardrail that is too low or a handrail that is missing, the violation itself is often enough to establish that the builder failed to exercise reasonable care. The plaintiff does not have to prove the builder intended harm. They only have to show that the code violation existed and that it caused the injury.

In addition to negligence, builders can face liability under breach of implied warranty. Every construction project carries an implied warranty that the work will be performed in a workmanlike manner and that the finished structure will be fit for its intended use. A staircase with code-deficient guardrails is not fit for safe use. Homeowners and commercial property owners can sue to recover repair costs, medical expenses, lost wages, and pain and suffering. Subcontractors who installed the rails can be named as defendants alongside the general contractor.

Contractors should also understand that building code violations do not expire with time. Even if the project passed a final inspection, that does not shield the builder from liability if the inspector missed a defect or if the violation is later discovered after an accident. Many states have statutes of repose that limit how long after completion a lawsuit can be filed, but these periods are often ten years or longer. A builder can be sued over code violations a decade after the work was done.

Preventing this kind of liability is straightforward. Know the applicable code requirements for the jurisdiction and stick to them. Verify guardrail height with a tape measure on every stair and balcony. Check baluster spacing with a four-inch sphere. Confirm handrail continuity and graspability before final sign-off. Use load-tested materials and proper anchoring methods. Keep detailed records of inspections, materials used, and any code consultations. When in doubt, hire a code consultant or structural engineer. The cost of a professional review is trivial compared to the cost of a single fall lawsuit.

Building codes are not red tape. They are decades of accident data translated into clear rules. Ignoring those rules is not a shortcut — it is a lawsuit waiting to happen.