Livestock Fence Laws in Maryland: What Every Landowner Needs to Know
July 4, 2026
If you own livestock in Maryland, understanding the state’s fencing laws is one of the most practical steps you can take to protect yourself from legal liability and neighbor disputes. Unlike many Western states, Maryland places the entire burden of containment squarely on the shoulders of the livestock owner — not the neighboring landowner.
Maryland’s approach is rooted in common law, not a single codified statute, which means the rules can feel less straightforward than in states with a written fencing code. This guide walks you through every major aspect of livestock fence laws in Maryland, from what qualifies as a lawful fence to what happens when animals escape and cause damage.
Pro Tip: Because Maryland relies heavily on common law rather than a statewide fencing statute, always verify your county’s specific ordinances before building or modifying any livestock fence. County rules in Howard, Kent, and St. Mary’s counties differ significantly from the statewide default.
What Qualifies as a Lawful Fence in Maryland
Maryland has no statute or court decision defining the exact standards for constructing a fence. This is a meaningful distinction from states like Delaware, which spell out approved materials, post spacing, and minimum heights in their codes. In Maryland, the standard is functional rather than prescriptive.
Because Maryland has no statute or court decision defining the exact standards for constructing a fence, a livestock owner should consider building the fence to a height, number of wires, post distance, and with materials necessary to contain the livestock. In other words, the fence must do its job — and if it fails to do so, the consequences fall on you as the livestock owner.
Maryland has no statewide statute or court decision defining the exact standards for constructing a fence, although some counties do. It is inherent in the law that the fence be high enough to contain the livestock within. Common materials used across Maryland farms include woven wire, board fencing, high-tensile wire, and post-and-rail configurations. The right choice depends on the species you are containing — cattle, horses, goats, and hogs each have different containment needs.
If you keep goats on your property, you may also want to review goat ownership laws in Maryland for additional requirements that apply specifically to that species.
Fence-In vs. Fence-Out: Which Rule Applies in Maryland
Maryland has adopted the traditional English common law rule of “fence-in.” The fence-in rule requires landowners to fence-in livestock to prevent livestock from damaging neighbors’ properties (Richardson v. Milburn, 1857). This rule has governed Maryland agriculture for well over a century and remains the controlling standard today.
Compare this to the view in many Western states. There, the fence-out view does not require livestock owners to keep stock fenced in, but does require those landowners who do not want livestock grazing on their property to construct a fence to keep unwanted livestock out. Maryland takes the opposite approach: if you own the animals, you own the responsibility to contain them.
Landowners — farmers and non-farmers alike — without livestock are under no obligation to construct a fence to keep livestock off their property. Maryland has adopted this rule through court decisions, and the Maryland legislature could modify this rule at any time. That last point is worth keeping in mind: the rule is judge-made law, not a statute, so it could change with new legislation or a significant court decision.
Key Insight: If your neighbor’s livestock wander onto your property and cause damage, the burden of proof runs toward the livestock owner — not you. You have no legal duty to build a fence to keep someone else’s animals out.
Division Fence Responsibilities Between Neighboring Landowners in Maryland
The common law puts the burden on the livestock owner to erect a division fence, or a fence separating two landowners. A division fence sits on or near the property line between two parcels. Under Maryland’s fence-in rule, if you are the only party with livestock, you bear the full cost of that fence.
Unlike other states, Maryland has no statute that requires the allocation of cost for a division fence, one built on the property line. However, in some areas of Maryland, there has been a customary practice that two livestock owners split costs for the maintenance and construction of a division fence. That local custom, while common in some agricultural communities, is not legally enforceable unless it is formalized in writing.
This common law view can allow livestock owners to erect a fence to keep livestock in and a neighboring landowner to take advantage of the fence without contributing to the construction costs. If that arrangement feels unfair, a written fencing agreement is your best tool to address it.
A fencing agreement should outline how costs will be shared, the standard the fence’s condition will be measured by, a dispute resolution process, and other requirements for the construction and upkeep of the fence. When the conditions for a real covenant are met, this agreement can be filed with the county’s Circuit Court and will be binding on owners of the two properties. Filing the agreement with the Circuit Court ensures that future buyers of either property are bound by its terms — not just the current owners.
If you are leasing your land to a tenant who plans to graze livestock, a landlord with an unfenced property and a tenant who wants to graze livestock on the property should consider terms in the lease specifying how the cost of constructing the fence will be handled and any maintenance costs.
Fence Height, Material, and Construction Standards in Maryland
As noted above, Maryland imposes no statewide height or material mandate for livestock fences. The practical standard is whether the fence is adequate to contain the specific animals on your property. That said, several counties have stepped in with their own specifications.
Howard, Kent, and St. Mary’s counties have clarified the height and strength fences should be built to, methods for allocating construction and maintenance costs, and ways to collect unpaid costs. If you farm in any of those three counties, you are operating under a more detailed local framework than the statewide default.
In Baltimore County, specific material restrictions apply to all fences, including those on farm properties. Electric and barbed wire fences are only permitted for the retention of livestock and when not a safety hazard to the public. No sharp or pointed projections are permitted on fences less than four feet high. Barbed wire and other retarding material may be placed on top of a fence that is at least six feet, nine inches high.
In Baltimore City, the rules are stricter for urban settings. Razor wire is prohibited on residential fences. Barbed wire is only permitted on fences exceeding six feet nine inches in height, and even then may have restrictions. These urban restrictions are less likely to affect working livestock operations, but they matter if your property sits near city boundaries.
Important Note: Maryland’s statewide standard is functional — your fence must contain your animals. But county-level rules can add height, material, and construction requirements on top of that baseline. Always check your county code before you build.
For a broader perspective on how Maryland compares to neighboring states when moving animals across state lines, see our guide on transporting livestock laws in North Carolina.
Electric Fence Rules in Maryland
Electric fencing is widely used across Maryland farms for both perimeter containment and rotational grazing management. Maryland does not ban electric fences for agricultural use, but both state law and county ordinances impose conditions on their installation and signage.
A 2021 Maryland General Assembly act (effective October 1, 2021) addressed battery-charged fence security systems. The law requires warning signs to be posted on the fence at 30-foot intervals that state: “WARNING – ELECTRIC FENCE.” If the fence is not made compliant, a fine not exceeding $500 may apply. While this legislation was primarily aimed at security-type electric fences, the signage principle reflects a broader public safety standard that agricultural operators should follow as well.
At the county level, Baltimore County is explicit: electric fences shall be permitted only on farms for the retention of livestock and only if the electric fences are not a safety hazard to people. This means you cannot simply install an electric fence on a residential lot that happens to have a few animals — the property context matters.
In Baltimore City, electric security fences are limited to C-3, C-4, and Industrial zones and cannot be installed on parcels that abut residential properties. If your operation is near an urban or suburban area, check your zoning classification before installing any electrified perimeter.
Best practices for electric livestock fencing in Maryland include proper grounding, use of UL-listed energizers, and clear posted warnings at all entry points and at regular intervals along the fence line. These steps reduce both safety risk and potential liability.
Road and Highway Fencing Requirements in Maryland
Maryland does not have a single statewide statute that specifically requires livestock owners to fence along public roads or state highways. However, the fence-in common law rule applies here just as it does on any other boundary: if your livestock escape onto a road and cause an accident or injury, you may face liability.
If livestock stray because a livestock owner did not fence-in stock, or if the fence is in disrepair and the livestock stray from the farmer’s property, the livestock owner may be liable for the damages caused by the stock. A roadway collision involving escaped livestock is one of the most serious scenarios this rule addresses. Courts will examine whether you maintained your fence to a reasonable standard.
As part of the strategies for implementing the Chesapeake Bay Watershed Implementation Plan, the Maryland Department of Agriculture has listed as a best management practice “stream protection with fencing.” Fences built to keep livestock out of a stream could be either temporary or permanent, and cost-share funds may be available to help construct permanent fencing. If your pasture borders both a road and a waterway, you may be eligible for financial assistance through your local soil conservation district for the stream-side portion of your fence.
County road setback rules also apply. In Howard County, for example, there are specific rules for fences in front yards when the property is a corner lot. Homeowners must make sure that any fence in the triangle formed by straight lines joining points 25 feet back from the point where the roads intersect complies with visibility requirements. These clear-vision area rules protect driver sightlines and apply to agricultural fences near road intersections just as they do to residential fences.
For comparison on how other states handle livestock near public roads, you may find our article on transporting livestock laws in Wyoming useful context.
County-Level Fence Ordinances and Local Exceptions in Maryland
Three Maryland counties — Howard, Kent, and St. Mary’s — have enacted local fence ordinances that depart from the statewide fence-in common law default in meaningful ways. These county ordinances help clarify many of the issues that exist in the fence-in view and specify when neighboring landowners may be required to contribute to construction and maintenance of a division fence.
The table below summarizes how these three counties differ from the statewide baseline:
| County | Key Departure from State Default | Cost-Sharing Rule | Third-Party Dispute Process |
|---|---|---|---|
| Howard County | Specifies fence height and strength standards (§§ 15.300–15.304) | Neighboring landowners may be required to share costs | Three disinterested landowners determine repair costs before work begins |
| Kent County | Ordinance (§ 87-5) creates a near-fence-out duty for all landowners | Shared responsibility when both properties are enclosed | Two disinterested neighbors appointed to award livestock damages |
| St. Mary’s County | Historic joint-fence law (enacted 1916) largely repealed; now follows common law | No mandatory split; governed by agreement or common law | Common law court process |
Kent County’s ordinance appears to create a duty to fence out (Kent County Code § 87-5). The language of the ordinance places the responsibility on property owners to have sufficient fences to enclose their property, and property owners could potentially be liable for damages caused to a neighbor’s livestock who wander onto the property. This is a significant local exception — in Kent County, even a landowner without livestock may need to maintain a sufficient fence.
Howard and Kent counties require the appointment of non-interested third parties to determine if repairs are necessary and to determine a cost for the repairs. In Howard County, this determination is made before the fence is repaired, and the landowner seeking payment will not have to spend more than the amount set by the three disinterested landowners (Section 15.302).
Regarding St. Mary’s County, both the House and Senate versions of a bill to repeal a St. Mary’s County fencing law (HB109/SB102) passed their respective houses. Enacted in 1916, the law required neighboring farmers in St. Mary’s County to install joint farm fences built to certain specifications — post-and-rail at four feet, bottom plank eight inches from the ground, planks or rail no more than eight inches apart. That historic law has since been repealed, and St. Mary’s County now operates primarily under common law.
Producers in other counties will want to check their own ordinances to ensure that ordinances impacting fences have not been recently enacted. Baltimore County, Anne Arundel County, and Carroll County all have permit requirements and material restrictions that indirectly affect livestock fencing decisions. You can review backyard chicken laws in Maryland for an example of how local zoning overlaps with animal containment rules in suburban counties.
Liability When Livestock Escape Through a Defective Fence in Maryland
Liability for escaping livestock in Maryland hinges on one central question: was the escape caused by the owner’s negligence? In Maryland, to be liable for damages, the fenced-in livestock must escape through the negligence of the livestock owner.
If the livestock owner fences in the livestock and the livestock escape through no negligence on the part of the livestock owner, then the livestock owner is not liable for any damage caused. This is an important protection. An act of nature — a severe storm that knocks down a section of fence, for example — may not constitute negligence if you maintained the fence properly up to that point.
Negligence occurs when a livestock owner fails to act in a way one would expect a reasonable person exercising average judgment, skill, and care in the same situation to act. This is sometimes referred to as a reasonable and prudent person standard. Factors to consider in meeting this standard would be regularly checking fences, repairing damaged portions of the fence that could allow animals to escape, and checking to make sure gates are kept closed.
Courts assess the totality of your maintenance practices, not just the condition of the fence at the moment an animal escaped. Keeping records of regular fence inspections, repairs, and gate checks can be valuable evidence if a dispute ends up in litigation.
In Maryland, the livestock owner’s negligence will be determined by a court, and the court will award the damages. There is no administrative fence viewer process in Maryland as there is in some other states — disputes go through the civil court system.
If you rent land to a tenant who grazes livestock, liability exposure extends to you as the landlord. A landlord should require the tenant to obtain adequate liability insurance with the landlord named as an additional insured on the policy in the event the livestock trespass off the leased property. In addition, the landlord may want to include language that the tenant indemnifies and holds the landlord harmless with regard to damage to others caused by the livestock.
Important Note: Maryland’s negligence standard means that a well-maintained fence that fails in an unforeseeable way may not expose you to liability. But a fence you knew was damaged and failed to repair almost certainly will. Document your maintenance activity.
Liability questions related to animals on Maryland roads can intersect with other state laws as well. Our article on roadkill laws in Maryland covers what happens when wildlife or livestock are struck on public roads. For questions about other animals on your property, see our guides on neighbor’s cat in your yard laws in Maryland and feral cat laws in Maryland.
Putting It All Together
Maryland’s livestock fence laws are built on a straightforward foundation: if you own the animals, you are responsible for keeping them contained. The fence-in common law rule, established through court decisions rather than statute, places the cost and maintenance burden on the livestock owner. Your neighbor has no legal obligation to contribute to or build a fence simply because your animals might stray onto their land.
The absence of statewide construction standards means you must build to a functional standard — one adequate to contain your specific livestock. County ordinances in Howard, Kent, and formerly St. Mary’s add local layers to that baseline, and Baltimore County imposes clear material restrictions for electric and barbed wire fencing. Check your county code before you build, formalize any cost-sharing arrangement in a written agreement filed with your Circuit Court, and document your ongoing fence maintenance to protect yourself from negligence claims.
For additional context on animal-related regulations across Maryland, explore our resources on leash laws in Maryland, kennel zoning laws in Maryland, and rooster laws in Maryland. If you operate in multiple states, our guides on transporting livestock laws in Nevada and transporting livestock laws in Washington provide useful regional comparisons.