San Rafael · Building on your lot
Building on your lot in San Rafael
San Rafael sets its own limits on fences, accessory structures and home businesses in residential districts. Taller fences need administrative design review and an exception, and a home business may not use a garage or accessory structure.
Key points
- Fence height: In residential districts, fences are limited to 4 feet in front or street side setbacks and 7 feet in rear or interior side yards.
- Accessory structures: Residential accessory structures are limited to 15 feet, except through design review, and 30% of the required side or rear yard areas.
- Home businesses: A home business may use at most 25% of the home, 1 client at a time; non-residents may work only in cottage food operations.
Each rule below is marked San Rafael code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Fences and walls
| Corner visibility |
|
|---|---|
| Front yard height |
|
| Side and rear yard height |
|
| Permit |
|
Sheds, garages and other accessory structures
| Maximum height |
|
|---|---|
| Size or lot coverage |
|
| Side and rear setback |
|
| Distance from the house |
|
Running a business from home
| Space used |
|
|---|---|
| Customer visits |
|
| Employees |
|
| Permit |
|
Lot splits under SB 9
| How the lot may be divided |
|
|---|---|
| Minimum new lot size |
|
| Standards |
|
RV and boat parking
| Where it may be parked |
|
|---|---|
| Front-yard parking |
|
| Screening and surface |
|
Solar panels and EV chargers
| EV charger permit |
|
|---|---|
| Solar height and setbacks |
|
| Solar permit process |
|
| Review time |
|
Swimming pools
| Equipment and alarms |
|
|---|---|
| Pool barrier |
|
| Setback from property lines |
|
Pets, chickens and bees
| Chickens |
|
|---|---|
| Large animals |
|
Who this affects
Frequently asked questions
How tall can a fence be in San Rafael?
In residential districts, fences are limited to 4 feet in front or street side setbacks and 7 feet in rear or interior side yards.
How big can a shed or accessory building be in San Rafael?
Residential accessory structures are limited to 15 feet, except through design review, and 30% of the required side or rear yard areas.
Can I run a business from my home in San Rafael?
A home business may use at most 25% of the home, 1 client at a time; non-residents may work only in cottage food operations.
Can I split my lot under SB 9 in San Rafael?
San Rafael's code: One of the 2 new lots must be at least 40% of the original lot's area. (Applies to urban lot splits.) (§ 15.155.030); Each of the 2 new lots must be at least 1,200 square feet. (§ 15.155.030).
Can I park an RV or boat at my home in San Rafael?
San Rafael's code: An RV or boat may be parked in the garage, carport or parking space the zone requires. (Applies to single-family homes and duplexes.) (§ 14.18.190); In the front yard setback, an RV or boat may park only on the driveway to required parking. (Applies to single-family homes and duplexes, and only on the driveway to the garage, carport or parking spaces the zone requires.) (§ 14.18.190).
Do I need a permit for solar panels or an EV charger in San Rafael?
San Rafael's code: The city approves an EV charger administratively through a building permit or similar nondiscretionary permit. (Applies to a completed application that meets every item on the application checklist.) (§ 12.315.040); Zoning review and clearance are required before the building permit is issued. (Applies to outdoor EV chargers not attached to a building. Single-family homes are exempt.) (§ 12.315.040).
What are the pool fence and setback rules in San Rafael?
San Rafael's code: A 3-sided solid enclosure with baffles, or an equally effective measure, is required to reduce noise. (Applies when a pump, filter or similar equipment is within 15 feet of a bedroom window on a neighboring lot.) (§ 14.16.320); A private pool must be secured by an enclosure meeting Health and Safety Code 115923, plus state-required safety features. (Applies to private swimming pools.) (§ 12.265.020).
Can I keep chickens or bees at my home in San Rafael?
San Rafael's code: Chickens are allowed only with any required city permits and approvals. (§ 6.04.010); Large animals are allowed only with any required city permits and approvals. (§ 6.04.010).
General information, not legal advice.
Ask about a specific San Rafael property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question