Home Repair Decoded

Do I Need a Permit to Build a Fence?

Short answerIt depends on your city or county, because fence rules are local. The 2015 International Residential Code exempts fences up to 7 feet from a building permit, but many places change that: some draw the line at 6 feet, and others require a permit for any new fence. Confirm with your local building department before you build.

What the model code says

The International Residential Code (IRC) is a model code that states and cities adopt and can change. The 2015 edition, as published by Springville, Utah, exempts fences not over 7 feet high. It also says an exemption doesn't allow work that violates the code or other local laws.

Local examples show the range

These are examples only, and rules change.

What to ask

Call or check the website of your city or county building department before you start, and give them your address and a short description of the job.

Why it's worth asking first

Portland, Oregon's 2022 permit guide says inspections catch problems early, that buyers, realtors or lenders may require unpermitted work to be corrected before closing, and that a lack of permits and inspection approvals may void insurance. Even where no permit is needed, the work generally still has to meet code and zoning rules.

Permit offices in major cities

Common questions

Do I need a permit to replace an old fence?
It may depend on how much you replace. Bedford, Texas, for example, requires one for repairs or replacements over 25% per side. Ask your building department.
Is there one height limit for the whole country?
No. The IRC's 7-foot figure is a model, and cities can and do set lower limits. Your local rule is the one that applies.

Related questions

Last verified 2026-11-03

Sources

General information, not professional advice. Conditions, codes and prices vary. Turn off power, gas or water before any work, and hire a licensed professional when in doubt. Cost figures are our estimates, not quotes.