What codes are for
A building code is a set of minimum rules for how buildings must be built so they are safe to live in. Most rules exist because something went wrong in the past: a fire spread, a roof fell in, a family was poisoned by a heater.
Codes cover structure, fire safety, electrical, plumbing, heating, ventilation and energy use. They set a floor, not a goal. A house that just meets code is legal, not necessarily good.
The model codes
Most US places adopt model codes written by national groups, then change them locally.
- IRC (International Residential Code): houses, including structure and fire safety. It has an appendix for tiny houses.
- IECC (International Energy Conservation Code): insulation, air sealing and energy use, set by climate zone.
- NEC (National Electrical Code, NFPA 70): wiring and electrical safety, including solar and batteries.
- UPC or IPC (plumbing codes): water supply, drains and venting.
Each state, county or town picks which codes and which edition, or year, to use. Some rural areas adopt few codes or enforce them lightly. That does not make unsafe work safe.
Three kinds of rules
Three different sets of rules usually apply, often from different offices:
- Zoning decides what can go where: allowed uses, minimum home size, how far buildings sit from property lines (setbacks), and whether an RV can be a full-time home.
- Building codes decide how it is built. The building department checks them.
- Health rules cover septic systems and private wells. In many places, a county or state health or environmental office handles them.
Land can also carry private rules, such as deed restrictions or homeowner association rules.
Text description
A diagram with your project at the top and arrows to three boxes. Zoning: what can go where, such as allowed uses, minimum home size, setbacks from property lines, and RVs as full-time homes; handled by the zoning or planning office. Building codes: how it is built, covering structure, fire safety, electrical, plumbing, heating and energy, through model codes such as the IRC, IECC, NEC and the UPC or IPC; checked by the building department. Health rules: septic systems and private wells, such as whether a septic system can work and where a well can go; often handled by a county or state health office. A dashed box at the bottom says to also check private rules, such as deed restrictions and homeowner association rules. Offices and names vary by place.
Who usually decides?
Which set of rules usually covers each question? Offices and names vary by place.
- How far must the house sit from the property line?
- Is the wiring for the solar system safe?
- Can I live full-time in a tiny house on wheels here?
- Can a septic system work on this soil?
- How much attic insulation do I need?
- Where can a new private well go?
- Does the bedroom need a window big enough to escape through?
From permit to move-in
The details vary, but the usual path looks like this:
- Zoning check: confirm the use and placement are allowed.
- Permit application: submit plans, a site plan and fees.
- Plan review: the department checks the plans and may ask for changes.
- Inspections during building: often at the foundation, at framing, at rough-in (wiring, plumbing and ducts before walls are closed), at insulation, and others as required.
- Final inspection.
- Certificate of occupancy: the document that says the home can be lived in.
Work must stay open until it is inspected. Covering it early can mean tearing it open again.
Text description
A step-by-step flow from top to bottom. 1, zoning check: confirm the use and placement are allowed. 2, permit application: submit plans, a site plan and fees. 3, plan review: the department checks the plans and may ask for changes, which loops back to the application. 4, inspections during building: often at the foundation, at framing, at rough-in, when wiring, plumbing and ducts are in but walls are still open, at insulation, and others as required. Keep work open until it is inspected. 5, final inspection: the inspector checks the finished work. 6, certificate of occupancy: the document that says the home can be lived in. A note says the details vary by place.
Why it is worth it
Doing the work yourself
Many places let owners do some work on their own home, sometimes called owner-builder rules. What is allowed varies a lot.
- Some places let owners do their own electrical or plumbing work, with a permit and inspection. Others require a licensed trade.
- Gas lines, septic systems and wells are commonly limited to licensed professionals.
- Even where owner work is allowed, it must meet code and pass inspection.
Check
You buy rural land and plan a small cabin with solar and a septic system. What is the best first step?
Summary
- Building codes are minimum safety rules. Common model codes are the IRC, IECC, NEC and UPC or IPC.
- Zoning decides what goes where. Building codes decide how. Health rules cover septic and wells.
- The usual path: zoning check, permit, plan review, inspections, final, certificate of occupancy.
- Owner-builder rules vary. Gas, septic and wells usually need licensed pros.
- Ask early. Bring your brief.
Next, you will draw a small floor plan with orientation, windows and a heat-loss estimate.
Go deeper: reading a code without getting lost
Codes are long, and they are written for builders and inspectors. You do not need to read them cover to cover. Ask your building department which sections matter for your project, and which edition they use. Many model codes can be read free online in a view-only form from their publishers. When a section is unclear, ask the inspector how they read it. Their reading is the one that counts on your job.