Merced County · Building on your lot
Building on your lot in Merced County
Merced County's code applies only in unincorporated areas of the county. There it sets limits on fences, accessory structures, home businesses and RV parking in residential zones, and fence height depends on where the fence stands.
Key points
- Front fences: In residential zones, fences in the first 15 feet of the front setback are limited to 4 feet, outside sight-distance areas.
- Other fences: Residential fences at least 15 feet from the property line, or in setbacks next to non-residential zones, are limited to 7 feet.
- Accessory height: Nonexempt residential accessory structures are limited to 15 feet, or more with an administrative permit, and never above the main building.
- Accessory size: Nonexempt accessory structures may cover at most 15% of the rear yard, and at most 600 square feet on parcels under one-quarter acre.
- Home businesses: Home businesses need a Zoning Clearance and may use at most the lesser of 250 square feet or 25% of living space.
- RV street parking: RVs may park in front of residences for at most 48 continuous hours, then must move at least 500 feet and wait 48 hours.
Each rule below is marked Merced County code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Merced County's code applies in the unincorporated areas of the county. Cities in Merced County have their own codes and their own pages.
Fences and walls
| Corner visibility |
|
|---|---|
| Height anywhere on the lot |
|
| Front yard height |
|
| Permit |
|
Sheds, garages and other accessory structures
| Maximum height |
|
|---|---|
| Size or lot coverage |
|
| Side and rear setback |
|
Running a business from home
| Space used |
|
|---|---|
| Employees |
|
| Permit |
|
| Businesses not allowed |
|
RV and boat parking
| Where it may be parked |
|
|---|---|
| Front-yard parking |
|
| Screening and surface |
|
| Parking on the street |
|
| Living in an RV |
|
Solar panels and EV chargers
| EV charger permit |
|
|---|---|
| Solar permit process |
|
Swimming pools
| Equipment and alarms |
|
|---|
Pets, chickens and bees
| Large animals |
|
|---|
Who this affects
Frequently asked questions
How tall can a fence be in Merced County?
In residential zones, fences in the first 15 feet of the front setback are limited to 4 feet, outside sight-distance areas. Residential fences at least 15 feet from the property line, or in setbacks next to non-residential zones, are limited to 7 feet.
How big can a shed or accessory building be in Merced County?
Nonexempt residential accessory structures are limited to 15 feet, or more with an administrative permit, and never above the main building. Nonexempt accessory structures may cover at most 15% of the rear yard, and at most 600 square feet on parcels under one-quarter acre.
Can I run a business from my home in Merced County?
Home businesses need a Zoning Clearance and may use at most the lesser of 250 square feet or 25% of living space.
Can I park an RV or boat at my home in Merced County?
RVs may park in front of residences for at most 48 continuous hours, then must move at least 500 feet and wait 48 hours.
Do I need a permit for solar panels or an EV charger in Merced County?
Merced County's code: Administrative, nondiscretionary fast review using a checklist. (Applies to electric vehicle charging stations.) (§ 16.42.010); Apply in person, by mail or electronically, with any required fees; only 1 inspection. (Applies to small rooftop home solar systems eligible for fast review.) (§ 16.18.030).
What are the pool fence and setback rules in Merced County?
Merced County's code: Final alarm and mechanical inspections must pass before plastering or filling; equipment must be fastened to structures or concrete slabs. (§ 16.12.140).
Can I keep chickens or bees at my home in Merced County?
Merced County's code: No straying off the owner's land, except led on roads by day, on fenced land with consent, or open range. (Applies to livestock.) (§ 7.04.080).
General information, not legal advice.
Ask about a specific Merced County property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question