Email us

Este artículo está en inglés. Ver el sitio en español

Cet article est en anglais. Voir le site en français

Dieser Artikel ist auf Englisch. Website auf Deutsch ansehen

Este artigo está em inglês. Ver o site em português

Waterproof Raspberry Pi camera enclosure: what to buy

Buy a stock 304 or 316L stainless wall-mount box rated NEMA 4X / IP66 by the manufacturer, about 8 x 6 x 4 in [200 x 150 x 100 mm] for a Raspberry Pi 4 and camera module, and have the camera window cut and gasket-sealed at the factory. One M16 gland on the bottom face carries the cable; a 6 W Pi adds about 12.5 °C inside.

NEMA4 Enclosure engineering team · Published November 9, 2026 · 9 min read

Short answer: buy a stock stainless wall-mount box of 8 x 6 x 4 in [200 x 150 x 100 mm], rated NEMA 4X / IP66 by the manufacturer, with the camera window cut and gasket-sealed at the factory, and one M16 gland on the bottom for the single cable. Mount the Camera Module inside, lens a few millimetres behind the window, and power the build over PoE. That combination stays dry for years; drainpipe-and-dome builds and glued acrylic windows are the ones that leak in their first driven-rain storm.

Which waterproof Raspberry Pi camera enclosure should you buy?

Buy a 304 stainless wall-mount box of 8 x 6 x 4 in [200 x 150 x 100 mm] outside, manufacturer-rated NEMA 4X / IP66, with the front window cut at the factory and a molded EPDM gasket behind it, plus one M16 gland on the bottom face.

A purpose-built wildlife or pipe-inspection case solves the mounting for you and prices accordingly. A gasketed stainless box solves the same problem with parts you specify: one size, one window, one gland, one drawing. The box outlives the project, and the next camera or sensor drops onto the same panel. Before you pick any low-cost hobby case, run the checks in the inexpensive weatherproof enclosure checklist: gasket compression, UV grade and where water pools decide the purchase.

The catalog wall-mount boxes are rated NEMA 4X / IP66 by the manufacturer; not UL listed. If the specification demands a UL mark, settle that with the inspector before you order. Most camera sites need exactly what this rating documents: dust-tight, jet-tested, corrosion-resistant, with the test methods named in the next section.

What does an outdoor camera box need to survive?

For a wall- or pole-mounted camera you want NEMA 4X / IP66: dust-tight on the first digit, and tested against 12.5 mm jets at 100 L/min [26 gpm] from about 3 m [10 ft] for at least 3 minutes under IEC 60529.

Read the code in two halves. The 6 in IP6X means dust-tight, with no talc ingress in the dust chamber, so a gravel road or a dusty barn will not fog the sensor. The 6 in IPX6 is the jet test, which is driven rain and a hose wash — the conditions a mounted camera actually meets. The IP65 vs IP66 jet test breakdown shows what one digit changes.

Type 4X adds corrosion resistance: NEMA 250's Table 5-1D asks Type 4X assemblies for another 200 h of salt spray beside an AISI 304 stainless specimen. That is why the stainless body earns its keep near roads and coasts. In US installations, NEC 110.28 states that an IP code alone cannot take the place of an enclosure Type rating, so write both marks on the drawing; the NEMA and IP rating guides map the pairs. If the site floods and the box will sit under water, stop and redesign: IP67 covers only 1 m for 30 min, and a submerged camera is a custom design where you name the depth, duration and fluid.

Stainless steel or plastic for an outdoor Pi camera box?

Take 304 stainless for most sites: it shrugs off rain, UV and dust for years, while plastics stay watertight too but chalk in the sun, and unstabilized grades turn brittle within a few outdoor seasons.

Plastic cases stay light and cheap, and a UV-stabilized polycarbonate shell holds water out for years. The hinge, latch or clear lid is usually the first part to go, and a cracked lid is an open window. Stainless does none of that, and it bonds cleanly for grounding hardware.

Pick the grade by the site:

Site Grade call What decides it
Inland wall: rain, dust, sun 304 no chlorides in play
Coast, road salt, chemical washdown 316L chlorides sit in crevices; molybdenum lifts pitting resistance
Wall in full sun, hot climate 304, shaded or light-coloured keep the shell below the ~60 °C [140 °F] chloride-cracking zone

Chlorides are the honest limit: salt sitting in a gasket crevice pits 304 even at room temperature, so coastal and road-salt sites take 316L. Both grades share the same sizes, windows and gland positions, so a grade swap needs no redraw. The stainless wall-mount and HMI lines carry both in the same format.

How big should the box be for a Pi 4 and camera module?

Size 8 x 6 x 4 in [200 x 150 x 100 mm] for a Pi 4 board (85 x 56 mm), the camera behind the window and one cable loop; that leaves room for standoffs and a quarter of the volume spare.

The wall-mount line runs from 6 x 4 x 4 in up to 60 x 36 x 16 in outside, and you quote any size between as a custom order, so this size sits inside the envelope with the hinged gasketed door, removable mounting panel and wall feet. Lay the panel out like a small control panel: Pi 4 on standoffs at the standard 58 x 49 mm HAT pattern, the 25 x 24 mm camera board behind the window with its lens on the centreline, and the cable loop below.

Three dimensions settle the rest. The v2 lens barrel is about 8 mm across, so a 12 mm [0.47 in] clear window opening keeps its 62.2° field unclipped. Keep the camera ribbon at 300 mm or less and the CSI link stays reliable. Leave about a quarter of the roughly 3 L interior spare for the next sensor or a heater; the backplate and DIN rail layout guide has the fill percentages when the build grows.

Will a Raspberry Pi 4 overheat in a sealed stainless box?

A Pi 4 drawing 6 W inside a 200 x 150 x 100 mm stainless box raises the air inside about 12.5 °C above ambient, so a 30 °C summer day means roughly 43 °C at the board — the heatsink on the SoC does the rest.

Worked example: the heat sum

Assumptions first, so you can swap in your own numbers: the Pi 4 plus camera draw a steady 6 W (boards idle near 3 W and peak under 8 W in normal service), the shell is the 200 x 150 x 100 mm stainless box, and the wall carries k = 3.7 W/m²K for stainless.

  • Surface area: A = 2(0.20 x 0.15) + 2(0.20 x 0.10) + 2(0.15 x 0.10) = 0.130 m²
  • Heat path: k x A = 3.7 x 0.130 = 0.481 W/K
  • Interior rise: ΔT = 6 W ÷ 0.481 W/K ≈ 12.5 °C

The box math sets the air; the SoC's own rise sits on top. With the small stick-on heatsink most Pi 4 builds use, expect the chip roughly 30 °C above the surrounding air at a 6 W board load. Shaded at 30 °C that lands near 73 °C, below the 80 °C throttle the Raspberry Pi firmware applies; the silicon itself is qualified to 85 °C. Past the high 30s ambient, or in afternoon sun, the chip crosses the throttle and clocks drop — the camera keeps streaming, and shade buys the margin back.

Sun changes the answer before a fan would. A dark box in full sun adds watts on top of ambient, and the solar heat-gain walkthrough shows how to estimate it. Mount the box shaded or light-coloured and leave the fan out: a sealed stainless wall carries 6 W without help, and the dedicated sealed-box cooling options only start to matter when the load is several times larger.

How should the camera window be sealed against rain?

Have the front opening cut and the window sealed at the factory: a machined hole with a molded EPDM gasket and clamp ring keeps IP66, while a field-cut hole closed with a silicone bead is the leak that shows in the first driven-rain storm.

The window is the weakest part, so it goes on the drawing like any other penetration: opening, gasket, clamp ring, fastener pattern, all called out to IP66. Anything rated lower drags the whole assembly down to its own number, and the post-cut rating walkthrough works through that rule. If a field cut is unavoidable, the stainless cutting how-to keeps the hole clean; the gasket land is what makes it hold.

Order the window as a gasketed assembly rather than a glued sheet. A molded EPDM gasket under a bolted clamp ring keeps constant compression, shrugs off UV, and comes off for lens service. Glued acrylic is dry on day one and becomes the crevice that wicks; the O-ring vs gasket comparison for acrylic water sealing lays out the joint choices.

Glass beats acrylic for scratch and UV life; acrylic weighs less and costs less, and both pass the 850 nm IR a NoIR night build needs. Keep the lens 5-10 mm off the glass to kill internal ghosting without clipping the 62.2° cone. For fog, seal the box well and drop in a 10 g silica gel sachet — about 3 L of air asks little more — and dry it at 120 °C for 2 h when the indicator turns pink. The display window leak checks cover the fastener and gasket inspection a camera window shares.

How does the cable get in without leaking?

Bring the single Cat 5 or USB cable through one M16 gland on the bottom face: M16 clamps 4-8 mm cable OD, and a drip loop below the entry keeps water from wicking along the sheath.

Match the gland to the rating, not just the hole size: an IP66-rated M16 gland holds the assembly at IP66, and a lesser gland sets the whole box to its own ceiling. Plug every unused knockout with an IP66-rated plug, because the weakest entry speaks for the lot. Power over Ethernet is the clean answer here: one Cat 5e carries data and power through that one gland, and IEEE 802.3af delivers up to 15.4 W from the switch and up to 12.95 W at the far end — enough for a Pi 4 drawing about 6 W steady with the splitter inside. Unplug the patch lead before you open the door: PoE sits near 48 V DC, and a dropped screwdriver across live pairs shorts the port.

If the box hangs on a mast, the gateway-in-an-outdoor-enclosure walkthrough covers the feed and entry plan, and the pole-camera power article works the same entry problem for camera hardware.

What do you put on the order?

Send one drawing with the order: an 8 x 6 x 4 in [200 x 150 x 100 mm] 304 (316L for coastal sites) wall-mount box, a 12 mm camera window on the front face, one M16 hole on the bottom, and the removable mounting panel.

Order line Spec Why it is there
Body 304 stainless wall-mount, 8 x 6 x 4 in [200 x 150 x 100 mm] outside rain, dust, UV; fits board, panel and loop
Grade 316L swap for coastal, road-salt or washdown sites chloride pitting resistance
Rating NEMA 4X / IP66, manufacturer-rated; not UL listed jet-tested and dust-tight, corrosion resistant
Window 12 mm [0.47 in] clear opening, front face, on the lens axis, EPDM-gasketed to IP66 the only optical penetration
Cable entry one M16 hole, bottom face 4-8 mm OD cable, drip loop below
Internals removable mounting panel standoffs on the 58 x 49 mm pattern
Spares 10 g silica gel sachet tied inside condensation control

Draw the window and the gland onto the approval drawing, because that drawing is where the IP66 items get locked in. Delivery runs 10 business days from your approval of the drawing, anywhere in the world, and checkout, build and support go through Industrial Monitor Direct. Still shortlisting? The enclosure selector filters by environment and inside size, and the custom stainless cutouts page takes the drawing with every opening marked.

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.

EnclosureMaterialOutside H x W x D / displayRating
8 × 6 × 4 in304 stainless8 x 6 x 4 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
10 × 8 × 6 in304 stainless10 x 8 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
12 × 10 × 6 in304 stainless12 x 10 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
16 × 12 × 8 in304 stainless16 x 12 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Is a NEMA 4X enclosure actually waterproof?

For rain, hose-down and washdown, yes: the IP66 half of the rating takes 12.5 mm jets at 100 L/min from about 3 m for at least 3 minutes without harmful ingress. It is not an immersion rating — IP67 covers only 1 m for 30 minutes — so a box that lives under water is a custom design where the depth, duration and fluid get named.

Can I seal my own camera window with clear silicone?

You can make it dry on day one; the failure comes later, when UV hardens the bead and the joint creeps open into a wicking crevice. Order the window as a molded-gasket assembly under a bolted clamp ring instead: constant compression, replaceable gasket, serviceable lens, and the assembly rating stated on the drawing rather than hoped for.

Do I need a fan or a vent to keep the Pi cool?

No. A 6 W Pi 4 raises the air in a 200 x 150 x 100 mm stainless box about 12.5 °C, so a 30 °C day lands near 43 °C inside. With the stick-on heatsink the chip stays under its 80 °C throttle, and any vent or fan opening rated below IP66 would set the assembly's rating anyway.

How much power does a Pi 4 need over PoE?

IEEE 802.3af delivers up to 15.4 W from the switch and up to 12.95 W at the far end. That covers a Pi 4 drawing about 6 W steady with camera and PoE splitter inside, with margin for spikes; step up to the 30 W 802.3at class only when you add lighting or a heater.

Will the box survive a freezing night?

The box does: stainless is indifferent to frost and an EPDM gasket stays flexible down to about -50 °C (O-ring handbook values). Below 0 °C the watch items are condensation on warm-up and the desiccant, so add a small thermostat heater when the site regularly sits under freezing and keep the sachet dry.

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 8 × 6 × 4 inRequest a custom quote

Outdoor enclosures: sizes for this job

Keep reading

More on layout and installation

All articles

Buying guides

The guides behind this answer

All guides