Generators and solar interconnection basics
Pairing solar with a fuel generator gives you backup that outlasts a battery, but it raises a hard safety rule: two power sources must never energize the same wires at once without controls. Transfer equipment and the right inverter make it work. Here are the basics.
The core safety principle
The grid, a generator, and a solar-plus-battery system are all sources. If two feed the panel simultaneously — or if any pushes power back onto the utility during an outage — you get equipment damage or a lethal hazard to line workers. Every valid design guarantees the sources are isolated from each other and from the grid when they should be.
Transfer switches: ATS vs MTS
A transfer switch is the device that decides which source feeds the loads, and it physically prevents two from connecting at once.
- Automatic transfer switch (ATS). Detects a grid outage and starts and connects the generator automatically, then reverses when the grid returns. Convenient and hands-off.
- Manual transfer switch (MTS). A person switches the loads to the generator by hand. Cheaper and simpler, but it needs someone present.
| Type | Operation | Trade-off |
|---|---|---|
| ATS | Automatic on outage | Higher cost, seamless |
| MTS | Manual switching | Lower cost, needs a person |
Where solar and batteries fit
A grid-tied solar inverter must stop exporting during an outage (anti-islanding), so plain grid-tie solar does not help when the grid is down. A hybrid inverter with a battery can island a home and often manages the transfer for the solar side itself. Adding a fuel generator on top usually means one of two arrangements:
- The generator feeds a transfer switch ahead of the hybrid inverter, which treats it like grid input.
- The generator connects to a dedicated generator input on inverters designed to accept one.
Not every inverter accepts a generator, and compatibility (voltage, phase, and control signaling) matters. Choosing the inverter and generator together avoids surprises.
How it relates to the rest of the system
A generator does not enter the solar busbar interconnection math the way the PV backfeed does, because it feeds through transfer equipment rather than paralleling the grid. But it interacts with your backup design — it commonly recharges the battery and carries the same critical-loads panel the battery does, just for longer outages.
Sizing and fuel considerations
A generator in a solar-plus-storage system is usually there for the rare, long outage, so it is often sized to carry the critical loads and recharge the battery rather than to run the whole house. That keeps the generator smaller, quieter, and cheaper on fuel. The fuel choice matters too: natural gas and propane store well for infrequent use, while gasoline degrades and needs turnover. Some hybrid inverters can also throttle how hard they lean on the generator, running it at an efficient load and topping the battery instead of cycling on and off. Match the generator's output to the loads it must actually carry, and confirm the inverter accepts that generator's voltage, phase, and control signals before you commit.
Design and permitting notes
Generator interconnection touches electrical code, listing requirements, and sometimes fuel and mechanical codes, and every piece appears on the permit set. Confirm the transfer-switch and generator-input requirements with your AHJ, verify inverter-generator compatibility with the manufacturers, and have a licensed electrician or PE review and stamp the final design.
FAQ
Can I run a generator and solar on the same house?
Yes, but they must never feed the panel at the same time without proper controls. A transfer switch or a hybrid inverter designed for generator input keeps the sources separated so they cannot back-feed each other or the grid unsafely.
What is the difference between an ATS and an MTS?
An automatic transfer switch (ATS) senses an outage and switches to the generator on its own, then switches back when the grid returns. A manual transfer switch (MTS) requires a person to flip it. Both prevent the generator from back-feeding the utility.
Do I need a transfer switch if I have a hybrid inverter?
Often the hybrid inverter provides the transfer function for the solar and battery side, but a fuel generator typically still needs a compatible transfer switch or a generator input on the inverter. The right setup depends on the specific equipment.
Related: Design & sizing
Educational reference, reviewed 2026-07. A design aid, not a substitute for a licensed electrician or PE. Confirm the enforced NEC edition and local amendments with your AHJ.
Draft this design in minutes — free
Describe a residential solar + storage system in plain English. OneLine Studio drafts the one-line diagram, sizes the conductors, runs these NEC checks live, and builds a permit-ready package.
Start free →