Do I Need a Permit for a Fence in Sacramento, CA?
Sacramento fence rules operate on two separate tracks that homeowners often conflate: the building permit requirement (driven by fence height against the CBC's 7-foot exemption threshold) and the zoning regulations (driven by where the fence is on your lot). You can build a 6-foot rear fence with no building permit at all — and still be violating zoning if you build it in the wrong yard location. Understanding both tracks — the CBC's permit trigger and Sacramento Municipal Code §17.620.110's zone-based height limits by location — is essential to building a fence that's both permit-compliant and code-compliant.
Sacramento fence permit rules — building permits vs. zoning
The California Building Code's permit exemption for fences under 7 feet is clear: CBC §105.2 states that "fences not over 7 feet high" are exempt from building permits. For a standard 6-foot privacy fence in Sacramento's rear yard, this means no building permit is required from the Community Development Department's Building Division. The fence is built, no inspector comes, and the project is complete. This is the most common scenario for Sacramento residential fence projects.
Sacramento's zoning code, however, operates alongside the building code with its own independent set of height restrictions that aren't about building permits — they're about land use. Sacramento Municipal Code §17.620.110 sets out fence height rules by location on a residential lot. For front yards and street-side yards, solid fences (wood, vinyl, masonry) are limited to 4 feet in height. Open wrought-iron or decorative tubular-steel fences in front yards can reach 6 feet — but only the specific materials that are genuinely open, not chain link, woven wire, or other materials that create visual barriers. For rear yards and interior side yards, standard fences up to 6 feet are allowed. A fence abutting a school, park, or alley may be allowed up to 8 feet.
The practical consequence of this two-track framework: you can build a 6-foot wood privacy fence in your Sacramento rear yard with no building permit. But build that same 6-foot solid fence in your front yard — even without a building permit — and you've violated the zoning code's 4-foot maximum for solid front-yard fences. Code enforcement actively patrols for this in many Sacramento neighborhoods, particularly in older established areas where neighbor complaints trigger investigations.
Sacramento's fence height ordinance has a specific nuance worth knowing: lattice, trellis, decorative caps, and other additions to a fence count toward the total height for permit and zoning purposes. A 6-foot solid fence with a 6-inch lattice topper is a 6.5-foot fence — not a 6-foot fence plus a decorative element. If you're near the maximum allowed height in any yard location, adding any extension may push you over the threshold and into violation. The city measures fence height from the ground on the high side, which matters on sloped lots — a fence that appears 6 feet tall from inside the yard may measure taller than 6 feet from the sidewalk side if the ground slopes.
Three Sacramento fence scenarios
| Fence location & type | Sacramento height limit & permit requirement |
|---|---|
| Front yard / street-side yard — solid (wood, vinyl, masonry) | 4 ft maximum under SMC §17.620.110. No building permit needed if under 7 ft. Zoning violation if over 4 ft. |
| Front yard / street-side — open wrought-iron or tubular-steel | 6 ft maximum allowed. No building permit needed (under 7 ft). Not available in chain link, wood, or other solid materials. |
| Rear yard / interior side yard — any material | 6 ft standard maximum. No building permit if under 7 ft. 8 ft allowed where abutting school, park, or alley. |
| Fence over 6 ft (not abetting qualifying use) | Building permit required if over 7 ft. City typically requires hardship showing for over-6-ft fences. Apply via Accela portal. |
| Corner lot visibility triangle | Sacramento requires clear sightlines near intersections. Keep fence height low (often 2.5 ft or less) within the sightline triangle near street corners. |
| Sloped lot height measurement | Measured from highest adjacent ground. A fence that appears 6 ft inside may exceed limits measured from sidewalk. Confirm with Building at (916) 808-5318. |
| Lattice / decorative toppers | Count toward total fence height for both permit and zoning purposes. A 6-ft fence + 8-in lattice = 6.67 ft for compliance measurement purposes. |
Sacramento vs. Sacramento County — two different jurisdictions
A critically important distinction for fence projects in the greater Sacramento area: properties within the City of Sacramento limits are governed by the city's zoning code (Sacramento Municipal Code §17.620.110) and the city's building department. Properties in unincorporated Sacramento County — which includes large suburban areas outside city limits — are governed by Sacramento County's zoning code (Sacramento County Zoning Code Section 5.2.5) and the county's building department. The rules differ meaningfully.
In Sacramento County's RD (Residential Development) zones, the county code explicitly states: "fences between neighbors in the RD zone and outside the front yard, seven or less feet in height, can be placed on your property line without any minimum setback limits and do not require a permit." County front yard solid fences: 3 feet maximum. County front yard chain link: 4 feet maximum. County front yard open ornamental (wrought iron): 7 feet. Side-street yard: 7 feet. Interior and rear yards: 7 feet. The county's 7-foot standard for side and rear yards is more generous than the city's 6-foot standard.
If your property address is in a community like Citrus Heights, Rancho Cordova, Elk Grove, or other incorporated cities adjacent to Sacramento, those cities have their own independent fence codes. If you're unsure whether your property is within Sacramento city limits or Sacramento County, enter your address at cityofsacramento.gov or call (916) 808-5318 to confirm jurisdiction before applying for any permits.
Phone: (916) 808-5318
Public Counter: Tue–Thu 9am–3:30pm (appointment required)
Online permits: Accela Citizen Access — aca-prod.accela.com/SACRAMENTO
Sacramento Municipal Code §17.620.110 (fence regulations): cityofsacramento.gov/community-development
Common questions about Sacramento fence permits
Do I need a building permit to install a fence in Sacramento?
Under California Building Code §105.2, fences under 7 feet high are exempt from building permits. A standard 6-foot privacy fence in Sacramento's rear or side yard requires no building permit. Fences over 7 feet require a building permit from the Community Development Department (apply via the Accela portal at aca-prod.accela.com/SACRAMENTO). Sacramento sources note the city typically requires a hardship demonstration for fences over 6 feet that aren't specifically authorized by Sacramento Municipal Code §17.620.110 for adjacent uses. Even without a building permit, the fence must comply with Sacramento's zoning height limits by location.
How tall can a front yard fence be in Sacramento?
Sacramento Municipal Code §17.620.110(A) limits solid fences (wood, vinyl, masonry, brick) in front yards and street-side yards to a maximum of 4 feet. Open wrought-iron or decorative tubular-steel fences — materials that are genuinely open, not chain link or woven wire — can be up to 6 feet in front and street-side yards. Corner lot properties have additional visibility triangle requirements that may require lower fence heights near the intersection regardless of material. Violating the front yard fence height limit is a zoning violation, not just a building code matter — Sacramento's Code Enforcement handles complaints.
Can I build a 7-foot fence in Sacramento?
A 7-foot fence requires a building permit (over the CBC's 7-foot exemption threshold). Additionally, Sacramento's zoning code sets lower standards for most locations: rear and side yard fences are typically limited to 6 feet as standard, with 8 feet only allowed in specific circumstances (abutting a school, park, alley, or other non-residential use under SMC §17.620.110(B)(1)(a)). A permit application for a 7-foot fence will be reviewed against the zoning code's standards — the Building Division at (916) 808-5318 can advise whether your specific location would support a 7-foot fence before you invest in plans and a permit application.
What fence materials are restricted in Sacramento?
Sacramento Municipal Code prohibits certain fence materials regardless of height or location. Prohibited materials include: concertina wire, serpentine wire, barbed wire, razor wire, and similar materials capable of inflicting physical injury — unless specifically required by court order or approved through a site plan and design review deviation process. Electric wiring in residential fence installations is also prohibited. Plywood, particle board, tarps, plastic sheeting, cloth, sheet metal, and low-visibility materials not intended for permanent outdoor use are all prohibited fence materials. The code's material restrictions apply city-wide and are enforced through Code Enforcement complaint investigations.
What is the visibility triangle requirement for Sacramento corner lots?
Sacramento requires that corner lot fences maintain clear sightlines for drivers at intersections and driveway access points. The visibility triangle is an area near the corner where fence height must be limited to preserve driver visibility of crossing traffic. The exact dimensions vary by street classification and traffic speed, but a general safe practice is keeping fences to 2.5 feet or less in height within approximately 30 feet of a street corner along each property line. For driveway intersections with public streets, a similar clear-vision area is required at the driveway corners. Before building on a corner lot, confirm the specific sight-line requirements with Sacramento's Development Services at (916) 808-5318.
What is the difference between City of Sacramento and Sacramento County fence rules?
City of Sacramento limits rear/side yard fences to 6 feet under SMC §17.620.110, with front yard solid fences at 4 feet. Sacramento County's RD zone allows 7 feet for rear and side yard fences without a permit, with front yard limits of 3 feet solid or 4 feet chain link. If your address is within incorporated Sacramento city limits, city code applies. If in unincorporated Sacramento County, county code applies. To confirm your jurisdiction, enter your address at cityofsacramento.gov or call (916) 808-5318. Neighboring cities (Elk Grove, Rancho Cordova, Citrus Heights, Folsom) each have their own independent fence codes.
This page provides general guidance based on publicly available municipal sources as of April 2026. Zoning codes change. For a personalized report based on your exact address and project details, use our permit research tool.