P-Trap: A U- or P-shaped section of drain pipe that holds a small amount of water, called the trap seal, to block sewer gas from entering the building while letting wastewater pass.
What a P-Trap Does
The curve under your sink is not an accident. Each time water drains, a little stays in the bend. That standing water is the trap seal, and it blocks the air in the sewer from coming up the drain. It also catches small objects, which is why a dropped ring is often found there. Every plumbing fixture needs a trap, either its own or one that is built in, as with a toilet. When a permit form or inspection card mentions a trap, it is asking about that water seal and whether it is vented and accessible.
What Codes Require
Model plumbing codes (IPC and UPC) require each fixture drain to have a trap with a water seal, commonly 2 to 4 inches deep, and each trap to be vented so the seal is not siphoned out. They also prohibit certain designs, such as an S-trap on a fixture drain, which can siphon dry. Local adoption varies, so your inspector's reading is what counts, and the depth range is a model-code figure, not a promise about your city. Traps must be accessible, correctly sized for the fixture and not shared in ways the code forbids.
What Fails Inspection
Common corrections include a missing trap, two traps in series, a trap placed too far from its vent, an S-trap, a flexible corrugated pipe where rigid is required, and a trap that is not level or accessible. If the seal evaporates, as in a rarely used floor drain, sewer gas can enter. Adding or moving a fixture in a bathroom or kitchen remodel usually brings these checks, so see the plumbing vent entry for how they work together. A leak at the trap joints is a separate, simpler problem, but a repair that changes the pipe arrangement is a reason to confirm whether your city wants a permit.
Where It Comes Up on This Site
Traps are part of the rough plumbing in any fixture addition. The bathroom remodel research compares which of 30 cities require permits when a layout changes, and the kitchen remodel research does the same for kitchens. See also rough-in inspection, where trap and vent connections are checked before walls close. Whether a trap swap needs a permit at all varies by city, and a same-fixture replacement is often treated as minor work. Adding a new fixture is the case that normally brings the full check.