Skip to content

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

National City code What National City's code adds
Front yard height
  • Posts no more than 4 feet, plus a light fixture up to 2 feet high.
    Applies: Only front yard fence posts with more than 2 attached lights (a special fence reviewed by the planning division).
    § 18.43.090 · code text
    In no event shall such posts exceed four feet in height plus a two-foot-high light fixture;
Side and rear yard height
  • No more than 6 feet.
    Applies: Vinyl-coated chain link fencing screened by landscaping, in residential side and rear yards.
    § 18.43.090 · code text
    Chain link fencing shall not exceed six feet in height in these areas.
Permit
  • Yes. Masonry walls need a building permit and must meet the California Building Code.
    § 18.49.080 · code text
    Masonry walls are allowed and shall conform to the requirements of the California Building Code and will require a building permit.

Sheds, garages and other accessory structures

National City code What National City's code adds
Side and rear setback
  • At least 3 feet from the side and rear lot lines.
    Applies: Accessory structures in the RS-4 zone of the Westside Specific Plan.
    § 18.42.030 · code text
    Accessory structures in the RS-4 zone shall maintain a three-foot setback from the side lot line and the rear lot line and a minimum of six feet between structures but shall not be located in the front yard setback required except as provided by this title.
Distance from the house
  • At least 6 feet between structures.
    Applies: Accessory structures in the RS-4 zone of the Westside Specific Plan.
    § 18.42.030 · code text
    Accessory structures in the RS-4 zone shall maintain a three-foot setback from the side lot line and the rear lot line and a minimum of six feet between structures but shall not be located in the front yard setback required except as provided by this title.

Running a business from home

National City code City rule: residential home businesses need a home occupation permit and business license; no customers, displays or on-site sales.

All 7 National City rules on running a business from home, with the code text →

RV and boat parking

National City code Only on paved areas or driveways designed for parking. Only if owned by and registered to someone living in a legal home on the same parcel.

All 7 National City rules on RV and boat parking, with the code text →

Solar panels and EV chargers

National City code The building official administratively approves and issues permits when the application is complete and meets health and safety rules. No limit on the percentage of roof covered.

All 9 National City rules on solar panels and EV chargers, with the code text →

Swimming pools

National City code The bottom of the barrier at most 2 inches above the ground. At most 4 inches between the top of the pool and the bottom of the barrier.

All 11 National City rules on swimming pools, with the code text →

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.

All 11 National City rules on pets, chickens and bees, with the code text →

Grading and erosion control

National City code What National City's code adds
Grading without a permit
  • No permit to dig basements and footings for a building, retaining wall or other structure under a valid building permit.
    Applies: Does not cover fill made from the excavated material or an excavation with an unsupported height over 5 feet.
    § 15.70.035 · code text
    An excavation below finished grade for basements and footings of a building, retaining wall or other structure authorized by a valid building permit.

Noise and construction hours

National City code 7 a.m. to 7 p.m. on weekdays. Not allowed at any time on weekends or holidays.

All 4 National City rules on noise and construction hours, with the code text →

Garage and yard sales

National City code A finance department permit is required, with the fee in the city fee schedule; apply at least 48 hours ahead. 1 unlighted sign up to 6 square feet, posted at most 1 week early, removed after; never in the right-of-way.

All 3 National City rules on garage and yard sales, with the code text →

Family child care homes

CA state law California law
Zoning
A small or large family child care home is a residential use and a use by right under all local ordinances, including zoning
Business license or fee
A city or county may not charge a business license, fee or tax to run a family child care home
Local rules
Local limits on height, setbacks, lot size, health and safety must be the same as for every other home in the same zone
Small home
Up to eight children, counting the provider's own children under 10 who live there
Large home
7 to 14 children, counting the provider's own children under 10 who live there

Parking spaces required for homes

National City code A two-car tandem garage must be at least 10 feet wide by 38 feet long. Tandem spaces are allowed only in an enclosed parking garage.

All 15 National City rules on parking spaces required for homes, with the code text →

Trash and recycling carts

National City code What National City's code adds
When carts must come back
  • Before noon on the day following collection day
    § 7.10.120 · code text
    Containers shall be removed prior to noon on the day following collection day.
When carts may go to the curb
  • Containers may be put out no earlier than 4 p.m. on the day before scheduled collection.
    § 7.10.120 · code text
    No container shall be placed out at the curb or alley or within any public right-of-way prior to four p.m. on the day prior to scheduled collection.
Where carts are kept
  • Containers must be kept on private property.
    Applies: Applies between refuse collection days.
    § 7.10.120 · code text
    Between refuse collection days all containers shall be kept on private property.

Other National City rules on this

National City's code also has these chapters. We have not summarized their values on this page yet; read them in the library.

Who this affects

HomeownersContractorsDesigners

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.

What are the grading rules in National City?

National City's code: No permit to dig basements and footings for a building, retaining wall or other structure under a valid building permit. (Does not cover fill made from the excavated material or an excavation with an unsupported height over 5 feet.) (§ 15.70.035).

Can I run a family child care home in National City?

California law sets this for every city, including National City: Zoning: A small or large family child care home is a residential use and a use by right under all local ordinances, including zoning (Health & Safety Code § 1597.45(a)); Business license or fee: A city or county may not charge a business license, fee or tax to run a family child care home (Health & Safety Code § 1597.45(b)); Local rules: Local limits on height, setbacks, lot size, health and safety must be the same as for every other home in the same zone (Health & Safety Code § 1597.45(e)); Small home: Up to eight children, counting the provider's own children under 10 who live there (Health & Safety Code § 1596.78(c)); Large home: 7 to 14 children, counting the provider's own children under 10 who live there (Health & Safety Code § 1596.78(b)).

When can trash carts go out to the curb in National City?

National City's code: Before noon on the day following collection day (§ 7.10.120); Containers may be put out no earlier than 4 p.m. on the day before scheduled collection. (§ 7.10.120).

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

More on National City