David Babakaiff
Written by David Babakaiff · Co-Founder, VanPlex | 25+ Years BC Construction Last reviewed: October 2026

San Marcos | Parking and Setbacks

San Marcos, California Parking, Setbacks and Height: Residential Setbacks and Heights by Zone, Special Road Setbacks, Encroachments, Fences, and Parking for Houses, Multifamily Homes, ADUs and SB 9 Units

This page covers the measurements that decide how much building fits on a San Marcos lot. A setback is the required open distance between a building and a lot line. Height limits cap how tall a building may be, and parking rules set how many off-street spaces each home needs. The rules are in Chapters 20.215, 20.300, 20.335 and 20.340 of the San Marcos Municipal Code. ADUs and SB 9 units have their own setbacks and parking, set by state law and by Chapters 20.410 and 20.470. The San Marcos overview has the summary.

San Marcos setbacks and parking in six facts

Setbacks and Height in the R-1 and R-2 Zones

Standard R-1-20 R-1-10 R-1-7.5 R-2
Front, living area 35 ft 25 ft 20 ft 10 ft
Front, garage 35 ft 30 ft 25 ft 20 ft (15 ft for a turn-in garage)
Interior side 10 ft 10 ft 7.5 ft 5 ft (0 ft on the attached side)
Corner side 15 ft 15 ft 10 ft 10 ft
Rear 30 ft 25 ft 20 ft (15 ft for a turn-in garage) 15 ft
Between buildings 10 ft 10 ft 10 ft 10 ft
Height 35 ft or 2 stories 35 ft or 2 stories 35 ft or 2 stories 35 ft or 2 stories
Single-floor living width 20 ft 20 ft 20 ft 14 ft

Source: San Marcos Municipal Code Table 20.215-3. "All standards are minimums unless otherwise noted." Height is the lesser of the two figures.

Three notes under Table 20.215-3 change how these numbers work. Note 5 says "Setbacks shall be measured from back of ROW", meaning from the edge of the public street land, the right-of-way. Note 6 adds the special road setbacks described below. The front garage row has a note that "Turn-in garages permitted at 15-foot front setback." The code does not define a turn-in garage, so ask the Planning Division whether a design counts as one. In R-2, attached single-family homes may have "0-foot lot line on the attached side." Other structures are "prohibited in front setback."

Table 20.215-3 sets no lot coverage limit and no floor area ratio for the R-1 and R-2 zones, so the building footprint is limited by the setbacks, height and parking. By VanPlex arithmetic, a 60-foot wide R-1-7.5 lot keeps 45 feet of width between its 7.5-foot side setbacks, and a 100-foot deep lot keeps 60 feet of depth between its 20-foot front and rear setbacks. A 50-foot wide R-2 lot keeps 40 feet between 5-foot sides. The R-2 table sets a single-floor living space width of 14 feet, against 20 feet in the R-1 zones, measured from exterior wall to exterior wall. The 10-foot space between buildings applies in every R-1 and R-2 zone, and the table notes it "Could be amended if compliant with Building and Fire Codes." Section 20.215.050(F) requires all buildings, walls and fences on a site to be "architecturally compatible with the primary residential building."

For the R-3 zones, Table 20.215-4 sets 45 feet or 3 stories in R-3-6 and 35 feet or 2 stories in R-3-10, a 15-foot setback on the primary street, 10 feet on other project edges (7.5 feet for R-3-6 projects of up to 3 units), 10 feet along interior private streets, and parking 8 feet from any property line in R-3-6 and 5 feet in R-3-10. The three or more homes page covers those zones.

How Height and Setbacks Are Measured

Section 20.300.050 sets citywide rules. Chimneys, dormer windows and similar features "shall be measured from the finished grade to the top of the feature" and may not pass the zone height. Its subsection (A)(2) gives hill lots a bonus: "An additional story on the downside of any building shall be permitted for lots with an average slope greater than a one to seven (1:7) ratio (rise to run)", with the design reviewed under the ridgeline chapter. A one to seven slope rises one foot for every seven feet across.

  • Street land. Where a lot line runs to the middle of a street, the front setback is measured from "the outer edge of the dedicated ROW or edge of the future planned ROW extension."
  • Private roads. Setbacks are measured "from the easement line", and a building may sit 2 feet from the edge of a recorded easement where the building area would overlap it.
  • Next to a park. "The required rear setback may be reduced by fifty percent (50%)" where the rear line is shared with a public park or designated open space.
  • Odd lots. For lots "of unusual shape or dimension", the Director measures setbacks "in a practical manner", appealable to the Planning Commission.
  • Open to the sky. "Every required setback shall be open and unobstructed from the ground to the sky", except for the encroachments below.

Special Setbacks Along General Plan Roads

Section 20.300.060 sets deeper setbacks along the City's main roads, and they "apply to all Zones and land uses, taking precedent over the established requirements of the applicable Zone chapter." Table 20.300-3 measures them from the center line of the road to the zone property line: 77 or 86 feet in the residential and agricultural zones, and 52 or 61 feet in all other zones, depending on the road. The roads listed include Barham Drive, Los Vallecitos Boulevard, Twin Oaks Valley Road, Nordahl Road, Rancho Santa Fe Road, San Marcos Boulevard, Mission Road and Grand Avenue. The text copy of the table VanPlex read does not show clearly which roads take 77 feet and which take 86, so check the table itself for your road. Note 6 of Table 20.215-3 says "where standards conflict, the largest standard shall prevail."

What May Extend Into a Setback

  • Porches and decks. Up to 3 feet into the front setback and 5 feet into the rear, over no more than half of the setback area and no more than 30 inches above grade. "Second-story balconies on single-family homes are not permitted."
  • Front paving. Driveways, walkways, steps and terraces may cover no more than 50 percent of the front setback.
  • Pools and hot tubs. At least 5 feet from side and rear lines, with equipment 4 feet away and no more than 3 feet above finished grade.
  • Architectural features. Up to 2 feet into any setback.
  • Courtyards. Courtyard walls up to 42 inches may sit in the front setback with a 10-foot minimum property line setback in residential zones.
  • Accessibility. Ramps and other features required for disabled access may extend into any setback.

Accessory buildings follow Section 20.410.040: all enclosed accessory buildings on a house lot, other than ADUs, may total 40 percent of the living area of the house or 800 square feet, whichever is less; each is one story and up to 15 feet, and no taller than the house. They keep the zone setbacks except for a 5-foot rear setback and, behind the house, a 5-foot interior side setback, and they must be 10 feet from the house if detached. Shipping containers and railroad cars are barred unless altered to match the house.

Fences follow Section 20.335.050. In the front setback a fence or wall may be 42 inches tall; along a side street it may be 42 inches inside the front setback area and 6 feet elsewhere; and along side, interior and rear lines it may be 6 feet. Lots on major roads may get a sound wall of 6 to 8 feet with Director and City Engineer approval. Barbed, razor and electrified wire are barred outside the agricultural zones, and "Chain-link fencing and similar material are prohibited along any public ROW regardless of setback."

Parking for Each Home Type

Home type Spaces required Notes
Single-family detached, 3,000 sq ft or less 2 attached covered spaces Garage at least 20 by 20 ft (400 sq ft) inside
Single-family detached, over 3,000 sq ft 3 attached covered spaces At least 640 sq ft inside; third space may be tandem
Single-family attached 2 per unit, 1 covered
Duplex 2 per unit, plus 1 guest space per 3 units 1 covered; 1 garage space for duplexes
Multifamily, studio 1 per unit, plus 1 guest space per 3 units 1 covered space for apartments
Multifamily, 1 bedroom 1.5 per unit, plus guests
Multifamily, 2 or more bedrooms 2 per unit, plus guests 1 covered; 1 garage space for condominiums and townhomes
Senior or age-restricted unit 1.25 per unit Covers residents and visitors
ADU 1 per new ADU, with six exemptions Chapter 20.410
SB 9 unit 1 per unit, none near transit or car share Chapter 20.470

Sources: San Marcos Municipal Code Table 20.340-1, Table 20.340-5, 20.410.060(J) and 20.470.030(D).

Section 20.340.040 says parking "shall be applied uniformly, based on land uses, regardless of the Zone." Fractions of 0.5 or more round up to a full space and smaller fractions are dropped. Residential parking "shall not be located within a required front or corner side setback", and "All garages and parking spaces shall be constructed concurrently with the dwelling unit prior to occupation." For a house over 3,000 square feet, the third garage space "may be tandem", and "no required portion shall be eligible for garage conversion."

Multifamily parking in R-2 and R-3 is set by bedroom count, with one guest space for every three units and one covered space per unit. A rental unit's assigned space must be covered and at least 12 by 20 feet; an ownership unit gets an enclosed garage space of the same size with an automatic door. Uncovered spaces in multifamily projects are assigned by unit under a Parking Management Plan, and all assigned spaces are full size, 9 by 18 feet. By VanPlex arithmetic, a fourplex of two-bedroom units needs 9 spaces and a duplex needs 5.

ADUs and SB 9 units follow state law. An ADU needs one space unless one of six exemptions applies, which match Government Code 66322, and a garage converted to an ADU need not be replaced. An SB 9 unit needs one space, or none "within one-half mile walking distance of either a high-quality transit corridor ... or a major transit stop", or within one block of a car share vehicle, as Government Code 65852.21(c) allows. The San Marcos code chapters read for this guide do not mention Government Code 65863.2, the state law that limits parking minimums near major transit stops; ask the City how it applies that law to a project near a transit stop.

Best For

  • ✓ Wide R-1-7.5 lots, where 7.5-foot side setbacks leave room for a second unit or an ADU behind the house.
  • ✓ Hill lots with an average slope steeper than 1 to 7, which may add a story on the downhill side.
  • ✓ Lots backing onto a public park, where the rear setback is cut by half.

Usually Fails When

  • ✕ The lot fronts a General Plan road, where the centerline setback of 77 or 86 feet overrides the zone table.
  • ✕ A plan converts a required space of a three-car garage, which Table 20.340-5 bars.
  • ✕ A design adds a second-story balcony to a single-family home.

What To Verify Before Spending Money

  • → The edge of the right-of-way, since setbacks are measured from there.
  • → Whether the lot is on a road in Table 20.300-3, and which setback that road takes.
  • → How the City applies Government Code 65863.2 near a transit stop.

Where to Go Next

Related on VanPlex: the San Marcos overview, the California ADU law page and the California SB 9 page.

Frequently Asked Questions

How tall can a house be in San Marcos, California? +
A house in the San Marcos R-1-20, R-1-10, R-1-7.5 or R-2 zone may be 35 feet or 2 stories, whichever is less, under Table 20.215-3. Section 20.300.050(A) allows an extra story on the downhill side of a lot whose average slope is steeper than 1 to 7. In the Ridgeline Overlay Zone, new buildings are capped at 28 feet.
What are the setbacks in the San Marcos R-1-7.5 zone? +
In the San Marcos R-1-7.5 zone, Table 20.215-3 sets a 20-foot front setback for living space, 25 feet for a garage, 7.5-foot interior sides, a 10-foot corner side and a 20-foot rear setback. By VanPlex arithmetic a 60-foot wide lot keeps 45 feet of building width. Setbacks are measured from the back of the right-of-way.
How many parking spaces does a new house in San Marcos need? +
A new San Marcos house of 3,000 square feet or less needs 2 attached covered spaces, and a larger house needs 3, under Table 20.340-1. Table 20.340-5 sets a two-car garage of at least 20 by 20 feet inside, built with the same materials as the house, and says no required part of a three-car garage may be converted.
Why is my San Marcos lot setback larger than the zone table says? +
San Marcos Section 20.300.060 adds special setbacks along General Plan roads, measured from the street centerline. Table 20.300-3 sets 77 or 86 feet from the centerline for residential and agricultural zones, by road, and names roads such as Twin Oaks Valley Road, San Marcos Boulevard and Rancho Santa Fe Road. Where standards conflict, "the largest standard shall prevail."
How tall can a fence be in a San Marcos front yard? +
A fence or wall in a San Marcos residential front setback may be 42 inches tall, and fences on side, interior and rear property lines may be 6 feet, under Section 20.335.050. A lot next to a major road may get a sound wall of 6 to 8 feet with Director and City Engineer approval. Chain-link fencing may not face a public street.
Can a deck or porch extend into a San Marcos setback? +
Yes, within limits. San Marcos Section 20.300.020(G) lets porches and decks extend up to 3 feet into the front setback and up to 5 feet into the rear setback, over no more than half of the setback area and no more than 30 inches above grade. Second-story balconies on single-family homes are not permitted, and pools must be 5 feet from side and rear lines.
Does an ADU change the parking rules on a San Marcos lot? +
A San Marcos ADU adds one paved 9 by 18 foot space under Section 20.410.060(J), unless an exemption applies, such as a location within one-half mile walking distance of public transit. When a garage is converted to an ADU, the City may not require the lost spaces back, but existing driveway spaces must stay. No more than 30 percent of a front yard may be parking.
How large is an accessory building allowed to be in San Marcos? +
All enclosed accessory buildings on a San Marcos house lot, other than ADUs, may total 40 percent of the living area of the house or 800 square feet, whichever is less, under Section 20.410.040. They are limited to one story and 15 feet and may not be taller than the house, need a 5-foot rear setback, and must be 10 feet from the house if detached.
How far must a garage be from the street in San Marcos? +
A San Marcos garage must sit 35 feet from the front line in R-1-20, 30 feet in R-1-10, 25 feet in R-1-7.5 and 20 feet in R-2, under Table 20.215-3. A turn-in garage may sit at 15 feet in R-2, a term the code leaves undefined. In a planned residential development, straight-in garages need 20 feet and others 15.
Can my San Marcos rear setback be reduced next to a park? +
Yes. San Marcos Section 20.300.050(E) lets the required rear setback in residential and agricultural zones be reduced by 50 percent where the rear lot line is shared with a public park or designated open space. In R-1-7.5 that turns the 20-foot rear setback into 10 feet by VanPlex arithmetic. Lot lines next to private roads are measured from the easement line.

Official sources (checked October 2026)

San Marcos Municipal Code 20.215.050, residential development standards
https://library.municode.com/ca/san_marcos/codes/code_of_ordinances?nodeId=TIT20ZO_CH20.215REZO_S20.215.050REDEST
San Marcos Municipal Code Chapter 20.300, site planning and general development standards
https://library.municode.com/ca/san_marcos/codes/code_of_ordinances?nodeId=TIT20ZO_CH20.300SIPLGEDEST
San Marcos Municipal Code Chapter 20.335, walls and fences
https://library.municode.com/ca/san_marcos/codes/code_of_ordinances?nodeId=TIT20ZO_CH20.335WAFE
San Marcos Municipal Code Chapter 20.340, off-street parking and loading
https://library.municode.com/ca/san_marcos/codes/code_of_ordinances?nodeId=TIT20ZO_CH20.340OREPALO
San Marcos Municipal Code 20.340.040, required number of parking spaces
https://library.municode.com/ca/san_marcos/codes/code_of_ordinances?nodeId=TIT20ZO_CH20.340OREPALO_S20.340.040RENUPASP
San Marcos Municipal Code Chapter 20.410, ADUs and accessory structures
https://library.municode.com/ca/san_marcos/codes/code_of_ordinances?nodeId=TIT20ZO_CH20.410ACDWUNACST
San Marcos Municipal Code Chapter 20.470, two-unit residential developments
https://library.municode.com/ca/san_marcos/codes/code_of_ordinances?nodeId=TIT20ZO_CH20.470TITREDESIFAZO
Government Code 65852.21 (SB 9 parking)
https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=GOV&sectionNum=65852.21
Government Code 66314 (ADU parking cap)
https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=GOV&sectionNum=66314
Government Code 66322 (ADU parking exemptions)
https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=GOV&sectionNum=66322
General information, not legal advice. California housing law changes every year, and each city adds its own rules on top of state law. Confirm current requirements with the city or county planning department, and with a California-licensed attorney or architect, before you buy land or file plans.

Planning a multiplex in San Marcos?

VanPlex builds multiplexes in British Columbia, Canada. For a lot in San Marcos, our team makes a custom proforma by hand and emails it to you in 24 to 48 hours.

Get a proforma for your address