Plumbing rough-in usually goes before electrical rough-in after framing, especially when drain, waste, vent, or other large pipes must cross the same framing bays. HVAC and other large mechanical work may go earlier than both. The key is not simply choosing one trade for the entire project. The trades should follow a coordinated layout in which large and rigid systems are placed first, pipes receive needed slope and clearance, and electrical wiring is routed through the remaining protected spaces without being pinched, damaged, or blocked by later work.
The typical trade stack after framing
Once the structural framing has been inspected and is ready for rough mechanical work, contractors commonly use this general sequence:
- Large HVAC ducts, refrigerant lines, and mechanical equipment connections
- Major plumbing, including drain, waste, vent, and supply piping
- Electrical wiring, conduit, boxes, and service-related rough work
- Low-voltage wiring for data, security, communications, audio, and controls
- Insulation, air sealing, and drywall after required rough inspections and approvals
This is a coordination pattern, not a universal legal requirement. A project may reverse portions of the sequence when the plans, accessibility, inspection schedule, or local contractor practice call for it. For example, an electrician may install a few boxes or conduits before a plumber completes every pipe run. A mechanical contractor may return after plumbing or electrical work to finish a connection.
The most reliable approach is to establish a room-by-room trade map before work begins. The general contractor, lead carpenter, plumber, electrician, and HVAC contractor should identify shared walls, crowded ceiling areas, long horizontal runs, and locations where one system must pass through another trade's framing space.
Why large and rigid systems usually go first
Trade order is mainly a space-management problem. Ductwork, drain piping, vent stacks, and some equipment connections are bulky, rigid, or dependent on a particular route. Once they are installed, they may leave only narrow paths for cable. Electrical cable is generally more flexible, so it can often be routed around completed pipes and ducts without changing the system's basic function.
Plumbing drainage also has a routing constraint that electrical cable usually does not: it must maintain the required direction and slope for proper flow. A drain cannot always be moved a few inches without affecting fixture elevations, pipe slope, ceiling height, or the connection point at the stack or building drain. Water supply lines have more routing flexibility, but they still need protection, support, and separation from potential sources of damage or heat.
HVAC ducts can be even more difficult to move after framing because changing their path can reduce airflow, create conflicts with beams or joists, or lower a ceiling. For that reason, HVAC coordination often occurs before the plumbing and electrical rough-ins, even though the headline question focuses on the latter two trades.
| System | Why it needs early coordination | Common routing concern |
|---|---|---|
| HVAC ducts and equipment connections | Large size and limited routing options | Clearance at beams, joists, soffits, and equipment |
| Drain, waste, and vent piping | Required slope, fittings, and stack locations | Framing penetrations and conflicts with ducts |
| Water supply piping | Fixture locations and protection requirements | Heat, freezing exposure, and fastening |
| Electrical wiring or conduit | Usually more flexible than pipe | Physical protection and separation from other systems |
| Low-voltage wiring | Flexible but vulnerable to later damage | Separation from power wiring and future accessibility |
How pipe clearance affects the order
Pipe clearance is one of the strongest reasons plumbing is commonly rough-installed before electrical wiring. The plumber needs enough space to install fittings, maintain the planned route, support the pipe, and protect penetrations through framing. Large pipes and grouped plumbing lines can occupy much of a stud bay or joist space.
Do not treat an open stud bay as an unrestricted utility channel. A pipe may need to pass through a specific joist or stud, and the penetration may be limited by the member's location, size, structural role, or applicable building requirements. Drilling or notching a framing member without checking the framing plan can weaken the structure or create a repair issue.
When plumbing and electrical paths cross, the installation should be coordinated rather than forced into the first available opening. A plumber should not place a pipe where a future cable will be exposed to damage, and an electrician should not drill through or notch a structural member simply to avoid a pipe. If a route is crowded, the team may need to shift a fixture connection, use a different framing bay, add a planned chase, or revise the layout before closing the wall.
Plumbing also deserves priority where a future access panel, shutoff, cleanout, or service connection is required. A cable routed across that access area can make maintenance harder even when the installation technically fits.
Wire routing rules after plumbing is in place
After major piping and ductwork are installed, the electrician can route cables and conduit through the remaining protected spaces. The goal is not merely to make the wire fit. The route must protect the wiring from nails, screws, fasteners, sharp edges, excessive heat, moisture, and physical impact, while keeping boxes and devices accessible for later work.
- Use planned framing penetrations. Cables should pass through appropriate holes or approved pathways rather than being crushed between a pipe and the face of a stud.
- Protect wiring near framing faces. Where a cable or conduit is too close to the surface or otherwise exposed to likely fastener damage, an approved protective plate or another code-compliant method may be required. The exact condition and remedy depend on the adopted electrical code and installation method.
- Avoid drilling without checking both trades. A new hole can damage a pipe, weaken framing, or violate a planned route. Confirm what is behind the framing before drilling.
- Keep cable away from hot surfaces and wet locations. Required clearances depend on the wiring method, equipment, temperature, and applicable code. Product instructions and local requirements control.
- Do not bury junctions. Splices and junction boxes generally need to remain accessible. An electrician should not place a connection where insulation, drywall, cabinetry, or permanent finishes will make it unreachable.
- Coordinate service loops and box depth. Wires need enough length for device connections, and boxes must work with the wall finish and device type.
- Separate low-voltage and line-voltage systems as required. Data, security, audio, and communications wiring should not be placed casually alongside power wiring. Separation and raceway rules vary by system and installation method.
Electrical requirements can vary based on the edition of the National Electrical Code adopted by the jurisdiction, local amendments, and the wiring method. The electrician and local inspection authority should confirm the applicable rules before rough-in.
Coordinating walls, ceilings, and crowded areas
Some areas deserve a layout review before any trade begins. These include plumbing walls, kitchen and bathroom ceilings, stacked bathrooms, laundry areas, mechanical closets, long hallways, and rooms with recessed lighting or multiple ceiling registers.
- Mark fixture and equipment locations. Confirm the centerlines for sinks, toilets, showers, tubs, appliances, lights, switches, outlets, vents, and access panels.
- Identify the largest routes. Draw duct paths, drain stacks, main waste lines, and other runs that cannot easily move.
- Reserve service zones. Keep room for shutoffs, cleanouts, electrical panels, disconnects, filters, dampers, and equipment access.
- Set the pipe paths. Confirm where plumbing must pass through framing and whether slope or fixture elevation creates a conflict.
- Route power around fixed systems. Place electrical boxes and cable paths after the major pipe and duct conflicts are resolved.
- Photograph and document the rough-in. Record wall and ceiling conditions before insulation and drywall conceal the work.
A coordinated drawing, marked-up plan, or shared digital model can prevent more conflicts than an informal conversation in the framing area. The documentation should show changes made in the field, not just the original design.
When electrical work may go before plumbing
Electrical rough-in may precede part of the plumbing work when the electrical route is fixed, the plumbing path is flexible, or the electrician needs to install a specific service, panel, or conduit before access is reduced. This can occur in a limited area rather than across the entire house.
For example, a conduit serving equipment may need a planned route through a particular framing zone. An electrician may install it first after confirming that the plumber will not need that space. Similarly, electrical boxes can sometimes be installed early to establish finished-wall locations while piping is completed elsewhere.
Going first does not give one trade permission to claim all available space. If a later plumbing route conflicts with an existing cable, the team should resolve the conflict before covering either system. Moving a cable or pipe during rough-in is usually easier than repairing concealed work after drywall.
Homeowner checklist before the walls close
Homeowners do not need to design the routes themselves, but they should ask the project team to confirm the following items before insulation or drywall:
- HVAC, plumbing, and electrical plans have been compared in shared ceiling and wall areas.
- Drain and vent piping has the required route and does not depend on an unapproved framing alteration.
- Water lines are protected and are not placed where ordinary fastening could damage them.
- Electrical cables and conduit are protected from likely nails and screws.
- Boxes, panels, shutoffs, cleanouts, filters, and equipment remain accessible.
- Light switches, receptacles, plumbing fixtures, appliances, and registers match the approved layout.
- Required rough inspections are scheduled and passed before concealment, where applicable.
- Photographs show the location of concealed pipes, cables, boxes, and blocking, with measurements from permanent reference points.
Ask the contractor which authority will inspect the work and which code edition or local amendments apply. Permit and inspection procedures differ by jurisdiction, and a project-specific answer should come from the local building department or the licensed trade contractor.
Frequently asked questions
Does plumbing always go before electrical rough-in?
No. Plumbing commonly goes first when large pipes, drain slope, or crowded framing spaces are involved, but the sequence can vary by area. The deciding factor is coordinated routing, not a blanket rule for the entire project.
Where does HVAC fit in the sequence?
Large ducts and difficult mechanical runs often go before both plumbing and electrical. Smaller HVAC connections may be installed later. The mechanical contractor should coordinate equipment access, duct size, and ceiling height with the other trades.
Can electrical wires share a stud bay with plumbing?
They may occupy the same general framing bay when each installation is properly routed and protected, but they should not be packed together carelessly. The electrician must protect wiring from physical damage, and the plumber must preserve pipe support, clearance, and service access. Applicable local codes and the wiring method determine the details.
What should happen if a pipe and cable are in conflict?
Stop and resolve the conflict before insulation or drywall. Do not notch structural framing or move a pipe, cable, box, or fitting without the responsible trade confirming that the change remains safe, serviceable, and compliant.
Should low-voltage wiring be installed before electrical wiring?
Usually, low-voltage wiring is coordinated after the main power routes are established, although the exact order can vary. Keep communications and data wiring separated from power wiring as required for the specific systems, and leave enough access for future service.