In most cases, yes — you do need a building permit for a fence, though whether one is required depends on your local code. The International Residential Code exempts fences under seven feet, but many cities and counties set stricter thresholds, and height, placement, materials, and zoning all factor into the answer. Before you buy posts or dig, check with your local building or planning department.
Height Is the Main Trigger
Fence height is the single biggest reason a permit gets required. The common pattern: backyard fences under six feet are typically exempt, and anything taller needs a permit. Front yards almost always have a lower ceiling, often three to four feet, because taller fences near the street block drivers’ sightlines. If your fence runs through both the front and back yard, the stricter front-yard limit usually applies wherever the fence is visible from the street.
These thresholds are not universal. Some communities require a permit for any new fence regardless of height. Others follow the IRC’s more generous seven-foot exemption. The only reliable way to know your threshold is to ask your local building or planning department before you order materials.
Materials That Change the Answer
A standard wood or vinyl fence under the height limit often flies under the permit radar. Masonry, stone, brick, and concrete fences are treated differently. Many jurisdictions classify these as structural walls and require engineering review to confirm they can handle wind loads without toppling. Some localities require masonry or brick fences above a set height to include stamped plans from a licensed engineer, which adds cost and time.
Even where the material itself does not trigger a permit, some building departments restrict what you can use. Certain types of wire fencing may be banned in residential zones. If you are planning anything beyond a basic wood, vinyl, or chain-link fence, confirm material restrictions with the local zoning office first.
Where the Fence Sits Matters as Much as How Tall It Is
Most zoning codes require a setback from the property line or the road. Building inside that buffer without approval can result in a forced removal. The required distance varies, but the goal is the same everywhere: preserve access to the public right-of-way and prevent neighbor disputes.
Utility easements are a separate problem. An easement is a strip of your property where a utility company has the legal right to access buried lines or overhead wires. You can usually build a fence across an easement, but the utility can tear it down to reach the infrastructure, with no obligation to rebuild. A few will reconstruct as a courtesy; most will not. Check your deed or plat for easement locations before you finalize the layout. A fence in an easement is always at your own risk.
Corner lots face the strictest placement rules. Zoning codes create a “sight triangle” at the intersection where nothing above roughly two to three feet can obstruct the driver’s view. Within that triangle, expect your fence to be capped somewhere between 24 and 36 inches. Building taller there is one of the fastest ways to earn a code enforcement visit.
Locating your property lines accurately is not optional. A fence built even a few inches onto a neighbor’s land can trigger a boundary dispute, and courts regularly order encroaching fences removed. A professional survey, which typically costs several hundred dollars for a standard lot, gives you a legally defensible map. It is cheaper than a lawsuit.
Pool Fences Follow Stricter Rules
If the fence is going around a swimming pool, the standard yard-fence rules do not apply. The IRC’s Appendix G sets the baseline most jurisdictions follow: pool barriers must be at least 48 inches tall, with no gaps large enough for a four-inch sphere to pass through.1ICC. International Residential Code Appendix G – Swimming Pools, Spas, and Hot Tubs Gates must be self-closing and self-latching, with the release mechanism on the pool side or at least 54 inches above the ground.
Chain-link pool fences have a maximum mesh size of 2¼ inches, and fences with horizontal rails spaced less than 45 inches apart must have those rails on the pool side so children cannot climb them.1ICC. International Residential Code Appendix G – Swimming Pools, Spas, and Hot Tubs Many jurisdictions also require audible alarms on any door or window that opens directly into the pool area. Inspectors scrutinize pool fences closely because the rules exist to prevent child drownings.
Historic Districts and HOAs Add Separate Approvals
Properties in designated historic districts face review that goes beyond standard permits. A historic review board evaluates design, materials, color, and placement to ensure the fence fits the district’s character. Front-yard fences are often capped well below the standard residential maximum, and the style may need to match the period architecture. The review runs separately from the building permit and can add weeks or months. Call the local historic preservation office before you plan.
If a homeowners’ association governs your property, the municipal permit is only half of what you need. HOA architectural review is a separate approval, often with stricter rules on height, material, color, and style than municipal code. The typical process involves submitting detailed plans to an architectural control committee that may take a few weeks to a month to review. Building without HOA approval can result in daily fines that accumulate until you comply, and the HOA can force you to remove or modify the fence at your expense. An HOA approval does not substitute for a building permit, and a building permit does not satisfy the HOA. You need both.
Call 811 Before You Dig, Permit or Not
Before any post hole goes in the ground, federal law requires you to contact 811, the national call-before-you-dig number. The call triggers local utility companies to visit and mark the approximate location of buried gas, water, electric, and telecommunications lines, usually within a few business days. The service is free.2U.S. Department of Transportation. Call 811 Before You Dig
The requirement comes from the federal Pipeline Safety Improvement Act, codified at 49 U.S.C. § 60114, which requires anyone planning excavation to use the one-call notification system before breaking ground.3Office of the Law Revision Counsel. 49 U.S. Code 60114 – One-Call Notification Systems Hitting a line can cause explosions, electrocution, or neighborhood-wide outages, and you are personally liable for repair costs if you damage a utility you should have known about.
What the Permit Application Involves
The core of a fence permit application is a site plan: a scaled drawing of your property showing the lot boundaries, the proposed fence location, your house and other structures, driveways, and any easements. It does not need to be professionally drafted, but it must be clear and roughly to scale. Many building departments provide a blank template.
You will also need construction drawings showing the fence’s height, materials, post spacing, and post-hole depth. Some municipalities offer pre-approved fence designs that satisfy the construction-detail requirement automatically, which simplifies permitting for standard wood or vinyl privacy fences. The application form itself typically asks for your name, property address, and a project description. Requirements beyond that vary — some departments want an estimated project cost, a property identification number, or contractor license information.
Many building departments now accept online submissions, though some still require in-person or mailed applications. Review times range from a few days to several weeks. For a standard residential fence, permit fees typically run from around $50 to a few hundred dollars, with wide variation by jurisdiction. The permit is usually valid for six months to a year, within which the work must be completed. Some jurisdictions inspect only the finished fence; others require an intermediate check, such as post-hole depth before concrete is poured. Keep the approved plans on-site during construction.
What Happens If You Skip the Permit
If a code enforcement officer finds an unpermitted fence, the first step is usually a stop-work order that halts construction until you go through permitting retroactively. That means paying the standard fee plus a penalty, and the penalty structure varies enormously by jurisdiction. Some charge a modest surcharge; others impose fines several times the original permit fee.
If the fence also violates setback rules, height limits, or zoning restrictions, the outcome is worse. The municipality can order complete removal at your expense, and you absorb the full cost of materials and labor already invested. There is no reimbursement for a fence that should not have been built.
Unpermitted work also surfaces when you sell. A home inspection or title search can flag it, and buyers often demand resolution before closing. Lenders may balk at financing a property with known code violations. Fixing the problem under the pressure of a pending sale means retroactive permits, penalty fees, and potentially modifying or removing the fence to meet current codes. Getting the permit upfront costs a fraction of what it costs to fix later.