NEC Article 334: NM-B Cable (Romex) Rules
Practice exam questions Ten exam-style questions from the NEC tables, each answer cited.
334.10 Where NM-B Is Permitted
NM-B (commonly called Romex) is permitted by building type, not by height: in one- and two-family dwellings and their garages and storage buildings, in multifamily dwellings of Types III, IV, and V construction, and in other structures of Types III, IV, and V construction where the cable is concealed behind a thermal barrier with at least a 15-minute finish rating (334.10(1) to (3)).
In Types I and II construction it is permitted only inside raceways (334.10(5)). NEC 2023 sets no limit on the number of floors. NM-B may also run through air voids of masonry block walls if the location is not subject to dampness. NM-B is the most common residential wiring method in the United States because it is inexpensive, quick to install, and includes the ground conductor built into the cable assembly.
A single run of 12/2 NM-B provides hot, neutral, and ground in one pull.
334.12 Where NM-B Is NOT Permitted
334.12(A) prohibits NM cable in any dwelling or structure not covered by 334.10(1), (2), (3) and (5), and in hazardous (classified) locations, among other uses. 334.12(B) adds that Type NM may not be used where exposed to corrosive fumes or vapors, embedded in masonry, concrete, adobe, fill or plaster, run in a shallow chase in masonry or concrete covered with plaster or a similar finish, or installed in wet or damp locations.
Running NM-B inside conduit is allowed where the conduit protects it from physical damage (334.15(B)), but the inside of an outdoor or underground conduit is a wet location, so NM-B cannot go there. NEC 2026 adds direct burial and locations subject to physical damage to the not-permitted list.
334.30 Securing and Supporting
NM-B must be secured within 12 inches of every box entry and supported at intervals not exceeding 4.5 feet along the run per 334.30. Cable clamps or connectors are required where NM-B enters a box, with one exception in 314.17: a single-gang nonmetallic box no larger than 2-1/4 x 4 inches needs no clamp when the cable is stapled within 8 inches of the box and at least 1/4 inch of sheath extends inside it.
Flat NM-B cables (like 14/2 and 12/2) must be stapled flat against the framing member, not on edge, to prevent damage. Staples must be driven snug but not so tight that they deform or crush the cable jacket. In accessible attics with permanent stairs, cables within 6 feet of the scuttle opening must be protected by guard strips or run through bored holes in joists.
Cables running across the tops of ceiling joists must be protected if the attic is accessible.
334.15 Protection from Damage
NEC 300.4 and 334.15 work together to protect NM-B from physical damage. When boring through wood studs, the edge of the hole must be at least 1-1/4 inches from the nearest edge of the stud per 300.4(A)(1). If the hole is closer than 1-1/4 inches, a 1/16-inch thick steel nail plate covering the bored area is required.
Cables run in notches in studs or joists must also be protected by steel plates. In unfinished basements, NM-B may be run along the underside of floor joists if the cable follows the surface of the framing, but cables run at an angle to joists must be protected by running boards or bored through joists.
In garages, cables within 8 feet of the floor are considered subject to physical damage and must be protected by conduit, guard strips, or concealment within the wall.
334.80 Ampacity
NM-B cable contains conductors rated 90C (THHN-equivalent insulation) inside an outer sheath rated 60C. Per NEC 334.80, the ampacity of NM-B must be determined using the 60C column of Table 310.16: 14 AWG = 15A, 12 AWG = 20A, 10 AWG = 30A, 8 AWG = 40A, 6 AWG = 55A.
However, the 90C individual conductor rating provides a critical advantage when derating is required. For temperature correction or bundling adjustment calculations, you start with the 90C ampacity value, apply the correction factors, and then check that the result does not fall below the 60C column ampacity.
This gives NM-B significantly more derating headroom than wire types with only 60C ratings. See our NM-B wire type page for complete ampacity tables with derating pre-computed.
Related WireRef Guides
Frequently Asked Questions
What does NEC Article 334 cover?
Article 334 covers nm-b cable (romex) requirements. Key sections include 334.10 Where NM-B Is Permitted and 334.12 Where NM-B Is NOT Permitted. It is enforced wherever your state or city has adopted the NEC; see the state code pages for which edition applies to you.
Which NEC edition of Article 334 applies to me?
The edition your state or city has adopted. As of November 2026, 10 states enforce NEC 2026, 21 enforce NEC 2023 and 11 enforce NEC 2020; the rest use an older edition or leave adoption to local jurisdictions. Check your state on our state code pages.
What does the B in NM-B mean?
NM-B cable uses conductors with 90C insulation. 334.80 still limits NM-B ampacity to the 60C column of Table 310.16 (14 AWG 15A, 12 AWG 20A, 10 AWG 30A, 8 AWG 40A, 6 AWG 55A). The 90C rating can be used as the starting point for derating, as long as the result does not exceed the 60C value.
Can Romex be run inside kitchen cabinets?
Often yes, in a dwelling: 334.10 permits NM-B exposed or concealed in one- and two-family dwellings. The limits are 334.15(B), protection where it is subject to physical damage, and 334.30, securing within 12 inches of each box and every 4-1/2 feet. A loose cable across the back of a sink base or pantry, where pots and cans can hit it, is where inspectors push back. Run it tight along the cabinet back or framing, or sleeve it. Your local inspector makes the call.
Can NM-B cable go in conduit underground or outside?
No. 334.12(B) prohibits NM-B in wet or damp locations, and the inside of an underground or outdoor conduit is a wet location (300.5(B), 300.9). Use UF-B cable, or individual THWN-2 or XHHW-2 conductors in the conduit.
How often does Romex need to be stapled?
334.30: within 12 inches of every box, cabinet or fitting, and at intervals not exceeding 4-1/2 feet along the run. Flat cables like 14/2 and 12/2 must not be stapled on edge. The 12-inch rule becomes 8 inches at a single-gang nonmetallic box with no cable clamp (the 314.17 exception).
NEC references verified February 2026 · Report a mistake