National City · Building on your lot
Building on your lot in National City
National City sets its own fence rules, accessory-structure rules for the RS-4 zone and home-business rules. Home businesses may not have customers on the premises.
Key points
- Home businesses: City rule: residential home businesses need a home occupation permit and business license; no customers, displays or on-site sales.
- Chain link fences: City rule: vinyl-coated, landscape-screened chain link fences are limited to 6 ft in residential side and rear yards.
- Accessory structures: City rule: the Westside Specific Plan sets 3 ft and 6 ft limits for accessory structures in the RS-4 zone.
Each rule below is marked National City code or CA state law and links to the section it comes from (checked October 2026). General information, not legal advice.
Fences and walls
| Front yard height |
|
|---|---|
| Side and rear yard height |
|
| Permit |
|
Sheds, garages and other accessory structures
| Side and rear setback |
|
|---|---|
| Distance from the house |
|
Running a business from home
| Customer visits |
|
|---|---|
| Employees |
|
| Permit |
|
| Businesses not allowed |
|
RV and boat parking
| Front-yard parking |
|
|---|---|
| Where it may be parked |
|
| Size limit |
|
| Parking on the street |
|
Solar panels and EV chargers
| EV charger permit |
|
|---|---|
| Solar height and setbacks |
|
| Solar permit process |
|
Swimming pools
| Pool barrier |
|
|---|---|
| Barrier height |
|
| Equipment and alarms |
|
Pets, chickens and bees
National City code Up to 4 hives, only on agricultural or research lots of at least 10,000 sq ft; not on home lots. Yes; up to 6 hens.
Who this affects
Frequently asked questions
How tall can a fence be in National City?
City rule: vinyl-coated, landscape-screened chain link fences are limited to 6 ft in residential side and rear yards.
How big can a shed or accessory building be in National City?
City rule: the Westside Specific Plan sets 3 ft and 6 ft limits for accessory structures in the RS-4 zone.
Can I run a business from my home in National City?
City rule: residential home businesses need a home occupation permit and business license; no customers, displays or on-site sales.
Can I park an RV or boat at my home in National City?
National City's code: Only on paved areas or driveways designed for parking. (Any vehicle, including an RV or boat trailer, in the front yard or exterior side yard setback of a home.) (§ 7.20.140); Only if owned by and registered to someone living in a legal home on the same parcel. (RVs or boat trailers parked or stored on a residential parcel.) (§ 7.20.140).
Do I need a permit for solar panels or an EV charger in National City?
National City's code: The building official administratively approves and issues permits when the application is complete and meets health and safety rules. (EV charging stations. Electronic submittal and electronic signatures are accepted.) (§ 15.82.030); No limit on the percentage of roof covered. (§ 18.30.300).
What are the pool fence and setback rules in National City?
National City's code: The bottom of the barrier at most 2 inches above the ground. (Outdoor pools, hot tubs and spas; measured to a hard surface such as concrete.) (§ 15.22.045); At most 4 inches between the top of the pool and the bottom of the barrier. (A barrier mounted on top of an above-ground pool.) (§ 15.22.045).
General information, not legal advice.
Ask about a specific National City property
Ask GoCodebook how these rules apply to your address and get an answer that cites the section.
Ask your question