Merced County, CA Fence Regulations: Material Restrictions (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.
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.
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?
Where is barbed wire actually allowed?
Is electric fencing legal anywhere in unincorporated Merced County?
What fence materials are allowed instead?
Sources & Official References
Other rules in Merced County
California rules heatmap·Compare Merced County to another location·View the California fence regulations overview
See something wrong?
Help us keep this page accurate. If you notice an error or outdated information, let us know.