Code compliance — what building codes mean for your project
This article is for educational purposes only and is not a substitute for professional advice. Local codes, regulations, and best practices vary by region.
Building code is the set of rules that govern how homes are built. It specifies how far electrical outlets must be from a sink, how much weight a deck railing must support, what insulation value your walls need, how many electrical circuits a kitchen requires, and thousands of other requirements. Code compliance means your home meets these standards. It sounds tedious, but code exists because previous non-compliance created fires, injuries, and failures. Understanding what code is and why it matters helps you make informed decisions about your projects.
What Code Is
Building code is a document, often hundreds of pages, that specifies how buildings must be constructed. It covers structural elements, electrical systems, plumbing, ventilation, accessibility, fire safety, energy efficiency, and more. Different jurisdictions adopt different codes. Many areas adopt a national model code (like the International Building Code) and then modify it with local amendments.
Code isn’t arbitrary. It’s based on science, engineering, and lessons from past failures. A requirement about the spacing of deck posts exists because decks have collapsed when posts were spaced too far apart. A requirement about GFCI protection on bathroom outlets exists because people have been electrocuted by wet hands in bathrooms. Code requirements exist because something bad happened without them.
Why Code Matters
Code compliance ensures your home is safe. A properly built home won’t collapse, won’t catch fire due to electrical problems, won’t flood due to improper grading, and won’t fail prematurely due to inadequate structure or materials. Code also protects property values. A home built to code is safer and more valuable than one built without regard to code.
Code compliance is required by law. Building permits require that work meets code. If you do unpermitted work that doesn’t meet code, you’re breaking the law and exposing yourself to liability.
Code Is Specific and Technical
Building code is written for professionals. It’s technical and detailed. It might specify that a deck beam must be a “2x10 or better, or engineered equivalent,” that electrical outlets must be within 6 feet of any point along the wall, or that attic ventilation must equal one square foot per 150 square feet of attic space.
You don’t need to memorize code. But you need to understand that code requirements are specific. A contractor who says “it meets code” should be able to explain exactly how and point to the specific code requirement.
How Your Jurisdiction’s Code Works
Your local building department enforces code. They’ve adopted a specific code (usually the International Building Code plus local amendments). When you apply for a permit, your plans are reviewed for code compliance. When inspections happen, the inspector verifies work meets that code.
Different jurisdictions adopt different versions of model codes and make different amendments. This is why code varies by location. A requirement in one city might not exist in another city 30 miles away.
Common Code Requirements
Electrical code specifies outlet and switch placement, circuit requirements, grounding, and safety devices. A kitchen needs circuits dedicated to countertop outlets and appliances. A bathroom needs GFCI-protected outlets. Electrical work must be installed by a licensed electrician in most cases.
Plumbing code specifies pipe sizes, slope requirements, trap requirements, and venting. A poorly sloped drain will clog. An improperly vented drain will slow. Code prevents these problems.
Structural code specifies how structures must be built to support loads. A deck railing must withstand a 200-pound force. Roof trusses must support snow load in your area. These requirements prevent collapses.
Energy code specifies insulation values, air sealing requirements, and window efficiency. These requirements reduce heating and cooling costs.
Fire code specifies requirements to prevent and contain fires. It addresses egress (how people escape), smoke alarms, and fire-resistant materials in certain applications.
When Code Is Enforced
Code is enforced through the permit and inspection process. When you get a permit, your plans are reviewed for code compliance. During construction, inspectors verify work meets code. If it doesn’t, you fix it.
Code is not enforced for unpermitted work until someone reports it or it becomes an issue. If you do unpermitted work and later try to sell your home, your disclosure statements should reveal the unpermitted work. Buyers and their inspectors often identify it. You’ll be forced to remediate it or reduce your sale price.
Code Updates Over Time
Code changes periodically (usually every three years for the model codes). When new code is adopted, it applies to new work but typically not to existing homes. If your home was built to code 20 years ago, it probably doesn’t need to be updated to current code just because code changed. But if you’re doing major renovation work, the new work must meet current code.
This means your home might have electrical systems that wouldn’t meet today’s code. But since they were built to code when installed, they don’t need to be updated unless you’re renovating that system.
Contractors and Code
Professional contractors know code. They understand the requirements for their trade and ensure their work meets code. When you hire a contractor, you’re partly hiring their knowledge of code requirements.
A contractor who understands code can answer questions about why something must be done a certain way. They can point to the specific code requirement. They coordinate with building inspectors smoothly because they know what to expect.
A contractor who doesn’t understand code or doesn’t care about it is problematic. They might do work that doesn’t meet code, creating safety problems and code violations.
You and Code
You don’t need to memorize code. But you should understand that code requirements are real and important. They exist to make your home safe. Contractors should understand and comply with code. Inspectors verify compliance. If someone suggests skipping code compliance to save money or time, that’s a red flag.
For DIY work, you can research the code requirements for your specific project. Your local building department can often point you to the relevant code sections. It’s worth understanding what code requires before you start work.
The Reality
Code compliance might seem like bureaucratic overhead. But it’s really about safety. Code requirements exist because previous homes failed catastrophically without them. Your home’s safety, your insurance coverage, and your home’s resale value all depend on code compliance.
Professional contractors understand this. They comply with code routinely. Code compliance is not a punishment or an unnecessary expense. It’s the foundation of a safe, valuable home.
© The Whole Home Guide