Email us

PCB enclosure selection for permanently mounted electronics

Choose a PCB case or project box for compact electronics, and a wall-mount electrical enclosure when permanent wiring and service access need more space. Select by exposure, required protection, usable dimensions, connector clearance and board mounting pattern—not the PCB outline alone.

NEMA4 Enclosure engineering team · Published October 30, 2026 · 7 min read

Start PCB enclosure selection with the mounting location and exposure, then check the complete assembly against usable internal dimensions. Search for a “PCB case” or “project box” for compact electronics, and a “wall-mount electrical enclosure” for permanently installed equipment. Those terms describe different construction styles, not guaranteed protection levels.

Choose the enclosure before finalizing the board layout whenever possible. Factory bosses, card guides, mounting panels and connector positions can determine whether a prefabricated box actually saves work. A board that fits inside the shell may still leave no room for plugs, mounting hardware or service access.

Use the enclosure category to find the right construction, then filter by dimensions, material and environmental rating. Search terminology varies, so confirm the drawing rather than relying on the category name.

Search term What it usually describes What to verify before choosing
PCB case or electronics case A compact housing intended around electronic boards Board supports, connector access and installation method
Project box A general-purpose housing for a small electronics assembly Environmental rating, mounting provisions and available drawings
Extruded electronics enclosure A housing that may support boards in internal slots Board thickness, slot spacing and end-panel connector positions
Flanged electronics enclosure A compact housing with external mounting features Fastener access and whether mounting distorts the housing
Wall-mount electrical enclosure A permanently mounted box, often with a hinged door and internal mounting panel Usable panel area, depth, cable entries and bonding provisions
Junction box A box primarily intended for wiring connections Suitability for electronics, mounting space and applicable installation requirements

A compact PCB case can be the best fit for a single low-power board with a few connections. A wall-mount enclosure becomes more useful when you need terminal blocks, power supplies, cable management or regular access.

Prefabricated does not necessarily mean ready for your particular board. You may still need an adapter plate or specified connector cutouts. Solve the mounting category first; the detailed PCB mounting methods for outdoor enclosures address the next design decision.

Define the mounting environment first

Write down where the enclosure will operate and how it will be cleaned. “Permanently mounted” does not establish whether the location is dry, dusty, exposed to rain or subject to washdown.

Record these conditions before filtering a catalog:

  • Indoor or outdoor installation, including direct sunlight and shelter.
  • Airborne dust, metal chips, fibers or other contamination.
  • Rain, splashing, hose-directed water or possible immersion.
  • Cleaning chemicals, salt exposure and operating temperature limits.
  • Wall construction, vibration, cable approach and available door-opening space.

Outdoor electronics also face temperature cycling and moisture carried through cable routes. A roof over the box reduces direct rain but does not eliminate humidity or condensation. Use the outdoor enclosure guide for the broader exposure assessment.

Separate normal operation from maintenance conditions. A location may remain dry during production but receive hose-directed water during cleaning. Select for that cleaning exposure, not just the conditions observed while equipment runs.

Choose protection separately from the case style

A gasket, metal shell or product photograph cannot establish an enclosure rating. Specify the protection required by the environment and check the manufacturer's documentation for the exact configuration.

NEMA 250 enclosure types and IEC 60529 IP codes describe different protection frameworks. Do not treat one as a universal substitute for the other. In US installations, NEC 110.28 states that IP ratings are not a substitute for enclosure type ratings.

The wall-mount enclosures discussed here are rated NEMA 4X / IP66 by the manufacturer; not UL listed. Confirm any listing requirement before selecting them for a project.

These ratings do not establish suitability for immersion, every cleaning chemical or high-pressure hot washdown. Unusual exposure needs application review rather than an assumption based on the enclosure's name.

Your completed assembly also depends on its openings. A connector, cable gland, display or vent must suit the required protection and its installation conditions. The enclosure's original rating does not automatically establish the protection of a modified assembly.

Select material for exposure and connections

For dry indoor electronics, a suitable plastic case can reduce weight and avoid a conductive outer shell. Plastic does not provide metal shielding, and any required bonding of metal fittings remains a separate design task.

Aluminum electronics cases can provide a conductive housing and useful board-slot arrangements. Verify corrosion suitability, electrical bonding and the thermal path instead of assuming that a metal case solves those requirements.

Stainless steel is a practical choice where durable permanent mounting and corrosion resistance matter. We build stainless wall-mount enclosures in 304 and 316L, with hinged gasketed doors, removable mounting panels and wall-mount feet.

304 suits many general industrial environments. Consider 316L where chloride exposure makes additional pitting resistance valuable, but check the actual chemical, concentration and temperature. Neither grade is immune to corrosion.

Material also affects communications. A stainless shell can substantially attenuate radio signals. If the PCB uses wireless communication, plan an appropriate antenna arrangement before fixing the enclosure size and cutouts. The article on SMA antenna connectors through enclosure walls covers that interface.

Check usable space and heat before choosing a size

Start with the complete installed assembly, not only the bare board outline. Include standoffs, underside solder joints, terminals, plug bodies, cable bends and tool access.

For example, a board measuring 4 x 3 in [102 x 76 mm] may appear suitable for a small box. Its installed envelope changes when a connector projects beyond the board or its cable must turn inside the enclosure.

The 6 x 4 x 4 in 304 wall-mount enclosure has a nominal CAD inside height of 5.91 in, width of 3.91 in and depth of 3.91 in. Those dimensions describe the internal shell, not a guaranteed clear mounting rectangle or mounting-panel-to-door clearance.

The 8 x 6 x 4 in 304 wall-mount enclosure has a nominal CAD inside height of 7.91 in, width of 5.91 in and depth of 3.91 in. It offers more height and width, but the same nominal depth. A deeper connector stack may therefore require a different enclosure rather than simply a larger face.

Check the assembly in three views:

  • Front view: PCB outline, mounting pattern, terminals and cable-routing lanes.
  • Side view: Mounting panel, standoffs, board components, plugs and door hardware.
  • Service view: Space to unplug connectors, release terminals and remove the board without damaging wiring.

Measure depth from the actual mounting surface. For an illustrative stack, 0.5 in standoffs plus a 0.75 in board-and-component envelope occupy 1.25 in before connector and service clearances. Use component drawings for the final dimensions.

The electrical enclosure sizing guide covers the wider layout requirements. For a small PCB assembly, the decisive constraint is often a plug or cable bend rather than board area.

Check heat independently of fit. Add the heat dissipated by the PCB, regulators, power supply and other internal devices. Use dissipated watts, not power delivered onward to external loads.

A sealed enclosure rejects heat through its surfaces. Internal circulation can reduce hot spots, but it does not provide an independent route for heat to escape. See where heat goes with internal fans in a sealed enclosure before adding a fan to solve an unverified thermal problem.

Match board retention, wall mounting and sealing

Obtain the enclosure drawing and compare its mounting features with the PCB hole pattern. Check hole coordinates, fastener access and clearance beneath exposed conductors. Keep mounting loads away from components and unsupported board edges.

A removable mounting panel can carry an adapter plate when the board pattern does not match existing supports. Do not assume that an enclosure includes PCB posts merely because it includes a mounting panel. For boxes without suitable supports, review mounting a PCB in a watertight enclosure with no posts.

Use the enclosure's intended wall-mounting provisions. Select anchors for the wall substrate and the fully populated weight, including cable loads. Keep the enclosure square so mounting does not interfere with door alignment or gasket compression.

Plan cable entries before ordering. Confirm each cable's outside diameter, connector body size, entry thread, sealing arrangement and installation-tool access. Prefer protected entry locations where practical, without assuming that a downward-facing opening is inherently sealed.

Maintain the required protective bonding for conductive parts. Low-voltage electronics do not remove bonding obligations associated with other installed circuits or metal raceways. Use the enclosure grounding and bonding guide for those fundamentals.

What to put on the enclosure order

Turn the layout and exposure assessment into an explicit specification. Send the PCB drawing and connector information with the enclosure requirements; a board photograph cannot establish mounting coordinates or usable clearance.

Order item What to specify
Enclosure category Compact PCB case, flanged electronics housing or hinged wall-mount enclosure
Installation Indoor or outdoor, mounting orientation, wall substrate and available access
Exposure Dust, water, cleaning method, chemicals, sunlight and ambient temperature range
Protection and approval Required enclosure type, IP code and any separate listing requirement
Material Selected material and grade, supported by the exposure assessment
Dimensions Outside H x W x D and the required usable internal envelope
Mounting surface Required clear panel area and mounting-panel-to-door clearance
PCB retention Board outline, mounting-hole coordinates, standoff height and adapter-plate requirements
Connections Connector drawings, plug projections, cable diameters and minimum bend radii
Cutouts Opening dimensions, locations, tolerances and sealing requirements
Thermal conditions Internal heat dissipation, ambient limits, solar exposure and permitted device temperatures
Wall attachment Loaded weight, mounting-foot access, anchor arrangement and external cable support
Service access Door swing, unplugging clearance and board-removal path

If a catalog enclosure satisfies the mounting, exposure, clearance and thermal requirements, there is no reason to change categories merely for appearance. If it fails one requirement, identify that constraint before requesting a different size or custom arrangement.

Use the enclosure selector when your next step is choosing a wall-mount enclosure by environment, listing requirement and usable dimensions. A dimensional match still needs its own thermal check.

Enclosures in this article

EnclosureMaterialOutside H x W x D / displayRating
6 × 4 × 4 in304 stainless6 x 4 x 4 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
8 × 6 × 4 in304 stainless8 x 6 x 4 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

What search terms should I use for a permanently mounted PCB enclosure?

Search for PCB case, electronics case or project box for a compact board assembly. Add flanged when you need external mounting features. Search for wall-mount electrical enclosure when you need a hinged door, internal mounting panel, wiring space or regular service access. Verify construction and ratings from drawings and documentation.

Should I choose the enclosure before designing the PCB?

Choose the enclosure first whenever the design allows it. Existing bosses, board slots, mounting panels and connector locations can constrain the PCB outline and hole pattern. For an existing board, compare its complete installed envelope with the enclosure drawing before committing to a size.

How much extra room should I leave around the PCB?

There is no universal clearance allowance. Include mounting hardware, underside solder joints, component height, mating plugs, cable bends and access for installation tools. Measure from the actual board mounting surface and check the path needed to disconnect wiring and remove the board.

Does a wall-mount enclosure automatically include PCB mounting posts?

No. A mounting panel provides a surface for installing equipment, but it does not establish a matching PCB support pattern. Confirm the supplied hardware and drawing. The board may need standoffs and an adapter plate designed around its mounting holes and electrical clearances.

Will an enclosure keep its protection rating after connector cutouts are added?

No. Check the completed assembly after adding cable glands, connectors, displays and other openings. Each penetration needs suitable components, geometry, seals and installation. The original enclosure rating does not automatically establish the protection provided by the modified assembly.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Build it from 6 × 4 × 4 inRequest a custom quote

NEMA 4X enclosures: sizes for this job

Keep reading

More on layout and installation

All articles

Buying guides

The guides behind this answer

All guides