Do I Need a Permit for Solar Panels in Sunnyvale, CA?

Sunnyvale’s Silicon Valley location creates some of the most compelling economics for solar in the United States: PG&E rates that increased six times in twelve months during 2024–2025, abundant sunshine, and tech-savvy homeowners who understand energy management. The 2023 shift to NEM 3.0 (Net Billing) changed the math significantly — but battery storage has changed it back.

Research by DoINeedAPermit.org Updated April 2026 Sources: Sunnyvale Permits, PG&E Interconnection, California CPUC NEM 3.0
Yes — Two Permits Required
Solar installations in Sunnyvale require a building permit and an electrical permit through e-OneStop, plus PG&E interconnection via the Your Projects portal.
Residential solar installations in Sunnyvale require a building permit (structural mounting on the roof) and an electrical permit (inverter, wiring, panel connection), both submitted through the e-OneStop portal or at the One-Stop Permit Center, 456 W. Olive Ave. California HERS testing by a third-party rater is required as part of the electrical permit. PG&E's interconnection application through the "Your Projects" portal is submitted in parallel; the PG&E interconnection fee is $145. New solar applications since April 15, 2023 are on the Net Billing Tariff (NBT/NEM 3.0), which pays lower export rates than NEM 2.0 — battery storage is strongly recommended under NEM 3.0 to maximize self-consumption.
Every project and property is different — check yours:

Sunnyvale solar permit rules — the basics

Solar installations in Sunnyvale follow the same permit structure as other major systems: a building permit through e-OneStop covering the structural mounting (racking system, roof attachment points, structural analysis confirming the roof can support panel weight) and an electrical permit covering the PV system from panels through inverter to the main panel interconnection. Both are submitted through the e-OneStop portal or at the One-Stop Permit Center at City Hall, 456 W. Olive Ave., (408) 730-7444. California HERS (Home Energy Rating System) testing by a third-party rater is required for the electrical permit, consistent with California's requirement that all electrical system installations in residential properties include HERS verification. Experienced Sunnyvale solar installers coordinate the HERS rater as part of their service; confirm this is included in any installer quote.

The PG&E interconnection application is submitted through PG&E's "Your Projects" portal (yourprojects-pge.com), concurrently with the Sunnyvale permit applications. The $145 interconnection fee applies to all residential NEM applications. The interconnection application requires the system design including equipment specifications, the California building permit documentation (copy of the permit goes to PG&E), and a signed California Solar Consumer Protection Guide. Equipment on the California Energy Commission's approved equipment list (solar panels and inverters) is required for interconnection; all major manufacturers' products qualify. After Sunnyvale's building and electrical inspections are complete, the proof of inspection is uploaded to PG&E's portal. PG&E then reviews for interconnection approval and, after confirmation, issues Permission to Operate (PTO). The system cannot be activated until PTO is received.

PG&E serves essentially all of Sunnyvale for electricity. New solar applications since April 15, 2023 are billed under the Net Billing Tariff (NBT), which PG&E calls the Solar Billing Plan. Unlike NEM 2.0, which credited excess generation at the full retail rate, the NBT credits exported solar energy at variable rates reflecting the grid value of that generation — typically much lower than the retail rate (roughly 3–8 cents/kWh on average vs. retail rates of 35–45 cents/kWh in PG&E territory). Customers who applied for interconnection under NEM 2.0 before April 15, 2023 remain on NEM 2.0 for 20 years from their original PTO date. Customers already on NEM 2.0 can add battery storage without losing their NEM 2.0 status.

Planning solar in Sunnyvale?
Get the exact permits required, PG&E interconnection process, and whether battery storage makes financial sense for your home under NEM 3.0.
Get Your Personalized Solar Permit Report →
$9.99 · Delivered in minutes · Based on official sources

NEM 3.0 and why battery storage changes the math in Sunnyvale

Under NEM 2.0, a Sunnyvale homeowner who produced excess solar at noon and exported it to the grid received retail-rate credit for that exported kilowatt-hour — meaning every kWh produced had essentially the same value whether used at home or sent to the grid. Under NEM 3.0's Net Billing Tariff, that exported kWh is credited at a much lower rate reflecting the grid's value rather than the retail rate. A kWh you use at home from your own solar panels saves you the full retail rate (30–45 cents/kWh in PG&E territory as of 2026); a kWh you export earns you roughly 3–8 cents/kWh on average.

Battery storage fundamentally changes this calculus. A battery-equipped solar system stores excess solar production generated during the day and discharges it in the evening — when PG&E's required time-of-use rate for NBT customers charges peak rates (on-peak hours are 5 PM–9 PM weekdays). By storing solar production and using it during the evening peak rather than exporting it at 5 cents/kWh and then buying it back at 45 cents/kWh, a battery-solar system achieves dramatically higher effective value per kWh produced. The CPUC's own data indicated that by end of 2024, nearly 70% of new NEM 3.0 customers were pairing batteries with their solar. In Sunnyvale's high-rate, high-solar environment, this pairing is generally the recommended approach for new solar installations in 2026.

One important incentive note: PG&E residential customers who apply for NBT interconnection before the end of 2027 receive an Export Compensation Adder — slightly higher-than-normal bill credits for exported energy for nine years. This adder applies to customers who install solar voluntarily; customers required to add solar (such as by California's new home construction solar mandate) do not receive the adder. For homeowners considering solar in 2026, applying for interconnection before the end of 2027 to capture the adder is worth factoring into the timeline.

Solar variableHow it affects your Sunnyvale solar project
PG&E Net Billing Tariff (NEM 3.0)All new applications since April 15, 2023 are under the NBT. Export credits ~3–8¢/kWh average vs. retail rates of 35–45¢/kWh. Battery storage strongly recommended to maximize self-consumption rather than grid export. Apply before end of 2027 to capture Export Compensation Adder (9-year higher credits for voluntary solar).
PG&E interconnection fee$145 for residential systems ≤30 kW. Submit through PG&E's "Your Projects" portal (yourprojects-pge.com) in parallel with the Sunnyvale city permits. Upload proof of city inspection to the portal after inspections pass. PTO issued after PG&E completes interconnection review and meter reprogramming.
Sunnyvale building + electrical permitsBuilding permit for structural mounting (roof structural analysis required). Electrical permit for PV system (HERS testing required). Both via e-OneStop portal or One-Stop Permit Center (408) 730-7444. Plan review approximately 5 business days. California C-10 electrical contractor and California-licensed solar installer (CSLB) required.
HERS testingThird-party HERS rater verification required for the electrical system as part of California's permit requirements. Typically ~$200–$400, coordinated by the solar installer. Confirm HERS testing is included in any installer quote before signing a contract.
Sunnyvale's Reach Code and solarThe requirements for photovoltaic systems remain in place even after Sunnyvale's May 2024 suspension of all-electric Reach Code requirements. New single-family homes in California are required to include solar under the 2022 California Energy Code. The interconnection requirement for this mandatory solar does not qualify for the NBT Export Compensation Adder.
Federal tax incentives (2026)The federal Residential Clean Energy Credit (Section 25D, the 30% ITC) status for new 2026 installations should be confirmed with a tax professional, as the One Big Beautiful Bill (P.L. 119-21) modified Section 25D effective dates. California has separate incentive programs; confirm current availability with your installer and a tax advisor.
NEM 3.0 makes battery storage a near-essential part of Sunnyvale solar in 2026. Know the full economics before signing.
Your permit requirements. PG&E interconnection timeline. Whether battery storage makes financial sense for your usage profile and bill amount.
Get Your Sunnyvale Solar Permit Report →
$9.99 · Based on official sources · Delivered in minutes

Common questions about Sunnyvale solar permits

Is solar still worth it in Sunnyvale under NEM 3.0?

Yes, for most Sunnyvale homeowners with monthly electric bills above $150–200, particularly with battery storage. PG&E rates have increased significantly (six times in 12 months during 2024–2025), and further rate increases are anticipated. Solar paired with battery storage allows homeowners to maximize self-consumption of their own solar production, discharge stored energy during peak pricing hours (5–9 PM weekdays), and reduce exposure to ongoing rate increases. Early NEM 3.0 adopters who apply before end of 2027 also receive the Export Compensation Adder for nine years. Payback periods under NEM 3.0 with battery storage run approximately 7–10 years, longer than NEM 2.0's 5–7 year average, but the long-term bill reduction from PG&E's high and rising rates makes solar a sound investment for many Sunnyvale homes.

I already have solar under NEM 2.0. Does anything change if I add panels or a battery?

Adding panels to a NEM 2.0 system could trigger a requirement to re-apply under NEM 3.0 (Net Billing Tariff). Adding a battery system to an existing NEM 2.0 solar installation generally does not affect NEM 2.0 status — you can add storage without losing NEM 2.0 grandfathering. Adding more solar capacity is treated differently; the specific rules around capacity additions affecting NEM 2.0 status are complex and depend on how the system is configured. Consult with a CALSSA-member solar installer who can confirm whether your proposed expansion would affect your NEM 2.0 grandfathered status before proceeding.

How long does the Sunnyvale solar permit and PG&E interconnection process take?

Sunnyvale building and electrical permit plan review: approximately 5 business days for complete e-OneStop applications. Installation: 1–3 days after permits are issued. City inspections: within a few days of request. Upload proof of inspection to PG&E's Your Projects portal. PG&E interconnection review and meter reprogramming: typically 2–6 weeks after proof of inspection. PTO letter issued by email to homeowner and installer. Total from permit application to PTO: approximately 8–14 weeks for a standard installation. Start the PG&E portal application simultaneously with the city permits to run the processes in parallel.

Do I need to replace my roof before installing solar in Sunnyvale?

If your roof has fewer than 10–12 years of remaining service life, replacing it before solar installation is strongly recommended. Removing and reinstalling solar panels for a roof replacement costs $2,000–$5,000 in Sunnyvale's market and is typically not covered by solar installation warranties. The building permit's structural analysis will identify sheathing or framing deficiencies; addressing these before panel mounting is more economical. Ask your solar installer for an honest roof condition assessment as part of the project scoping process.

Sunnyvale One-Stop Permit Center City Hall, 456 W. Olive Ave., Sunnyvale, CA 94086
(408) 730-7444 · Hours: 8 a.m.–5 p.m. Monday–Friday
Online: e-OneStop portal

PG&E Solar Interconnection (Your Projects portal)
yourprojects-pge.com · Interconnection fee: $145
PG&E Solar Customer Service: 1-877-743-4112

This page provides general guidance about City of Sunnyvale solar permit requirements and PG&E NEM 3.0/Net Billing Tariff based on publicly available sources as of April 2026. PG&E rates, export credit values, and federal tax incentive rules are subject to change. Consult a tax professional to confirm 2026 federal solar incentive eligibility. For a personalized report, use our permit research tool.

$9.99Get your permit report
Check My Permit →