What a Sediment Trap (Drip Leg) on a Gas Line Does
On this page
- What a Sediment Trap (Drip Leg) Actually Is
- Why Gas Lines Need to Catch Moisture and Debris Before the Appliance
- Where Code Wants the Trap Installed (After the Shutoff, Before the Appliance)
- Sediment Trap vs. a Useless “Extended Nipple”: The Common Mistake
- Why an Inspector Flags a Missing or Incorrect Drip Leg
- Frequently Asked Questions
- Sources
- Related posts:
A sediment trap is a small, capped, downward-pointing branch of pipe placed right before a gas appliance. Its one job is to give moisture, rust flakes, and pipe scale a dead-end pocket to fall into so that debris never reaches the appliance’s gas valve or burner. If you have ever crouched behind a furnace or water heater and noticed a short capped stub of pipe hanging down near the gas connection, that stub is almost certainly the sediment trap doing its quiet work.
Inspectors look for this part on a lot of gas hookups, and a missing or wrongly built one is a common write-up. This guide explains what the trap is, the physics of why it sits where it does, where the fuel gas code wants it, and the single mistake that turns a “trap” into a decorative piece of pipe that catches nothing. It is an explainer, not an install walkthrough. Cutting, threading, or reworking gas pipe is licensed-plumber work, and the reasons for that are covered in our guide on why you should never DIY gas line work (174).
What a Sediment Trap (Drip Leg) Actually Is
A sediment trap is a tee fitting installed near the appliance inlet with a short capped nipple hanging straight down from the bottom of the tee. Gas flows in, turns to continue toward the appliance, and anything heavier than the gas itself drops out of the stream into the capped pocket below. The cap lets a technician unscrew it later to clear out whatever has collected.
You will hear the same component called a “drip leg,” and in everyday use the two terms get swapped freely. There is a real distinction worth knowing. According to the Propane Council of Texas, a drip leg is meant to collect liquid condensate at a low point in the piping so it cannot drain back toward the meter or regulator, while a sediment trap is specifically positioned to catch solid debris and moisture before they reach an appliance. A true sediment trap forces the gas to make a turn at the appliance inlet, and that turn is the mechanism that does the catching. In practice, a properly built trap on a modern natural-gas appliance handles both jobs: it drops out solids and any small amount of moisture into the same capped pocket.
The trap is not a filter and it is not a valve. Nothing about it interrupts or restricts the gas. It is a gravity feature, plain and simple, which is why its orientation matters so much.
Why Gas Lines Need to Catch Moisture and Debris Before the Appliance
The reason for the trap is to protect the most fragile part of the system: the appliance’s gas valve and burner. Those parts have small orifices and precise seats. A flake of rust, a curl of metal left over from cutting threads, or a bead of moisture can lodge in a valve and cause it to stick, leak, or fail to shut off cleanly. The sediment trap intercepts that material before it ever arrives.
Where does the debris come from? Steel gas pipe builds internal rust and scale over years of service, cutting and threading new pipe sheds metal shavings, and older lines can carry trace moisture. None of this is dramatic on any given day, but a gas line is a long dead-straight path, and without a trap the easiest place for loose material to end up is inside the appliance control it is heading toward.
This is also why the trap points down. Gravity is the whole engine. Heavier-than-gas particles and any liquid drop into the capped leg while the gas, which has almost no weight to speak of, makes the turn and continues to the burner. Stand the trap the wrong way and that engine stops working, which is exactly the failure the next sections describe.
Where Code Wants the Trap Installed (After the Shutoff, Before the Appliance)
Fuel gas codes call for the sediment trap to sit downstream of the appliance shutoff valve and as close to the appliance inlet as practical. The International Fuel Gas Code states it directly in Section 408.4: where a sediment trap is not already built into the appliance, one shall be installed downstream of the appliance shutoff valve as close to the inlet as practical. The National Fuel Gas Code (NFPA 54) carries the same requirement. Codes are adopted and amended locally, so the exact edition and any local changes vary by jurisdiction, and a licensed plumber or your local building department is the authority for your address.
The placement logic follows the protection logic. The trap belongs after the shutoff so the appliance side can be isolated and the trap cleaned without bleeding the whole line. It belongs as close to the inlet as practical so there is almost no pipe between the trap and the valve for debris to be picked up again. The code also describes the build itself: a tee fitting with a capped nipple installed vertically in the bottommost opening of the tee, or another device approved as an effective sediment trap.
Not every appliance is required to have one. The IFGC lists specific exceptions. Per Section 408.4, illuminating appliances, ranges, clothes dryers, decorative vented appliances for installation in vented fireplaces, gas fireplaces, and outdoor grills need not be equipped with a sediment trap. Many appliances also have a trap built into them at the factory, in which case a separate external one is not required. That is why a gas range may not have a visible drip leg while the furnace and water heater next to it both do. If you are wondering whether a specific appliance in your home is supposed to have one, the manufacturer’s installation instructions and your local code together give the answer, and a licensed plumber can confirm it on site.
Sediment Trap vs. a Useless “Extended Nipple”: The Common Mistake
The most frequent way a sediment trap fails is that it was never really a trap to begin with. The mistake is orientation. A correct trap makes the gas turn so debris can drop out of the flow. A non-functional version routes the gas straight through and leaves a capped stub off to the side, where the gas never goes, so nothing ever gets caught.
Inspection write-ups describe the bad version clearly. Picture a tee installed with the gas running straight across the top: supply enters one horizontal end, the appliance connects to the other horizontal end, and a short capped nipple sticks down or out of the side opening. Because the gas travels in a straight line from supply to appliance, it never has a reason to dip into that capped branch. Any rust or moisture in the stream sails right past the stub and into the appliance valve. The part looks like a sediment trap and does nothing, which is why inspectors sometimes call it an “extended nipple” rather than a trap.
The working configuration is the one the code figure shows: the gas enters and turns at the tee so that the capped nipple sits at the true bottom of the gas path, directly below the moving stream. Debris and moisture drop straight down into the cap; gas makes the turn toward the appliance. The difference between a trap that protects the valve and a stub that protects nothing is entirely in how the tee is oriented. You cannot judge it by whether a capped pipe is present. You judge it by whether the gas is actually forced to pass over an opening that points down.
Why an Inspector Flags a Missing or Incorrect Drip Leg
An inspector flags a sediment trap because a missing or backwards one leaves the appliance’s gas valve unprotected, and a stuck or leaking gas valve is a safety issue, not a cosmetic one. The trap is cheap, the valve it protects is not, and a fouled valve on a fuel-burning appliance is the kind of failure codes are written to prevent. So a trap that is absent on a required appliance, or present but oriented so it catches nothing, gets written up.
The common flags fall into a short list. The trap is missing entirely on an appliance that is supposed to have one. It is built as the straight-through “extended nipple” described above, so the gas never turns into it. Or it sits on the wrong side of the shutoff, or so far upstream that a long run of pipe sits between it and the appliance inlet. In each case the report asks for the same outcome: a correctly oriented trap, downstream of the shutoff, close to the inlet, on every appliance the local code requires it on.
If your trap is flagged, the fix is not a project to take on yourself. Reworking the fitting means opening a live gas connection, and that is licensed-plumber territory for the same reasons spelled out in our guide on why you should never DIY gas line work (174). What you can do on your own is read the finding correctly: a flagged drip leg is almost always a quick, well-defined correction for a qualified tradesperson, and it is worth doing because the part guards a component that should never be left to chance.
Frequently Asked Questions
Is a sediment trap required on every gas appliance?
No. Fuel gas codes require one on most appliances but list specific exceptions. Under the International Fuel Gas Code, illuminating appliances, ranges, clothes dryers, decorative vented appliances for vented fireplaces, gas fireplaces, and outdoor grills do not need one. Appliances with a trap already built in at the factory also do not need a separate external trap. Because codes are adopted locally, the requirement for any specific appliance should be confirmed against your local code and the manufacturer’s instructions.
What is the difference between a drip leg and a sediment trap?
The terms are often used interchangeably, but there is a technical distinction. A drip leg is positioned to collect liquid condensate at a low point in the piping. A sediment trap is positioned at the appliance to catch solid debris like rust and scale, and it works by forcing the gas to make a turn so heavier material drops into a capped pocket. On a typical modern natural-gas hookup, a correctly built trap at the appliance handles both moisture and debris in the same capped leg.
Why did my inspector flag my drip leg?
Usually for one of three reasons: the trap is missing on an appliance that is supposed to have one, it is built as a straight-through stub that the gas never turns into so it catches nothing, or it sits on the wrong side of the shutoff or too far from the appliance inlet. All three leave the appliance’s gas valve unprotected. The correction is straightforward for a licensed plumber and is not a do-it-yourself job, because it involves opening a gas connection.
This article is general information, not professional advice. Have a licensed plumber confirm or correct your sediment trap against your local code.
Sources
- International Code Council, 2024 International Fuel Gas Code, Section 408.4 Sediment Trap: https://codes.iccsafe.org/s/IFGC2024P1/chapter-4-gas-piping-installations/IFGC2024P1-Ch04-Sec408.4
- International Code Council, 2018 International Residential Code, Section G2419.4 (408.4) Sediment Trap: https://codes.iccsafe.org/s/IRC2018/chapter-24-fuel-gas/IRC2018-Pt06-Ch24-SecG2419.4
- Propane Council of Texas, Did You Know There Is a Difference Between a Sediment Trap and a Drip Leg in Propane Systems?: https://www.propanecounciloftexas.org/post/did-you-know-there-is-a-difference-between-a-sediment-trap-and-a-drip-leg-in-propane-systems