What IRC 2018 § G2422.1 requires
Standby generators permanently connected to the gas system require a permanent rigid gas supply with an accessible shutoff valve and a listed flexible connector for the final appliance connection, just like any other gas appliance — no quick-connect hose is involved. Portable generators that operate on LP or gasoline should never be connected to a natural gas line; only purpose-built, utility-connected standby generators may be connected to permanent gas systems under IRC 2018 G2422.1.
IRC 2018 Section G2422.1 governs flexible connectors for gas appliances. A permanently installed standby generator — the type that starts automatically during a power outage — qualifies as a gas appliance and must be connected with a listed flexible connector up to 3 feet in length (or rigid pipe), with a dedicated accessible shutoff valve within 6 feet per G2420.5. The gas supply must be rigid pipe sized for the generator's BTU input demand per G2413.1.
Standby generators are high-demand appliances. A 20kW residential natural gas generator requires approximately 200,000 BTU/hr at full load. At higher outputs (22 kW to 26 kW), BTU demand can reach 300,000 BTU/hr or more. This demand must be included in the total gas system sizing calculation — failure to upsize the supply main when adding a generator is the most common gas system undersizing problem in residential installations.
For the question about portable generators and quick-connect hoses: IRC 2018 does not provide a specific provision for portable generators connected to natural gas via a quick-connect hose. The confusion arises because some generator manufacturers and aftermarket suppliers sell quick-connect natural gas adapter kits for portable generators. While these kits may be listed products, connecting a portable generator to the natural gas system typically requires: verifying the generator is listed for natural gas service, pulling a permit, having a gas contractor install an approved connection point with a shutoff valve, and ensuring the gas supply line is sized for the generator's BTU input. A quick-connect hose used without a permanent permitted installation is not a code-compliant connection under IRC 2018.
The practical reason for the permit requirement even for seemingly temporary connections is that the gas system must be sized for the new demand. A quick-connect hose attached to an existing outdoor gas connection (such as a grill stub-out) and used to run a 200,000 BTU/hr generator will likely starve the system because the grill supply line was sized for a much smaller load.
IRC 2018 Section G2422.1 requires that the flexible connector connecting the gas supply to a standby generator be listed under ANSI Z21.24 and be rated for the operating pressure and BTU/h load of the generator. Standby generators are high-demand appliances. A typical 20kW residential natural gas generator requires approximately 200,000 BTU/h at full load. The flexible connector must be capable of handling this continuous high-BTU demand without the connector body or fittings overheating. Listed connectors for generator service are typically larger diameter (3/4 inch to 1 inch) than standard appliance connectors to handle the higher flow rate without excessive pressure drop. The shutoff valve upstream of the generator connector must be a full-port ball valve sized for the generator's maximum flow rate. Using a standard reduced-port appliance valve as the generator shutoff can create excessive pressure drop that starves the generator of gas during peak demand events, causing the generator to derate its output or shut down on a low-pressure fault.
Why This Rule Exists
Generators produce high electrical output in proximity to the gas supply connection. A spark, backfire, or hot exhaust component near a leaking gas connection is an immediate ignition hazard. The permanent rigid supply with a proper connector, tested to pressure before commissioning, provides a connection point that has been verified leak-free. An improvised connection — a standard LP hose attached to a natural gas supply, or a garden hose coupled to an adapter fitting — does not have this verification and may fail under the vibration of generator operation.
What the Inspector Checks at Rough and Final
For a standby generator installation, the inspector will review the gas system sizing calculation at permit application to verify the supply main and branch can serve the generator BTU demand simultaneously with all other connected appliances. At rough inspection, the inspector checks the supply line routing, size, and material. At final inspection, the inspector verifies: a listed flexible connector connects the supply to the generator inlet, the connector is within 3 feet, a shutoff valve is accessible within 6 feet, the pressure test has been performed and passed, and the generator is listed for natural gas service. The inspector may also check the electrical transfer switch installation, which is a separate permit item.
What Contractors Need to Know
Size the gas supply from the meter to accommodate the generator's BTU demand in addition to all existing appliances. For a 20kW generator at 200,000 BTU/hr added to a system with a furnace (100,000 BTU/hr), range (60,000 BTU/hr), and water heater (40,000 BTU/hr), the total system demand is 400,000 BTU/hr. This likely requires upgrading the main from 3/4-inch to 1-inch or larger, depending on the run length from the meter. Confirm with the gas utility that the service delivery capacity (the meter and service regulator) is adequate for the increased demand — the utility may need to upsize the meter.
Install the generator supply stub-out on the exterior wall adjacent to the generator pad. The generator should not be in an enclosed space without adequate ventilation — most residential standby generators are installed outdoors on a concrete pad. Confirm minimum setback distances from the structure per the generator manufacturer's installation instructions (typically 5 feet minimum from doors, windows, and HVAC intakes).
When sizing the gas supply line to a standby generator, account for the simultaneous demand of all other gas appliances in the building. Standby generators are designed to carry full household load during an outage, which means all gas appliances may run simultaneously while the generator is operating. If the total simultaneous demand (generator plus furnace plus water heater plus range) exceeds the current gas piping system capacity, the generator will experience low gas pressure at the generator during peak demand events, causing the generator to derate or shut down on a low-pressure fault. Recalculate the complete gas piping system capacity after generator installation to verify that the entire system can supply simultaneous maximum demand. This calculation should be done as part of the permit application process and presented to the inspector for verification that the existing piping is adequate for the new connected load.
What Homeowners Get Wrong
The most common error is purchasing a portable generator with a natural gas conversion kit and connecting it to the grill stub-out on the back patio without a permit. This typically results in gas starvation because the 3/8-inch grill supply line cannot deliver the volume needed for the generator, and the connection may not be properly sized or pressure-tested. Another error is not telling the gas contractor about the standby generator when getting a quote for HVAC work — the contractor sizes the gas system for the appliances described, and if the generator is left out, the resulting system may be undersized when the generator is finally added.
State and Local Amendments
IRC 2018 states — TX, GA, VA, NC, SC, TN, AL, MS, KY, and MO — follow G2422.1 and G2413.1 for generator gas connections. Some local jurisdictions in hurricane-prone areas (Gulf Coast TX, coastal NC, SC, and GA) have expedited permit processes for standby generator gas connections due to high demand. Even with expedited permitting, the sizing and pressure test requirements remain. IRC 2021 did not change the connector or sizing requirements for generators. However, there is growing interest in requiring generators to have automatic gas shutoff valves integrated with the transfer switch logic — this is not in IRC 2021 but may appear in future editions.
When to Hire a Licensed Gas Contractor and Electrician
A standby generator installation requires both a licensed gas contractor (for the gas supply and connection) and a licensed electrician (for the transfer switch and wiring). These are typically separate permits. The gas contractor sizes and installs the supply line, installs the shutoff valve, makes the connection to the generator inlet, and performs the pressure test. The electrician installs the transfer switch and connects the generator to the house electrical system. Both permits must be obtained and inspected before the generator is placed in service.
Common Violations Found at Inspection
- Generator gas supply not included in the overall system BTU demand calculation — supply main undersized
- Generator connected to the grill stub-out with an adapter hose — grill line undersized for generator BTU demand
- Flexible connector exceeding 3 feet from the supply stub-out to the generator inlet
- No shutoff valve within 6 feet of the generator — main house shutoff is the only available valve
- Generator installed closer to the house than the minimum setback specified by the manufacturer
- Portable generator with a natural gas kit connected without a permit, sizing verification, or pressure test
- Gas supply line for generator run inside the building without transitioning to rigid metallic pipe at the building entry
- Utility meter capacity not verified before adding a high-demand generator — pressure drops at peak demand
Key takeaways
The points to remember from this section
- 01 Standby generators must be connected to a permanent rigid gas supply with a listed flexible connector (max 3 feet) and an accessible shutoff valve — treated as a gas appliance under IRC 2018 G2422.1.
- 02 A 20kW generator adds approximately 200,000 BTU/hr to the system demand — the gas main from the meter must be resized to accommodate the combined load.
- 03 Connecting a portable generator to the gas system via a quick-connect hose is not an approved permanent installation and typically requires a permit, sizing verification, and pressure test.
- 04 The utility meter and service regulator must also be verified for adequate delivery capacity before commissioning a high-demand standby generator.
- 05 IRC 2021 did not change the connector or sizing requirements for generators.
Field Q&A
Common questions about G2422.1
01 Can I connect my portable generator to the natural gas line? ▸
02 How much gas does a standby generator use? ▸
03 Do I need to resize my gas main for a generator? ▸
04 Can I use the grill gas stub-out to connect my generator? ▸
05 Does a standby generator need its own shutoff valve? ▸
06 What changed in IRC 2021 for generator gas connections? ▸
Educational reference only. Code text is paraphrased from the ICC model; adopted code may differ due to state or local amendments. Always verify with your Authority Having Jurisdiction before relying on this content for construction.