Fence and Gate Height Rules and Permits by Orange County City (2026)

Last verified: 11 September 2026. City codes change - confirm with your city's planning or building department before you build.

Most fence questions we hear are actually two different questions stuck together. The first is how tall can it be? - that's zoning, a limit that applies whether or not you pull a permit. The second is do I need a permit? - a separate building or planning process with its own thresholds.

The two are independent, and that's exactly where people get burned. In Irvine, a 6-foot fence needs no building permit - but "permit-exempt" does not mean "any height anywhere." In Costa Mesa, a front-yard fence over 2.5 feet is a zoning violation even though nobody would have asked you for a building permit to install it. A fence can be permit-exempt and still illegal at its height and location.

Here is what the five cities where we've verified the rules actually require.

The rules, city by city

City Height limits (zoning) Permit requirement Source
Costa Mesa Front yard max 2.5 ft; side and street-side yards 3 ft; rear yard 6 ft. On corner lots in R2-MD, R2-HD and R-3 zones, a fence over 36 in must be set back 5 ft from the street-side property line. See the city document for permit thresholds; the height limits above apply regardless. City of Costa Mesa
Newport Beach Front setback generally 42 in. On Balboa Peninsula, Balboa Island, Little Balboa Island, Corona del Mar and West Newport: up to 5 ft if the portion above 2 ft is at least 40% open (grillwork, wrought iron, lattice, pickets, Plexiglas). Side/rear 6 ft residential. Rear setbacks abutting Newport Bay or the ocean: 42 in. Intersection visibility triangle: 30 in. Deviations require a Modification Permit under Section 20.52.50. City of Newport Beach, Ch. 20.30
Huntington Beach Zoning limits apply; the permit exemption only covers fences outside required setbacks. Permit-exempt: masonry/concrete fences up to 42 in; other fences up to 6 ft outside required zoning setbacks. Pool barriers require a permit at any height. City of Huntington Beach
Irvine Zoning height limits still apply even when no building permit is needed. The city explicitly advises checking your HOA's CC&Rs. Fences 7 ft and under are exempt from building permit. Retaining walls up to 4 ft are exempt unless supporting a surcharge. City of Irvine
Anaheim Zoning limits apply per zone. Fences and walls 7 ft and under need no building permit - but do require a Fence and Wall Zoning Permit from Planning. Fee $46, submitted through GoPost with a site plan. Planning: (714) 765-5139. City of Anaheim

Notice the spread. The same 6-foot side-yard fence is permit-exempt in Irvine, needs a $46 zoning permit in Anaheim, and would be flatly over the limit in a Costa Mesa front yard. There is no "Orange County rule" - there are dozens of city rules.

Horizontal-slat privacy fence on a corner lot, stepping down in height toward the street corner

The concepts that keep coming up

Front vs. side vs. rear vs. street-side. Cities regulate by yard, not by fence. The front setback almost always carries the lowest limit - 2.5 to 3.5 ft is typical - because tall front fences block sightlines and change the character of the street, while rear and interior side yards usually allow 6 ft. A corner lot has two street-facing sides, so the "side" facing the street gets treated more like a front. That is why Costa Mesa pushes fences over 36 in back 5 ft from the street-side line on corner lots in its multifamily zones.

Visibility triangles. At corners and driveways, cities cap heights hard inside a triangle measured from the intersection (Newport Beach: 30 in), so drivers can see approaching traffic and pedestrians. A beautiful 5-foot pilaster in the wrong corner of a corner lot is one of the most common correction notices issued.

The Newport Beach 40%-open rule. In the beach neighborhoods - Balboa Peninsula, Balboa Island, Little Balboa Island, Corona del Mar, West Newport - you can go up to 5 ft in the front setback only if everything above 2 ft is at least 40% open: grillwork, wrought iron, pickets, lattice. Read that as a design constraint, because that is what it is. The code effectively mandates open picket construction - exactly what iron and aluminum fencing are - for anyone who wants front-yard height in those neighborhoods. A solid wall or solid wood panel can't qualify.

Retaining walls are counted separately. Irvine exempts retaining walls only up to 4 ft, and only when they aren't holding back a surcharge - a slope, a driveway, a structure above. A fence on top of a retaining wall is usually measured as one combined structure, so ask the city how they measure yours before assuming the fence height limit starts at the top of the wall.

Pool barriers are their own regime. See the next section - and note that Huntington Beach requires a permit for pool barriers at any height, even though ordinary fences under 6 ft are exempt.

Decorative open-scrollwork iron fence panels - open ironwork of this kind is what open-design fence rules favor

Pool fences: a separate set of rules on top of everything above

When a building permit is issued for a new or remodeled pool or spa at a single-family home, California's Swimming Pool Safety Act (Health & Safety Code Section 115922) requires at least two of seven listed drowning-prevention safety features. An enclosure - a pool fence - is the first feature on the list, and when used it must meet Section 115923:

  • Minimum height 60 inches
  • Maximum 2 inches of clearance between the ground and the bottom of the enclosure
  • Gates that open away from the pool, self-closing, with a self-latching device no lower than 60 inches above the ground
  • No gaps or voids that would pass a 4-inch sphere
  • An outside surface free of handholds and footholds a child under five could climb

Those numbers directly dictate picket spacing, rail placement and gate hardware on an ornamental pool fence - none of it is a style choice. And remember: in Huntington Beach, the pool barrier needs a permit regardless of height.

If you're in an HOA, there's a third layer

City rules set the ceiling; your association's CC&Rs can be stricter, and architectural approval is usually required before the city sees anything. Irvine's own permit page tells residents to check their HOA first.

The good news is that the process isn't arbitrary - or isn't allowed to be. Under California Civil Code Section 4765, your HOA must provide a fair, reasonable and expeditious review procedure with prompt deadlines, give you its decision in writing, and state the reasons for any denial along with the reconsideration procedure. Its decision may not be unreasonable, arbitrary or capricious, and if you're denied, you're entitled to reconsideration at an open board meeting.

The practical advice: submit dimensioned drawings early, and design to both documents at once - and if what you are planning is a community entrance, that is our HOA gates work.

Don't see your city? We'll find your rule

We've published the five cities above because we've verified each rule against a primary city source - and we serve far more of Orange County than that: Santa Ana, Tustin, Fountain Valley, Garden Grove, Westminster, Seal Beach, Laguna Beach, Mission Viejo, Dana Point, San Clemente, San Juan Capistrano, Orange, Fullerton, Brea, Placentia, Yorba Linda, Buena Park, Cypress, La Habra, Lake Forest, Laguna Hills, Laguna Niguel, Los Alamitos, Rancho Santa Margarita, Stanton and Villa Park among them. See our full service area.

You don't need to research your city's fence code before you call us. Tell us the address and what you want to build, and as part of a free estimate we'll design to the height limits and permit requirements that apply to your yard, your zone and - if you have one - your HOA. If you'd rather confirm the rule yourself first, your city's planning counter can do it in one phone call; ask for the answer in writing.

We're adding more cities to this guide as we verify each one against its primary source, because a fence guide that guesses is worse than no guide.

What this means for your design

The rules push design decisions more than people expect:

  • Front yards in coastal Newport Beach effectively require open picket work above 2 ft - iron or aluminum, not solid panels.
  • Pool enclosures need 60 in of height, tight picket spacing with no 4-inch gaps, and self-closing, self-latching gate hardware - see gate openers and locks.
  • Privacy where solid isn't allowed: glass and aluminum or composite wood systems in the rear yard, open work at the front.
  • Corner lots: plan the visibility triangle first, then design the fence around it - not the other way around.
  • Combined wall-and-fence structures on slopes: settle how the city measures height before fabrication, not after.

Browse our projects to see what's been built under exactly these rules.

Frequently asked questions

How tall can my fence be in Orange County?

There is no county-wide number - each city sets its own zoning limits. The typical pattern is 2.5 to 3.5 ft in front yards and 6 ft in side and rear yards, but Costa Mesa caps front yards at 2.5 ft while Irvine exempts fences up to 7 ft from building permits entirely. Check your specific city and yard type.

Do I need a permit for a 6-foot fence?

It depends on the city. Irvine requires no building permit up to 7 ft. Huntington Beach exempts fences up to 6 ft outside required setbacks. Anaheim requires no building permit up to 7 ft, but does require a $46 Fence and Wall Zoning Permit from Planning. Zoning height limits apply in every case.

Why can some Newport Beach houses have 5-foot front fences?

In Balboa Peninsula, Balboa Island, Little Balboa Island, Corona del Mar and West Newport, the front-setback limit rises from 42 in to 5 ft when everything above 2 ft is at least 40% open - grillwork, wrought iron, pickets or lattice.

What are the rules for a pool fence in California?

When a pool permit is pulled at a single-family home, at least two of seven safety features are required. If a fence is one of them, it must be at least 60 in tall, have no more than 2 in of ground clearance, reject a 4-inch sphere at every gap, and have gates that open away from the pool and self-close with a latch at least 60 in high.

Can my HOA block a fence the city allows?

Yes - CC&Rs are a separate, additional layer and can be stricter than city code. The HOA must follow a fair, written review process under Civil Code Section 4765, and a denial must state its reasons, but "the city allows it" does not by itself win an architectural review.

Does a retaining wall count toward fence height?

Often, yes - many cities measure a fence on top of a retaining wall as one combined structure, and Irvine only exempts retaining walls to 4 ft when there's no surcharge. Confirm the measuring method with your city before you build on a slope.

Get a design that clears the rules the first time

We build to the rule that applies to your yard, in your city - and where an HOA is involved, to the CC&Rs too.

Call 949-303-7646 or request a free estimate.
Iron Master Gates & Fencing · CSLB License #1119200 · 777 W 19th St, Suite W, Costa Mesa, CA 92627