San Marcos · Building on your lot
Sheds, garages and other accessory structures in San Marcos
Accessory structures are limited to 1 story and 15 feet, and may be no higher than the main home (city rule).
Key points
- Accessory height: Accessory structures are limited to 1 story and 15 feet, and may be no higher than the main home (city rule).
Each rule below links to the section of the San Marcos Municipal Code it was read from, with the code text one click away (checked October 2026). General information, not legal advice.
What San Marcos's code says
| Maximum height |
|
|---|---|
| Size or lot coverage |
|
| Side and rear setback |
|
| Distance from the house |
|
Who this affects
Frequently asked questions
How big can a shed or accessory building be in San Marcos?
Accessory structures are limited to 1 story and 15 feet, and may be no higher than the main home (city rule).
General information, not legal advice.
Ask about a specific San Marcos property
Ask GoCodebook how San Marcos's sheds, garages and other accessory structures rules apply to your situation and get an answer that cites the section.
Ask your questionMore on building on your lot in San Marcos
All building on your lot rules in San Marcos
Running a business from home in San Marcos
Lot splits under SB 9 in San Marcos
Solar panels and EV chargers in San Marcos
Swimming pools in San Marcos
Building on a hillside in San Marcos
Affordable units in new housing (inclusionary) in San Marcos
Parking spaces required for homes in San Marcos
Trash and recycling carts in San Marcos
San Marcos Municipal Code — full text