What is the code-compliant way to hook up a gas dryer?
Gas Dryer Connections Need a Valve, Listed Connector, and Correct Clearance
Connecting Appliances
Published by Jaspector
Code Reference
IRC 2021 — G2422.1
Connecting Appliances · Fuel Gas
Quick Answer
A code-compliant gas dryer connection under IRC 2021 uses an approved gas outlet in the laundry space, an accessible shutoff valve installed ahead of the connector, and one listed appliance connector installed according to G2422 and the dryer manufacturer instructions. The connector generally must stay entirely in the same room, cannot exceed 6 feet overall, and cannot pass through walls, floors, partitions, ceilings, or concealed spaces. If the dryer outlet is in the wrong place, move the piping instead of stretching the connector.
What G2422.1 Actually Requires
Section G2422.1 explains how appliances may connect to the gas piping system. The code allows rigid metallic pipe and fittings, CSST installed according to the manufacturer instructions, listed and labeled appliance connectors installed according to their instructions and located entirely in the same room as the appliance, listed quick-disconnect devices used with listed connectors, listed convenience outlets used with listed connectors, and certain outdoor connector products for outdoor appliances. For a residential clothes dryer, the usual field method is a listed appliance connector plus a shutoff valve.
The surrounding subsections supply the details. G2422.1.2.1 limits connectors to an overall length not exceeding 6 feet and allows only one connector per appliance. G2422.1.2.2 requires connector capacity for the total demand of the connected appliance. G2422.1.2.3 prohibits connectors from being concealed within or extended through walls, floors, partitions, ceilings, or appliance housings unless a specific exception applies. G2422.1.2.4 requires a shutoff valve not less than the nominal size of the connector ahead of the connector in accordance with G2420.5.
That sends you to G2420.5.1, which is especially important for dryers. It says the valve must be in the same room as the appliance, within 6 feet, upstream of the union, connector, or quick-disconnect device, and provided with access. Then the code adds a dryer-specific practical rule: shutoff valves serving movable appliances such as cooking appliances and clothes dryers are considered to be provided with access where installed behind such appliances.
G2408.1 adds the universal Chapter 24 qualifier: the appliance and its connector must also be installed according to the listing and manufacturer instructions. If the dryer manufacturer, connector manufacturer, or local authority is stricter than the basic code text, the stricter requirement controls.
Why This Rule Exists
Gas dryer connections fail for a simple reason: the appliance moves. People push dryers hard against the wall, pull them out for vent cleaning, stack laundry units in tight alcoves, and replace one model with another that has different depth and burner location. A connection method that might survive untouched equipment in a mechanical room is far more likely to kink, abrade, or get crushed behind a dryer.
The code addresses that reality by limiting connector length, requiring the connector to stay visible and in the same room, and requiring a local shutoff valve. Those rules make leaks easier to detect, future servicing easier to perform, and accidental damage less likely when the dryer is moved for maintenance or replacement.
What the Inspector Checks at Rough and Final
At rough inspection, the key question is whether the gas outlet is in the right place for a dryer hookup that can comply after the appliance arrives. Inspectors look at the laundry box, wall recess, alcove depth, and vent layout. They want to see that the piping terminates in the laundry space rather than in a wall cavity, adjacent room, or floor chase that would tempt someone to use the connector as hidden piping. If sediment traps or appliance-specific details are required elsewhere in the adopted fuel-gas provisions or by the appliance manufacturer, rough inspection is the right time to reserve room for them.
At final inspection, the connector and valve become the focus. Inspectors usually verify that there is one listed connector, that the connector appears appropriately sized and under the 6-foot maximum, and that it remains entirely in the same room as the dryer. They check for wall or cabinet penetrations, sharp bends, twisting, and crushing where the dryer was shoved back into place. They also confirm that the shutoff valve is ahead of the connector and reasonably accessible, which for dryers often means behind the appliance in a location that can be reached by pulling the dryer forward.
Good inspectors also pay attention to interaction between the gas connector and the exhaust duct. A flexible gas line rubbing against a metal dryer vent, trapped under the appliance feet, or exposed to abrasion from movement may be corrected even if the connector itself is listed. The dryer installation instructions are often reviewed because they address clearances and service space that affect whether the gas connection remains protected over time.
Reinspection triggers include a reused connector with damaged coating, a connector routed through a laundry cabinet side, a valve buried behind stacked units, and a rough-in so high or low that the connector must be sharply bent to make the final hookup.
What Contractors Need to Know
Laundry rough-in quality determines whether the final hookup looks professional or improvised. Place the gas outlet and shutoff valve where the connector can make a gentle, visible loop without contact with sharp edges or the dryer vent. In tight alcoves, a recessed gas box or carefully planned side location can save a failed inspection and prevent the common problem of a connector being crushed behind the back panel.
Contractors also need to distinguish between pipe joint sealant and connector joints. Thread sealant may be appropriate on tapered threaded pipe joints where approved for fuel gas, but it does not belong on flare faces or connector seats unless the manufacturer instructions specifically call for it. Over-taped or doped connector joints are a sign that the installer may not understand how the assembly seals.
Do not plan on reusing old connectors by default. Even where not expressly banned, reused connectors often have hidden kinks, worn coatings, contamination, or mismatched end fittings. Many installers and utilities prefer new listed connectors on replacement dryers because the cost is low compared with the risk of a leak or callback. That is especially true when the old dryer was moved repeatedly or when the previous connector routing was poor.
Finally, coordinate the dryer gas hookup with venting and appliance delivery. A perfect gas rough-in can still fail if the vent elbow forces the dryer too far forward or pushes the connector into a pinch point. The best installers think of the gas connector, vent path, shutoff handle, and appliance depth as one system, not separate trades fighting for the same six inches of wall space.
What Homeowners Get Wrong
Homeowners often assume a gas dryer is as simple as plugging in an electric dryer plus adding a flex line. That is how bad laundry hookups happen. The connector is treated like a universal extension cord for gas, the old line is reused because it looks fine, and the dryer is pushed back until everything behind it is crushed flat. The hookup may not leak immediately, but it is no longer installed in the way the code and listing expect.
Another common mistake is hiding the rough-in problem instead of fixing it. If the gas valve or outlet lands slightly outside the laundry space, some people drill a hole through the cabinet, fish the connector through the wall, or buy a longer connector. That is exactly the kind of shortcut G2422.1.2.3 is written to stop. The permanent piping needs to be corrected so the connector can stay entirely in the room and visible.
People also misunderstand behind-dryer access. The code does recognize a valve behind a movable dryer as accessible, but that does not mean any hidden arrangement behind the appliance is acceptable. The valve still has to be in the same room, within 6 feet, ahead of the connector, and realistically reachable by moving the dryer. If stacked appliances, shelving, or a cramped closet make movement impractical, the valve location may need to change.
Another frequent issue is mixing connector parts. A homeowner may combine old adapters, mismatched flare fittings, and generic sealant in an attempt to make the new dryer fit the old outlet. Gas connectors are listed assemblies. If the fittings do not match the listed setup, or if the dryer manufacturer calls for a different arrangement, the safest answer is to install the correct new components.
The simplest homeowner rule is this: if the dryer hookup requires force, hidden routing, or improvised fittings, it is probably not code-compliant.
Dryer hookups also generate more callbacks than many homeowners expect because laundry rooms evolve. A new pedestal, stacked arrangement, cabinet retrofit, or vent reroute can change how the connector bends and whether the shutoff remains reachable. Inspectors know that a dryer is one of the most frequently moved gas appliances in a house, so they look for a hookup that remains safe after repeated cleaning and replacement cycles. A connection that barely works on day one often becomes the leak or damage issue discovered at the next appliance swap.
State and Local Amendments
Local amendments for gas dryers usually focus on inspection practice rather than creating a dryer-only chapter. Some authorities issue laundry rough-in diagrams showing preferred valve and outlet placement, and some utilities or installers refuse to connect dryers unless the valve is accessible without major appliance disassembly. Earthquake regions, wildfire jurisdictions, and areas with active utility programs may also have additional connector product preferences or replacement practices.
Because the dryer connection combines gas code, appliance listing, and practical service access, local interpretation matters. Verify the adopted code year, check whether the jurisdiction has laundry box or dryer hookup guidance, and read the current dryer installation manual before rough-in or replacement.
When to Hire a Licensed Contractor, Design Professional, or Engineer
Hire a licensed gas contractor or other properly licensed installer whenever a new gas dryer outlet is being added, the shutoff valve is being relocated, the piping is in the wrong room, or an existing hookup shows damage, leakage, or noncompliant routing. Most residential dryer hookups do not require an engineer. Bring in a design professional or engineer only for unusual custom laundry rooms, stacked built-in systems with tight clearances, or homes where a broader fuel-gas redesign is needed. For typical houses, the right answer is a competent licensed installer who can correct the rough-in and connect the dryer with listed parts.
Replacement work is where most dryer code problems become visible. The old dryer may have tolerated a poor valve location or a partially crushed connector because nobody moved it often. A new dryer with a different burner connection height, back panel shape, or vent outlet can expose every rough-in mistake at once. Inspectors and delivery crews see that pattern constantly, which is why they are skeptical of connector routes that only work when the appliance is positioned just right.
Common Violations Found at Inspection
- Dryer connector routed through a wall, cabinet side, floor, or other concealed space.
- More than one connector used or connector longer than 6 feet.
- Connector kinked, crushed, twisted, or trapped behind the dryer or vent duct.
- Shutoff valve missing, undersized, or installed downstream of the connector.
- Valve location not in the same room or not reasonably accessible after the dryer is set.
- Old connector reused despite visible wear, damaged coating, or incompatible fittings.
- Improper sealant applied to flare or connector seating surfaces.
- Gas outlet rough-in placed so poorly that the connector cannot make a protected visible route.
- Connector not listed for the appliance connection or lacking sufficient capacity for the dryer demand.
- Manufacturer installation instructions unavailable or ignored when the inspector asks for them.
Frequently Asked Questions
FAQ — Gas Dryer Connections Need a Valve, Listed Connector, and Correct Clearance
- What is the proper way to hook up a gas dryer under IRC 2021?
- Use an approved gas piping outlet in the laundry space, an appliance shutoff valve that complies with G2420.5, and one listed appliance connector installed per G2422 and the dryer manufacturer instructions.
- Can I reuse the old gas dryer flex connector when I replace the dryer?
- Often installers prefer not to, and some manufacturers or local rules prohibit reuse. A new listed connector is usually the safest path for compliance and leak-free installation.
- Can the gas shutoff valve be behind the dryer?
- Yes, that can be compliant because G2420.5.1 says shutoff valves serving movable appliances such as clothes dryers are considered to be provided with access where installed behind them.
- Can a dryer gas connector go through the wall or cabinet side?
- No, not in the usual setup. G2422.1.2.3 prohibits connectors from being concealed within or extended through walls, floors, partitions, ceilings, or appliance housings unless a listed exception applies.
- How long can a gas dryer connector be?
- G2422.1.2.1 sets a general maximum overall connector length of 6 feet, measured along the centerline, and only one connector may be used for each appliance.
- Why did my dryer hookup fail inspection even though it does not leak?
- Because code compliance is not only about leaks. Inspectors also check connector listing, length, routing, valve access, appliance instructions, and whether the line is protected from damage.
Also in Fuel Gas
← All Fuel Gas articles- CSST Gas Piping Requires Bonding Under IRC 2021
Does CSST gas piping need to be bonded, and where does the bonding wire attach?
- Flexible Gas Appliance Connectors Cannot Be Used as Hidden Gas Piping
Can a flexible gas connector go through a wall, floor, cabinet, or furnace cabinet?
- Fuel Gas Piping Must Use Approved Pipe, Tubing, and Fittings
What kind of gas pipe is allowed in a house under the 2021 IRC?
- Gas Appliances Need Accessible Shutoff Valves Close to the Appliance
Where does the gas shutoff valve have to be for a furnace, range, fireplace, dryer, or water heater?
- Gas Fireplace Shutoff Valves and Connectors Must Stay Accessible and Listed
Can the gas shutoff valve for a fireplace be inside the fireplace, behind the logs, or in the wall?
- Gas Line Sizing Depends on Load, Length, Pressure, and Pipe Material
How do I know what size gas line I need for a furnace, range, tankless water heater, or generator?
- Generator Gas Lines Must Be Sized and Installed as Permanent Fuel-Gas Piping
Can I connect a portable or standby generator to my natural gas line with a quick-connect hose?
- New or Altered Gas Piping Must Be Pressure Tested Before Use
What pressure test is required after installing or changing a gas line?
- Outdoor Grill Gas Connections Need Approved Piping, Shutoff Access, and Listed Quick Disconnects
What does code require for a natural gas or propane line to an outdoor grill?
- Propane and Natural Gas Use the Same Chapter 24 Framework but Different Design Assumptions
Does the fuel gas code treat propane differently than natural gas?
- Underground Gas Piping Needs Burial Depth, Corrosion Protection, and Approved Transitions
How deep does a buried gas line need to be, and can plastic gas pipe go under a slab or into the house?
Have a code question about your project? Get personalized answers from our team — $9/mo.
Membership