PressureTest study blog
What Are These Metal Pipes Coming Through the Foundation Wall and Basement Slab?
If you see metal pipes emerging from a foundation wall and entering a basement floor slab, do not assume they are abandoned plumbing. They may be active drainage, water, gas, conduit, a sleeve, or an old service that still connects to something outside.
The safe answer is identification first, removal or sealing second. For a Massachusetts apprentice, this is also a code-reading trap: the location of a pipe at the foundation does not by itself tell you whether it is a building drain, building sewer, fixture drain, or utility penetration.
What those mystery pipes may be
A basement pipe that passes through concrete can serve several different purposes. The outside appearance is not enough to classify it.
Common possibilities include:
| What you see | What it might be | Why identification matters |
|---|---|---|
| Large metal pipe entering low through the wall | Building sewer connection, old building drain, or abandoned drain | Cutting it can release sewage, groundwater, or an unexpected connection |
| Pipe rising from the slab near a wall | Drain stub, cleanout, sleeve, or former fixture connection | It may be connected below the slab even if no fixture is visible |
| Small threaded metal pipe | Water service, gas piping, abandoned fuel piping, or another pressure line | A line that looks dead may still be pressurized |
| Pipe surrounded by a larger opening or collar | Sleeve or protected penetration | The visible metal may not be the actual conveyance pipe |
| Several pipes grouped together | Utility entry, old mechanical service, or remodel-era rough-in | One pipe may be active while another is abandoned |
| Pipe with corrosion, a cap, or a plugged end | Old service or capped branch | A cap does not prove that the pipe is safe to cut |
Older Massachusetts homes commonly have multiple generations of work. A basement may contain original cast iron, later steel or copper, replacement plastic, abandoned heating equipment, and repairs that were never documented in a current drawing.
The first practical question is not “How do I remove it?” It is:
“What does each end of this pipe connect to?”
Trace the pipe visually as far as possible. Look for a cleanout, valve, meter, fixture connection, drain fitting, pipe hanger, or route toward the street. Check whether the pipe changes material or direction. Photograph both sides of the foundation wall and the point where the pipe enters the slab. If you are preparing for the Journeyman exam, practice describing the pipe by function rather than by appearance.
The Massachusetts building-drain distinction
One of the easiest ways to lose points is to treat every pipe near the foundation as the building drain.
Under 248 CMR 10.03, the building drain is the lowest drainage piping that conveys discharge to the building sewer. Massachusetts measures the building-drain definition by a developed length from the inside face of the foundation wall. That does not mean the building drain is the portion physically inside the foundation wall, or that every pipe passing through the wall is automatically part of the building drain.
That distinction matters in a basement inspection and on a test question.
A pipe passing through a foundation wall may be:
- The building drain approaching the building sewer;
- A building sewer outside the building;
- A fixture drain or branch drain under the slab;
- A stormwater or sump-related connection;
- A water, gas, or other utility line;
- A sleeve containing another pipe; or
- An abandoned pipe that still needs to be confirmed before removal.
Read the definition together with the piping layout. The words “lowest drainage piping” and “conveys waste” describe function. The developed-length measurement from the inside face of the foundation wall is a reference point; it does not turn the wall opening itself into the definition of the building drain.
Massachusetts also has a specific rule for sanitary piping through an exterior foundation wall. The verified rule identifies a minimum sanitary-piping size of 4 inches, subject to listed exceptions, under 248 CMR 10.15(6)(b)1. Do not generalize that rule into “every pipe through a foundation must be 4 inches.” It applies to the sanitary-piping situation described by the regulation, not to every water, gas, conduit, sleeve, or unidentified penetration.
For the complete language, use the Massachusetts plumbing code definitions in 248 CMR 10.03 and compare them with the drainage provisions in 248 CMR 10.15.
How to identify a pipe before touching it
Use a controlled identification process rather than starting with a saw or hammer drill.
First, document the visible condition. Record the outside diameter, material, approximate elevation, direction, fittings, cap or valve, corrosion, and whether water is present. “Metal pipe” is not a sufficient description. Cast iron, galvanized steel, black steel, copper, lead, and stainless steel can point toward very different systems.
Next, trace the route. A drainage pipe usually has drainage fittings and a route toward a fixture, cleanout, sump, or sewer connection. A pressure pipe may have valves, threaded joints, soldered joints, or a meter connection. A gas line may have a shutoff arrangement and a route toward an appliance, but visual appearance alone is not proof. A conduit may contain wiring even when the visible exterior is metallic.
Then test only through safe, appropriate methods. A drainage line may be evaluated by a licensed professional using inspection or controlled testing. A water line may be checked for pressure after confirming that doing so is safe. Gas piping and unknown fuel piping should not be cut, drilled, heated, or pressure-tested casually.
Do not rely on these shortcuts:
- “It is rusty, so it must be abandoned.”
- “There is no water now, so it is empty.”
- “It is capped, so it cannot be connected.”
- “It enters the slab, so it must be a drain.”
- “It comes through the wall, so it must be the building sewer.”
- “The former furnace is gone, so the old line is safe.”
Those are assumptions, not identification.
If the pipe is in a Massachusetts residence and its purpose cannot be established, have the appropriate licensed trade inspect it before removal. Unknown gas, fuel, electrical, and pressurized-water conditions are not demolition details.
Sealing a pipe through a foundation wall
Searchers often ask how to seal a pipe penetration through concrete. The right seal is not simply “fill the gap with whatever caulk is nearby.”
A durable repair depends on several questions:
- Is the pipe still active?
- Is the opening above or below the expected groundwater level?
- Does the pipe move with temperature or pressure?
- Is the wall concrete, masonry, or a combination?
- Is the opening a deliberate sleeve or an irregular hole?
- Is the wall part of a required fire-resistance or waterproofing assembly?
- Is the pipe sanitary, storm, water, gas, electrical, or something else?
- Is the gap around the pipe clean enough for the selected seal?
If the pipe is active, the seal must accommodate the service and the expected movement. If the pipe is abandoned, the abandonment method still depends on what the pipe carried and whether it remains connected to a larger system. A surface patch over the visible annular space may hide leakage without stopping water from traveling through the wall or along the pipe.
For below-grade penetrations, water management is especially important. A repair should address the actual path of water, not merely cover staining on the interior face. Exterior waterproofing, a mechanical sealing system, a properly prepared annular space, or another engineered approach may be appropriate depending on the condition. The product instructions and the applicable building or plumbing requirements control; a generic “sealant” recommendation is not a code classification.
Do not seal a mystery pipe permanently until you know whether it is needed for drainage, cleanout access, inspection, or future service. Do not bury an active cleanout or cover a connection that needs access. Do not use expanding foam as a substitute for a system designed for below-grade water or pressure conditions.
Where a penetration is part of a rated wall, fuel-gas installation, electrical installation, or other regulated assembly, use the listed method for that assembly. Massachusetts plumbing rules are not a license to improvise across other trades.
Can you remove a pipe entering the slab?
Sometimes an old pipe can be cut and removed. The safe sequence is:
- Identify both ends.
- Confirm whether the pipe is active.
- Determine whether it is carrying drainage, water, gas, fuel, wiring, or another service.
- Confirm whether removing it affects a cleanout, vent, trap, or fixture connection.
- Plan how the remaining opening will be closed and protected.
- Photograph the condition before demolition.
- Obtain the required professional assessment or permit when the work falls under regulated plumbing, gas, structural, or electrical work.
A pipe that stops above the slab may still connect to piping below it. A pipe that disappears into the foundation wall may still connect to the building sewer outside. A pipe cut flush with concrete can become more difficult to trace later, especially if the basement is remodeled.
If the pipe is part of a drainage system, its removal can also change the available layout. Massachusetts limits underground drainage piping to no less than 2 inches under 248 CMR 10.15(6)(a), but that does not tell you what an unidentified pipe is or whether it can be removed. Pipe size is one part of classification, not proof of function.
The exam traps hidden in this question
This topic combines several common PSI-style traps.
First, location is not function. “Through the foundation wall” is a clue, not a complete answer.
Second, the building drain is not defined as “the pipe inside the foundation.” Read the Massachusetts definition carefully: it is the lowest drainage piping conveying waste to the building sewer, with the specified developed-length reference from the inside face of the foundation wall.
Third, do not substitute a national plumbing-code rule for Massachusetts. The exam uses the Massachusetts requirements identified in the PSI materials and the adopted Massachusetts regulations. The PSI Bulletin 598 explains the examination structure and references; the codebook supplies the controlling language.
Fourth, slope questions require attention to pipe size and the exact category of pipe. For horizontal drainage, Massachusetts gives one minimum slope for piping 3 inches and smaller and another for piping larger than 3 inches. Do not answer from a memorized rule from another jurisdiction.
Fifth, fixture-unit questions require the fixture, pipe section, and table to match. A water closet, lavatory, floor drain, and laundry connection do not contribute the same number of drainage fixture units. A table maximum for a horizontal branch is not automatically the same as a stack maximum or building-drain maximum.
Try it: 5 real practice questions
Q1. Gas piping passing through a masonry foundation wall must be:
A foundation settles and moves differently than the pipe, and pipe grouted rigidly into the wall can be sheared or stressed. Mortar and damp masonry also corrode steel. A sleeve lets the pipe move and keeps it from touching the masonry.
248 CMR 4.00Q2. What is the minimum slope for a 4-inch horizontal drain pipe?
248 CMR 10.05(2)(c) sets a minimum uniform pitch of 1/8 inch per foot for horizontal drainage piping larger than 3 inches. Larger pipes carry deeper flow, so they stay self-cleaning at a flatter grade. The 1/4 inch figure is the minimum for 3-inch and smaller pipe (10.05(2)(b)), the most common mix-up. Flatter than these is allowed only on systems designed by a Massachusetts professional engineer (10.05(2)(d)).
248 CMR 10.05(2)(c)Q3. What is the minimum slope for a 3-inch or smaller horizontal drain pipe?
248 CMR 10.05(2)(b) requires horizontal drainage piping 3 inches in diameter or smaller to have a minimum uniform pitch of 1/4 inch per foot. Small drains carry shallow flow, so they need more fall to move solids. The 1/8 inch figure applies only to piping larger than 3 inches (10.05(2)(c)).
248 CMR 10.05(2)(b)Q4. A building drain 80 feet long is pitched at 1/8 inch per foot. What is the total fall from end to end?
Fall = length x pitch = 80 ft x 1/8 in/ft = 10 inches. Using 1/4 in/ft doubles it to 20 inches, and 0.83 is the fall in feet, not inches.
Trade mathQ5. In 248 CMR 10.15 Table 2 (horizontal drains), what is the smallest pipe size whose rating carries a water-closet limit (the footnote 'not more than four water closets')?
Table 2 footnotes every 3-inch entry (34 DFU branch, 40 and 48 DFU building drain) with 'not more than four water closets'; the 1-1/2, 2 and 2-1/2-inch rows carry no water-closet rating. That is why toilet branches are run in 3-inch. 4-inch is required for the ten-foot Building Drain and through the foundation wall (10.03, 10.15(6)(b)), not for every toilet branch.
248 CMR 10.15 Table 2These come from the PressureTest bank. Start 7 days free for the full bank, timed exam simulations and drawn isometric problems.
Worked exam examples
Worked example: An 80-foot building drain is pitched at 1/8 inch per foot. Multiply the developed length by the fall per foot: 80 ft × 1/8 in./ft = 10 inches of total fall. The key is recognizing that the question asks for total fall, not the slope itself.
Worked example: A residential drainage group includes a tank-type water closet, lavatory, bathtub, and residential kitchen sink. Use the Massachusetts fixture-unit values: 4 DFU + 1 DFU + 2 DFU + 2 DFU = 9 DFU. Then compare the total with the correct Massachusetts table and pipe category.
The arithmetic belongs in the calculation step. On the exam, first identify whether the question concerns a horizontal branch, stack, building drain, fixture drain, or another category. Only then select the table and compare the result.
For more preparation, work through PressureTest’s drain-pipe sizing by fixture units, trap-arm length guide, plumbing math formulas, and plumbing isometric drawing practice. The Massachusetts Journeyman exam study page is the place to organize these topics into a larger study plan.
A field checklist for a Massachusetts basement
Before removing or sealing any pipe, answer these questions in writing:
- What is the pipe material and approximate size?
- Where does it go on the basement side?
- Where does it go on the exterior or below the slab side?
- Is there a valve, cleanout, trap, fitting, cap, or accessible connection?
- Could it contain pressure, sewage, gas, fuel, wiring, or groundwater?
- Is it part of the building drain, a branch, a utility, a sleeve, or an unknown?
- Does the proposed repair preserve access and drainage?
- Does the penetration require a listed or engineered sealing method?
- Is professional inspection or a permit required before work begins?
If the answers are incomplete, the pipe is not ready for removal.
The most useful mental model is simple: identify the service, trace the route, classify the pipe by function, then select the repair. A foundation-wall opening and a basement slab location are physical facts; they are not, by themselves, a Massachusetts code answer.
Use the PressureTest app to turn this topic into focused Massachusetts code drills, then review the underlying language in the PressureTest codebook reference. Keep the codebook open while studying: the exam rewards careful reading of the exact pipe category, measurement point, table, and exception.
Frequently asked questions
What are the metal pipes entering my basement floor?
They may be abandoned service piping, a building drain connection, a sleeve, or another utility; identify each pipe before cutting or sealing it.
Can I remove an unused pipe from a foundation wall?
Do not remove it solely because it looks abandoned; verify its destination and whether it carries water, gas, drainage, or another utility first.
How should a pipe penetration through a concrete foundation be sealed?
The correct seal depends on the pipe material, movement, water pressure, and whether the opening is a rated or waterproofed assembly.
Is the building drain the pipe inside the foundation wall?
No. Massachusetts defines it by its drainage function and a developed-length measurement from the inside face of the foundation wall.