How Much Does Generator Installation Cost in San Francisco, CA?

A 22 kW whole-house generator costs $14,500 – $24,000 installed in San Francisco (at the top of California's range — SF's dense lots, strict noise ordinances, and extremely high labor rates push costs to the state's ceiling). The primary outage risk is psps shutoffs and earthquakes. Pacific Gas & Electric (PG&E) serves the area with approximately 6 hours of outages per year.

Generator Installation Cost in San Francisco

SetupSizeCost in San Francisco
Essential circuits10-16 kW$9,500 – $16,000
Whole house20-22 kW$14,500 – $24,000
Large home24-48 kW$22,000 – $37,000

San Francisco is one of the most challenging cities for generator installation in the US. Dense lot sizes, strict DBI permitting, noise ordinances, and seismic bracing requirements all add cost and complexity. But PG&E's PSPS events — which can shut off power to hillside and East Bay neighborhoods for days during fire weather — have made generators increasingly common among SF homeowners who can afford them.

Not sure what size you need? Use our sizing guide or interactive calculator for a personalized recommendation. For the full national breakdown, see our installation cost guide.

San Francisco-Specific Installation Requirements

Local Code — San Francisco County

SF requires seismic bracing (CBC Section 1613), SF DBI (Department of Building Inspection) permits, and compliance with the SF Noise Ordinance (Article 29). Dense lot sizes create placement challenges — generators often must go on narrow side yards or rear patios. PG&E interconnection coordination required.

Permits

Permit cost: $300 – $700. Timeline: 3-6 weeks. Your installer handles filing and inspection.

Preferred Fuel: Natural Gas

PG&E provides gas service throughout SF. Most homes have gas. Some newer buildings are all-electric per SF's gas ban ordinance, requiring propane tanks.

See statewide California costs and requirements for comparison.

Power Outage Risk in San Francisco

1.5

Outages/year

4h

Avg duration

PSPS shutoffs and earthquakes

Primary risk

Pacific Gas & Electric (PG&E)

Local utility

PG&E PSPS events in 2024 affected thousands of SF-adjacent homes in the East Bay and Peninsula hills. The 2019 Kincade Fire PSPS shut off power to over 2 million PG&E customers region-wide.

Find Generator Installers in San Francisco

HomeGen connects you with certified installers in San Francisco and surrounding areas including San Jose, Sacramento and Los Angeles. Get 2-3 quotes to compare pricing — installation costs vary by up to $3,000 between contractors in the same city.

How Much Does a Home Generator Cost?

Get an instant estimate based on your home size and power needs.

2,000 sq ft
1,0005,000

Recommended size

22 kW

Estimated cost

$7,700 – $12,100

Includes equipment, installation, transfer switch, and permits

As low as $83/month with approved financing

Get Exact Quotes for Your Home

Prices vary by location. Enter your ZIP code for local estimates.

Need a more precise estimate? Try our detailed calculator

Need a more detailed estimate? Try our appliance-by-appliance calculator →

FAQ — Generator Installation in San Francisco

How much does a 22 kW generator cost in San Francisco?

A 22 kW generator costs $14,500-$24,000 installed in SF — among the highest in the US. Seismic bracing, DBI permits ($300-$700), noise compliance, and Bay Area labor rates all contribute.

Can I fit a generator on my SF lot?

It depends on your property. SF lots are notoriously narrow. Your installer needs 18-24 inches from the house wall and 5 feet from windows/doors (NFPA 37). Side yards and rear patios are the typical placement. Some homes simply don't have room.

Does SF's gas ban affect generator installations?

SF's ban on natural gas in new construction affects some newer buildings. If your home is all-electric, you'll need a propane tank for the generator. Existing homes with gas service are not affected.

LB

Lyes

Founder & Home Energy Specialist

Lyes tracks generator installation costs and local code requirements across all 50 states. This page is reviewed by licensed electricians who operate in San Francisco, CA.

Ready to Get Generator Quotes in San Francisco?

Compare prices from certified local installers in San Francisco County. Free and no-obligation.

Get Your Free Quote Now