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.

Research by DoINeedAPermit.org Updated April 2026 Sources: Sacramento Municipal Code §17.620.110 (fence height regulations by yard location); California Building Code §105.2: "fences not over 7 feet high" exempt from building permit; Sacramento Community Development Department, 300 Richards Blvd 3rd Floor, (916) 808-5318; Horizon Fence & Custom Gates analysis of Sacramento fence rules; Irish Iron fence code analysis; Homesteady: "People who wish to install fences in Sacramento taller than 6 feet must apply for a building permit with the city's Development Services Planning department"
The Short Answer
MAYBE — fences under 7 ft require no building permit, but Sacramento's zoning code limits heights by location well below 7 ft in front and street-side yards.
California Building Code §105.2 exempts "fences not over 7 feet high" from building permit requirements — meaning a standard 6-foot privacy fence in the rear or side yard needs no city building permit. But Sacramento Municipal Code §17.620.110 imposes zoning height limits that are stricter: solid fences in front yards max at 4 feet; wrought-iron or open tubular-steel fences can reach 6 feet in front yards; rear and side yard fences can be 6 feet as a standard. Fences over 6 feet require a building permit, and the city typically only approves them with a demonstrated hardship.
Every project and property is different — check yours:

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.

Planning a fence in Sacramento?
Get a personalized permit and zoning report for your address — what height limits apply to your specific yard locations, whether a building permit is needed, and what materials are allowed where.
Get Your Sacramento Fence Permit Report →
$9.99 · Based on official city sources · Delivered in minutes

Three Sacramento fence scenarios

Scenario A
Midtown Sacramento — 6-foot wood privacy fence in rear yard, no building permit needed
A Midtown homeowner wants to replace their aging 5-foot chain-link rear fence with a new 6-foot cedar privacy fence running along the rear and both interior side property lines. The fence stops at the point where the interior side yard meets the front yard setback — it does not extend into the front yard area. A standard 6-foot solid wood fence in the rear and side yards is permitted by Sacramento Municipal Code §17.620.110(B), and the California Building Code's §105.2 exemption means no building permit is required for a fence under 7 feet. The homeowner hires a fence contractor, pulls no permit, and the fence is installed in two days. Total project cost for 180 linear feet of 6-foot cedar privacy fence: $7,000–$12,000. Permit cost: $0. One caveat: if the fence runs along a property line, confirming the property line location before installing is strongly advisable — Sacramento Code Enforcement does not resolve property disputes, and a fence installed on the wrong side of the property line creates expensive legal complications.
Permit required: No | Project total: $7,000–$12,000
Scenario B
East Sacramento — front yard wrought-iron fence, zoning compliance without building permit
An East Sacramento homeowner on a corner lot wants to install a decorative wrought-iron fence along the front property line and along the street-side yard. Sacramento Municipal Code §17.620.110(A) allows a "decorative, open wrought-iron or tubular-steel fence not exceeding 6 feet in height" in front and street-side yards — but this exception does not apply to "solid walls or fences composed of chain link, woven wire, wood, or materials other than open wrought iron or tubular steel." The homeowner's selection of open wrought-iron at 5 feet complies. Because the fence is under 7 feet, no building permit is required. The corner lot creates an additional visibility triangle requirement: near the corner, the fence must not obstruct sightlines for drivers. Sacramento's visibility triangle standard is commonly referenced as maintaining clear visibility from the corner — the exact dimensions depend on the street classification, but a safe general approach is keeping fence height to 2.5 feet or less within 30 feet of the corner intersection. A fence contractor familiar with Sacramento corner lot requirements handles this in the design. Permit cost: $0. Total project cost for 120 linear feet of decorative wrought-iron at 5 feet: $9,000–$16,000.
Permit required: No | Project total: $9,000–$16,000
Scenario C
South Sacramento — 8-foot rear fence for privacy and noise, building permit required
A South Sacramento homeowner adjacent to a busy commercial alley wants an 8-foot fence for privacy and noise reduction. An 8-foot fence exceeds the California Building Code's 7-foot exemption — a building permit is required. Sacramento's Development Services notes that the city typically only approves permits for fences over 6 feet when the applicant demonstrates a hardship. Adjacency to a commercial alley is a circumstance that may support approval. The homeowner applies through the Accela portal, describing the project scope and the hardship basis (adjacent commercial use, noise and privacy concerns). Sacramento Municipal Code §17.620.110(B)(1)(a) specifically allows "a wall or fence not exceeding 8 feet in height" along a rear or interior side property line that abuts a school, park, alley, or other non-residential use — this property qualifies. The building permit application confirms the design complies with the code's specific provision allowing 8 feet where the fence abuts an alley. Permit cost: approximately $150–$250. Total project cost for 120 linear feet of 8-foot solid fence: $8,000–$14,000.
Permit cost: ~$150–$250 | Project total: $8,000–$14,000
Fence location & typeSacramento 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-steel6 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 material6 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 triangleSacramento 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 measurementMeasured 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 toppersCount toward total fence height for both permit and zoning purposes. A 6-ft fence + 8-in lattice = 6.67 ft for compliance measurement purposes.
Your Sacramento fence has its own location-specific rules.
Front yard, rear yard, corner lot, sloped lot, adjacent alley — each situation has different height limits and permit triggers. Get the complete picture for your address.
Get Your Sacramento Fence Permit Report →
$9.99 · Based on official city sources · Delivered in minutes

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.

City of Sacramento — Community Development Department 300 Richards Blvd, 3rd Floor, Sacramento, CA 95811
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
Ready to move forward on your Sacramento fence?
Get a complete permit and zoning report for your exact address — height limits for your specific yard locations, whether a building permit is required, and corner lot visibility requirements if applicable.
Get Your Sacramento Fence Permit Report →
$9.99 · Based on official city sources · Delivered in minutes

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.

$9.99Get your permit report
Check My Permit →