Building a fence sounds simple. Pick a style, buy some posts, start digging. But in Alabama, there’s more to it than that. Get it wrong, and you could face fines, legal disputes, or a forced tear-down.
Don’t worry, we’ll break it down step by step.
What Are Fence Laws?
Fence laws are rules that govern how, where, and what kind of fence you can build. They cover things like height limits, shared costs with neighbors, and permit requirements. Some rules come from the state. Others come from your city or county. A few might even come from your HOA.
Pretty much every Alabama homeowner is affected by at least one of these rules. Knowing them before you build can save you a lot of headaches.
Alabama’s Partition Fence Law: Sharing the Cost

Okay, this one is important. Alabama has one of the clearest shared-fence laws in the Southeast.
Under Title 35, Chapter 7 of the Alabama Code, if a fence sits on the property line between two improved properties, both neighbors share the cost. This is called a partition fence. You’re not alone in paying for it, and you’re not alone in maintaining it.
So simple, right?
Wondering what “improved” means? It basically means both properties have structures on them, like homes or outbuildings. If both sides are improved, the fence cost is split proportionally between the two property owners.
Here’s where it gets interesting. If your neighbor builds a fence on the property line and you later start using it, like keeping livestock against it, you owe them money. Under Alabama Code Section 35-7-3, you’ll need to reimburse them based on how long you’ve used the fence.
If one neighbor refuses to pay their share of repairs, the other neighbor can go ahead and fix the fence. Then they can take the non-paying neighbor to district court to recover the cost. The court can appoint three neutral property owners to assess the situation. Their decision must be paid within 10 days.
That’s the law. No wiggle room.
Can You Build a Fence Just on Your Side?
Yes, you can. Alabama law doesn’t require you to get your neighbor’s permission to build a fence entirely on your own property. That’s your land. You get to decide.
But here’s a tip most people miss. If your fence is fully on your property, it’s fully your responsibility. Your neighbor has no legal obligation to help pay for it or maintain it. That changes the moment you build on the line.
One more thing to know. Most residential zoning rules require a setback of at least 3 inches from the property line. Some areas require up to 10 feet if your property is near a public right-of-way. Check with your local zoning office before you start digging.
Fence Height Rules in Alabama

Alabama doesn’t have one universal height limit. The rules depend on where you live and where on your property the fence is located.
Hold on, this part matters.
Most Alabama cities follow a common pattern. Front yard fences are generally limited to 4 feet tall. Side and rear yard fences can usually go up to 6 or 8 feet. That said, each city sets its own rules.
In Birmingham, front yard fences cannot exceed 4 feet. Side and rear yard fences can go up to 8 feet for residential properties. Posts and decorative features may extend up to 9 feet.
In Huntsville, front yard fences max out at 4 feet. Side and rear fences are limited to 6 feet. Barbed wire, razor wire, and electric fencing are totally banned on residential properties.
In Montgomery, most residential fences can be up to 7 feet tall. Some higher-density zones allow 8 feet. But front yard and street-facing fences are capped at just 3 feet.
Mobile County is a little more relaxed. Fences 7 feet or under don’t usually need a building permit in unincorporated areas of the county. That’s more generous than most Alabama cities.
Confused about which rules apply to you? Call your local zoning office. Seriously, it takes five minutes and can save you from a costly mistake.
Do You Need a Permit to Build a Fence in Alabama?
Most of the time, yes. This trips up a lot of homeowners.
In Birmingham, a zoning permit is required before any fence or wall goes up. That applies even to small or decorative fences. You’ll need to submit a site plan showing the fence layout, height, materials, and location relative to your property lines.
In Montgomery, a building permit is required as well. If you skip it, a building inspector can show up and require you to either apply for a variance or bring the fence into compliance.
Huntsville is one of the few cities in Alabama where you may not need a formal building permit for a standard fence. But you still have to follow all the zoning height and material rules.
Permit costs in Alabama typically range from $100 to $1,500. The price depends on your city and the size of the project.
Think of it like a traffic ticket situation, but more serious. Skipping the permit can mean fines, stop-work orders, and complications when you try to sell your home later.
Livestock and Agricultural Fence Standards

Alabama has detailed rules for fences on rural and agricultural land. These come from Section 3-4-1 of the Code of Alabama. They apply when you’re containing livestock.
Lawful livestock fences must be at least 5 feet high. Rail fences must have rails spaced no more than 4 inches apart from the ground up to every 2 feet of height. Paling fences must have palings spaced no more than 3 inches apart.
If your fence includes a ditch, the ditch must be 4 feet wide at the top. The fence must rise at least 5 feet from the ditch bottom and 3 feet above the top of the bank.
Honestly, this is the part most rural landowners get wrong. If your fence doesn’t meet these standards and livestock gets out and damages a neighbor’s property, you could be held liable.
The 20-Year Rule: Adverse Possession
Here’s one that surprises a lot of people. In Alabama, a fence that has stood unchallenged for more than 20 years may legally establish the property boundary. This is based on the principle of adverse possession.
I looked this up recently. The rules surprised me. They might surprise you too.
For adverse possession to apply, the use must be continuous, open, and uncontested. If a neighbor suddenly conducts a survey and finds your fence is 3 feet over the line, but it’s been there for over 20 years without complaint, you may have a legal claim to that strip of land.
This can lead to quiet title actions and court filings. It’s not simple. If you find yourself in this situation, consult a real estate attorney.
Barbed Wire and Electric Fences

Barbed wire, razor wire, concertina wire, and electric fences are banned on residential properties in virtually every Alabama city. This applies in Birmingham, Huntsville, Montgomery, and most other municipalities.
Some areas do allow barbed wire on agricultural properties or large rural lots. But if you’re in a residential subdivision or neighborhood, these materials are not an option. Don’t even think about it.
Pool Fence Requirements
If you have a residential swimming pool in Alabama, a fence is not optional. It’s required by law under the International Residential Code, which Alabama follows statewide.
Pool barriers must be at least 48 inches high. Gates must be self-closing and self-latching. There are also strict rules about ground clearance under the fence to prevent children from crawling through.
This law exists to protect kids. Personally, I think it makes complete sense.
HOA Rules and Fence Restrictions

Alabama does not have a state law protecting homeowners from HOA fence rules. That’s a big deal.
Unlike some states, Alabama HOAs have broad authority to regulate or even ban fences entirely. If you live in a neighborhood with a homeowners association, you must check your CC&Rs before building anything. This is especially true in the suburbs of Birmingham, the Huntsville-Madison corridor, and Mobile suburban areas.
Most people don’t realize how much power their HOA has over this. Don’t find out the hard way.
Corner Lots and Visibility Rules
If your home is on a corner lot, pay extra attention here. Most Alabama cities have visibility rules that restrict fencing near street intersections.
In Huntsville, no fence can obstruct the view between 2.5 and 15 feet in height within the triangular clear-view zone near intersections. In Montgomery, no obstructions are allowed between 3.5 and 15 feet within 20 feet of intersecting right-of-way lines.
The idea is simple. Drivers need to see oncoming traffic. A tall fence in the wrong spot can be a safety hazard, and cities take that seriously.
Historic Districts: Extra Approval Required

If your property is in a designated historic district, you have extra hoops to jump through. This applies in Huntsville, Birmingham, and other Alabama cities with historic preservation programs.
In Huntsville, you need approval from the Historic Preservation Commission before building a fence in a historic area. In Birmingham, special reviews are required for fences in historic districts.
This can add time to your project. Plan ahead.
How to Handle a Neighbor Fence Dispute
Neighbor fence disputes are super common. You’re not alone, this confuses a lot of people.
If you think your neighbor’s fence crosses your property line, here’s what to do. First, talk to your neighbor directly. Many disputes get resolved with a calm conversation.
If that doesn’t work, hire a licensed surveyor to establish where your property actually ends. Surveys are legally reliable and can settle the question quickly. If the encroachment is significant and your neighbor won’t budge, your next step is legal action, which could mean a quiet title suit.
If you want a shared fence repaired and your neighbor won’t cooperate, you can repair it yourself. Then file a claim in district court to recover the cost. The court will appoint fence-viewers to assess the situation. Their ruling is enforceable.
Frequently Asked Questions
Do I need a permit to build a fence in Alabama?
In most Alabama cities, yes. Birmingham and Montgomery both require permits. Check with your local zoning office before starting.
Can my neighbor make me pay for half the fence?
If the fence is on the property line and both properties are improved, yes. Alabama’s partition fence law requires shared costs under Title 35, Chapter 7.
What is the maximum fence height in Alabama?
It depends on where you live and where on your lot the fence is. Front yard fences are usually capped at 3 to 4 feet. Side and rear fences typically max out at 6 to 8 feet.
Can I build a barbed wire fence in my yard?
Not if you live in a residential area. Barbed wire, razor wire, and electric fences are banned on residential properties in virtually every Alabama city.
What if my neighbor’s fence is on my property?
Start with a direct conversation. If that fails, hire a surveyor to confirm the property line. If the problem remains unresolved, you may need to pursue legal action.
Do pool fences have special rules in Alabama?
Yes. Pool barriers must be at least 48 inches tall, with self-closing and self-latching gates. These requirements come from the International Residential Code, which Alabama follows.
Can an old fence become the legal property line?
Possibly. In Alabama, a fence that has stood undisputed for over 20 years may establish a boundary through adverse possession principles. This requires continuous, open use without objection.
Final Thoughts
Alabama fence laws cover more ground than most people expect. From shared costs with neighbors to height limits to permit requirements, the rules are real and they matter.
Here’s the short version. Talk to your neighbor before building on the line. Check with your local zoning office before you start. Get the permit. Follow the height rules. And if a dispute comes up, hire a surveyor before it turns into a lawsuit.
Now you know the basics. Stay informed, stay legal, and when in doubt, ask your local zoning office or consult a real estate attorney.
References
- Alabama Code Title 35, Chapter 7 – Partition Fences
- Alabama Code Section 3-4-1 – Lawful Fences for Livestock
- Birmingham, AL Zoning Ordinance – Walls and Fences, Article VI Section 8
- Montgomery, AL – Privacy Fence Rules
- Fence Permit Requirements in Alabama (2026) – PermitsGuide
- FindLaw – Property Line and Fence Laws in Alabama