Whether or not anything in your home is in fact “to code” is a mystery to most homeowners. And in terms of small work that’s been done over the years – whether it's replacing an air conditioning unit, installing a bathroom vanity or doing electrical maintenance – there’s a good chance it’s not.

Most municipalities in the U.S. have adopted a set of building codes that establish standards for properties, aimed at ensuring the health, safety and general well-being of their occupants. The specificity of building codes range from requirements for ensuring a floor can bear an adequate load to the distance a toilet must be away from the wall.

The strictest attention is paid to new construction homes, where code inspectors will visit the property multiple times before it is completed, explains George Hank, director of the City of Madison Building Inspection division in Wisconsin. Inspectors will check the site repeatedly to ensure the foundation is poured correctly, walls are secured properly and even radon mitigation hardware is installed sufficiently.

“It seems to be an ever-increasing number of things that we look for, which is a good thing because they’re things that make the building even better,” Hank says.

Building codes can vary from city to city, depending on differences in geography and climate, but they often follow similar standards and are accessible through your local government. However, despite being a part of every building process in incorporated municipalities throughout the country, they're often not well understood by property owners. Here are answers to common questions about residential building codes.

[See: 12 Home Improvement Shortcuts That Are a Bad Idea.]

Is your house to code? Probably not.

A newly built home will be built to code, beginning with the plans and permits and checked each step of the way until a final inspection by the city and certificate of occupancy is issued.

But once a resident moves into the home, that’s often where code compliance goes off track.

“Having someone perform a code inspection on an old house just gets you a laundry list of codes it doesn’t meet,” says Jim Davis, owner of About the House Inspection Services in Houston. General inspectors like Davis do not check for code compliance, but rather they look for general issues with the home, such as poor workmanship in a finished basement or leaky plumbing that could be causing water damage.

When general inspectors do come upon some work that’s been done, like a newly installed water heater, that fails to follow local standards, Davis says the rule in Texas is to note it “doesn’t meet current standards.”

But a building code violation doesn’t necessarily mean it has to be fixed, as long as you’re maintaining your home properly. And if a code violation isn’t posing a health threat or creating a nuisance to others, you’re often in the clear, even with city officials. It's when the magnitude of the project reaches a certain point, like a complete overhaul of a room, that you need to follow the code's guidelines more closely.

“If somebody’s replacing a toilet in a 1910 house, we’re not going to make them move walls around,” Hank says. “If they’re going to remodel the bathroom, and they’re doing a substantial amount of work to it, or a total gut of a single-family home, we are going to make them make those type of corrections.”



Will it kill your ability to sell a house? No.

Davis says existing homes often have a number of things that technically violate local code, though they don’t necessarily pose an immediate danger. “You wouldn’t force somebody to bring a house up to code because if you did, none would ever sell,” Davis says.

A real estate transaction typically includes a general inspector, like Davis, who checks for deficiencies in the home or perhaps poor workmanship that could affect a person’s desire to purchase it or a lender’s willingness to issue a loan.

City inspectors, who check for code compliance, are rarely – if ever – involved in a real estate transaction. Hank notes the state of Wisconsin passed a law last year that prohibits municipalities from requiring a home to pass a building code inspection prior to sale.

[See: Weird Home Features That May Confuse Homebuyers.]

Does it mean you’re in danger? Maybe.

While there are any number of things in your home that can stray from the adopted building code without posing an immediate threat to anyone, the codes are an effective way for the local government to require compliance to avoid harm to individuals.

“The codes are all about minimizing risk,” explains Dominic Sims, CEO of the International Code Council, which has established building codes for various property types that have been adopted throughout the U.S. and other countries.

Under the ICC’s "International Residential Code for One- and Two-Family Dwellings," any lighting or electrical outlet near swimming pools, for example, must adhere to strict distances from the pool and not be positioned directly above the water, reducing the possibility for accidental electrocution.

On the other side of the danger spectrum, the ICC's residential code also requires any hinged shower doors to swing outward, away from the shower. While mandating that a shower door swing a certain direction intends to keep all who use it safe, a person comfortable with the space would likely not be in immediate danger by pulling it inward.

How do you know it’s to code? Ask for permits.

Particularly if you’re planning to purchase a home, there’s good reason to want to ensure any major work was done to the local code requirements. Davis recommends contacting the municipality for permits obtained for the home you’re interested in – and also having a general inspector check the quality of work completed.

“Usually the workmanship is just bad, it has nothing to do with codes. It’s just poor work because somebody’s brother-in-law had a six-pack, and he watched HGTV a couple times and says, ‘Hey Martha, it can’t be that bad. I think I can do it – give me a sledgehammer.’”

It’s when major work hasn’t been permitted that a problem could arise, as most state or local laws dictate that the current homeowner is responsible for resolving any code violations. So if you buy a home and neglect to check for the permit on the kitchen addition the seller did a few years ago, you’ll likely find yourself shouldering the cost of redoing it properly.

[See: 9 Alternative Building Materials to Consider for Your Home.]

Can you fix a code violation? Yes.

When a municipality receives a code violation complaint, a city inspector will visit the property to verify if the complaint is valid. If it is, they’ll notify the property owner, telling them what corrections need to be made and how long they have to make them.

In the event of a code violation being found on a construction site, the inspector puts a hold on all work until the correction is made.

In either case – with a new or existing building – if the property owner doesn’t take the proper steps to reach code compliance, Hank says the next step is prosecution by the city attorney, though he says that is rare.

Once a code violation is identified, Davis says it will typically be corrected as quickly as possible because there aren’t exceptions to the code adopted by the municipality: “When [city inspectors] find a violation, there are no personal agendas … It’s what the code says, and it’s what the code requires.”

Tags: home improvements, housing, housing market


Devon Thorsby is the Real Estate editor at U.S. News & World Report, where she writes consumer-focused articles about the homebuying and selling process, home improvement, tenant rights and the state of the housing market.

She has appeared in media interviews across the U.S. including National Public Radio, WTOP (Washington, D.C.) and KOH (Reno, Nevada) and various print publications, as well as having served on panels discussing real estate development, city planning policy and homebuilding.

Previously, she served as a researcher of commercial real estate transactions and information, and is currently a member of the National Association of Real Estate Editors. Thorsby studied Political Science at the University of Michigan, where she also served as a news reporter and editor for the student newspaper The Michigan Daily. Follow her on Twitter or write to her at dthorsby@usnews.com.

Recommended Articles

What to Know: Tenant Rights in Texas

Devon Thorsby | Feb. 15, 2019

Here's how renters in Texas fare when facing a dispute with their landlord.

Measuring Your Home's Square Footage

Devon Thorsby | Feb. 13, 2019

Know exactly how big your house is, and maximize the way you use it.

5 Travel-Inspired Home Decorating Ideas

Sally Forster Jones | Feb. 12, 2019

Transform your home's interior with a few simple projects that highlight the time you've spent in other parts of the world.

What to Know About a Pending Home Sale

Devon Thorsby | Feb. 8, 2019

As the buyer, seller or interested outside party, here's what you need to do while a real estate deal is pending.

10 Home Renovations Under $5,000

Devon Thorsby | Feb. 6, 2019

How to get the most impact from your renovation when you're on a tight budget.

4 Eco-Friendly Upgrades for Your Home

Sally Forster Jones | Feb. 6, 2019

You can improve your home with green features, but you don't have to sacrifice a sleek design.

What to Know: California Tenant Rights

Devon Thorsby | Jan. 30, 2019

What renters in the Golden State should know before they go toe-to-toe with their landlord.

How to Find a Room for Rent

Geoff Williams | Jan. 29, 2019

If you're relocating or you have poor credit, subletting a room can be a smart financial move.

The Best Places for Young Professionals

Devon Thorsby | Jan. 25, 2019

These places offer the job market, affordability and reputation recent grads are looking for.

First-Time Homebuyer Programs in Florida

Devon Thorsby | Jan. 25, 2019

State and local options provide financial assistance and teach about effective homeownership.

What Is a Condo – and Should I Buy One?

Geoff Williams | Jan. 23, 2019

Consider fees, association rules and mortgage rates before committing to condo ownership.

5 Healthy Enhancements for Your Home

Sally Forster Jones | Jan. 23, 2019

These easy changes to your home and how you maintain it can help you live healthier all year round.

How to Become a Real Estate Agent

Devon Thorsby | Jan. 18, 2019

Follow these steps to start on the path to being a successful real estate agent.

How to Find a Real Estate Agent

Devon Thorsby | Jan. 18, 2019

Here's how to find a real estate agent to help you confidently navigate a home sale or purchase.

How to Break Your Apartment Lease

Devon Thorsby | Jan. 18, 2019

Five options for you to end your rental contract before time is up.

How to Back Out of a Real Estate Deal

Devon Thorsby | Jan. 18, 2019

Here are your best options for bowing out of a home purchase or sale without ruffling too many feathers.

The Best Places to Live in Florida

Devon Thorsby | Jan. 18, 2019

See how the most populous metro areas in the Sunshine State compare to each other.

6 Tax Breaks for Homeowners

Devon Thorsby | Jan. 16, 2019

Keep these deductions in mind as your prepare for your next tax filing.

How to Tackle Major Home Winter Repairs

Devon Thorsby | Jan. 11, 2019

Avoid a bigger disaster when faced with freezing pipes, a broken window, power outage or roof leak.

Clever Tricks to Rejuvenate Your Home

Sally Forster Jones | Jan. 9, 2019

Simple improvements that will make your living space feel new again on a small budget.