Skip to main content
CityRuleLookup

Fence Regulations in San Marcos, CA (2026)

5 verified fence regulations for San Marcos, California, sourced directly from the municipal code and official government pages.

Verified from official government sources

Height Limits

San Marcos limits front yard fences and walls to 42 inches (3.5 feet) in height. Side and rear yard fences may be up to 6 feet, with freestanding masonry walls up to 7 feet allowed without a building permit but subject to city standards. Fences above 6 feet require planning department approval.

San Marcos Fence & Wall Height Limits

Some Restrictions

Permit Requirements

San Marcos does not require building permits for most residential fences. Wood fences and freestanding masonry walls up to 7 feet in height are exempt from building permits but must conform to city standards. Fences exceeding 6 feet require Planning Department approval for the additional height.

San Marcos Fence Permit Requirements

Few Restrictions

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.

San Marcos Neighbor Fence Rules & Shared Boundaries

Few Restrictions

Cal. Civ. Code § 841 (Good Neighbor Fence Act)

841. (a) Adjoining landowners shall share equally in the responsibility for maintaining the boundaries and monuments between them. (b) (1) Adjoining landowners are presumed to share an equal benefit from any fence dividing their properties and, unless otherwise agreed to by the parties in a written agreement, shall be presumed to be equally responsible for the reasonable costs of construction, ...

Retaining Walls

San Marcos requires grading permits for retaining walls exceeding 3 feet in height and engineering review for taller structures. Retaining walls up to 4 feet from the bottom of footing (without surcharge) are exempt from building permits but walls over 3 feet still require a grading permit.

San Marcos Retaining Wall Requirements

Some Restrictions

Pool Barriers

San Marcos enforces California Building Code pool barrier requirements. All residential swimming pools and spas must have a safety barrier at least 60 inches (5 feet) high with self-closing, self-latching gates. Non-climbable barriers and compliant gate hardware are mandatory to prevent child drowning.

San Marcos Pool Barrier & Safety Fence Requirements

Heavy Restrictions

Looking for San Diego County county-wide rules?

County ordinances apply to unincorporated areas and may supplement San Marcos city rules.

Fence Regulations in San Diego County