Skip to main content
CityRuleLookup

Merced County, CA Fence Regulations: Material Restrictions (2026)

Significant Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified September 2026

Key Facts

Barbed/electric/razor wire allowed
agricultural & industrial zones only
Banned in
all residential zones
Banned in
commercial & mixed-use zones
Sharp top-wire ban
any fence under 6 ft, residential
Legal fence materials
wood, chain link, PVC, mesh

Summary

Merced County bans barbed wire, electric fencing, and razor wire in every residential and commercial zone under Zoning Code § 18.34.020(F), reserving those materials for agricultural and industrial parcels. Even where barbed wire is allowed, no fence under six feet can carry sharp wire or projections along its top edge.

These county ordinances apply to unincorporated areas of Merced County. Incorporated cities within the county may have their own rules that take precedence over county-level regulations.

Security Fencing. Barbed wire, electric fence, razor wire, and other similar materials are only allowed in agricultural and industrial zones. ... Residential Zones. The use of barbed wire is not permitted in residential zones. There shall be no sharp wire or projections along the top of any fence or wall less than six feet in height. The use of electrified fencing or razor wire in conjunction with any fence, wall, roof, hedge, or by itself within any urban land use zone is prohibited unless required by any law or regulation of the County, State, Federal, or agency; with exceptions as approved by the Director.

View official code

Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: rev 4930839; v8 updated 2026-06-02).

Full Breakdown

020(E)(3) allows barbed wire, electric fence, razor wire, and similar security materials only in agricultural and industrial zones. Subsection (F)(1) flips that permission into a ban for every other district: the use of barbed wire is not permitted in residential zones, and the same paragraph prohibits sharp wire or projections along the top of any fence or wall less than six feet in height anywhere in a residential zone. It goes on to bar electrified fencing or razor wire in conjunction with any fence, wall, roof, or hedge, or standalone, within any urban land use zone, unless a law or regulation of the county, state, or federal government requires it, with exceptions the Director can approve.

Subsection (F)(2) extends the same prohibition to commercial and mixed-use zones, barring barbed wire, electric fencing, razor wire, and similar materials outright. 020(E)(1) and (2): fences may be wood, chain link, PVC formed to resemble pickets or panels, wire mesh, steel mesh, stakes, or louvered glass, while walls must be concrete, concrete block, wood, or another solid material assembled to form a solid barrier. 010's applicability section exempts fencing required by state or federal agencies or by the county for public safety, a barbed-wire enclosure mandated by a state agency, for example around a water treatment facility, would fall outside the residential and commercial ban.

Violations & Fines

Installing barbed wire, electrified fencing, or razor wire on a residential or commercial property violates § 18.34.020(F) even if it is combined with an otherwise-compliant fence, wall, or hedge, and code enforcement can order the prohibited material removed. Leaving sharp wire or projections on top of a fence under six feet in a residential zone is a separate violation of the same subsection regardless of whether the fence material itself is legal.

Frequently Asked Questions

Can I put barbed wire on my residential fence in Merced County?
No. Section 18.34.020(F)(1) states the use of barbed wire is not permitted in residential zones, and the county also bars sharp wire or projections on any fence under six feet tall.
Where is barbed wire actually allowed?
Only in agricultural and industrial zones, under § 18.34.020(E)(3), which lists barbed wire, electric fence, and razor wire as allowed security fencing materials there.
Is electric fencing legal anywhere in unincorporated Merced County?
No. Section 18.34.020(F)(1) prohibits electrified fencing or razor wire in any urban land use zone, whether attached to a fence, wall, roof, or hedge, unless another law requires it, and commercial zones repeat the ban in § 18.34.020(F)(2).
What fence materials are allowed instead?
Section 18.34.020(E)(1) permits wood, chain link, PVC formed like pickets, wire mesh, steel mesh, stakes, and louvered glass for fences, while walls must be concrete, concrete block, wood, or another solid material.

Sources & Official References

Other rules in Merced County

All Merced County rules

California rules heatmap·Compare Merced County to another location·View the California fence regulations overview

Get notified when Material Restrictions in Merced County, CA changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.