Alabama fence law works on a simple principle with sharp consequences: a fence only protects your legal rights if it meets the construction standards in the state code. Miss those standards and you cannot recover for a neighbor’s cattle trampling your garden, and you can owe five times the value of any trespassing animal you harm. Separate statutes govern how adjoining owners split the cost of a boundary fence, and a fence that sits on the wrong side of the line long enough can quietly move the property boundary itself.
What Makes a Fence Lawful in Alabama
Section 3-4-1 of the Alabama Code sets a baseline height of five feet for every fence, unless another section of the chapter provides a different standard.1Alabama Legislature. Alabama Code 3-4-1 – Requirements as to Construction of Lawful Fences – Generally Height alone isn’t the whole test. Spacing and design rules change with the fence type.
For a rail fence, the rails must sit no more than four inches apart from the ground through every two feet of height.1Alabama Legislature. Alabama Code 3-4-1 – Requirements as to Construction of Lawful Fences – Generally A five-foot rail fence with wide gaps near the bottom is not lawful, because that is where animals push through.
For a paling fence, the vertical slats must be spaced no more than three inches apart.1Alabama Legislature. Alabama Code 3-4-1 – Requirements as to Construction of Lawful Fences – Generally The tighter spacing accounts for smaller animals that could slip between wider boards.
A fence built with a ditch has its own measurements. The ditch must be at least four feet wide at the top. The fence must stand at least five feet high measured from the bottom of the ditch and at least three feet high measured from the top of the bank, and it must be close enough in construction to keep stock from getting through.1Alabama Legislature. Alabama Code 3-4-1 – Requirements as to Construction of Lawful Fences – Generally
Wire fences are treated separately. Section 3-4-4 covers fences built with seven or more wires for livestock, and Section 3-4-5 covers standard woven wire fences, each with its own spacing and post requirements. If you are installing wire fencing, the general five-foot height in Section 3-4-1 is not the standard that governs you; the wire-specific section is.
Trespassing Livestock and the Fence-Out Rule
This is where Alabama law surprises people. The state uses a fence-out rule, not a fence-in rule, for civil damages.
Under Section 3-4-6, if an animal breaks into land that is not enclosed by a lawful fence, the animal’s owner is not liable for the trespass or the resulting damage.2Alabama Legislature. Alabama Code 3-4-6 – Liability of Owner of Animal Breaking into Lands Not Enclosed by Lawful Fence for Trespass or Damages If your neighbor’s cattle wander in and destroy your crops, you have no claim against the neighbor unless your property was enclosed by a fence that met the construction standards above. The burden sits on the landowner to fence animals out.
The same statute puts real money at risk if you retaliate. Anyone who injures or destroys an animal that has broken into land not enclosed by a lawful fence owes the animal’s owner five times the amount of the injury.2Alabama Legislature. Alabama Code 3-4-6 – Liability of Owner of Animal Breaking into Lands Not Enclosed by Lawful Fence for Trespass or Damages Injure a $2,000 cow on unfenced ground and the judgment can reach $10,000.
Alabama also prohibits livestock from running loose. Section 3-5-2 makes it unlawful for any livestock owner to knowingly, voluntarily, negligently, or willfully permit animals to run at large anywhere in the state, on another person’s property or on public roads, and the statute explicitly abolishes all open-range counties.3Alabama Legislature. Alabama Code Title 3 Animals – Section 3-5-2
The two provisions don’t cancel each other out. A livestock owner can face consequences under Section 3-5-2 for letting animals loose, but you still can’t recover trespass damages under Section 3-4-6 unless your land was properly fenced. The at-large ban gives livestock owners a regulatory duty; it doesn’t rescue your civil claim for crop or property loss. If you live near livestock, a fence that meets the statutory standards is the single most important step you can take to protect yourself.
Sharing a Boundary Fence With a Neighbor
Title 35, Chapter 7 of the Alabama Code governs partition fences, meaning fences built on the line between two properties. These rules apply when both sides have improved land.
Section 35-7-3 requires that partition fences between improved lands be built and repaired at the joint expense of the occupants.4OneCLE. Alabama Code Title 35, Chapter 7 – Partition Fences If one neighbor builds or repairs the fence alone, they can seek reimbursement from the other. When neighbors have already agreed on who maintains which portion, each is responsible for their agreed share.
If you and your neighbor can’t agree, either party can apply to the district court in the county where the fence sits. The court appoints fence viewers to assess the situation and set each party’s fair share, and the court then enforces the split.4OneCLE. Alabama Code Title 35, Chapter 7 – Partition Fences The statutory fees for the process are minimal. If one owner refuses to pay after receiving at least 10 days’ notice from the other, the paying owner can bring a court action to recover the costs. The fence viewer process is faster and cheaper than a full civil suit, so it’s worth trying before escalating.
When a Fence Shifts the Property Line
A fence in the wrong spot for long enough can move the boundary. Alabama recognizes adverse possession when someone occupies land continuously, openly, and exclusively for the statutory period while treating it as their own.
Section 6-5-200 requires at least 10 years of continuous possession plus one of three additional conditions: a recorded deed or other color of title on file with the county probate office for 10 years, annual listing of the land for taxation in the proper county for 10 years, or title derived by inheritance from a predecessor in possession.5Alabama Legislature. Alabama Code 6-5-200 – When Title to Land Conferred or Defeated by Adverse Possession Alabama courts also recognize a 20-year prescriptive period under which long, uninterrupted possession can create a presumption of ownership without color of title or tax records.
What that means for fences: if your fence sits two feet onto your neighbor’s property and the neighbor does nothing for 10 or 20 years, that strip can become yours. The reverse is just as true. If a neighbor’s fence encroaches onto your land and you don’t act, you can lose the ground permanently. A boundary survey before you build is the cleanest way to prevent the problem. Survey costs vary with property size and terrain, but paying for accuracy up front is far cheaper than litigating a boundary years later.
Encroachments and Property Sales
Even without a full adverse possession claim, a fence over the line creates practical trouble at closing. Encroachments complicate title searches and make title insurers reluctant to write coverage without extra documentation. Buyers and lenders often require the issue to be resolved first, whether by removing the fence, adjusting the lot line, or recording a formal boundary agreement with the neighbor.
When neighbors do agree to shift the boundary to match an existing fence, the adjustment typically involves a new deed describing the agreed line, approval from any mortgage lender (since a deed change can trigger an acceleration clause), compliance with local zoning, and filing the deed with the county land records office. Skipping any step can leave you with an agreement that fails when the property changes hands.
Local Permits, HOAs, and Easements
The state statutes focus on livestock containment. Most cities and counties add their own rules for residential and commercial fences, and those local ordinances usually control what you can build in a neighborhood. Common local rules cover maximum height in front versus back yards, permitted materials, setback distances from streets or sidewalks, and whether a building permit is required before you start. Front-yard limits often differ from side and rear limits.
Check with your city or county planning department before you build. Some municipalities restrict barbed wire, razor wire, or electrified fencing in residential zones. Building without a required permit can bring fines, a stop-work order, or an order to tear the fence down. If your property is inside a homeowners association, the covenants may add further restrictions on style, color, and height beyond what local government requires.
Utility easements are another trap. If an easement crosses your property, you can often build a fence over it, but the utility retains the right to access its lines. The fence can be removed for maintenance at your expense with no promise of restoration. Pull your survey and deed for easement locations before you set posts.