Weld your own enclosure when the panel only has to guard live parts in a dry indoor room; 14 ga steel and a MIG welder cover that job for a few evenings and steel you already own. Buy a rated enclosure the moment the box has to hold out dust, drips or hose water. A NEMA 12 or Type 4 rating is a test result under NEMA 250, and a one-off build has never run those tests. The gap between the two boxes sits in one number: a door gasket compressed 20-30% along the seam, held to a few thousandths of an inch.
When can a shop-built steel box stand in for a rated one?
Whenever the box works as a mechanical guard in a dry indoor room — keeping hands, chips and falling dust off the gear — a welded 14 ga steel box does the whole job, because that duty is NEMA 1-level and asks nothing of gaskets, drips or hose tests.
Sheet at 14 ga measures 0.0747 in [1.9 mm] in the US standard gauge for carbon steel, so a welded door of a given size is stiff before you add a single stiffener. Strength is the easy half. What the weld-up cannot hand you is a Type number: no dust test, no drip test, no gasket-aging run. Mark it unclassified rather than NEMA anything, and it serves honestly.
The picture flips with any liquid. Oil mist off a machine, condensate from a cold start or a pipe dripping overhead all sit above what an unsealed seam survives. Fine dust with lint and fibers works into an under-compressed stretch of gasket. That is the line: keep the weld-up on guard duty, and buy the rating the day water or airborne dust enters the specification.
How do a welded DIY box and a rated enclosure compare side by side?
The steel is a wash; everything else differs: the rated box brings a tested gasket line, drip-shedding top detail, sealed cutouts, corrosion options and a Type number an inspector can rely on, while the welded box brings strength, your own feature list and no rating at all.
| Welded 14 ga DIY box | Manufacturer-rated enclosure | |
|---|---|---|
| Duty it proves | Mechanical guard in a dry room | Type 12: dust, lint, drips; Type 4: hose-directed water |
| Proof behind it | None; mark it unclassified | NEMA 250 dust, drip and gasket-aging tests |
| Door gasket | Laid into whatever gap the welds left | Continuous cord sized for 20-30% compression |
| Door flange | Flatness moves with every bead | Formed, then checked against the gap |
| Cutouts and devices | Each hole seals as well as you made it | Placed and sealed so the rating survives |
| Corrosion | Painted carbon steel; rust starts at the first chip | 304 stainless for washdown; 316L for chlorides |
| Time to a finished panel | Your evenings, plus jig and grinder work | Delivered in 10 business days from drawing approval |
| Right call for | Guard duty in a dry room | Any specification naming a Type or an IP |
Two rows decide most projects: proof behind it and corrosion. The weld-up wins neither, and the rating costs a few days of lead time rather than a few evenings of grinding.
What does the NEMA 12 rating actually ask of the box?
NEMA 250 defines Type 12 as indoor protection against settling dust, lint, fibers and flyings and against dripping non-corrosive liquids, and it proves that with dust and gasket-aging tests plus a drip check — in practice, a continuous gasketed door seam and top geometry that sheds water.
The tests run on the assembly as built: door, gasket, seams, latch holes and hardware openings together. There is no rating for the sheet alone and another for the door; the box passes as one unit or it does not pass.
Step the duty up and the Type changes, not just the gasket. Type 4 adds hose-directed water, and Type 4X carries that plus corrosion resistance through the wall material. The NEMA 12 vs NEMA 4 guide lays out the indoor split, and the NEMA 4 vs 4X vs IP66 guide sorts the washdown and corrosion tiers.
What does the door gasket demand, and can a welded frame hold it?
Size the door seal around 20-30% compression of a solid elastomer cord — the window gasket designers work to — which for a 0.25 in [6.4 mm] cord sets the door gap at 0.175 to 0.200 in [4.4 to 5.1 mm] along the whole seam, weld landmarks included.
Run the arithmetic for a 20 x 20 in door:
- Seam length: 2 × 20 in + 2 × 20 in = 80 in [2.03 m] of gasket around one door.
- Target gap: a 0.25 in square neoprene cord at the 25% midpoint crushes to 0.25 × (1 − 0.25) = 0.1875 in [4.8 mm].
- Working band: 20% crush puts the gap at 0.200 in and 30% crush at 0.175 in, so all 80 in must stay inside a 0.025 in band — about ±0.0125 in [±0.32 mm] either side of the target.
- What a weld does: a bead that shrinks the flange 0.03 in [0.8 mm] toward the door crushes that spot to (0.25 − 0.1575) ÷ 0.25 = 37%. The cord takes a set there, and the door starts wanting a harder slam. A flange 0.03 in proud of the line leaves (0.25 − 0.2175) ÷ 0.25 = 13%, under the floor, and that stretch passes dust.
Hold the band with stitch welds instead of long beads, and check the flange against a straightedge every 6 in [150 mm] as you go. A high spot gets ground; filler never goes over a low one. Rated builders hold this same band by forming the flange and checking it in production. The enclosure cover flatness article shows the flange side, and the gasket compression and bolt torque guide sizes the cord and the fastener load.
Where does water get past a welded box that a rated box keeps out?
Water gets in at four places: the flat welded top where drips pool and creep the seam, corner beads that hide pinholes, the gasket line your welds moved, and every device hole — pushbutton, pilot light, window, latch — that seals only as well as its own gasket.
Start with the roof. NEMA 250 checks a Type 12 top with drips, and the test never pools liquid against the gasket; a welded flat roof collects and holds the same water. Give it a slope or a drip cap, and step up to Type 4 wherever standing water is possible.
Then the holes. Every penetration carries its own rating, and the assembly keeps the lowest one: a pilot light, an E-stop, a window frame and each quarter-turn latch need their own gasket or boot. The article on what rating survives after you cut and mount devices shows how one unsealed hole drags the box back to guard duty.
The seams themselves leak where a stitch starts or stops. Brush soapy water over every bead before paint, watch for bubbles, and re-weld each one you find.
When is building your own the right call?
Build when the enclosure is mostly a guard and a mount: a dry indoor room, steel already paid for, and features a catalog box cannot give — welded studs, integral brackets, a window inset exactly where you want it, hardware sized to your machine instead of to a catalog grid.
Some duties come with the welder. The shell still has to bond: NEC 250.96(A) requires metal parts intended to serve as equipment grounding conductors — enclosures included — to be bonded so they can conduct the fault current likely to be imposed on them. NEC 250.12 adds a prep step: paint, mill scale and weld spatter come off the threads and contact surfaces where those connections land.
Layout duties carry over too. Wiring-duct fill tables top out at 50% of the duct's interior cross-section (NFPA 79, section 13.5.2), and large conductors take bending space at their terminals under NEC 312.6; the backplate and DIN rail layout guide walks through both.
And one rule before the first power-up of a box you welded: lock the panel off and prove it dead.
When the feature list grows past studs and an inset window, send the same list through the 3D enclosure builder — size, material, NEMA type, DIN rails, gland and pushbutton cutouts — and approve the drawing before anything is cut.
Where does a manufacturer-rated enclosure win?
The rated enclosure wins wherever the rating has to survive years and an inspection: a gasket held in its 20-30% window by a formed, checked flange, dust, drip and gasket-aging tests behind the Type number, cutouts that arrive sealed, and corrosion resistance painted carbon steel cannot hold.
That consistency is production, not luck. A rated door keeps its compression band because the flange is formed and checked on every box, and keeping every enclosure at its rated IP level is exactly the production habit behind it.
Construction matters as well: welded seams against a bolted modular frame trade flatness against field access, and the modular vs welded article sets out that trade.
Wall material finishes the job. 304 stainless suits indoor washdown and most outdoor sites; 316L takes salt air, brine and chemical areas. A Type number on a bought box is a manufacturer rating for the specified design: NEMA does not test, certify or endorse enclosures, and ours are rated NEMA 4X / IP66 by the manufacturer; not UL listed. Order material, size and every cutout from one piece through custom enclosures, delivered in 10 business days — for custom work, from your approval of the drawing.
Which one should your shop order?
Match the box to the wettest day it will see: dry indoor guard duty — weld away; dust, lint or oil mist — a rated Type 12; splashes or hose-down — Type 4 in 304 stainless; salt air, brine or sanitizer — Type 4X in 316L; outdoor rain — Type 3R at the very least.
| The box sees | Decision | Rating to ask for |
|---|---|---|
| Dry indoor room, falling dust only | Build it; the weld-up is fine | None; guard duty |
| Lint, flyings, oil mist or drips from above | Buy | Type 12 |
| Splashes, hose-down or washdown | Buy | Type 4 in 304 stainless |
| Salt air, brine, sanitizer or chloride chemicals | Buy | Type 4X in 316L |
| Outdoors under rain and sleet | Buy | Type 3R at minimum; Type 4X once sun and washing land on it |
NEMA 250 sets no UV-resistance duty on Type 12 paint, so sun is one more reason the outdoor row points at stainless rather than painted steel.
On the order, settle five things: wall material, outside dimensions, hinge side, every cutout with size and position, and the Type the room demands. If the choice between a shelf box and a spec sheet is still open, the where-to-buy article compares catalog, distributor and custom routes.
Catalog dimensions to compare
Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 12 × 10 × 6 in | 304 stainless | 12 x 10 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 16 × 14 × 8 in | 304 stainless | 16 x 14 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 20 × 16 × 8 in | 304 stainless | 20 x 16 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Can I weld a box, bolt on a gasket, and mark it NEMA 12?
No — the Type 12 number belongs to a design that passed the NEMA 250 tests: dust circulated against the seams, drips on the top, and a gasket-aging run. A one-off weld-up sits for none of them, so label it unclassified even when you build to the same numbers — 20-30% gasket compression, soap-tested seams, individually sealed devices.
Which gasket cord suits a shop-built door?
Use a solid elastomer cord, not sponge weatherstrip. Neoprene runs −40 to 120 C and shrugs off oil mist; EPDM spans −50 to 150 C and takes water and sunlight; silicone covers −60 to 200 C beside heat-producing gear. Keep the squeeze at 20-30% of the cord section and bond the cord at the corners so it cannot walk out of its channel.
Does 14 ga sheet overbuild a small control box?
The steel was never the differentiator. 14 ga carbon-steel sheet is 0.0747 in [1.9 mm] — plenty for a 20 x 20 in door with no bracing — and it bends, welds and guards as well as a rated cabinet's walls. Spend the evenings on the gasket line, the drip detail and sealed cutouts; that is where shop builds lose a rating they never had.
When does salt air change the answer?
At about 60 C [140 F], chlorides start stress-corrosion cracking in 304 and 316L alike; below that line, 304 still pits under salt deposits and inside gasket crevices. Salt air, brine or sanitizer washdown puts you in 316L — its molybdenum buys the pitting resistance — and painted carbon steel starts rust at the first chip.





