Open the cabinet under any sink and you will see a pipe that dips down and back up before it heads into the wall. That dip is the trap. Look at the roof of almost any house and you will find one or more pipes sticking up. Those are vents. The two parts work as a team: the trap holds a water seal against the sewer, and the vent protects that seal from being sucked away.
The Water Seal Is the Whole Point
Drain lines connect your house to the sewer or septic tank, and that connection is full of gases you do not want indoors. A trap solves the problem with nothing but geometry. Water flows through the dip, and when the flow stops, some of it stays behind in the bottom of the curve. That small pool, often around two inches deep, blocks gas from rising back into the room while still letting the next rush of water pass through.
Every fixture that drains into the system needs a trap. Sinks, tubs, showers, laundry standpipes and floor drains use a separate one, usually a P-trap, which is named for its shape lying on its side. A toilet has the trap built into the porcelain bowl, which is why there is always water sitting in it.
Older houses sometimes have S-traps, where the pipe drops straight down after the dip instead of running sideways into the wall. Falling water in that vertical leg can siphon the trap dry. Modern plumbing codes generally do not allow S-traps in new work, and inspectors commonly note them. Correcting one involves the vent and drain layout, so it is a plumber's job.
Anatomy of a P-Trap
A P-trap has four parts worth knowing by name, because inspectors and plumbers use them. The tailpiece drops from the sink drain. The U-bend holds the water seal. The trap arm runs from the bend to the wall, sloping slightly downhill. The trap weir is the high point inside the bend where water spills over into the trap arm; the depth of water below the weir is the seal.
Most under-sink traps are joined with slip nuts and washers, which is why a homeowner can usually remove one by hand to clear a clog or retrieve a ring. Put a bucket underneath first, and check that the washers seat properly when you reassemble it. If a slip joint drips after reassembly, or the trap is glued solid, call a plumber.
What Vents Do, and Why the House Needs Them
Picture water rushing down a drain like a piston in a cylinder. It pushes air ahead of it and leaves low pressure behind it. If nothing lets air in, that low pressure pulls on the water in nearby traps, and the seals get sucked down the drain. Vents connect the drain system to the outdoors so air can rush in instead.
A typical house has a main vent that continues up from the drain stack through the roof. Fixtures farther away connect to it through branch vents, sometimes called revents. Codes limit how far a trap can sit from its vent, which is one reason a remodel that moves a sink can get complicated.
Air admittance valves
An air admittance valve, or AAV, is a one-way valve that opens to let air into a drain when water flows and closes to keep gas in. You may find one under a kitchen island sink where a roof vent is impractical. Acceptance varies by jurisdiction and application, AAVs need to stay accessible, and they can wear out. If you notice a sewer smell near one, mention it to a plumber.
Why Drains Gurgle: Try the Diagnostic
A gurgle is air moving where it should not: bubbling back through a trap because water and air are competing for the same pipe. Two questions narrow down the cause. Answer both below for the most likely explanation, then read the matching section.


