Martinez · Building on your lot
Building on your lot in Martinez
Martinez sets its own fence heights and accessory-structure limits. Fence limits depend on the yard, nearness to a street intersection, slope and district.
Key points
- Fence height: City rule: fences limited to 3½ ft in required front yards, 6 ft outside; R-district front yards with 20%+ downslope allow 6 ft.
- Accessory structures: City rule: accessory structures are limited to 1 story or 15 ft (higher with a use permit) and 1,000 sq ft each.
Each rule below is marked Martinez 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 |
|
|---|---|
| Height anywhere on the lot |
|
| Front yard height |
|
Sheds, garages and other accessory structures
| Maximum height |
|
|---|---|
| Size or lot coverage |
|
| Side and rear setback |
|
Lot splits under SB 9
Martinez code Neither new parcel may be smaller than 40% of the original parcel area. At least 1,200 square feet.
All 15 Martinez rules on lot splits under sb 9, with the code text and the state law underneath →
Solar panels and EV chargers
| EV charger permit |
|
|---|---|
| Solar permit process |
|
| Review time |
|
Tree removal
Martinez code No building permits or use of the property for 2 years; the city may also stop work. Yes, a tree permit is required.
All 13 Martinez rules on tree removal, with the code text and the state law underneath →
Swimming pools
| Pool barrier |
|
|---|---|
| Barrier height |
|
| Equipment and alarms |
|
| Gates |
|
Pets, chickens and bees
| Chickens |
|
|---|
Who this affects
Frequently asked questions
How tall can a fence be in Martinez?
City rule: fences limited to 3½ ft in required front yards, 6 ft outside; R-district front yards with 20%+ downslope allow 6 ft.
How big can a shed or accessory building be in Martinez?
City rule: accessory structures are limited to 1 story or 15 ft (higher with a use permit) and 1,000 sq ft each.
Do I need a permit for solar panels or an EV charger in Martinez?
Martinez's code: Apply in person, by mail or electronically. (Applies to the permit application and its documents.) (§ 15.08.060); Administrative, nondiscretionary review; a permit issues for a complete application meeting the checklist and standard plan. (Applies to complete applications that meet the approved checklist and standard plan.) (§ 15.09.060).
What are the pool fence and setback rules in Martinez?
Martinez's code: Openings, holes or gaps no larger than 4 inches across. (§ 17.36.020); The gap between the ground and the bottom of the barrier is at most 2 inches. (§ 17.36.020).
Can I keep chickens or bees at my home in Martinez?
Martinez's code: Yes; up to 8 chickens. (Applies in residential and agricultural zones on lots of 4,000 to 10,000 square feet.) (§ 22.58.030); Yes; up to 12 chickens. (Applies in residential and agricultural zones on lots of 10,001 to 20,000 square feet.) (§ 22.58.030).
General information, not legal advice.
Ask about a specific Martinez property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question