IRC 2021 Class 2 Remote-Control, Signaling and Power-Limited Circuits E4302.1 homeownercontractorinspector

Can a doorbell or thermostat transformer be hidden in a wall?

Class 2 Transformers and Power Supplies Must Be Listed and Accessible

Power Sources

Published by Jaspector

Code Reference

IRC 2021 — E4302.1

Power Sources · Class 2 Remote-Control, Signaling and Power-Limited Circuits

Quick Answer

A doorbell, thermostat, alarm, or control transformer that supplies a Class 2 circuit must be a listed power source and must remain accessible after the work is finished. Do not bury it in drywall, hide it above a sealed ceiling, or splice its 120-volt side outside an approved enclosure. The low-voltage wiring gets more flexibility than ordinary power wiring, but it is not exempt from support, protection, separation, listing, permits, or local inspection rules.

What IRC 2021 Actually Requires

IRC 2021 E4302.1 is the power-source rule for Class 2 remote-control, signaling, and power-limited circuits. In plain terms, the circuit must be supplied by a Class 2 transformer, Class 2 power supply, or another source identified by the code as suitable for Class 2 use. The words matter: Class 2 is not just a nickname for small wire or low voltage. It is a power-limited circuit classification tied to the source, the listing, and the way the equipment is installed.

The legislative voice of the rule is protective and conditional. The code allows less restrictive wiring methods for these circuits because the listed source limits available energy. That allowance depends on the source doing its job. If someone replaces a listed transformer with an unlisted plug-in adapter, an oversized supply, a field-built power source, or a device used outside its instructions, the reason for the Class 2 allowance can disappear.

Separation is also part of the code framework. Class 2 conductors generally must not be mixed in the same box, raceway, cable, or enclosure with electric light, power, Class 1, or non-power-limited fire alarm conductors unless a specific rule permits it. Where different systems occupy the same space, the installation has to preserve insulation ratings, barriers, listed assemblies, or spacing required by the adopted code and product instructions. The 120-volt primary side of a transformer remains ordinary power wiring and must be installed with an approved wiring method, proper enclosure, grounding or bonding where required, and accessible junctions.

Why This Rule Exists

Class 2 rules exist because small control circuits became common in homes long before every device had electronics inside it. Doorbells, thermostats, chimes, alarm contacts, zone valves, garage controls, and similar systems needed wiring that could be installed without treating every run like a full branch circuit. The tradeoff was power limitation.

A listed Class 2 transformer reduces the fire and shock hazard by limiting voltage and current to values the code treats differently from 120-volt power wiring. That does not make the system harmless. A miswired primary splice can still energize metal parts. An overheated transformer can still scorch framing. Low-voltage conductors run against sharp metal, buried in insulation around a hot device, or bundled with power wiring can still fail. The history of the rule is a history of allowing practical low-voltage installations only when the power source and routing keep the risk controlled.

What the Inspector Checks

An inspector starts by identifying the power source. The label should show that the transformer or supply is listed and suitable for Class 2 use. The rating has to make sense for the equipment served. A 16-volt doorbell transformer, a 24-volt HVAC control transformer, and a security system power supply are not automatically interchangeable just because their conductors look similar.

Access is a major inspection point. The transformer, junction box, and primary wiring connections must be reachable without removing permanent building finishes. A transformer mounted to a blank cover near the service equipment may be acceptable when the listing allows it and the box remains accessible. A transformer buried behind drywall, trapped above a hard ceiling with no access panel, covered by built-in cabinetry, or left under blown insulation is a common correction.

The inspector also looks at separation from power wiring. Thermostat cable, doorbell cable, and alarm cable should not be casually stuffed into the same knockout, connector, box compartment, or raceway as non-Class 2 power conductors. Where the installation uses a combination box, furnace cabinet, air handler, alarm panel, or listed control enclosure, the inspector checks that barriers, compartments, conductor insulation, clamps, bushings, and manufacturer instructions support that use.

Support and protection matter too. Low-voltage cable should be secured, routed away from sharp edges, protected where exposed to damage, and kept clear of hot flues, recessed luminaires, moving equipment, and service areas where it will be snagged. At rough inspection, the inspector wants to see the wiring before concealment. At final inspection, the inspector wants access, labels, covers, strain relief, and workmanship that still match the approved installation.

What Contractors Need to Know

For contractors, the safest starting point is to treat the Class 2 source as a listed piece of electrical equipment, not as a loose accessory. Select a transformer or power supply with a listing mark, correct input voltage, correct output voltage, adequate VA or current rating, and instructions that allow the mounting method being used. If the product says it mounts to a junction box cover, use that assembly as intended. If it belongs inside equipment, follow the equipment manufacturer's diagram and service-clearance requirements.

The primary side is not low-voltage work. Bring the 120-volt conductors into an approved box or compartment with the correct connector, box fill, cover, grounding or bonding, and overcurrent protection. Do not leave line-voltage splices floating above a ceiling, inside a wall cavity, or inside a furnace compartment unless that compartment is identified for the wiring and enclosure function.

Route Class 2 cable with the next trade in mind. Keep it out of drywall screw zones, duct edges, plumbing protection plates, hot equipment surfaces, and attic walk paths. Use staples or supports that do not crush the cable. Where the cable passes through framing or metal, protect it from abrasion. Where it enters a panel, cabinet, or control enclosure, use the openings and bushings intended by the manufacturer.

Coordination prevents callbacks. Doorbell transformers are often affected by smart chimes and video doorbells that require higher VA ratings. HVAC transformers may be affected by smart thermostats, zone boards, humidifiers, condensate switches, and accessory relays. Alarm and access-control power supplies may have battery backup, supervision, and fire alarm interfaces that change the inspection. Before closing walls, document the transformer location, take photos of concealed runs, keep the instructions on site, and ask the AHJ how they want mixed-voltage equipment presented at inspection.

What Homeowners Get Wrong

The most common homeowner misunderstanding is that low voltage means no rules. A thermostat wire or doorbell wire may be safer to touch than a 120-volt conductor, but it still depends on a listed power-limited source and proper installation. If the transformer is wrong, hidden, overheating, or wired from an unsafe primary connection, the small cable is not the whole story.

Can I run thermostat wire next to Romex? In open framing, low-voltage cable and NM cable may pass through the same general area, but they should not be treated as one wiring system. Do not put thermostat wire under the same staple as NM cable, pull it through the same bored hole where local practice or manufacturer instructions require separation, or land it in the same box with power conductors unless a listed divider or specific code rule allows the arrangement. At equipment, follow the furnace, air handler, or heat pump instructions because the cabinet may have designated high-voltage and low-voltage openings.

Do I need a permit for doorbell wiring? The answer depends on the city or county, the scope of work, and who is doing it. Replacing a button may not be treated the same as adding a new transformer, fishing new cable through walls, connecting to a branch circuit, or installing a video doorbell with a new power supply. The code article can explain the safety rule, but the building department decides the permit and inspection rule for that jurisdiction.

Homeowners also hide transformers for appearance. That creates the next problem. A transformer may need replacement, troubleshooting, or inspection. If it is behind drywall, above a sealed soffit, buried under insulation, or hidden in a cabinet with no access, the repair becomes more expensive and the installation may fail inspection. Accessible does not mean beautiful; it means reachable without damaging permanent construction.

State and Local Amendments

IRC 2021 is a model code. It becomes enforceable only after a state or local government adopts it, often with amendments. Some jurisdictions adopt the IRC electrical chapters directly. Others use the National Electrical Code for electrical provisions while retaining the IRC for building, mechanical, plumbing, and energy provisions. Local policy can also affect homeowner permits, licensing, low-voltage contractor registration, smoke and alarm interfaces, HVAC replacements, and inspection timing.

For that reason, the correct field answer is: start with IRC 2021 E4302.1, then verify the adopted local code and AHJ interpretation. A local amendment can be stricter than the model code. A utility, fire marshal, energy program, or manufacturer instruction can also add conditions that matter to the final approval.

When to Hire a Professional

Hire a qualified electrician, HVAC contractor, alarm contractor, or low-voltage professional when the work touches 120-volt wiring, a service panel, furnace controls, fire alarm equipment, security equipment, access control, exterior wiring, or concealed cable routes. Professional help is also prudent when a transformer is hot, buzzing, repeatedly failing, unlabeled, oversized, or hidden.

The cost of doing this work twice is usually higher than the cost of placing the transformer correctly the first time. A professional can size the Class 2 source, separate high- and low-voltage conductors, protect the cable, preserve access, and coordinate the permit before finishes close the work.

Common Violations Found at Inspection

  • Transformer buried in a wall, ceiling, soffit, cabinet, or insulation where it cannot be accessed for service or inspection.
  • Unlisted transformer, plug-in adapter, or generic power supply used as a permanent Class 2 source without installation instructions supporting the use.
  • Line-voltage primary splice made outside an approved electrical box or left without a cover.
  • Class 2 conductors and 120-volt conductors installed in the same box, raceway, knockout, or cable path without an approved divider, barrier, or listed assembly.
  • Low-voltage cable stapled too tightly, unsupported across attic framing, draped over ductwork, or routed where it is exposed to physical damage.
  • Thermostat, doorbell, or alarm cable run through sharp metal openings without bushings or protection.
  • Transformer rating changed for a smart device without confirming the chime, control board, alarm panel, or thermostat rating.
  • Equipment instructions missing, making it difficult to verify the listed mounting method, wiring compartments, or required separation.
  • Finished work closed before rough inspection, forcing removal of drywall, insulation, trim, or equipment covers to verify the installation.

Frequently Asked Questions

FAQ — Class 2 Transformers and Power Supplies Must Be Listed and Accessible

Can a doorbell transformer be hidden in a wall?
No. A doorbell transformer or its junction box should not be buried behind drywall or other permanent finish. It must remain accessible for inspection, service, and replacement.
Can I run thermostat wire next to Romex?
They can pass through the same general framing area, but they should not be bundled, stapled together, or mixed in the same box or raceway unless the code, listing, and equipment instructions allow that specific arrangement.
Do I need a permit to replace a doorbell transformer?
It depends on local rules and the scope of work. Replacing low-voltage parts may be treated differently from connecting a new transformer to 120-volt wiring or fishing new cable through concealed spaces.
Where should a Class 2 transformer be mounted?
Common locations include an accessible junction box cover, near service equipment, or inside listed equipment when the manufacturer allows it. The location must keep covers, wiring, labels, and service access available.
Is low-voltage wiring safe to touch?
A properly supplied Class 2 circuit has limited voltage and power, which reduces shock and fire risk. That does not make the whole installation automatically safe, especially if the transformer or 120-volt primary wiring is wrong.
Can I use any 24 volt transformer for a thermostat?
No. The transformer must be listed, correctly rated, compatible with the HVAC equipment and accessories, and installed according to the manufacturer's instructions and local code.

Also in Class 2 Remote-Control, Signaling and Power-Limited Circuits

← All Class 2 Remote-Control, Signaling and Power-Limited Circuits articles

Have a code question about your project? Get personalized answers from our team — $9/mo.

Membership