Electrical Enclosures: NEMA Types, IP Equivalents, Materials and Heat Sizing

Electrical enclosures are cabinets or boxes that keep people away from live parts and keep dirt, water, dust, oil or corrosion away from the equipment inside; pick one by NEMA 250 type, such as 3R outdoors or 4X for washdown.
Key takeaways
- NEMA Type 4 and 4X enclosures meet IP66, Type 12 meets IP54 and Type 3R meets only IP24, per Table A-1 of the NEMA Enclosure Types document drawn from NEMA 250-2003.
- The conversion runs one way only: NEMA says its table “cannot be used to convert from IEC Classifications to enclosure Type numbers”, so an IP66 label alone does not make a box Type 4X.
- UL 50E, 2nd edition (October 16, 2015), added Types 3X, 3RX and 3SX and became effective for listings on January 2, 2017, per the Intertek Standards Update Notice.
- A sealed 24 x 20 x 8 in painted steel box sheds about 42 W at a 10 K rise using Rittal’s formula with k = 5.5 W/m2K; a 150 W load would push it about 35.7 K above ambient.
- On November 15, 2026, DigiKey listed the same 24 x 20 x 8 in nVent Hoffman size at $809.58 in painted steel (Type 12) and $3,328.86 in 316L stainless (Type 4X), as shown on ThePartsDirect.
What is an electrical enclosure, and how is it different from a junction box or electrical cabinet?
An electrical enclosure is the housing around switches, breakers, contactors, drives and control panels. NEMA defines it as “a cabinet or box that protects electrical or electronic equipment and prevents electrical shock”, built from rigid plastics, steel, stainless steel or aluminum, and rated under NEMA 250 for equipment up to 1,000 volts. “Electrical cabinet” is the trade name for the larger hinged-door versions of the same thing.
A junction box is a small enclosure for splices, sized by box-fill math rather than by the heat of the equipment inside; those rules sit in our electrical junction box guide. A residential load center is a panelboard enclosure, usually NEMA 1 indoors or 3R outdoors, covered in our electrical panel box guide. This page is about the industrial and commercial enclosures that hold control gear, from 16 x 12 x 6 in wall-mount boxes to floor-standing cabinets.
| Term | What it usually means | Typical rating question |
|---|---|---|
| Electrical enclosure | Any rated housing for equipment up to 1,000 V (NEMA 250 scope) | Which NEMA type for the location? |
| Electrical cabinet | Larger hinged-door enclosure, wall or floor mounted, holding a back panel | Type plus heat load from drives and power supplies |
| Electrical enclosure box | Small wall-mount or junction-size enclosure | Type plus knockouts (Type 12 has none, 12K has them) |
| Electrical panel enclosure | Housing for a panelboard or a UL 508A industrial control panel | Type marking required by NEC Section 110.28 |
What do NEMA Types 1, 3R, 4, 4X, 12 and 6P protect against?
Each NEMA type number is a tested list of conditions. Type 1 stops contact with live parts and falling dirt indoors. Type 3R adds rain, sleet and snow and must survive ice forming on it. Type 4 adds windblown dust and hose-directed water; 4X adds corrosion. Type 12 handles circulating dust and dripping indoors, and Type 6P survives prolonged submersion at limited depth, per NEMA’s definitions, pages 1 to 4.
Two details from the same document trip people up. Types 1, 2, 3R and 3RX “may be ventilated”, so a 3R box can have louvers and is not dust-tight. Type 12 is “constructed (without knockouts)”; the version with knockouts is Type 12K. The full list of 14 non-hazardous types is in the reference file electrical-enclosure-nema-ip-reference.csv, which repeats the table below with the page source for each row.
| NEMA type | Location | Protects against | IP code met (NEMA Table A-1) | Source |
|---|---|---|---|---|
| 1 | Indoor | Contact with live parts, falling dirt | IP20 | NEMA pp. 1, 8 |
| 3R | Indoor or outdoor | Falling dirt; rain, sleet, snow; undamaged by ice | IP24 | NEMA pp. 1, 8 |
| 3 / 3S | Indoor or outdoor | 3R conditions plus windblown dust; 3S mechanisms work when ice laden | IP55 | NEMA pp. 1, 2, 8 |
| 4 | Indoor or outdoor | Windblown dust; rain; splashing and hose-directed water; ice | IP66 | NEMA pp. 2, 8 |
| 4X | Indoor or outdoor | Type 4 plus an additional level of corrosion protection | IP66 | NEMA pp. 3, 8 |
| 6 | Indoor or outdoor | Hose-directed water; occasional temporary submersion | IP67 | NEMA pp. 3, 8 |
| 6P | Indoor or outdoor | Prolonged submersion at limited depth; corrosion | IP68 | NEMA pp. 3, 8 |
| 12 / 12K | Indoor | Circulating dust, lint, fibers; dripping and light splashing | IP54 | NEMA pp. 3, 8 |
| 13 | Indoor | Type 12 conditions plus oil and coolant spray and seepage | IP54 | NEMA pp. 4, 8 |
| 7 / 9 | Indoor hazardous | Class I Division 1 gases (7) or Class II Division 1 dusts (9) as defined in NFPA 70 | Not mapped | NEMA pp. 5, 6 |
What IP rating equals NEMA 4X, and why does the conversion only work one way?
NEMA 4X meets IP66: dust-tight first digit 6 and powerful water jets second digit 6, per NEMA Table A-1. The reverse is not true. NEMA writes that IEC 60529 “does not specify degrees of protection against” corrosive vapors, condensation, mechanical damage or icing, while NEMA 250 tests corrosion, gasket aging and external icing, so an IP66 box has not passed the 4X corrosion test.

NEMA’s own worked example shows the logic: an IP45 specification can be met by Types 3, 3X, 3S, 3SX, 4, 4X, 6 and 6P, but not by Types 5, 12, 12K or 13, which fail the IP_5 water-jet digit (NEMA Enclosure Types, page 9). The same page warns that a box marked only IPX7 or IPX8 “is considered unsuitable for exposure to water jets” unless it is dual coded, so an immersion-rated box is not automatically a washdown box.
| If the spec says | NEMA types that meet it | Types that do not | Source |
|---|---|---|---|
| IP54 | 3, 3X, 3S, 3SX, 4, 4X, 6, 6P, 12, 12K, 13 | 1, 2, 3R, 3RX, 5 | NEMA Table A-1, p. 8 |
| IP55 | 3, 3X, 3S, 3SX, 4, 4X, 6, 6P | 12, 12K, 13 (water digit 4) | NEMA Table A-1, p. 8 |
| IP66 | 4, 4X, 6, 6P | 3, 3S, 3X, 3SX (IP55) | NEMA Table A-1, p. 8 |
| IP67 / IP68 | 6 (IP67), 6P (IP68) | 4, 4X (water digit 6) | NEMA Table A-1, p. 8 |
| NEMA 4X (asked of an IP-only box) | No IP code qualifies on its own | Any box without a Type 4X marking | NEMA p. 7 |
What do UL 50, UL 50E and UL 508A cover on an enclosure?
UL 50 covers the non-environmental build of an enclosure, such as grounding, bonding and sharp edges, according to an IAEI Magazine article from March 2019. UL 50E covers the environmental Type ratings, tri-nationally with CSA C22.2 No. 94.2. Its 2nd edition, dated October 16, 2015, added Types 3X, 3RX and 3SX and set screw torques for doors and covers, per the Intertek notice.
The torque values matter in the field because a loose cover screw breaks the seal that earned the rating. Under clause 8.1.3, test torque is 12 lbf-in (1.36 N m) for a No. 6 screw, 20 lbf-in for a No. 8 screw, 35 lbf-in for other screwdriver screws and 160 lbf-in for a wrench-tightened bolthead, unless the enclosure is marked with its own value. UL 508A is the industrial control panel standard: nVent Hoffman’s Spec-00374 lists its stainless boxes as “UL 508A Listed; Type 3R, 4, 4X, 12”.
The NEC side is Section 110.28, which EC&M summarized in March 2026: enclosures rated not over 1,000 V for the listed equipment must be marked with an enclosure type number from Table 110.28, the table excludes hazardous (classified) locations, and the types do not protect against condensation, icing or water that enters through the raceway. Check the edition your state enforces on our NEC adoption by state map.
Painted steel, 304, 316L or fiberglass: which enclosure material fits?
Material follows the corrosion exposure. In nVent Hoffman’s line, painted steel carries Type 12 and 13 for indoor rooms, 304 and 316L stainless carry Type 4X for “indoor and outdoor corrosive environments”, and fiberglass carries 4X with “excellent temperature and chemical resistance” and is “easily punched, drilled, filed or sawed”. For one 24 x 20 x 8 in nVent Hoffman size, DigiKey prices seen November 15, 2026 ran from $809.58 for painted steel to $3,328.86 for 316L.
| Catalog number | Material and build | Ratings on the spec sheet | DigiKey, qty 1 | Newark, qty 1 | Source |
|---|---|---|---|---|---|
| A242008LP | 14 gauge steel, ANSI 61 gray, clamp cover | UL 508A Type 12, 13; IP65 | $809.58 | $837.83 | Spec-00288; listing, seen 2026-11-15 |
| A24H2008GQRLP | Fiberglass, gray, quick-release latches, 24.25 x 20.25 x 8 in | UL 508A Type 3, 3R, 4, 4X, 12, 13; IP66 | $1,715.10 | $1,926.71 | Spec-00092; listing, seen 2026-11-15 |
| A24H2008SSLP | 14 gauge 304 stainless, clamps | UL 508A Type 3R, 4, 4X, 12; IP66 | $2,663.74 | $2,673.17 | Spec-00374; listing, seen 2026-11-15 |
| A24H2008SSLP3PT | 14 gauge 304 stainless, 3-point latch | UL 508A Type 3R, 4, 4X, 12; IP66 | $2,803.88 | $3,069.18 | Spec-00090; listing, seen 2026-11-15 |
| A24H2008SS6LP3PT | 14 gauge 316L stainless, 3-point latch | UL 508A Type 3R, 4, 4X, 12; IP66 | $3,328.86 | $3,445.05 | Spec-00090; listing, seen 2026-11-15 |
nVent Hoffman 24 x 20 x 8 in wall-mount enclosures, qty 1, seen November 15, 2026
Source: DigiKey prices shown on ThePartsDirect, seen 2026-11-15; specs from nVent Hoffman Spec-00288, 00092, 00374, 00090
The same 24 x 20 x 8 in size cost $809.58 in painted steel and $3,328.86 in 316L stainless at DigiKey. Source: ThePartsDirect distributor pages, seen 2026-11-15.
The arithmetic from those listings: stepping from 304 to 316L on the same 3-point-latch body added $524.98 at DigiKey, or 18.7%. The 304 clamp version cost 3.29 times the painted steel Type 12 box, and fiberglass cost 2.12 times. These are single distributor prices for one size, not an average market price; quote the catalog number with your supplier, and expect panels (the A24P20 back panel on all five) to be priced separately.
How do you size an electrical enclosure for heat?
Heat sizing compares the watts lost inside with what the enclosure walls can shed. Rittal’s catalogue gives the maximum rise as ΔT = Qv / (A x k), with k = 5.5 W/m2K for sheet steel and A the effective surface area; Rittal calls a 10 K difference between ambient and inside “ideal”. If the rise is too high, the shortfall sets the fan, heat exchanger or air conditioner size.
- Add the heat losses of everything inside (drives, power supplies, transformers) from each maker’s data sheet; this is Qv in watts. Control transformers are one source, explained in our electrical transformer guide.
- Measure the outside dimensions and add the faces that can shed heat. Rittal specifies the area per IEC 890; for a wall-mounted box this example simply leaves out the back face against the wall.
- Multiply area by k = 5.5 W/m2K for painted sheet steel (Rittal p. 3-5).
- Divide Qv by A x k to get the rise in kelvin, and add it to the highest ambient expected.
- If the rise exceeds your target, size cooling for Qv minus A x k x target rise, or a fan at V = f x Qv / ΔT, with f = 3.1 m3 K/Wh at 0 to 100 m altitude (Rittal p. 3-6).
Five exposed faces give 0.764 m2; at k = 5.5 W/m2K the box sheds 4.20 W per K, so 150 W raises it 35.7 K. Sources: Rittal TS catalogue pp. 3-5, 3-6; nVent Hoffman Spec-00288, accessed 2026-11-15.
| Worked example step | Input or formula | Result |
|---|---|---|
| Box | Hoffman A242008LP, 24.00 x 20.00 x 8.00 in = 0.6096 x 0.5080 x 0.2032 m | Painted steel, Type 12 |
| Front face | 0.6096 x 0.5080 | 0.310 m2 |
| Two sides | 2 x 0.6096 x 0.2032 | 0.248 m2 |
| Top and bottom | 2 x 0.5080 x 0.2032 | 0.206 m2 |
| Exposed area A | Back face on the wall excluded | 0.764 m2 |
| A x k | 0.764 x 5.5 W/m2K | 4.20 W/K |
| Assumed load Qv | Example value, for instance a small drive plus a 24 V supply | 150 W |
| Rise with no cooling | 150 / 4.20 | 35.7 K (about 65.7 C inside at 30 C ambient) |
| Heat shed at a 10 K rise | 4.20 x 10 | 42.0 W |
| Cooling needed to hold 10 K | 150 minus 42.0 | 108.0 W |
| Heat exchanger specific output | 108.0 / 10 (Rittal p. 3-13) | 10.8 W/K |
| Fan-and-filter airflow at 10 K | 3.1 x 150 / 10 | 46.5 m3/h (27.4 CFM) |
Rise = load / (0.764 m2 x 5.5 W/m2K), wall mounted, no fan
Source: Rittal Technical System Catalogue, Climate Control p. 3-5 (k = 5.5 W/m2K); arithmetic by Electrical Contractors and Wiring
Above about 42 W this sealed box passes Rittal’s ideal 10 K rise; at 150 W it reaches 35.7 K. Source: Rittal TS catalogue pp. 3-5 and 3-13, accessed 2026-11-15; our arithmetic.
The catch is the rating. A fan-and-filter unit vents outside air through the box, and Rittal rates its own fan units at IP 54 as standard up to 700 m3/h, so a filter fan fits a Type 12 room but not a Type 4X washdown line. Rittal also notes its k value assumes interior siting and static air, and tells users to double heater output for exterior siting in moving air (p. 3-82), a reminder that outdoor boxes behave differently from this indoor example.
Which electrical enclosure fits washdown, coastal, outdoor and dusty locations?
Start from the worst condition the enclosure will see, then pick the lowest NEMA type that covers it. Hose washdown needs Type 4 or 4X; salt air or chemicals need an X suffix; rain-only outdoor sites can use 3R; dusty indoor plants need Type 12; submersion needs Type 6 or 6P. The thresholds below come from NEMA’s Tables 1 and 2 and the Hoffman spec sheets.
| If the location has | Use at least | Material to consider | Source |
|---|---|---|---|
| Hose washdown with food-plant cleaning chemicals | Type 4X (IP66) | 304 or 316L stainless, both listed 4X and IP66 | NEMA Table 1; Spec-00374 |
| Salt air within reach of sea spray | Type 4X, or 3X/3RX if no hosing | Stainless or fiberglass listed Type 4X | NEMA Table 2; Spec-00092 |
| Outdoors, rain and snow only, no blowing dust | Type 3R (IP24), ventilation allowed | Painted steel | NEMA p. 1, Table 2 |
| Outdoors with windblown dust, or a lever that must work iced over | Type 3 (IP55), or 3S for iced mechanisms | Painted steel or stainless | NEMA pp. 1, 2 |
| Indoor plant with circulating dust, lint or drips | Type 12 (IP54), 12K if you need knockouts | Painted steel | NEMA p. 3; Spec-00288 |
| Machine tools spraying oil or coolant | Type 13 (IP54) | Painted steel | NEMA p. 4 |
| Pits, vaults or flood zones | Type 6 (temporary) or 6P (prolonged submersion) | Per maker listing | NEMA p. 3, Table 2 |
| Flammable gas or combustible dust | Type 7 (Class I) or Type 9 (Class II) listed for the group | Cast or machined metal per listing | NEMA pp. 5, 6 |
Work down from the harshest condition: hazardous gas or dust, submersion, hosing, weather, oil, dust, then clean indoor. Source: NEMA Enclosure Types (NEMA 250-2003) pp. 1 to 8, accessed 2026-11-15.
Damp and wet locations add an OSHA rule for workplaces. 29 CFR 1910.305(e)(1) requires cabinets and panelboard enclosures in damp or wet locations to be mounted with “at least 6.35-mm (0.25-in.) airspace between the enclosure and the wall”, except nonmetallic enclosures on concrete, masonry or tile, and says “the enclosures shall be weatherproof in wet locations.” Small wiring-device boxes for porches and exterior walls are covered in our waterproof electrical box guide.
Which electrical enclosure accessories change the rating?
Accessories either keep or break the type rating. A gasketed window kit, a Type 4X vent drain or a sealed hole plug listed for the type keeps it; an unlisted fan, a field-cut hole without a rated fitting or a missing hole seal can drop a Type 4X box to an unrated one. The Hoffman spec sheets list back panels, window kits, vent drains, dehumidifiers, heaters and filter fans as matched accessories.
| Accessory | What it does | Rating effect | Source |
|---|---|---|---|
| Back panel (A24P20 for the 24 x 20 sizes) | Mounting plate, 21.00 x 17.00 in | None; inside the enclosure | Spec-00288, Spec-00374 |
| H2OMIT Type 4X vent drain | Lets condensation out | Listed to keep Type 4X | Spec-00374 |
| Filter fan (side-mount) | Forced outside air | Rittal fan units are IP 54 standard; suits Type 12 rooms | Spec-00288; Rittal p. 3-3 |
| Heater | Keeps the inside above dew point | None if mounted inside | Spec-00288; Rittal p. 3-82 |
| Hole seals (Hol-Sealers) | Close unused openings | Needed: OSHA 1910.305(b)(1)(ii) requires unused openings to be closed | Spec-00374; eCFR |
Custom and modular electrical enclosures follow the same rules. Hoffman’s sheets say it modifies products to order, and a cut-out or added door only keeps the marked type if the maker re-evaluates it; ask the supplier for the type marking on the modified drawing before you order.
Who installs an industrial enclosure, and when do you call an electrician?
Landing conductors, adding conduit entries and energizing the gear inside an enclosure is work for a licensed electrician under the permit and inspection your jurisdiction requires. Homeowners and plant staff should not open an energized enclosure; OSHA 29 CFR 1910.305 sets the workplace wiring rules. Call an electrician for any field-cut entry in a Type 4X box and any change of location, such as moving a machine into a washdown area.
Ask the contractor three specific questions: which NEMA type the drawings call for and whether the nameplate matches it, how conduit entries will be sealed (our electrical conduit guide covers fittings), and what heat load the panel will carry at the hottest ambient. Plants with a dedicated room should also check the clearance rules in our electrical room guide, and the shutoff rules in our electrical disconnect guide. If you need someone local, use our hire an electrician directory.
How we compiled this
We compiled this from 9 primary documents: NEMA’s Enclosure Types publication (NEMA 250-2003 definitions), NEMA’s enclosure page, the Intertek UL 50E update notice, OSHA 29 CFR 1910.305 on eCFR, 6 pages of Rittal’s climate control catalogue and 4 nVent Hoffman spec sheets, plus 5 distributor listings, accessed November 15, 2026. We did not test, install or inspect any enclosure. We could not open the NFPA 70 text, so NEC Section 110.28 is described through two named trade summaries.
Frequently asked questions
What is the difference between NEMA 4 and NEMA 4X?
Both protect against windblown dust, rain, splashing and hose-directed water and meet IP66. NEMA 4X adds an additional level of protection against corrosion, per NEMA’s Enclosure Types document from NEMA 250-2003. In nVent Hoffman’s 24 x 20 x 8 in line, the 4X versions are 304 or 316L stainless or fiberglass, while the painted steel box is Type 12. Choose 4X where corrosion is expected.
Is NEMA 3R waterproof?
No. NEMA Type 3R keeps out falling rain, sleet and snow and survives ice forming on it, but it is not tested against hose-directed water and it may be ventilated. NEMA’s Table A-1 maps it to only IP24. For a hose-down area or blowing dust, step up to Type 4 or Type 3, which meet IP66 and IP55.
Can an IP66 enclosure replace a NEMA 4X enclosure?
Not on the label alone. NEMA says its Table A-1 cannot be used to convert IEC codes to NEMA types, because IEC 60529 does not test corrosion, gasket aging or external icing. An IP66 box with no Type 4X marking has not shown the corrosion protection 4X requires, and NEC Section 110.28 expects the type number marked on the enclosure.
What does a 24 x 20 x 8 electrical enclosure cost?
On November 15, 2026, DigiKey listed nVent Hoffman 24 x 20 x 8 in enclosures at $809.58 in painted steel Type 12 (A242008LP), $1,715.10 in fiberglass (A24H2008GQRLP), $2,663.74 in 304 stainless (A24H2008SSLP) and $3,328.86 in 316L stainless with a 3-point latch (A24H2008SS6LP3PT). Back panels and freight are extra.
Who makes Hoffman electrical enclosures?
Hoffman is a brand of nVent. The Hoffman spec sheets cited here (Spec-00288, 00374, 00090 and 00092) carry the nVent name and list UL 508A listings under UL file E61997. Other enclosure makers include Rittal and Schneider Electric, whose PanelSeT ranges appear on its Universal Enclosures page. We do not rank or endorse any maker.
Do you need a fan or air conditioner in an electrical enclosure?
Only if the heat inside exceeds what the walls shed. Using Rittal’s k of 5.5 W/m2K for sheet steel, a 24 x 20 x 8 in wall-mounted box sheds about 42 W at a 10 K rise. A 150 W load needs 108 W of extra cooling. Filter fans suit IP 54 rooms; washdown boxes need closed-loop cooling.
What is an outdoor electrical enclosure rated for?
Outdoor enclosures carry NEMA Type 3, 3R, 3S, 4, 4X, 6 or 6P, all defined for indoor or outdoor use with rain, sleet and snow protection and no damage from external ice. Type 3R is the minimum for rain. OSHA 29 CFR 1910.305(e)(1) also requires enclosures in wet locations to be weatherproof.
Sources
- NEMA, NEMA Enclosure Types (from NEMA 250-2003), November 2005, accessed 2026-11-15
- NEMA, Enclosures product section, accessed 2026-11-15
- Intertek, Standards Update Notice: UL 50E / CSA C22.2.94.2, 2nd edition, issued December 4, 2015, accessed 2026-11-15
- eCFR, 29 CFR 1910.305 Wiring methods, components, and equipment for general use, accessed 2026-11-15
- Rittal, Technical System Catalogue, Climate Control, pp. 3-3, 3-5, 3-6, 3-13, 3-82, 3-83, accessed 2026-11-15
- nVent Hoffman Spec-00288, continuous hinge with clamps, Type 12, accessed 2026-11-15
- nVent Hoffman Spec-00374, continuous hinge with clamps, Type 4X stainless, accessed 2026-11-15
- nVent Hoffman Spec-00090, continuous hinge with 3-point latch, Type 4X stainless, accessed 2026-11-15
- nVent Hoffman Spec-00092, fiberglass hinge cover, Type 4X, accessed 2026-11-15
- ThePartsDirect distributor price pages for A242008LP, A24H2008GQRLP, A24H2008SSLP, A24H2008SSLP3PT and A24H2008SS6LP3PT, seen 2026-11-15
- EC&M, Understanding General Requirements of the NEC, Part 16, March 3, 2026, accessed 2026-11-15
- IAEI Magazine, Enclosures for the sustainable energy market, March 2019, accessed 2026-11-15