

An off-the-shelf enclosure is often the quickest way to turn a working board into a prototype or box build, as long as you choose it while the board outline can still change. For example, say you have a 175 mm square board with its outline frozen and its layout done, plus a 180 mm square sealed enclosure selected to hold it: the drawing gives a maximum PCB of about 167 mm, so either the board or the box has to change. Before freezing your outline, check the enclosure’s drawing for the mounting features, the tallest component, and the space each connector needs to mate.
Not every prototype needs that much planning. A board that stays on a dry bench can often go into a plain plastic project box, where you only need to check board fit, connector access, and lid clearance. The choice gets harder when the board has to go outdoors, needs shielding, mounts in a control cabinet, or ends up in a handheld device or bench instrument, because each case changes which enclosure type and accessories you need. Below, we’ll review six enclosure types that cover these situations, with featured products along the way.
Table 1 compares six common enclosure types for PCB prototypes, listing each rating as its manufacturer states it.
Type | Protection (Example) | Best For | Main Limitation | Featured Parts |
Die-cast aluminum enclosures | IP54 (1590B); IP65 (watertight 1590WB) | Rugged boxes that need shielding or a path for heat | A closed metal box attenuates radio signals, so plan the antenna location early; machine the watertight version before fitting its gasket | |
Extruded aluminum enclosures | IP65 (1457T2201BK); IP54 (EMI version 1457T2201EBK) | Longer boards in card slots; connectors on the end panels | Sealed and EMI-shielded versions are separate part numbers in the same body size | Hammond 1457T2201BK; EMI 1457T2201EBK |
Sealed plastic enclosures | IP68; NEMA 4X and 6P (Hammond); IP66/IP67, IK08 (Fibox) | Outdoor and wireless devices | Every cutout and fitting has to keep the seal; verify antenna performance in the box | Hammond 1554W2GYCL; Fibox PC 95/75 HG |
Handheld and portable enclosures | IP67 | Portable devices with keypads | The case loses its waterproofing if a button or switch hole isn’t sealed (Takachi) | Takachi WH145-33-N-BY |
DIN-rail enclosures | IP20 finger protection with snap-fit terminal guards | Control cabinets and building automation | Not sealed; for panel interiors | CamdenBoss CNMB/4/KIT |
Desktop and instrument enclosures | IP40 | Bench instruments and test fixtures | UL 94 HB; front and rear panels ordered separately | OKW MOTEC B3020127 |

Die-cast aluminum enclosures pair a cast base with a screw-down lid, and the metal body helps with shielding and spreads heat away from the board. Hammond describes its 1590 alloy as tough yet easy to machine, and sells painted versions of the series for guitar pedals. Most of these enclosures need holes for connectors and cables, and you should machine those openings before the gasket goes in.
Hammond’s 1590B and watertight 1590WB are designed to meet IP54 and IP65, respectively. Hammond supplies the 1590WB gasket loose in the box. It also sells the gasket as a kit for converting a standard box to IP65 and recommends ordering its watertight screws with the kit.
Extruded aluminum enclosures are cut from a continuous profile, so one cross-section comes in several lengths, with end panels closing the two open ends. The board slides into slots in the body, and the connectors exit through the end panels, which suits longer boards with their I/O at the ends. Hammond sells its 1457 extrusion under different part numbers for a sealed version and a version shielded against electromagnetic and radio-frequency interference (EMI/RFI).
Hammond’s 1457T2201BK and 1457T2201EBK are both listed at 220 × 165 × 55 mm. The sealed version uses closed-cell foam end-panel gaskets and is designed to meet IP65, while the shielded version uses conductive nickel/copper gaskets and is designed to meet IP54.
Sealed plastic enclosures, usually polycarbonate or ABS with a gasketed lid, are the common choice for outdoor and wireless devices because plastic doesn’t corrode and can house an internal antenna. The plastic around an antenna can detune it, though, so verify antenna performance with the board in the box. Every added cutout and fitting must maintain the seal.
Hammond’s 1554W2GYCL is listed at IP68 and NEMA 4X and 6P, in UV-stabilized polycarbonate with a UL 94 5VA gray body and a V-0 clear lid.
Another sealed-plastic example is the Fibox PC 95/75 HG, rated IP66/IP67, with an IK08 impact rating. Fibox sells a UL version under its own part number (6411332) and lists it as UL Type 1, 4, 4X, and 6; order by that number when you need the UL listing.
Handheld enclosures are molded to fit in the hand, usually in ABS or polycarbonate, and many include a battery compartment or a recessed area for a keypad or display. They suit meters, remotes, and other devices used away from the bench.
Takachi’s WH145-33-N-BY is rated IP67 and molded in UL 94 V-0 ABS. It has no battery compartment; the WH145-33-M3-BY version holds three AA cells.
Buttons and switches can compromise a sealed handheld enclosure’s rating, and Takachi warns that waterproofing is lost if you make a hole for either. To maintain IP67, Takachi recommends a waterproof (IP67-rated equivalent) membrane keypad or switch, or an overlay sheet. Choose one before you cut the case.
DIN-rail enclosures clip onto the same rail as the breakers and terminal blocks in a control cabinet or building-automation panel, and the cabinet provides the environmental protection. The enclosure’s finger protection depends on fitted terminal guards.
CamdenBoss’s CNMB/4/KIT is a Size 4 module box in UL 94 V-0 polycarbonate that mounts on a 35 mm rail or a flat surface. CamdenBoss describes its snap-fit terminal guards as providing IP20 finger protection, but they don’t offer water protection. Clear, smoked, and red covers are separate parts molded in UL 94 V-2 polycarbonate, so check your flammability requirement before swapping one in.
Desktop and instrument enclosures are bench cases for test fixtures and small instruments, with front and rear panels that carry the displays, controls, and connectors. Some product lines add a sloping control panel or a carrying handle, as OKW does with MOTEC.
OKW MOTEC B3020127 is an ABS case that OKW rates UL 94 HB and IP40. Front and rear aluminum panels, such as the B3120110, are ordered separately, so budget for them in addition to the case.
Once you’ve picked an enclosure type, confirm these specs for the exact part before you commit.
Engineering verifies:
Procurement owns:
The best time to choose an enclosure is after the schematic settles and before anyone draws the board outline, when you know the connectors, the tallest components, and whether the design needs an antenna. At that point, the outline can follow the enclosure’s drawing, so a board like the one in our opening scenario gets drawn to fit its box the first time.
Shortlist two or three candidates of the enclosure type that fits your project, and compare their stock, accessories, and first-pass specs side by side on Octopart. Then confirm dimensions and ratings on each manufacturer’s drawing and datasheet. Once you’ve made your choices, load the enclosure and every accessory it needs into the BOM Tool as one list, so the glands and panels that are easy to forget get ordered with the box.
For the connectors that pass through the enclosure wall, see What Makes a Rugged PCB Connector?