Skip to main content
CityRuleLookup
Fence Regulations

How San Marcos Handles Fence Regulations: A Practical Guide

By CityRuleLookup Editorial Team

San Marcos maintains 143 local ordinances across all categories, and 5 of those deal specifically with fence regulations. Here is a breakdown of what the city actually requires, what is prohibited, and where San Marcos falls on the strict-to-permissive spectrum compared to other cities.

Retaining Walls

San Marcos requires a Grading permit for any retaining wall three feet or taller, measured from top of footing to top of wall, under Municipal Code Section 17.32.105. Walls under three feet, or those already covered by a Building Permit, are exempt. Taller walls need a California-registered engineer's stamped calculations, engineered drainage, and, once the exposed face passes four feet, an earth-tone textured finish.

Key details: Permit trigger: 3+ ft wall, footing to top. Exempt: Under 3 ft or covered by Building Permit. Engineering: CA-registered engineer's stamped calcs required. SDRSD exception: No calcs needed if built to regional standard. Drainage: Required for all walls over 3 ft.

Grading Chapter violations, including retaining walls built without a required permit or out of conformance with approved plans, are a public nuisance the City Attorney can abate under Section 17.32.200. Unpermitted grading doubles the eventual permit fee, and violators face infraction or misdemeanor charges under Section 1.12.010, with each day of noncompliance a separate offense, plus civil penalties up to $2,500 per violation per day.

Height Limits

San Marcos caps residential fence and wall height at 42 inches in front and street-side setbacks and 6 feet along interior side and rear lines, measured from finished grade, under Municipal Code Section 20.335.030(F) and Section 20.335.050, and bars any fence from blocking intersection sight lines.

Key details: Front setback max height: 42 inches (SMMC § 20.335.050.A.1). Side/rear property line max height: 6 feet (SMMC § 20.335.050.A.3). Height measured from: Finished grade to highest point. Sound wall exception: Up to 6–8 ft with Director/City Engineer approval. Governing table: Table 20.335-1, § 20.335.030(F).

A fence or wall built over the height allowed for its setback location, or one that blocks the required intersection sight triangle, is not brought into compliance through the standard site-plan or permit review under Section 20.335.020.A and can be required to be lowered, relocated, or removed. Where added height is needed for sound attenuation or security, the property owner must first obtain Director/City Engineer approval and a building permit rather than build it unpermitted.

Material Restrictions

San Marcos bans barbed wire, razor wire, concertina wire, electrified wire, corrugated metal and plastic, and tarps on fences citywide, and prohibits chain-link fencing along any public right-of-way, under Municipal Code Section 20.335.030(E); a narrow livestock exception applies only in Agricultural zones.

Key details: Banned citywide: Barbed, razor, electrified wire; corrugated metal/plastic; tarps. Chain-link: Prohibited along any public ROW, any zone but Ag. Livestock exception: Ag zones only, max 72 inches. Approved materials: Wood, vinyl, stone, masonry, brick, wrought iron. Governing section: SMMC § 20.335.030(D)-(E).

Installing a barbed-wire, razor-wire, electrified, corrugated-metal, or tarp fence outside the narrow Agricultural-zone livestock exception, or installing chain-link visible from a public right-of-way, is a code violation the City can require to be removed or replaced through the permit and site-plan review process in Section 20.335.020.A. A permit application proposing prohibited materials will not clear the fence and wall standards review needed before other permits are issued.

This is one of the stricter rules in San Marcos's municipal code. If you are unsure whether your situation complies, it is worth checking with the city before proceeding.

Fence Permit Requirements

San Marcos reviews every fence and wall as part of a site plan, building permit, or Site Development Plan Review application under Municipal Code Section 20.335.020(A), and requires a separate Director/City Engineer approval plus a building permit before a homeowner can build a taller sound wall.

Key details: Standard fence review: Folded into site plan/building permit, § 20.335.020(A). Pool fencing: Must meet California Building Code, § 20.335.020(B). Sound wall approval: Director + City Engineer, plus building permit. Sound wall height allowed: 6–8 feet (vs. 6-ft base max). Disrepair enforcement: SMMC § 20.335.040(D).

Building a fence or wall without going through the applicable site plan, building permit, or Site Development Plan Review under Section 20.335.020.A, or building an above-standard sound wall without first getting Director and City Engineer approval under Section 20.335.050.A.1.a, exposes the owner to a stop-work or removal order once the City identifies the unpermitted structure. Letting a fence fall into disrepair can separately trigger a code compliance case under Section 20.335.040.D.

Neighbor Fence Rules

San Marcos follows California state law (Civil Code Section 841) for shared boundary fence responsibilities. Adjoining property owners share equal responsibility for maintaining boundary fences. The city recommends discussing fence plans with neighbors before construction to avoid disputes.

Key details: State Law: Civil Code Section 841. Cost Sharing: Equal between neighbors. Survey Recommended: For boundary fences. Disputes: Civil matter / mediation. Code Enforcement: (760) 744-1050 x3234.

San Marcos is more permissive than most cities when it comes to neighbor fence rules. That said, there are still limits.

The Bottom Line

San Marcos's fence regulations rules are a mixed bag. Some areas are strict, others are relaxed, and the details matter. The best approach is to check the specific rule that applies to your situation rather than assuming San Marcos is broadly strict or permissive.

These rules come from San Marcos's publicly available municipal code. For complete penalty schedules, exemption details, and answers to common questions, see the individual ordinance pages throughout this guide.