Skip to main content
CityRuleLookup

National City, CA Right to Farm: Agricultural Zoning Protection (2026)

Some Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified September 2026

Key Facts

Neighborhood garden size
One acre or less
Community farm size
Larger than one acre
Building setback from residential district
Ten feet
Building coverage cap
Fifteen percent community farms; five percent neighborhood gardens
Perimeter fence height
Six feet, at least fifty percent open above four feet
Public hours
Seven a.m. to seven p.m. every day

Summary

National City regulates urban gardens and farms in § 18.30.240 of the Land Use Code. Buildings on a neighborhood garden or community farm sit at least ten feet from a residential district property line, building coverage tops out at fifteen percent of the lot for community farms and five percent for neighborhood gardens, and public hours run seven a.m. to seven p.m.

C.Permitted Primary Uses. Cultivation of edible vegetables, flowers, herbs, fruits and other plants in the ground, in raised beds, and in greenhouses which may have occasional sales of items at the site. Sale of nonagricultural times is prohibited. ... E.Supplemental Regulations. Uses and structures shall be developed and maintained in accordance with the following regulations:1.Location. Buildings associated with a community farm or neighborhood garden shall be set back from property lines of a residential district a minimum distance of ten feet.2.Height. No building or other structure shall be greater than sixteen feet in height.3.Building Coverage. The combined area of all buildings, excluding greenhouses and hoophouses, shall not exceed fifteen percent of the garden site lot areas for community farms and five percent for neighborhood gardens. Buildings and other structures may not exceed twelve feet in height. ... 10.Hours of Operation. Retail sales and all other public use of the farm shall begin no earlier than seven a.m. and end by seven p.m. every day of the week.

Full Breakdown

Section 18.30.240 of the National City Land Use Code (Title 18) is a set of use standards for urban agriculture, meant to locate and protect garden areas for local food production, community health, recreation, education, job training and green space. It sorts gardens into three types. A home garden is kept by residents of the dwelling on the property, is an accessory use, and cannot have on-site sales. A neighborhood garden is one acre or less and can sell or donate produce on site. A community farm is larger than one acre and can also sell or donate on site.

The permitted primary use is cultivation of edible vegetables, flowers, herbs, fruits and other plants in the ground, in raised beds and in greenhouses, with occasional sales on site. Sale of nonagricultural items is prohibited. Accessory structures allowed at both neighborhood gardens and community farms include benches, compost bins, seasonal farm stands, tool sheds, shade pavilions and buildings with composting toilets. Community farms alone can add greenhouses, hoophouses, coldframes, barns, cold storage, packing facilities and market stands.

The supplemental regulations set the numbers. Buildings must be set back ten feet from property lines of a residential district. The section prints two height limits, sixteen feet for any building or structure and twelve feet for buildings and other structures in the coverage paragraph. Combined building area, excluding greenhouses and hoophouses, cannot exceed fifteen percent of the lot for community farms and five percent for neighborhood gardens. Off-street parking is allowed only on sites exceeding 15,000 square feet, capped at fifteen percent of the lot. Signs are limited to four square feet per side and six feet in height. Interior plot fences cannot exceed four feet and must be open. Perimeter fences top out at six feet, must be at least fifty percent open above four feet, and be wood, chain link or ornamental tubular steel.

Retail sales and other public use begin no earlier than seven a.m. and end by seven p.m. every day. Synthetic insecticides and herbicides, composting of animal parts, intoxicating or poisonous plants and barbed wire are prohibited. Soil should be tested for contaminants such as lead before food is grown in topsoil, and the section sends water procurement questions to the Sweetwater Authority.

Violations & Fines

Section 18.30.240 lists what is forbidden: synthetic insecticides, synthetic herbicides and weed killers, composting of animal parts, intoxicating or poisonous plants, and barbed wire. Water, fertilizer and other organic material cannot drain onto adjacent property. Because the section is part of the Land Use Code, violations are a code violation and a public nuisance under § 1.20.020, with each day a separate offense.

Frequently Asked Questions

Can I sell produce from a home garden in National City?
Not on site. The definition in § 18.30.240 says food and horticultural products grown in a home garden can be used for personal consumption or for donation or sale, but on-site sales are not permitted. Neighborhood gardens and community farms can sell or donate what they grow on site, and their public hours run seven a.m. to seven p.m.
How big can farm buildings be?
Buildings must sit at least ten feet from a residential district property line. Combined building area, excluding greenhouses and hoophouses, cannot exceed fifteen percent of the lot area for community farms and five percent for neighborhood gardens. The section prints a sixteen-foot height limit for any building or structure and a twelve-foot limit in the coverage paragraph.
Are pesticides allowed at a National City community garden?
Insecticides made from synthetic chemical materials are forbidden and synthetic herbicides and weed killers are prohibited. Chemical rodenticides are limited to those acceptable under organic regulations. Water, fertilizer and other organic materials cannot drain onto adjacent property, and gasoline for mowers must be kept in sealed containers in locked, ventilated structures.
What fences can a garden install?
Fences around individual plots are optional, must be open and cannot exceed four feet. Perimeter fences cannot exceed six feet, must be at least fifty percent open if taller than four feet, and must be wood, chain link or ornamental tubular steel. Barbed wire is prohibited, and large gardens in design review areas need planning division review first.

Sources & Official References

Other rules in National City

All National City rules

California rules heatmap·Compare National City to another location·View the California right to farm overview

Get notified when Agricultural Zoning Protection in National City, CA changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.

Agricultural Zoning Protection in Nearby Cities

How other cities in San Diego County handle agricultural zoning protection.

San Diego, CA
Light Restrictions
Chula Vista, CA
Some Restrictions
Vista, CA
Some Restrictions
San Marcos, CA
Some Restrictions
Oceanside, CA
Some Restrictions
Escondido, CA
Some Restrictions
Carlsbad, CA
Some Restrictions
El Cajon, CA
Significant Restrictions