2021 IFGC: International Fuel Gas Code Piping, Venting, and Testing

The 2021 International Fuel Gas Code is a model code published by the International Code Council that sets minimum safety standards for fuel gas piping, appliances, and venting in residential and commercial buildings. It covers natural gas, propane, and gaseous hydrogen systems from the utility’s point of delivery through the connection at each appliance, and it becomes enforceable only where a state, county, or city has formally adopted it.1International Code Council. 2021 International Fuel Gas Code If you are planning a gas project, the rules below are the ones that most often decide whether an installation passes inspection.

What the Code Covers and What It Doesn’t

Section 101.2 applies the code to fuel-gas piping systems, fuel gas appliances, gaseous hydrogen systems, and related accessories, running from the point of delivery through the appliance connections.2International Code Council. 2021 International Fuel Gas Code – Chapter 1 Scope and Administration3International Code Council. 2021 International Fuel Gas Code – Chapter 4 Gas Piping Installations Detached one- and two-family dwellings and townhouses no more than three stories above grade plane may comply with either the IFGC or the International Residential Code.

Fuel oil piping and storage are handled by the International Mechanical Code, and electrical wiring falls under NFPA 70, the National Electrical Code. Those systems do not fall under the IFGC even where they sit next to gas equipment.

Combustion Air Sizing

Every gas appliance needs enough oxygen to burn fuel safely. When a room is too small for the appliance’s BTU input, incomplete combustion can produce dangerous levels of carbon monoxide. Section 304 lays out several ways to meet the requirement.4International Code Council. 2021 International Fuel Gas Code – Chapter 3 General Regulations

  • Indoor air only: the room must provide at least 50 cubic feet of volume for every 1,000 BTU/h of total appliance input. A 100,000 BTU furnace in a sealed mechanical room would need a space of at least 5,000 cubic feet, which is larger than most utility closets.
  • Two outdoor openings: where the room connects directly to outdoors or uses vertical ducts, each opening needs at least 1 square inch of free area per 4,000 BTU/h. With horizontal ducts, that doubles to 1 square inch per 2,000 BTU/h.
  • One outdoor opening: a single opening near the top of the enclosure needs at least 1 square inch per 3,000 BTU/h of total input.

Sizing rules apply cumulatively. A water heater and a furnace sharing a closet are both counted in the calculation. Rooms on the same story can be combined if permanent openings of at least 1 square inch per 1,000 BTU/h (and no less than 100 square inches total) connect them, with one opening near the floor and one near the ceiling.

Where Gas Appliances Cannot Go

Section 303.3 prohibits fuel gas appliances in sleeping rooms, bathrooms, storage closets, and surgical rooms, with limited exceptions for direct-vent appliances, units sealed from the living space, and certain equipment in residential bathrooms. Equipment with an ignition source is also banned from Group H occupancies where flammable or explosive materials are handled openly, and no appliance regulated by the IFGC may be installed in an elevator shaft.

Approved Piping Materials

Section 403 lists every approved piping and tubing material along with the manufacturing standard it must meet.3International Code Council. 2021 International Fuel Gas Code – Chapter 4 Gas Piping Installations The materials used most often in residential and light commercial work include:

  • Steel pipe at least Schedule 10, conforming to ASTM A53, A106, or A312. Schedule 40 black steel remains the most widely installed option for interior piping.
  • Copper tubing meeting ASTM B88 (Type K or L) or ASTM B280. Copper is prohibited where the gas supply contains more than 0.3 grains of hydrogen sulfide per 100 standard cubic feet.
  • Corrugated stainless steel tubing (CSST) listed to ANSI LC 1/CSA 6.26. CSST routes faster through framing but carries extra bonding requirements.
  • Polyethylene plastic pipe meeting ASTM D2513, limited to outdoor underground installation only. Plastic cannot run under or within a building or slab.

Pipe sizing depends on the total BTU load of all connected appliances and the length of the run from the meter to the farthest appliance.

Installation Rules

Support Intervals

Section 415 and Table 415.1 set how often piping must be supported to prevent sagging and joint stress. For steel pipe:5International Code Council. 2021 International Fuel Gas Code – Section 415.1 Interval of Support

  • ½-inch pipe every 6 feet
  • ¾-inch or 1-inch pipe every 8 feet
  • 1¼-inch or larger horizontal every 10 feet
  • 1¼-inch or larger vertical at every floor level

Smooth-wall tubing uses shorter intervals: 4 feet for ½-inch, 6 feet for ⅝- or ¾-inch, and 8 feet for ⅞- or 1-inch horizontal runs. CSST follows the manufacturer’s instructions instead of the table.

Protection from Physical Damage

Where gas piping runs through wood framing and sits less than 1½ inches from the face of the framing member, Section 404.7 requires steel shield plates to prevent puncture from nails or screws. The plates must cover the full width of the pipe and extend at least 4 inches past each side of the framing member. Black steel and galvanized steel pipe are exempt because their wall thickness already resists fastener penetration.

Underground Piping

Buried gas piping must be installed at least 12 inches below grade. Individual lines serving outdoor lights, grills, or similar appliances can be as shallow as 8 inches where the location is not prone to physical damage. All underground steel piping must be protected against corrosion through factory-applied insulating coatings, corrosion-resistant materials, or a cathodic protection system. A galvanized coating alone does not qualify.

When nonmetallic piping is buried, Section 404.17.3 requires a yellow insulated copper tracer wire of at least 18 AWG to be installed alongside the pipe so it can be located later with standard utility-locating equipment. The tracer wire must be accessible at each end of the nonmetallic run or terminate above ground.

Bonding, Especially for CSST

Section 310 requires gas piping systems to be electrically bonded. This matters most for CSST, whose thin corrugated walls are vulnerable to arcing during a lightning strike. Without proper bonding, a nearby lightning event can blow a hole in the tubing and cause a gas leak or fire.

Bonding connects the gas piping to the building’s grounding electrode system so stray electrical energy follows a safe path to ground. The bonding jumper must be at least 6 AWG copper wire, connected between the electrical service ground and a metallic pipe or fitting upstream of the first CSST connection. The clamp must be listed for bonding and compatible with the pipe material. A qualified electrician typically handles this work, and it must also comply with NFPA 70. Skipping bonding is one of the most common inspection failures on CSST jobs.

Venting and Termination Clearances

Chapter 5 governs how combustion byproducts leave the building, and the venting strategy depends on appliance category.6International Code Council. 2021 International Fuel Gas Code – Chapter 5 Chimneys and Vents Category I appliances such as standard-efficiency furnaces and water heaters with draft hoods use Type B double-wall gas vents, masonry chimneys, or listed chimney lining systems. Category IV condensing appliances produce cooler, more acidic exhaust that corrodes metal, so they vent through plastic piping specified by the appliance manufacturer. Matching the wrong vent type to an appliance is a serious hazard: a condensing furnace vented through a standard metal chimney can corrode the flue, while a standard-efficiency unit vented through plastic can melt the pipe.

Section 503.8 sets where a vent may terminate relative to building openings. For mechanical-draft systems other than direct-vent appliances, the terminal must be at least 4 feet below, 4 feet horizontally from, or 1 foot above any door, operable window, or gravity air inlet. The bottom of the terminal must sit at least 12 inches above finished ground level. Where a forced-air intake is within 10 feet, the vent must terminate at least 3 feet above it.

Direct-vent appliances that terminate through a wall have clearance distances that scale with BTU input: 6 inches for units under 10,000 BTU/h, 9 inches for 10,000 to 50,000 BTU/h, and 12 inches for 50,000 to 150,000 BTU/h. Equipment above 150,000 BTU/h follows the manufacturer’s instructions.

Shutoff Valves and Water Heater Safety

Section 409.5 requires every gas appliance to have its own dedicated shutoff valve, located in the same room as the appliance and within 6 feet of it, installed upstream of the connector or union.7International Code Council. 2021 International Fuel Gas Code – Chapter 4 Gas Piping Installations For movable appliances like ranges and dryers, a valve located behind the unit counts as accessible. Vented decorative appliances and room heaters are an exception: their valves may be installed remotely if they are readily accessible, permanently labeled, and serve only that one appliance.

Gas water heaters operating above atmospheric pressure must have temperature and pressure relief valves conforming to ANSI Z21.22. The temperature setting cannot exceed 210°F, and the pressure setting cannot exceed the tank manufacturer’s rated working pressure or 150 psi, whichever is less. The discharge pipe must drain by gravity, cannot be trapped, and must terminate where occupants can see it. No shutoff valve or check valve may sit between the relief valve and the tank. Boilers require their own integrated safety controls, including low-water cutoffs that shut the unit down before the heat exchanger is damaged.

Gaseous Hydrogen Systems

Chapter 7 covers hydrogen systems and reflects the growing use of hydrogen in buildings. A “gaseous hydrogen system” is any assembly of piping, devices, and equipment designed to generate, store, distribute, or transport a gas mixture of at least 95 percent hydrogen by volume and no more than 1 percent oxygen. The chapter works alongside Chapters 50, 53, and 58 of the International Fire Code, and hydrogen installations need their own permit.8UpCodes. 2021 International Fuel Gas Code – Chapter 7 Gaseous Hydrogen Systems

Hydrogen-generating and refueling appliances in garages need exhaust ventilation meeting NFPA 2. Any room that communicates directly with a private garage through openings is treated as part of the garage for this rule. Indoor storage of flammable gas cylinders in spaces regulated by the International Residential Code is capped at 250 cubic feet at normal temperature and pressure. Containers must be designed to the ASME Boiler and Pressure Vessel Code (Section VIII) or DOT 49 CFR Parts 100–180, and every container must have a pressure relief device with no valves between it and the point of atmospheric release.

Pressure Testing and Inspection

Section 406 requires a pressure test on the entire piping system before gas is introduced. The test pressure must be at least 1.5 times the proposed maximum working pressure and never less than 3 psig. The standard duration is at least 30 minutes per 500 cubic feet of pipe volume, which can drop to 10 minutes for systems smaller than 10 cubic feet or for single-family dwellings.9UpCodes. 2021 International Fuel Gas Code – Section 406.4.1 Test Pressure Any alterations or repairs after the initial test require retesting of the affected piping.

A building official or qualified inspector verifies that the installation matches the submitted plans and that hangers, valves, protective plates, and bonding connections are correctly placed. Failing inspection typically blocks the certificate of occupancy. Fine amounts for violations are set by the adopting jurisdiction, not the IFGC, so they vary by city or county. Once the system passes, the jurisdiction issues a final inspection certificate and the utility provider can activate the meter.

Local Adoption and Amendments

The 2021 IFGC becomes law only when a state, county, or city adopts it through legislation or ordinance. Many jurisdictions adopt the code with local amendments that add, modify, or delete provisions based on climate, seismic conditions, or policy priorities. The version in effect where you live may not match the published ICC text, and some jurisdictions still enforce the 2018 or 2015 edition. Check with your local building department before starting any gas piping project to confirm which edition applies and what local amendments change the rules above.