Can I connect a portable or standby generator to my natural gas line with a quick-connect hose?
Can I Connect a Portable or Standby Generator to My Natural Gas Line? (IRC 2018)
Connectors (Generator Applications)
Published by Jaspector
Code Reference
IRC 2018 — G2422.1
Connectors (Generator Applications) · Fuel Gas
Quick Answer
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.
What G2422.1 Actually Requires
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
Frequently Asked Questions
FAQ — Can I Connect a Portable or Standby Generator to My Natural Gas Line? (IRC 2018)
- Can I connect my portable generator to the natural gas line?
- Only if the generator is listed for natural gas service, you pull a permit, a gas contractor installs an approved connection point with a properly sized supply and shutoff valve, and the system is pressure-tested. A quick-connect hose without a permitted installation is not code-compliant.
- How much gas does a standby generator use?
- A 20kW residential generator uses approximately 200 cubic feet per hour of natural gas, which translates to approximately 200,000 BTU/hr. Larger units (22-26 kW) can exceed 300,000 BTU/hr.
- Do I need to resize my gas main for a generator?
- Almost certainly yes. Adding 200,000 BTU/hr or more to a system that was previously sized for a furnace, range, and water heater will likely exceed the capacity of the existing 3/4-inch main. A sizing calculation is required with the permit.
- Can I use the grill gas stub-out to connect my generator?
- Not without upgrading the supply line. A grill stub-out is typically sized for 50,000 to 60,000 BTU/hr. A generator needs 200,000 BTU/hr or more — the grill supply line is far too small.
- Does a standby generator need its own shutoff valve?
- Yes. Like any gas appliance, a standby generator requires a dedicated accessible shutoff valve within 6 feet of the generator, per G2420.5.
- What changed in IRC 2021 for generator gas connections?
- IRC 2021 made no changes to the connector or sizing requirements for generators. The requirements for permanent appliance connections with listed flexible connectors and properly sized supply piping are identical in both the 2018 and 2021 editions.
Also in Fuel Gas
← All Fuel Gas articles- Can a Flexible Gas Connector Go Through a Wall, Floor, Cabinet, or Furnace Cabinet? (IRC 2018)
Can a flexible gas connector go through a wall, floor, cabinet, or furnace cabinet?
- Can the Gas Shutoff Valve for a Fireplace Be Inside the Fireplace, Behind the Logs, or in the Wall? (IRC 2018)
Can the gas shutoff valve for a fireplace be inside the fireplace, behind the logs, or in the wall?
- Does CSST Gas Piping Need to Be Bonded? (IRC 2018)
Does CSST gas piping need to be bonded, and where does the bonding wire attach?
- Does the Fuel Gas Code Treat Propane Differently Than Natural Gas? (IRC 2018)
Does the fuel gas code treat propane differently than natural gas?
- How Deep Does a Buried Gas Line Need to Be? (IRC 2018)
How deep does a buried gas line need to be, and can plastic gas pipe go under a slab or into the house?
- How Do I Know What Size Gas Line I Need? (IRC 2018)
How do I know what size gas line I need for a furnace, range, tankless water heater, or generator?
- What Does Code Require for a Natural Gas or Propane Line to an Outdoor Grill? (IRC 2018)
What does code require for a natural gas or propane line to an outdoor grill?
- What Is the Code-Compliant Way to Hook Up a Gas Dryer? (IRC 2018)
What is the code-compliant way to hook up a gas dryer?
- What Kind of Gas Pipe Is Allowed in a House Under IRC 2018?
What kind of gas pipe is allowed in a house under IRC 2018?
- What Pressure Test Is Required After Installing or Changing a Gas Line? (IRC 2018)
What pressure test is required after installing or changing a gas line?
- Where Does the Gas Shutoff Valve Have to Be for a Furnace, Range, Fireplace, Dryer, or Water Heater? (IRC 2018)
Where does the gas shutoff valve have to be for a furnace, range, fireplace, dryer, or water heater?
Have a code question about your project? Get personalized answers from our team — $9/mo.
Membership