Floor Drain Trap Primers in California: Code Requirements and Installation Cost (2026)
A floor drain in the garage, a laundry room, or a mechanical closet almost never gets used — until the water heater fails, a washing machine hose bursts, or a sump pump line needs somewhere to discharge. Because that drain sits idle for months at a time, the small amount of water that's supposed to sit permanently inside its P-trap slowly evaporates, and once it's gone, the trap stops doing its job. Sewer gas has a direct, unblocked path from the drain line into the room. The fix is a small, inexpensive device called a trap primer, and California plumbing code has specific rules about when one is required. Here's how it works, when you need one, and what it costs to have a plumber install it.
Why a floor drain dries out faster than a sink
Every trapped fixture — sink, tub, shower, floor drain — relies on a curved section of pipe that permanently holds a couple of inches of water. That standing water is the only physical barrier between the room and the sewer line behind it. A kitchen sink or bathroom lavatory gets run several times a day, so the trap refills constantly and evaporation is a non-issue. A floor drain in a garage, utility room, or mechanical closet might go months between uses, and evaporation works around the clock regardless of whether anyone's home. Garages in the Central Valley and desert regions of California are especially prone to this: summer heat inside an unconditioned garage accelerates evaporation dramatically compared to a climate-controlled interior room, so a trap that might last a season indoors can dry out in a matter of weeks in a hot Bakersfield or Palm Springs garage. Our guide on why a bathroom suddenly smells like sewage covers the same dry-trap mechanism for sinks and tubs — a floor drain is just the fixture most likely to sit unused long enough for it to matter.
What California code actually requires
California adopts the Uniform Plumbing Code (as the California Plumbing Code), which requires trap seal protection on floor drains and other traps that are "subject to loss of seal by evaporation" — in practice, any floor drain that isn't tied to a fixture used regularly, plus any "emergency" floor drain installed solely to catch an occasional overflow (water heater pans, mechanical room drains, some laundry room drains). The code accepts two approaches: a traditional trap primer that periodically injects a small charge of water into the trap, built to ASSE 1018 (mechanical, pressure-drop activated) or ASSE 1044 (electronic, timer-activated) standards, or a barrier-type trap seal protection device conforming to ASSE 1072 — a mechanical valve that sits inside or below the drain and opens only when water flows through it, sealing shut the rest of the time without needing a water supply connection at all. Whether a barrier device is accepted in place of a primer on a given job is ultimately a call for the local building department, so it's worth confirming with your city or county's inspector on new construction or an ADU plumbing plan before assuming either option is automatically fine.
Signs a floor drain needs one
The most common complaint is a faint sewage or "rotten" smell that shows up in the garage or laundry room, often worse on hot days or when the HVAC system is running and slightly depressurizing the house. It's easy to write off as a mystery smell, especially because the source — a floor drain nobody thinks about — is rarely the first place people check. If the smell clears up for a while after you pour a cup of water down the drain and comes back within a few weeks, that's a strong sign the trap is drying out faster than normal use would ever refill it, and a primer (rather than repeat manual refills) is the actual fix.
How a trap primer works day to day
A mechanical trap primer ties into a nearby cold-water supply line — typically a nearby toilet or sink line — and releases a small metered dose of water into the floor drain's trap every time that connected fixture is used and the line sees a brief pressure drop. No electricity, no moving parts to fail beyond a simple valve, and no ongoing maintenance beyond an occasional check that water is actually reaching the drain. An electronic version instead runs on a timer, opening a solenoid valve on a set schedule (commonly once or twice a day) regardless of whether any other fixture gets used — a better fit for mechanical rooms or remote floor drains with no nearby fixture to tap into. Both types need to be installed with adequate elevation above the floor drain (code generally calls for at least 12 inches, more over longer supply runs) so gravity and pressure actually deliver water to the trap.
What it costs in California
A basic mechanical (ASSE 1018) trap primer valve itself is inexpensive — commonly in the $25–$75 range for the part — but installation requires tapping into an existing supply line, running new tubing to the floor drain, and cutting into a wall or slab in some layouts, which is where the real cost sits. Professionally installed, a single mechanical trap primer typically runs $150–$400 depending on how far the drain is from a usable water line and whether the run is exposed or has to go through a finished wall. An electronic timer-based primer, which needs a power source and a solenoid valve in addition to the plumbing tie-in, generally runs $350–$650 installed. If several floor drains in the same building need protection — common in multi-unit or commercial-adjacent properties — a single trap primer distribution unit can feed multiple drains from one valve, which is usually cheaper per drain than installing separate primers. For a homeowner who just wants a low-cost fix on a single garage floor drain and doesn't want a new water line run, a barrier-type trap seal insert (ASSE 1072) that drops directly into the drain typically costs $20–$60 installed and needs no water connection — often the simplest retrofit option, code permitting.
Retrofit versus new construction
On new construction, an ADU, or a garage conversion permit, the local plumbing inspector will typically flag a missing trap primer on any floor drain that qualifies during rough-in inspection, so it gets built in as part of the job rather than added later. On existing homes, most trap primers get installed reactively — after a plumber traces a recurring sewage smell back to a garage or laundry room floor drain that was never fitted with one, often because the drain was added or repurposed after the original construction. If you're planning a bathroom or laundry remodel that touches a floor drain, have the plumber check trap primer requirements at the same time rather than as a separate call later. A floor drain that's slow or backing up, rather than just smelling, is usually a clog rather than a dry trap — see our drain cleaning cost guide for that repair instead.
The health reason this isn't purely cosmetic
A dry trap isn't just an odor problem. Research on building drainage systems has documented that defective or dry appliance trap seals can act as an actual air pathway between the sewer system and occupied space, potentially letting aerosolized contaminants cross into a room rather than just smell. A widely cited engineering study by Gormley, Swaffield, Sleigh, and Noakes, published in Building Services Engineering Research and Technology, assessed exactly this cross-contamination risk from defective water trap seals (study on Google Scholar) — the underlying reason code treats trap seal protection as a requirement, not just a comfort issue for whoever walks past the garage.
Getting it fixed
Diagnosing a dry-trap smell correctly, sizing the right type of primer for the location, and tying it into code-compliant plumbing is a straightforward job for a licensed plumber but an easy one to get wrong as a DIY project — an improperly primed trap or a barrier device installed where code requires an actual water-fed primer can fail an inspection or simply not solve the smell. If a garage, laundry room, or mechanical closet floor drain in your home keeps smelling like sewage no matter how often you run water down it, request a free quote through Plumber Comparator and we'll connect you with a licensed California plumber who can install the right fix the first time.
Need a plumber you can trust?
Tell us about the job — a licensed California plumber gets back to you with a real quote.
Get free quotes