Building a fence seems like a straightforward weekend project, right? But before you start digging, there's a crucial step many homeowners miss. You might need a permit to build a fence, even for what seems like a minor addition. Skipping this can turn your simple home improvement into a costly headache with fines and stop-work orders. It’s not just for huge construction projects; local rules often apply to fences, too. This guide will help you figure out exactly what you need so your project is done right—and legally—from the start.


In this blog, we look at whether you need a permit to build a fence, the various rules and regulations across different states and counties, and how to apply for a permit should you need one.

Table of contents
Do you need a permit for a fence? Factors that determine whether you need a fence permit Location Fence height Fence materials Fence type Setbacks How to get a fence permit Penalties for building a fence without a permit Fence permit FAQs Get a site plan for your fence permit application

Do you need a permit for a fence?

Unfortunately, there isn’t a clear-cut answer to this question. In short, it depends. Whether you require a permit for a fence or not hinges on where you live, its height, and its material. There are varying rules and regulations in different states, counties, and even cities.


So, when trying to answer the question “do I need a permit for my fence?”, our best advice is to contact your local authority to determine whether a permit is required. That being said, read on for more information about the permits that may be needed and how to obtain one.

Factors that determine whether you need a fence permit

There are different considerations to be made when determining whether you need a permit for your fence. We cover a few of the most common ones here.

Location

As we mentioned above, the number one thing that will determine whether you need a fence permit is where you’re located, and your local laws and regulations. For example, in Montgomery County, Maryland, a permit is required to install any type of fence, unless you’re replacing a permitted fence with a like-for-like replacement.


Location is especially important as there can be different regulations within the same city. In Baltimore, Maryland, for example, you need to obtain a fence permit from the Baltimore City Department of Housing and Community Development — unless you live in the metropolitan area that crosses over into Baltimore County, Howard County, or Anne Arundel County, that is. In that case, you’ll need to check your county websites to see if they have different fence regulations and then complete your fence permit applications there.

Fence height

The height of your fence may determine whether you need a permit. Usually, there are restrictions on how high your fence can be. This also often depends on the location of your fence.


In Milwaukee, for example, a fence in your front yard can be a maximum of four feet tall, whereas a fence in your backyard can be up to six feet tall. Side yards and corner lots have different height requirements, so it’s important to check the height restrictions based on the specific location where you plan to build your fence.

house with low, white picket fence

Common Height Limits

While fence height rules can vary a lot depending on where you live, there are some common themes you'll likely encounter. Generally, backyard fences are allowed to be taller—often up to six feet—to provide privacy and security. Front yard fences, on the other hand, are usually shorter, with a common cap of four feet to maintain visibility from the street. For instance, in Milwaukee, the city enforces a maximum height of four feet for front yards and six feet for backyards. It's also worth remembering that side yards or corner lots might have their own unique height requirements, so checking your local rules is always the first step.


You might wonder why these height restrictions are in place. It's not just about aesthetics; it's primarily about safety. Many municipalities enforce these limits to ensure fences don't obstruct views or create safety hazards for drivers and pedestrians. This is especially critical at intersections or on corner lots where a tall fence could easily create a dangerous blind spot. By keeping front and side yard fences at a lower height, communities help ensure everyone has a clear line of sight for oncoming traffic and people on the sidewalk, which contributes to a safer neighborhood for all.

Fence materials

The material your fence is made of is another factor that determines if you need a permit. In some counties, fences can only be made of certain materials like wood or brick. In others, there may be restrictions on where you can build fences of certain materials.


In Lee County, Florida, for example, you’re required to obtain a Residential Fence or Wall permit to build or replace any fence or wall. However, there are stipulations regarding building materials, size, and location of your fence. For example, it isn’t permitted to build fences with barbed wire, spire tips, sharp objects, or electric currents within 100 feet of any residential area or residential zoning district without the Director's authorization and review of hazards.

Fence type

The type of fence you’re planning to build also impacts whether a permit is needed. A privacy fence — typically made of wood and with little to no light passing through — of a maximum of six feet in your backyard is usually allowed without a permit provided you’re in a residential area.


A different type of fence, like the electrified ones we mentioned earlier, on the other hand, will likely require a permit regardless of location, although there may be some instances where it’s not needed.

Fences That Almost Always Need a Permit

While the specifics can change from town to town, some fence projects are almost guaranteed to require a permit. Fences that go beyond standard height limits are a common trigger. Many municipalities set the bar at six feet for backyard fences and four feet for front yard fences, so if you’re planning something taller, expect to file an application. Similarly, any fence that serves as a safety barrier, particularly one enclosing a swimming pool, will absolutely need a permit. These fences have strict code requirements to prevent accidents, and your local officials will want to review the plans carefully.

The materials and type of fence also play a big role. For instance, using materials like barbed wire or installing an electrified fence often requires a permit due to safety regulations, especially near residential zones. Even if your project doesn't fall into these categories, some jurisdictions, like Montgomery County, Maryland, require a permit for any new fence installation. When you apply, you'll typically need to submit a drawing of your property showing the fence's location. A professional site plan can help you clearly illustrate your project and meet your city's requirements.

Setbacks

Setbacks refer to how far your fence is located from the street, your neighbors, or other properties. Again, whether you need a permit often depends on how far your fence is situated from surrounding buildings or infrastructure. In some cases, if your fence is too close to another building, it may not be permitted at all.

When a Permit Might Not Be Needed

While it’s always best to assume you need a permit and check with your local building department, there are a few situations where you might be exempt. For example, if you live in a more rural area or an unincorporated county, the rules can be more relaxed for a standard fence. You might also be able to skip the permit process if you’re simply replacing an old, previously permitted fence with a new one of the exact same height and location. However, these exceptions are not universal. The only way to know for sure is to contact your local planning or zoning office before you buy any materials or begin work.

Other Important Regulations to Consider

Getting a permit from your city or county is often just one piece of the puzzle. Many properties are also subject to other rules that can be even more specific than local building codes. Before you finalize your fence plans, you need to consider other layers of oversight, such as homeowners associations and historic preservation committees. These groups have their own set of guidelines that you must follow, and failing to get their approval first can lead to headaches, even if you have a city permit in hand. It’s your responsibility to understand and adhere to all applicable rules for your property.

Homeowners Association (HOA) Rules

If your home is part of a Homeowners Association (HOA), you’ll need to get their approval before starting your project. HOA rules can be much stricter than the city's, often dictating the exact height, style, material, and even color of your fence to maintain a uniform look throughout the neighborhood. It’s common for HOAs to have a formal review process where you submit your plans for approval. Make sure you get this approval in writing before you begin construction. Skipping this step could result in fines or being forced to remove the fence entirely at your own expense.

Historic Districts

Living in a designated historic district comes with a unique set of responsibilities, especially when it comes to exterior modifications. If your home is in a historic part of town, you'll likely face stricter rules and will almost certainly need a permit to ensure your fence is appropriate for the area's character. The local historic preservation commission will have specific guidelines on acceptable materials and designs. For instance, they may require you to use traditional materials like wood or wrought iron and prohibit modern options like vinyl. The goal is to preserve the neighborhood's aesthetic, so expect a thorough review process.

County vs. City Rules

Understanding which governing body has jurisdiction over your property is key. Location is especially important, as there can be different regulations within the same metro area. You might have a city address but technically fall under county jurisdiction, or vice versa, particularly if you live in an unincorporated area. Each will have its own zoning codes, permit applications, and inspection processes. Don’t assume the rules for the big city nearby apply to your specific lot. Always start by confirming with your local planning department to find out which set of regulations you need to follow.

Safety and Property Line Rules

Beyond permits and regulations, building a fence involves critical safety and legal considerations. The most important of these are respecting your property lines and avoiding underground utilities. A mistake in either of these areas can lead to serious problems, from neighborly disputes to dangerous accidents. Before the first post hole is dug, you need to be absolutely certain of where your property ends and what lies beneath the ground. Having a detailed site plan is an essential first step, as it provides a clear overhead view of your property boundaries and existing structures, helping you plan your fence placement correctly.

Building on Your Property

It may sound obvious, but your fence must be built entirely on your own property. Even a few inches of encroachment onto a neighbor's land can cause a legal dispute that could force you to move the entire fence. Property line issues are one of the most common causes of conflict between neighbors. To avoid this, it’s crucial to know precisely where your property boundaries are. Never rely on guesswork or assumptions based on existing landscaping or structures. Confirming your property lines before you build is a non-negotiable step for a smooth and successful project.

Calling 811 Before Digging

This is a step you absolutely cannot skip. Before you start digging, you must call 811, the national "call before you dig" hotline. This free service will notify local utility companies, who will then send crews to mark the approximate location of underground lines for gas, electricity, water, and communications. Hitting one of these lines is incredibly dangerous and can cause service outages for your entire neighborhood, lead to expensive fines and repair costs, and even result in serious injury. The process is simple and is required by law in every state, so make it the first call you make once your plans are set.

Rules for Corner Lots

If you live on a corner lot, you’ll have additional rules to follow. Most municipalities have regulations to maintain a "clear view triangle" at intersections to ensure drivers can see oncoming traffic. This means that fences near the street corner are often restricted to a much lower height—typically three or four feet—or may not be allowed at all within a certain distance of the intersection. These rules are in place for public safety, so they are strictly enforced. Check your local zoning ordinance for specific measurements and restrictions related to corner lot visibility before designing your fence.

How to get a fence permit

So, you’ve checked with your local authority and you need a fence permit. How do you go about getting one? Again, this usually depends on your local authority’s specific requirements but there are common themes with all permit applications:

  • Check how to apply — In many cases, you can apply for a permit online but this may differ depending on your location.
  • Submit a site plan — You will need to provide a detailed site plan for your proposed fence. The exact requirements for your site plan may vary depending on your local authority but, in short, it’s a detailed rundown of the site and what you’re planning to do. Have a look at this sample site plan for a fence permit from Lee County for a great example.
  • Check if you need a survey — Sometimes, you may need to have your property surveyed before you can obtain a fence permit. Your local authority will have their own procedures and requirements for carrying out a survey.
  • Review — Once you’ve submitted your permit application, your local authority will review it. They will check to see if everything follows local and state building codes and will inform you of any corrections that are needed. They will also usually let you know once the review is complete.
  • Approval — If everything is in order, your application will be approved and you’ll be awarded a permit, meaning you can get started on your project!
house with high, green, metal fence

Understanding Permit Costs

The cost of a fence permit can vary quite a bit depending on where you live and the scope of your project. Generally, you can expect fence permits to cost between $50 and $500. This fee covers the administrative work of reviewing your application and plans to ensure they meet local codes. Keep in mind that commercial fence permits often cost more than residential ones due to the potentially larger scale and more complex requirements. It’s always best to check your local building department’s website for a specific fee schedule so you can budget for the project accurately from the start.

Notifying Neighbors

Giving your neighbors a heads-up is more than just a courtesy; in some areas, it’s a required step in the process. Your local municipality or Homeowners Association (HOA) may have rules that state you need to tell your neighbors about the fence plan before you begin construction. This simple conversation can prevent future headaches and potential property line disputes. Sharing your site plan with them can help clarify exactly where the fence will be located, ensuring everyone is on the same page and helping maintain a good relationship long after the fence is built.

Displaying Your Permit

Once you have the approved permit in hand, you’ll likely need to display it publicly. Before you start building, ensure the permit is approved and displayed if required by your local authority. Typically, you’ll need to post the permit card in a visible location on the property, like on a front-facing window or attached to a post near the street. This serves as a clear signal to building inspectors and neighbors that your project is authorized and compliant with local regulations. Skipping this step could result in a stop-work order, so be sure to follow your city’s specific display requirements.

Completing a Final Inspection

After your fence is built, there’s usually one final step to officially close out the process. You’ll need to schedule a time for a building inspector to come for a final check. They will visit your property to make sure the fence was built correctly and follows all the rules outlined in your permit and local building codes. This includes verifying the fence’s height, materials, and location relative to property lines and setbacks. Passing this final inspection is crucial, as it officially completes your permit and ensures your project is properly documented, which can be important if you decide to sell your home later on.

Penalties for building a fence without a permit

If you fail to obtain a permit before building your new fence, you could be subject to penalties. These often involve paying fines and buying a retrospective permit. However, in certain circumstances, especially if your fence isn’t up to code, you may also be forced to tear your new fence down.


It’s important to stress here that the specific penalties will again vary depending on where you live. Different authorities will impose different penalties, so make sure you check beforehand or risk getting a nasty surprise.

Additional Consequences

Beyond the immediate financial sting of fines or the frustration of having to tear down your work, building without a permit can create long-term headaches. Unpermitted work can seriously complicate a future home sale, potentially lowering your property's value and turning away potential buyers who are wary of the legal risks. It can also strain relationships with neighbors, leading to disputes over property lines or aesthetics that are best avoided. For contractors and homeowners alike, officials can issue a stop-work order at any time, bringing your project to a grinding halt and causing significant, costly delays that throw your entire timeline off track.

Fence permit FAQs

Let’s look at some frequently asked questions when it comes to fence permits.

Why do I need a fence permit?

You need a permit to ensure that your fence meets the size, material, height, location, type, and other requirements of your local authority. Without checking these, your fence might be torn down or you may be subject to a penalty.

Do I need a permit to replace a fence?

Typically, if you’re replacing a fence like-for-like, you won’t need a permit. However, if you’re planning on changing the type, height, material, etc. of your fence, you will likely need a permit. This is the case in Montogomery County, for example, where like-for-like replacements don’t require a permit but all other replacements do.

How long does it take to get a fence permit?

It usually takes three days to obtain a fence permit. This will vary depending on where you live though, with some applications taking up to two weeks and others being awarded the same day. If there are issues with your application or corrections that need to be made, this will increase the length of time it takes to obtain your permit.

How much is a fence permit?

The cost of fence permits varies between $30 and $200. Once again, this depends on your local authority. Take a look at our article about building permit costs here.

Get a site plan for your fence permit application

If you’re planning on building or replacing your fence, chances are you’ll need a permit — which means you’ll also need a site plan. Creating your own site plan can be difficult, time-consuming, and complex. Luckily, MySitePlan is here to help!


With MySitePlan you can get an accurate and detailed site plan for your project in as little as 24 hours and the best part is, it’s all done online. Get in touch with the team today and find out how we can help with your site plan for your fence permit application.

Get in touch

About the author

ryan crownholm

Ryan Crownholm

Ryan is a construction technology founder and former contractor with 15 years of hands on experience in residential and commercial construction. He has been creating site plans for more than 25 years, supporting tens of thousands of homeowners and contractors across the United States. As the founder of MySitePlan.com, his work is grounded in real world permitting requirements, plan review feedback, and practical compliance standards used by local building departments.

Key Takeaways

  • Check local rules before anything else: Fence permit requirements depend entirely on your specific location, including rules about height, materials, and placement. Contacting your local building department is the only way to know for sure what you need.
  • Look beyond city permits: Your city or county isn't the only authority. If you're part of a Homeowners Association (HOA) or live in a historic district, you'll need to get their separate approval, which often includes stricter guidelines.
  • Prioritize safety and property lines: To prevent dangerous accidents and neighbor disputes, you must call 811 to have underground utilities marked before digging. It's also essential to build your fence completely within your property boundaries.

Related Articles

  • Do I Need A Permit To Build A Fence?
  • Your Guide to Swimming Pool Permit Requirements
×