Vertical Sewer Stacks & Vents: How the System Works

Understand drain stacks, vent pipes, trap seals, fitting direction, roof terminations and the common venting mistakes that lead to sewer odors.

4 min read Updated 2026-10-14

Educational illustration, not to scale. Not an installation plan and not a photo of a real job.ROOF VENT (AIR IN)P-TRAP WATER SEALSINKDRAIN TO SEWERTRAP ARMNot to scale
A simplified relationship between a fixture trap, drainage and venting. It is not a permitted layout or a trap-arm sizing diagram. Educational illustration only; not an installation plan or real job photo.

Key takeaway

A vent protects trap seals by managing air pressure. It is not interchangeable with a drain, and an attic is not a vent termination.

Safety and jurisdiction

Educational overview, not a site-specific installation plan. Use a qualified, appropriately licensed contractor and required permits. Never enter an unprotected excavation, cut structural framing or a slab without clearance, or conceal piping before the required inspection. Roof work and concealed vent alterations require appropriate access and qualified help. Never leave an open sewer pipe inside a building.

Codes and permit rules vary by city and change over time. Confirm requirements with your local building department and a licensed contractor.

01Give water and air their own paths

A drain stack carries wastewater downward. The vent system admits and releases air so pressure changes do not siphon or push water out of fixture traps. A trap's water seal helps keep sewer gas from entering the room.

A pipe can serve different functions in different portions of an approved system, but that does not make any vertical pipe a usable vent. Connections, sizing and elevations must follow the approved drainage and vent design.

02Trap arms and fitting orientation matter

The trap arm is the section between a fixture trap and its vent connection. Its diameter, length, slope and change in elevation affect whether the trap is protected. There is no single maximum length that applies to every fixture and pipe size.

A sanitary tee may be appropriate where a horizontal fixture drain enters a vertical drain, but that does not mean it can be laid on its back for a horizontal drainage junction. Stack bases and horizontal connections need the approved sweep or combination fitting. Ask to see the layout before walls are closed.

03Vent outside, protect the building

A vent termination must meet the adopted roof and opening-clearance rules. Ending a vent in an attic can introduce sewer gases and moisture. Roof penetrations also need weatherproof flashing; a correct vent layout with poor flashing can still leak rainwater.

Vents and stacks need suitable supports, protected framing penetrations and required firestopping. Do not assume an air-admittance valve seen in an online video is permitted for your California project; acceptance depends on the adopted rules and local authority.

  • Each fixture has an approved trap and vent arrangement
  • Trap-arm dimensions checked against the applicable code
  • Stack base, cleanout and fitting orientations correct
  • Vent termination, flashing and firestopping inspected

04What gurgling and odors can—and cannot—tell you

Gurgling may involve a blockage, a vent problem or an improperly arranged drain. A sewer odor may come from a dry trap, a failed toilet seal, a broken vent or an open cleanout. Symptoms alone do not prove that a roof vent is blocked.

Record which fixtures are affected, whether drains back up together and when the odor occurs. A plumber can then inspect the system and select appropriate testing. Repeatedly adding drain chemicals does not correct a venting defect and can create additional hazards.

Sources and further reading

Questions about your own home? Describe it and an independent licensed provider can confirm what applies.