San Marcos, CA Fence Regulations: Height Limits (2026)
Key Facts
- 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)
Summary
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.
B.Visibility. No wall, fence, or landscaping element shall interfere with intersection visibility or line of sight or other safety issue. See Figure 20.300-4. ... F.Maximum Height. The height of all walls, fences, and architectural screening elements shall be measured from the finished grade of the property to the highest point of the element.1.Table 20.335-1 established maximum wall/fence heights by Zone.2.Where additional height is needed based on security or specific site operating requirements, additional wall/fence height may be approved through a DP, subject to evaluation of adjacencies and necessity.3.Hedges or other vegetation shall not exceed the maximum height of walls permitted in the Zone so located. ... A.Property Boundary Walls...1.Front setback area maximum height forty-two (42) inches...2.Side street setback area maximum height of forty-two (42) inches within the front setback area, otherwise six (6) feet.3.Side, interior and rear property lines maximum height six (6) feet.
Official source re-checked September 7, 2026: no newer edition of the code had been published (publisher’s edition: Code of Ordinances: Supplement 14 Update 1).
Full Breakdown
335 (Walls and Fences) governs every fence and wall required by any land use or zone in the City. 335-1 setting maximum heights by zone and setback location. A translates that table into concrete numbers: 42 inches in the front setback area, 42 inches in the side-street setback within the front setback area (6 feet elsewhere on a corner lot's street side), and 6 feet along side, interior, and rear property lines. 3. 060 make this explicit by holding corner-lot fences to 42 inches within the sight triangle even where a taller open fence is otherwise allowed. a rather than being available by right.
Violations & Fines
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.
Frequently Asked Questions
How tall can a front-yard fence be in San Marcos?
Can I build a 6-foot fence along my side or rear property line?
Does San Marcos regulate fences near street corners?
Can I build a taller fence than the code allows?
Sources & Official References
Other rules in San Marcos
How San Marcos compares: Cities That Allow the Tallest Residential Fences·California rules heatmap·Compare San Marcos 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.
Height Limits in Nearby Cities
How other cities in San Diego County handle height limits.