What Happens to Your Automatic Gate During a PG&E Power Outage?
Bay Area Lions Gate is based in Palo Alto, and a large share of our work sits inside the city limits. That means we spend a lot of time on the phone explaining the same things. Why a neighbor two blocks away got approved for a six-foot gate and you did not. Why the fence exemption everyone quotes does not cover the operator. Why a corner lot changes the whole design.
Those conversations repeat often enough that we decided to write them down. What follows is an informational guide for Palo Alto residents who are starting to think about a gate, pulled from the municipal code and the city's adopted fee schedule rather than from general contractor advice. Every section cites the source it came from so you can check the language yourself.
Palo Alto does not require a fence permit. The city says so in its own published handout, citing Palo Alto Municipal Code Section 16.48.050, and it adds that no building permit is required either. Homeowners read that and stop reading. Then the gate arrives, the operator gets wired, and an inspector asks which permit covers the electrical work.
The exemption covers the fence. It does not cover the motor, and depending on where your posts land, it does not cover the ground they sit in.
Source: City of Palo Alto, Palo Alto Fence Code handout
How tall your gate can be
Chapter 16.24 sets heights by where the structure sits relative to the street setback line, not by what the structure is made of. Height gets measured from natural grade under Section 16.24.010(a).
Between the street setback line and the lot line, a fence or wall is limited to four feet. Support posts and columns can reach five feet if they stay under eighteen inches wide. Pedestrian gates and trellises used as entryway features get more room, up to eight feet tall, three feet deep, and five feet wide.
Past the setback line the numbers change. Front yards and street side yards allow six feet. Interior side yards and rear yards allow seven. Both carry the same exception: where the street setback line exceeds sixteen feet, the fence or wall may be built to within sixteen feet of the lot line.
Nothing in that section grants extra height for a vehicle gate. A driveway gate in the four-foot zone is a four-foot gate.
Source: PAMC 16.24.020, Standard fences, height and location regulations
Where the gate cannot sit
Two provisions restrict location rather than height, and both bite on corner properties.
Section 16.24.040 governs street intersections citywide. Inside a triangle formed by the curblines, their projection, and a line joining them at points thirty-five feet from where the projected curblines meet, nothing may exceed three feet above adjacent curb grade.
Section 16.24.060 applies where corner lots sit adjacent to each other with rear yards joining. A six-foot fence is permitted on the street side yard lot line starting fifty feet from the radius point of the corner. Where a driveway falls in that area, no fence may be built for a clear distance of twelve feet from the point where the driveway and property lines intersect. The section excludes corner lots whose rear or side yard abuts an interior side yard next door.
Sources: PAMC 16.24.040, Fences at intersections and City of Palo Alto, Palo Alto Fence Code handout for Section 16.24.060/p>
The University Avenue rule that does not apply to you
Search results conflate this one constantly, so it earns its own heading.
Section 16.24.020(c) permits six-foot fences inside front and street side yard setbacks, which is otherwise not allowed. It applies to exactly one stretch of one street: residential property with frontage on University Avenue between Middlefield Road and the eastern city limit. Five conditions attach, including placement no closer than five feet from the sidewalk edge, posts no taller than seven feet spaced at least six feet on center, design compatible with the main dwelling, and screen landscaping with irrigation on the street side.
Condition five is the sight distance triangle that gets quoted as a general Palo Alto rule. Fences over four feet may not sit inside a triangular area measured from a driveway, and gates qualify only if they clear that triangle entirely when open. Outside the University Avenue corridor, this provision does not govern your driveway. Section 16.24.040 does.
Source: PAMC 16.24.020(c)
Edgewood Drive and the creek
Section 16.24.020(d) allows ten feet at the rear of a single family residential site, which is the tallest figure in the chapter. Three conditions stack. The site must adjoin San Francisquito Creek, it must front on Edgewood Drive, and the portion under permanent flood control easement to the Santa Clara Valley Water District must have been reconfigured after January 1, 2002.
Source: PAMC 16.24.020(d)
Situations with their own numbers
Section 16.24.030(c) permits eight feet around industrial, manufacturing, or research uses where security, screening, or hazardous material containment requires it. Commercial properties in Palo Alto's research and industrial districts fall here rather than under the residential heights.
Section 16.24.050 covers residential lots abutting frontage roads, railroad rights of way, industrial or commercial areas, or public property other than a street. Solid board fencing may reach eight feet, measured from natural grade behind a sixteen-foot setback line.
Section 16.24.065 permits a six-foot fence on the rear lot line of a through lot, defined as the property line facing the street that does not provide primary access.
Section 16.24.070 prohibits barbed wire outright. It also prohibits wire, twine, or rope fencing under three feet tall within three feet of a public sidewalk.
Source: City of Palo Alto, Palo Alto Fence Code handout
What you will actually pay
The FY2026 adopted fee schedule sets these figures. Gate automation lands in the electrical category.
An electrical permit not otherwise listed runs $580 for single family residential and duplex, $754 for multifamily and commercial, per permit. Standalone permits carry a $305 base fee. If the gate work requires a new or replacement service, that is $621 under 400 amp and $958 at 400 amp or greater.
Fences inside a public utility easement need an encroachment permit from Public Works. The schedule prices that at $2,198.
Fire protection and fire access plan review for new developments or additions bills at $455 per hour with a two-hour minimum. Consultation with Development Services runs $454 per hour.
Small line items add up. Senate Bill 1186 adds $4 per permit. SB 1473 scales from $1 by valuation. The Strong Motion Instrumentation Program charges $13 per $100,000 of valuation on residential and $28 on commercial. Reinspection on single family and duplex work is $328 for each primary inspection type and $164 for each secondary. Retaining walls, common where a driveway grade change meets a gate, are $1,593 for the first 100 linear feet plus $229 per additional 100.
Skipping the permit costs the most. The schedule sets work without a permit at twice the building permit fee and twice the plan review fee.
Source: City of Palo Alto, FY2026 Adopted Municipal Fee Schedule, Planning and Development Services
Fire access under the code Palo Alto adopted in 2026
Ordinance 5682 rewrote Chapter 15.04 in 2026 to adopt the 2025 California Fire Code with local amendments. Three of those amendments touch gates. The text tracks the statewide code closely, so treat these as the rules in force in Palo Alto rather than as Palo Alto peculiarities.
Section 15.04.210 amends Fire Code 503.2.1. Fire apparatus access roads need twenty feet of unobstructed width exclusive of shoulders, or whatever Appendix D requires, and thirteen feet six inches of vertical clearance. The section carves out approved security gates under Fire Code 503.6.
Section 15.04.230 amends Fire Code 504.5 and names the hardware directly. Bars, grates, gates, electric or magnetic locks, and similar devices that would slow fire department emergency access must be approved by the fire code official. Every electrically powered access control device needs an approved means of deactivation or unlocking from a single location, or another arrangement the fire code official approves.
Read that clause carefully. The code does not name a product. It says approved, and it puts the decision with the fire code official. Anyone telling you Palo Alto mandates a specific brand of key switch is describing a common outcome, not a published requirement.
Section 15.04.200 amends Fire Code 503.1 and routes access road design to a document called Fire Department Access Road Standards.
Sources: PAMC 15.04.200, PAMC 15.04.210, PAMC 15.04.230, and the Chapter 15.04 index showing adoption of the 2025 edition
What the city does not publish
That standards document is not available online. The municipal code points to it, and the code text stops there. If your gate crosses a fire apparatus access road, the operative dimensions live in a document you have to request from the Fire Prevention Bureau.
Plan review turnaround is also unpublished. Any specific day count you find on a contractor blog is an estimate, not a city commitment.
One more caution. The city's own fence handout, the PDF that turns up first in most searches, carries a December 2002 reprint date and has drifted from the current code text. Section 16.24.010(a) in that handout assigns grade determinations to the chief building official alone, while the current codified version adds the Director of Planning and Development Services or a designee. Work from the code library, not the handout.
Sources: PAMC 15.04.200 and the Palo Alto Fence Code handout compared against PAMC 16.24.020 in the current code library
Enforcement and the variances you cannot get
Violating Chapter 16.24 is an infraction under Section 16.24.080. Each day counts as a separate offense. The chief building official, assistant building official, and code enforcement officers all hold citation authority.
Section 16.24.090 allows variances through the procedures in Chapters 18.90 and 18.92, with two exclusions. No variance is available under Section 16.24.040, the intersection triangle, or Section 16.24.070, the prohibited fence types. Those two are absolute.
Source: City of Palo Alto, Palo Alto Fence Code handout
Come see where the gates get made
Code sections only take you so far. At some point you need to look at a four-foot gate next to a six-foot gate and decide which one belongs at the end of your driveway.
If you live in Palo Alto, come by. Our office and fabrication shop are here in the city, and we would rather show you the work than describe it. You will see how the frames are welded, how operators mount, and what separates a gate that lasts twenty years from one that sags in five.
The visit costs nothing. We will sit down for a free consultation, walk through what your lot allows under the sections above, and put together a free estimate before you commit to anything.
Call Bay Area Lions Gate to set up a time.


