Skip to main content
CityRuleLookup

National City, CA Accessory Structures: Shed & Carport Rules (2026)

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

Shed permit rules in National City, CA, also referred to as storage shed, backyard shed, or accessory building regulations, set size limits, setbacks, and when a building permit is required.

Key Facts

Interior side and rear setback
5 feet, or 3 feet in RS-4
Front yard
Not allowed, except stoops and porches
Maximum height
35 feet in RS-1 to RS-4
Area cap
10 percent of lot size in RS-1, RS-2 and RS-3
Single-structure footprint
No more than half the primary structure
Separation
5 feet between detached buildings; 6 feet in RS-4

Summary

In National City residential zones, accessory structures such as sheds must sit 5 feet from interior side and rear lot lines in RS-1 through RS-3, cannot go in the front yard setback, and are capped at 10 percent of lot size in RS-1 to RS-3. No single accessory structure can exceed half the footprint of the primary structure.

RS-1 RS-2 RS-3 RS-4 RM-1 RM-2 RM-3 ... Minimum setbacks, Accessory structure Front 20' 20' 15' 10/15'(c) 15' 10' 10' Side—Interior 5' 5' 5' 3' 5' 5' 5' Side—Corner 5' 5' 5' 10' 5' 5' 5' Rear 5' 5' 5' 3' 5' 5' 5' Detached building separation 5' 5' 5' 6' 5' 5' 5' ... Maximum height, accessory structure 35' 35' 35' 35' 45' 65' 95' ... Maximum area (total), accessory structures—Excluding up to 400 SF of covered parking and area dedicated to an ADU 10% of lot size (d) 10% of lot size (d) 10% of lot size (d) None None None None ... (c)Except for stoops and porches, accessory structures shall not be located in the front yard setback. Porches or stoops should be at least six feet deep.(d)No single accessory structure shall have a footprint greater than that of half of the primary structure excluding area dedicated to an ADU.

Full Breakdown

Accessory structure standards in National City sit in Table 18.21.040 of the Land Use Code (Title 18), with the general conditions in Section 18.42.030. Under Section 18.42.030, accessory structures and uses must be located on the same lot as the principal use and be incidental to it without substantially altering its character, and no accessory structure can be structurally altered, converted, enlarged or maintained to provide a second dwelling unit unless it conforms to every regulation of the title for new structures.

The table sets accessory setbacks by zone. In RS-1 and RS-2 the front setback is 20 feet; RS-3 is 15 feet; RS-4 is 10 or 15 feet; RM-1 is 15 feet; RM-2 and RM-3 are 10 feet. Note (c) bars accessory structures from the front yard setback except stoops and porches, which should be at least six feet deep. Interior side and rear setbacks are 5 feet everywhere except RS-4, where they are 3 feet. The side corner setback is 5 feet except in RS-4, where it is 10 feet. Detached buildings must be separated by 5 feet, or 6 feet in RS-4. Section 18.42.030(C) repeats the RS-4 rule for the Westside Specific Plan: a 3-foot setback from the side and rear lot lines and 6 feet between structures.

Height is 35 feet in RS-1 through RS-4, 45 feet in RM-1, 65 feet in RM-2 and 95 feet in RM-3. The table adds that an accessory structure cannot exceed the number of stories or height of the primary structure. Total accessory floor area is capped at 10 percent of lot size in RS-1, RS-2 and RS-3, with up to 400 square feet of covered parking and any area dedicated to an ADU excluded. RS-4 and the RM zones print no area cap. Note (d) also says no single accessory structure can have a footprint greater than half that of the primary structure, again excluding ADU area.

Accessory structures in commercial and mixed-use zones must be built of the same materials as the primary building and carry compatible details, design elements and roof designs under Section 18.42.050(C).

Violations & Fines

Neither the table nor Section 18.42.030 prints a fine or a permit trigger for a shed. The enforceable limits are the setbacks, the height caps, the 10 percent lot-size cap in RS-1 to RS-3, the half-footprint rule and the bar on converting an accessory structure into a second dwelling unit without meeting the code for new structures.

Frequently Asked Questions

How far must a shed be from the property line in National City?
In residential zones RS-1, RS-2, RS-3, RM-1, RM-2 and RM-3, an accessory structure needs a 5-foot interior side setback and a 5-foot rear setback under Table 18.21.040. In RS-4 both are 3 feet, and the side corner setback there is 10 feet.
Can I put a shed in my front yard in National City?
No. Note (c) to Table 18.21.040 says that except for stoops and porches, accessory structures cannot be located in the front yard setback. The accessory front setbacks are 20 feet in RS-1 and RS-2, 15 feet in RS-3 and RM-1, and 10 feet in RM-2 and RM-3.
How much of my lot can accessory buildings cover in National City?
In RS-1, RS-2 and RS-3, total accessory structure area is capped at 10 percent of lot size, excluding up to 400 square feet of covered parking and any area for an ADU. Note (d) also limits any single accessory structure footprint to no more than half that of the primary structure.
Can I convert my shed into a rental unit in National City?
Section 18.42.030(B) says no accessory structure can be converted or enlarged to provide a second dwelling unit unless it is made to conform to all Land Use Code regulations for new structures. A shed converted as an ADU would also follow Section 18.30.380, including its 4-foot side and rear setbacks.

Sources & Official References

Other rules in National City

All National City rules

How National City compares: Shed Permit Requirements by City·California rules heatmap·Compare National City to another location·View the California accessory structures overview

Get notified when Shed & Carport Rules 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.

Shed & Carport Rules in Nearby Cities

How other cities in San Diego County handle shed & carport rules.

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