Skip to content
LawnElm

Rules

Fence and deck permits: what to ask your building office

There is no national fence or deck permit. Your city or county decides what needs one, how far from the lot line you must build and when an inspector comes. One phone call settles most of it.

By LawnElm Editorial Team Updated 7 min read

Who decides
Your city or county
First step
Call the code official
Also call
811 before digging
Illustration: a fence line and a small deck on a lot plan, with a dashed setback line inside the property boundary

Short version

Permit rules, setbacks and inspections for fences and decks come from your local building or planning office, and some neighborhoods add homeowners' association rules on top. Call the office before you buy materials, ask whether your project needs a permit, how far it must sit from the property line and which inspections apply, and ask who will apply: you or the contractor. Call 811 before any post hole or footing is dug. The state yards map covers state-level yard rules, but the state pages do not give a statewide fence or deck permit rule.

Who sets the rules

Building codes are adopted and enforced locally. The International Code Council, which writes the model codes many places start from, tells homeowners to talk to their local code official, and the ICC Building Safety Journal says new deck construction is regulated locally and that homeowners should contact the local building code official about requirements and permitting. A fence may be handled by the same office or by a zoning or planning department.

Three kinds of rule can apply to the same fence or deck, and they are written by different bodies.

  • Building code and permit. Set by your city or county building department. It covers whether you need a permit, how the structure is built and which inspections apply.
  • Zoning and setbacks. Also local. A setback is the minimum distance a fence, deck or building must stay from a property line, street or other feature. See the glossary.
  • Private rules. A homeowners' association may require approval before you build, even where the city does not. See HOA and city yard rules.

The state pages on this site record lawn, pesticide and 811 rules. They do not describe a statewide fence or deck permit rule, and LawnElm does not give one. Start with your own city or county.

Why a permit

The ICC's guide for homeowners says a permit gives you legal permission to start construction under approved drawings and specifications. It says permits let the code official reduce the hazards of unsafe construction, and that code-compliant work is less likely to cause injury and should keep your investment's value intact.

The same guide lists what can happen if you skip a required permit. Property insurers may not cover work done without permits and inspections. When you sell, you may have to remove the addition, leave it unused or pay for costly repairs. And without the official's records showing that code requirements were met, you have less protection if a lawsuit arises.

Whether your fence or deck needs a permit at all is for the local office to say. The ICC advises discussing your plans with the code official before you begin construction to find out. Even when no permit is needed, it says the official can answer construction questions.

The steps for a permit

The ICC describes the homeowner process like this. Your office may work differently, so treat it as an outline.

  1. Talk to the code official. They ask what you plan to do and where, explain the requirements and may refer you to other departments.
  2. Submit an application with the job details and any sketches or plans. The ICC suggests bringing the who, what, when, where and how of the job.
  3. Wait for review. If something does not comply, the official may suggest fixes.
  4. Receive the permit and pay the fee, which the ICC says is based on the size of the job.
  5. Request inspections as the work goes on. The ICC says the official will estimate how many inspections you need and that a one- or two-day notice is usually needed when you request a visit.
  6. When the work is complete and compliant, the official provides documentation. Keep it with your house records.

For a fence, the plans are usually a sketch of the lot with the fence line, the length and the gate positions. Measure the run in feet, then use the fence and deck tool to count posts, rails and pickets or boards, and bring those numbers when you ask.

Questions to ask the office

  • Does a fence or deck of this size, height and position need a permit?
  • How far from the property line, the street and any easement must it stay?
  • Is there a height limit, or a rule for fences on a corner lot or beside a street?
  • How deep must post holes or footings go in this area?
  • Does the deck attach to the house, and is it raised or at ground level?
  • Which inspections are required, and how much notice does the office need?
  • How long does a permit last, and what happens if the work is not finished in time?
  • Do I need a boundary survey, and is the property line where I think it is?

Setbacks are measured from the legal property line, which is not always where the old fence stands. LawnElm does not give survey or legal advice, so if you are unsure where the line is, ask a licensed surveyor.

Decks need extra care

The ICC Building Safety Journal, in a July 2020 article, says the deck ledger should be positively connected to the floor structure of the house with bolts or lag screws, not nails, and calls a ledger attached solely by nails potentially dangerous. It reports that deck collapses most often result from failure of ledger connections that used nails, and that collapses have happened with as few as one or two people on the deck. It also says all decks, and especially elevated ones, should be inspected regularly by a qualified inspector.

The Consumer Product Safety Commission's outdoor repairs checklist advises checking for loose hardware, rotting boards and eroding foundations before you step onto a deck, and says to have the deck professionally inspected if you can. Details for building and repair are in deck installation and deck repair and sealing.

Who pulls the permit

If you hire a contractor, settle in writing who applies. The Federal Trade Commission lists the contractor's obligation to obtain all necessary permits as a term to put in the contract, and it lists a contractor who asks you to get the permits as a warning sign of a home-improvement scam. Ask for the permit number, and confirm it with the office. The contracts and quotes guide covers the other terms.

Before any hole is dug, file the free locate request. See call 811 before you dig. For the work itself, see fence installation and fence repair and staining.

Questions people ask

Do I need a permit for a fence or deck?

It depends on your city or county. The ICC advises talking to the local code official about your plans before you begin, and the ICC Building Safety Journal says new deck construction is regulated locally. Call the building office and ask about your specific size and location.

How close to my property line can I build?

That is a setback, and your city or county sets it. Ask the planning or zoning office, and check any homeowners' association rules. LawnElm does not give legal or survey advice.

What happens if I build without a permit?

The ICC says insurers may not cover work done without required permits and inspections, you may have to remove or repair the structure when you sell, and you have less protection in a lawsuit.

Does my contractor handle the permit?

Only if the contract says so. The FTC lists the contractor's obligation to obtain permits as a contract term and treats a contractor who asks you to get the permits as a warning sign. Get the answer in writing.

Sources

Checked on November 20, 2026. This page gives no height, size or setback figures because they are set locally; the ICC model code text could not be read for this edition. Your city or county building office has the rules that apply to your lot.