This guide covers the City of San Diego. Other cities in the county, unincorporated County areas, and many homeowners associations have their own fence rules. It summarizes the San Diego Municipal Code as of November 9, 2026, in our own words; it is general information, not legal advice.
Height limits by part of the lot
The City's fence rules are in Municipal Code Chapter 14, Article 2, Division 3. They apply to every fence and retaining wall, whether or not it needs a permit. The limits depend on where the fence stands and whether it is solid or open:
- Solid fence: a fence that forms a solid screen, such as block, stucco or tight wood boards.
- Open fence: at least 35 percent of each 6-foot section open to light, such as wrought iron or spaced slats. In the Coastal Overlay Zone the Code requires 75 percent open, to keep views.
On the front or street side property line
Solid fence: 3 ft. Open fence: 6 ft (a standard chain link fence: 3 ft). Combination: up to 3 ft solid with open fence on top, 6 ft total.
Inside the required front or street side yard
The limit rises as the fence moves back from the property line: from 3 ft to 6 ft at the setback line for a solid fence, from 6 ft to 9 ft for an open or combination fence.
Visibility areas at corners, alleys and driveways
3 ft for any fence or retaining wall.
Required side and rear yards
Up to 9 ft; anything above 6 ft must be an open fence.
Outside the required yards (residential zones)
Up to 10 ft, solid or open.
A few details matter. Up to 30 percent of a fence's length may go 6 inches over the limit, for posts or decorative tops. Along a major street, primary arterial or freeway, a solid fence in the front yard can be 6 feet if it has offsets that break up its face, and a corner lot whose rear yard backs onto another lot's rear yard can have a 6-foot solid fence in its street side yard. How deep the required yards are depends on your zone; Development Services can tell you.
Visibility areas keep sight lines open for drivers and people walking. Under section 113.0273, they are typically triangles with 25-foot sides where two streets meet, and 10-foot sides where a street meets an alley or a driveway. Fences and retaining walls inside them may not exceed 3 feet.
When a fence or wall needs a permit
- Under 7 feet: no permit, as long as the fence meets the height and design rules (Table 142-03A; the building permit exemption in section 129.0203 covers fences up to 7 feet). At exactly 7 feet the two sections read differently, so check with Development Services.
- 7 feet or taller: a building permit.
- Pool fences: a fence that serves as a swimming pool barrier is left out of the exemption, so it needs a building permit at any height.
- Retaining walls 3 feet or taller, or shorter ones that support extra load, need a building permit. Information Bulletin 220 covers walls built to the City's standard drawings.
- Taller than allowed: a Neighborhood Development Permit can approve up to 20 percent more height, but only because of slopes, to match the usual fence height in the neighborhood, or for health and safety (section 142.0350).
- Near the ocean: fences and walls on lots between the shoreline and the first public road need a Coastal Development Permit.
- Past the property line: no part of a fence may extend into the public right-of-way without a right-of-way permit. Our right-of-way guide explains that process.
Separate rules can apply to historic properties and lots with environmentally sensitive lands such as steep slopes or canyons; there, even small work can need a permit. Development Services: 619-446-5000.
Materials and upkeep
Section 142.0370 sets the materials. Solid fences can be wood, brick, block, stone, stucco, tile, metal or opaque plastic; plywood is not allowed. Vinyl (PVC) must be a manufactured fence product. Used material is fine if it is in good condition. Metal fences in front and street side yards need a colored finish rather than bare galvanized metal, except in industrial and agricultural zones. Electrically charged and sharp-pointed metal fences are limited to agricultural uses (section 142.0360), with an exception for temporary electric fences that contain goats used for brush clearing.
Owners must keep fences and retaining walls free of dilapidated or dangerous conditions and free of graffiti (section 142.0380). Hedges are not fences under the Code; see our overgrown hedges guide for plants over the sidewalk, and our public stairways and retaining walls guide for walls the City owns.
Problems with a neighbor's fence
Talk to the neighbor first. If the fence breaks the Code, you can file a Request for Investigation with the Development Services Department's Building & Land Use Enforcement Division (BLUE) online or at 619-236-5500. Know what to expect: on its case priorities page, BLUE says budget cuts for Fiscal Years 2026 and 2027 ended investigations of fence and wall violations and setback violations, as of November 9, 2026. Those requests are still accepted and counted, to support adding staff in a future budget, but the case is closed without action.
Some fence problems have other routes. A fence or wall that is collapsing onto a sidewalk or street is a public safety hazard: call 911 if it is falling now, or report the blocked sidewalk through Get It Done. A fence built on the sidewalk or parkway is a right-of-way issue. Where the property line is, who owns a boundary fence and who pays to replace it are civil questions: a licensed land surveyor can mark the line, and the National Conflict Resolution Center (619-238-2400), which the City refers neighbors to, offers mediation.
Who to call: quick reference
A neighbor's fence is too tall, too solid or in the front yard
Responsible: Building & Land Use Enforcement (BLUE)
Contact: Request for Investigation online or 619-236-5500. Fence and wall cases are logged, then closed without action (FY2026-27).
A fence or wall blocks the view of traffic at a corner or driveway
Responsible: BLUE; for a crash risk, also SDPD
Contact: File with BLUE (619-236-5500); describe it as a sight-distance hazard. Police non-emergency 619-531-2000.
A fence built on the sidewalk or parkway
Responsible: City (public right-of-way)
Contact: See our right-of-way guide.
A fence or wall leaning or falling onto the sidewalk
Responsible: City (sidewalk obstruction); owner must repair
Contact: Get It Done, or 911 if it is collapsing onto people or the street.
Graffiti on a fence or wall
Responsible: Property owner; City Graffiti program
Contact: See our graffiti guide.
A dispute over where the property line is or who pays
Responsible: Civil matter between neighbors
Contact: A licensed land surveyor; mediation at the National Conflict Resolution Center, 619-238-2400.
Planning a tall fence, retaining wall or pool fence
Responsible: Development Services Department
Contact: 619-446-5000 (contact page).
A wall or fence collapsing onto people, cars or the street: 911.
Let your neighbors know
Report hazards to the City first. If a fence blocks a corner's sight lines and nothing changes, sharing it on SaveSanDiego lets neighbors see it is known. SaveSanDiego is an independent community platform, not a City service.
Frequently asked questions
Do I need a permit to build a fence in San Diego?
Usually not, if the fence is under 7 feet tall and follows the height limits. Under the City of San Diego Municipal Code (Table 142-03A and section 129.0203), fences 7 feet or taller need a building permit, and so does any fence that serves as a swimming pool barrier, at any height. A fence taller than the zone allows needs a Neighborhood Development Permit, and fences on lots between the shoreline and the first public road need a Coastal Development Permit. A fence that crosses into the public right-of-way needs a right-of-way permit. These rules are as of November 9, 2026.
How tall can a front yard fence be in San Diego?
On the front property line, 3 feet for a solid fence, and 6 feet for an open fence such as wrought iron or wood slats with at least 35 percent open to light (75 percent in the Coastal Overlay Zone). A standard all-metal chain link fence is held to 3 feet. Farther back in the required front yard the limit rises gradually: a solid fence can reach 6 feet at the setback line, an open fence 9 feet (section 142.0310).
How tall can a backyard fence be in San Diego?
Up to 9 feet in the required side and rear yards, but any part above 6 feet must be an open fence (section 142.0310(d)). Fences in residential zones outside the required yards can reach 10 feet. Remember that a fence 7 feet or taller needs a building permit.
Does a retaining wall need a permit in San Diego?
A retaining wall 3 feet or taller needs a building permit, and one under 3 feet does not, unless it supports extra load (a surcharge), such as a sloped bank above it (section 129.0203). In the required front yard, the Code allows two walls of up to 3 feet each, stepped apart; in side and rear yards, two walls of up to 6 feet each. The City's Information Bulletin 220 explains permits for walls built to City standard drawings.
My neighbor's fence is taller than allowed. Will the City make them lower it?
Probably not right now. As of November 9, 2026, the Building & Land Use Enforcement Division lists fence and wall violations among complaint types that budget cuts for Fiscal Years 2026 and 2027 removed from enforcement: a Request for Investigation is accepted and counted, then closed with no further action. A fence that blocks drivers' view at a corner or driveway is a safety issue worth describing as such, and a fence on public property goes to the City's right-of-way process.
Who pays for a fence on the property line between two neighbors?
The City does not decide that. Who owns and pays for a boundary fence is a civil matter between the owners under California law, not a City code issue. If you disagree about where the line is, a licensed land surveyor can mark it; the National Conflict Resolution Center (619-238-2400) offers mediation. For your specific case, talk to a lawyer.
Are hedges counted as fences?
No. Section 142.0370 says living plants are not fence material, so the fence height limits do not apply to a hedge. Hedges that overhang the sidewalk or block the view of traffic fall under other City rules; see our guide to overgrown hedges.
Sources
- San Diego Municipal Code Chapter 14, Article 2, Division 3: fence and retaining wall regulations, sections 142.0301-142.0390 (PDF)
- San Diego Municipal Code Chapter 12, Article 9, Division 2: section 129.0203, exemptions from a building permit (PDF)
- San Diego Municipal Code Chapter 11, Article 3, Division 2: section 113.0273, measuring visibility areas (PDF)
- San Diego Municipal Code Chapter 11, Article 3, Division 1: definitions of fence, open fence and solid fence (PDF)
- City of San Diego Information Bulletin 220: retaining walls built to City standard drawings
- City of San Diego Building & Land Use Enforcement: priority of cases
Last checked November 9, 2026. Codes and enforcement priorities change; the City pages linked above are the final word. This guide is general information, not legal advice.
Related guides: Private Objects in San Diego's Right-of-Way, Public Stairways, Walkways and Retaining Walls, Code Enforcement in San Diego: How to Report a Violation.