What it is
An air handler or furnace in an attic or ceiling space is the install that fails expensively: it hangs over a finished ceiling, the crawl is hot, and a sprinkler pipe may be one bumped head from flooding the house. Four jobs ride on top of the normal install: access for people and the unit, condensate kept off the drywall, a duct smoke detector when airflow calls for one, and sprinkler heads left intact.
The IMC is a model code, not law by itself. Your jurisdiction adopts an edition, often with changes, and the authority having jurisdiction (the AHJ) settles anything vague. Mechanical questions follow the IMC; fire alarm and electrical questions follow NFPA. Our guides on condensate traps and float switches and on building a drain that stays clear cover the basics.
How it works
Water. Over a hallway the worst case is a ceiling on the floor, so protection stacks: a pan, a pitched and cleanable primary drain, a vent that keeps the trap from airlocking, and an overflow switch that stops cooling before the water goes anywhere. Horizontal units add a weak spot, because coils and pans are often set up wrong, so follow the maker's horizontal instructions and confirm the pan slopes toward its outlet.
Heat and moisture. A vented attic is hot and humid, so cold surfaces sweat. In any attic, seal the unit's penetrations and insulate the drain lines. Our guide on sweating ducts in hot-humid attics covers the source.
Smoke. A duct smoke detector shuts the air movement down when it trips, so ducts stop carrying smoke through the building. It limits spread rather than warning early (NFPA 90A), and it never replaces the room alarms.
Sprinklers. Each head is held shut by a small glass bulb of heat-sensitive liquid. Heat expands the liquid until the glass bursts; a hard knock does the same.
In the field
Access and working room
Check the path before the equipment: an opening big enough to pull the unit out, a passageway with clear headroom, a solid floor (plywood across the joists, screwed down so it cannot walk) and a level work area in front of the unit. The passageway and floor are not required when the unit can be reached, serviced and removed from the opening itself.
Put a light and a receptacle at the unit, with the switch at the passageway opening. Never cut a truss unless engineering documents allow it, and keep hanger fasteners out of spots that would weaken one.
Water protection
- Secondary pan: under the whole unit, with overflow protection (IMC 307.2.3).
- Drain: never smaller than the pan outlet (IMC 307.2.2); a 3/4 in line suits up to 20 tons unless the pan outlet is larger.
- Cleaning access: the line must be clearable without cutting it (IMC 307.2.5); a cleanout tee upstream of the trap does that.
- Trap: follow the maker. Shared drains need traps to keep sewer gas out of vents and living spaces.
- Vent: after the trap, it stops airlock on double traps and shared drains, and siphoning, but only while open. Its opening goes above the float's trip level, or above the secondary overflow port, so rising water trips the switch first.
- Ductless heads: most makers skip the trap on a gravity drain, yet newer IMC wording (307.2.4.1) wants a trap or a check valve. Use what the AHJ accepts.
- Termination: an approved location, as the AHJ defines it, never a walkway, street or alley; avoid slipping, ponding, erosion, foundation seepage and roof discharge.
Run cooling long enough to see how the drain, pan and cold surfaces behave.
Duct smoke detector
Outside the residential code for houses and most townhomes, a system designed for more than 2,000 CFM, roughly 5 nominal tons, needs a duct smoke detector: supply side under NFPA 90A, return side under IMC 606.2.1, so ask the AHJ before you drill. At 15,000 CFM and above, use both. Where a certified fire alarm exists, NFPA 90A has you link the detectors to it. On a trip, the blower and any outdoor-air intake should shut down and, if the design includes it, exhaust should start.
Sprinkler protection
Torch work, even a small contained flame, and blunt impacts from ladders, lifts, tools or fixtures break most heads. A discharge fills a room fast, and the liability lands on the contractor. Before lighting anything, find every head within reach of the work. Guards and cages stop knocks; for heat, wrap a wet towel gently around the head, and uncover all heads afterward. On a multi-day job, post a sign that fire protection is in the work area. Our guide on brazing with flowing nitrogen covers fire watch.
If a head goes off, check for fire: if real, let it run, get everyone out and call 911. Otherwise close the riser valve, usually near the utilities or in a marked room, and call a water-damage professional for the insurance claim. Sprinklers stay off until a sprinkler contractor restores them.
Field sequence for the visit
The LaunchMyHVAC Condensate Drain Line Diagnostic checklist follows this order for the water side.
- Record the unit type and where the primary line ends.
- Lock out the unit and prove it dead with a meter you just checked on a known live source (our lockout guide has the routine), and stay locked out while your hands are near terminals, wiring or moving parts.
- Pour 1 gallon into the pan and watch the terminal and every joint.
- Check the trap: present at the coil outlet, holding water, cleanout tee upstream.
- Measure the slope toward the drain and the pipe size; write both down.
- Check the secondary pan and float: pan present, standing water, float installed. With a pump, fill the reservoir and confirm it runs.
- If the line is slow, wet-vac it at the terminal, record the vacuum, treat the line, then repeat the 1-gallon test.
- Test the float with the unit dead, reading its contacts on the ohms scale. To watch the shutdown live, restore power, test, then lock out and prove dead again before touching anything.
- Test the duct smoke detector live, as with the float, after warning whoever monitors the fire alarm.
- Shield every sprinkler head near the work before any heat goes on.
Worked example: five-ton unit over a townhome hallway
Say a two-story townhome with a residential sprinkler system has a 5-ton horizontal air handler on a platform over the upstairs hallway, blower set for about 2,100 CFM.
Access: 17 ft from the pull-down stair to the unit (limit 20 ft), 32 in of headroom at the lowest brace, 24 in clear width, a 26 in plywood walkway and a 36 by 36 in level space at the unit. All pass.
Pan: the cabinet footprint is 54 by 24 in, so the pan must be at least 57 by 27 in. The existing pan is 56 by 26, an inch short each way, so a 60 by 30 goes in.
Drain: the 3/4 in PVC run is 38 ft with only 3 in of total fall, about 0.08 in per ft against the 0.125 minimum. Re-hanging at 1/4 in per ft gives 9.5 in of fall, with ten hangers at 4 ft or closer. No vent exists, so a tee goes in after the trap, its open end 3 in above the float's trip height.
Detector: the residential code needs none, but a local amendment does above 2,000 CFM; the inspector wants it in the return.
Sprinkler: a head sits 4 ft from the line-set joint. It gets a plastic guard and a wet towel, and a sign goes up for the two-day job.
Finish: 1-gallon test clean, float wired in line with no jumper, cooling run dry.
What to tell the homeowner
Your air handler sits right over the hallway ceiling, so we added a second pan and a float switch that stops the cooling before water reaches your drywall. If the system shuts off on a hot day, that switch may be doing its job, so call us rather than resetting it. The duct smoke detector shuts the fan down in a fire; it does not replace the alarms in your rooms.
Normal values & targets
- Target passageway: at least 30 in high and 22 in wide, up to 20 ft long; a 6 ft tall, unobstructed passage may run to 50 ft where the adopted edition allows it.
- Target floor: solid, at least 24 in wide.
- Target work space: level, solid, at least 30 by 30 in ahead of the unit.
- Target secondary pan: at least 1.5 in past the unit on every side.
- Target drain: 3/4 in inside diameter at least, never under the pan outlet size.
- Target pitch: 1/8 in per ft (1 percent) minimum; 1/4 in per ft for margin.
- Target PVC supports: every 4 ft horizontal, every 10 ft vertical.
- Target duct detector: above 2,000 CFM under the IMC; both sides above 15,000 CFM.
- Target vent opening: above the float's trip level.
Common faults & what they mean
- Ceiling stain but the drain flows: look at the pan, too small, tilted away from its outlet, or a coil dripping outside it.
- Float trips with a clear line: capped, plugged or missing vent, or an airlocking trap.
- Water out of the vent during a clog: the opening sits below the float's trip level.
- Sweat on cabinet, ducts or lines: unsealed penetrations or missing insulation.
Tech tips & gotchas
The common wrong turns:
- Calling it done because 1 gallon drained. Flow does not prove pitch, trap, vent or float.
- Checking fall at the pan end only. Sag shows between hangers, so level the middle runs.
- Gluing the line up without a cleanout, so the next clog means cutting pipe.
- Skipping a ductless trap because the maker's sheet is silent.
- Jumpering a tripped float or detector to finish the day.
- Quoting the last town's code to this town's inspector.
Photograph the passageway, pan, slope and detector before you leave.
Safety / code notes
- Before your hands or tools go near terminals, wiring or moving parts, lock out and prove the circuit dead, and do it again after any live reading or test. Discharge the blower capacitor with a proper tool and confirm zero before touching it.
- Never jumper a float or detector.
- Step only on joists or the walkway; drywall will not hold you.
- Hot attics: drink water, take breaks, and heed OSHA confined-space rules where they apply. Our guide on heat illness and working at height covers the signs.
- Hot work near sprinklers: shield the bulb and keep a fire watch.
- Code numbers: IMC 306.3 (attic appliances, 2021 edition), 307.2.2, 307.2.3, 307.2.4.1, 307.2.5 and 606.2.1; NFPA 90A. Confirm with the AHJ.