Email us

Outdoor solar battery enclosure: rating, heat and size

For an outdoor box with an LFP battery, charge controller and inverter, aim for a manufacturer-rated NEMA 4X / IP66 enclosure in 316L stainless, sized so the inverter's heat can escape. A fully sealed IP67 box is the wrong target: the inverter needs to shed heat, so sealing wins nothing and costs cooling.

NEMA4 Enclosure engineering team · Published October 29, 2026 · 6 min read

A battery, charge controller and inverter outdoors need a manufacturer-rated NEMA 4X / IP66 enclosure, sized for the equipment plus 25 to 30 percent spare air, with a planned path for the inverter's heat. A fully sealed IP67 box is the wrong target here: the inverter has to shed heat, and a box that cannot breathe will run hot and sweat condensation on the inside walls. This article walks through the environment, the rating, the material, the size and the heat strategy, and ends with what to put on the order.

The environment the box has to survive

An outdoor solar site throws four things at an enclosure, year after year:

  • Rain and hose-directed water: driving rain, melting snow and ice, and occasional washing.
  • Sun: UV attacks plastics and gaskets, and solar gain adds real heat on a dark box in the open. The solar heat load alone can push the internal temperature well above ambient; the solar heat load guide works through the numbers.
  • Corrosion: dew, salt air near the coast, fertilizer or road salt inland.
  • Bugs, leaves and woodlice: anything bigger than water wants to nest in a warm box with cable entries.

None of these are exotic. A rated outdoor enclosure with sound gaskets and correctly fitted glands handles all four. What kills boxes in the field is not the rating; it is a leaking gland, a pinched gasket, or heat that was never accounted for.

Which rating: why NEMA 4X and not IP67

The short answer is Type 4X. Type 4 covers rain, sleet, snow, windblown dust and hose-directed water from any direction. The X adds corrosion resistance, which is what sun, dew and salt demand over a 15-year life. In United States installations, NEC 110.28 states that IP ratings are not a substitute for enclosure type ratings, so if your project or inspector works in NEMA terms, the type is what appears in Table 110.28.

IP67 sounds tougher because it is tested by immersion, but immersion is not your hazard. Your hazards are a decade of UV on gaskets, thermal cycling that works every joint, and insects looking for a winter home. A gasketed 4X box with a drained, ventilated condensation path stays drier in practice than a sealed project box that breathes with every temperature swing and cannot drain. The differences between the ratings are laid out in the NEMA 4 vs 4X vs IP66 comparison.

One honest note: our enclosures are rated NEMA 4X / IP66 by the manufacturer; they are not UL listed. If your specification or the authority having jurisdiction requires a UL listing, say so before ordering, because a manufacturer rating and a listing are not the same thing.

The heat problem a sealed box cannot solve

An inverter is the reason this box cannot be hermetic. Even an efficient one turns a few percent of several kilowatts into heat, and a charge controller adds more in full sun. In a sealed box that heat has nowhere to go, so the internal temperature climbs until the electronics derate or shut down. A sealed small-project-box approach is covered in the article on removing heat from a small sealed IP66 enclosure; the conclusion there applies double when an inverter is inside.

Three things work together:

  • Size the box so the walls can carry heat out and air can move inside. A worked heat calculation shows how to go from load to the temperature rise you can accept.
  • Keep the inverter low on the backplate and the controller above it, so the hottest device is not pre-heating the rest. Layout matters as much as volume; see the guide to component layout inside a sealed enclosure.
  • Give condensation a way out. Day-night cycling pulls moist air in through any path; at night it condenses on the cool walls. A drained drip-proof interior and, in most climates, a small anti-condensation heater keep it off the terminals. The anti-condensation heater guide covers when the heater earns its place.

If the heat load is genuinely too large for a passive box, a filtered fan or an air-to-air exchanger is the honest fix, and that changes the enclosure conversation before you order, not after.

Size: battery, controller, inverter and spare air

Lay out the four things that actually take space: the LFP battery, the charge controller on DIN rail or bracketed, the inverter with its own clearances, and the DC breaker or fuse gear. Then add:

  • Wire bending space at the high-current terminals. Large battery cables need real room to land without sharp bends; the rules for cabinets are set by NEC 312.6 and are a good design floor even off-panel.
  • Airflow clearance around the inverter, per its manual, typically several inches on its heat-shedding faces.
  • 25 to 30 percent free volume as buffer and future space.

A typical 3 kW-class stack with a 100 Ah LFP battery lands around a 24 x 20 x 10 in (600 x 500 x 250 mm) box once clearances are honest. Heavy batteries belong on a shelf or bracket fixed to the backplate, not the door; the article on battery shelf support without door distortion explains why the door is the wrong structure to hang weight on.

If you would rather check a size against your device list than work from scratch, the enclosure selector filters by inside height and width, mounting-panel clearance and DIN module count. Remember its own warning: a dimensional match is not a thermal match, so verify the heat separately.

Material: 304, 316L, or something else

Stainless is the default here because the box sits in sun and weather with nobody watching it.

  • 304 stainless, #4 brushed: fine for most outdoor sites. Rain, sun, dust and freezing cycles are what it is for. Indoor washdown and food areas too.
  • 316L stainless: choose it within reach of salt air, at brine or wastewater sites, or where chlorides and sanitizers are present. The added molybdenum is what resists pitting.

Non-metallic boxes are lighter and cheaper, but UV ages many plastics and the box gains less from good wall conduction. A comparison of the trade-offs is in aluminum vs stainless steel enclosure selection; the same logic applies to fiberglass. For solar gain specifically, a light-colored or shaded box wins; the article on how a sun shield cuts solar heat load quantifies it if the site has no natural shade.

Mounting and cable entry that keep the rating

The rating survives in the field only if the details do:

  • Mount through the back wall or dedicated feet, with the gland plate or entries below and drip loops outside. Screws through the roof of an outdoor box are a leak; the article on mounting screws through an outdoor enclosure without leaks shows the compliant ways.
  • Size the glands to the actual cable, one cable per gland, and torque them. A 3 kW inverter's battery cables are typically 2 to 4 AWG, which needs roughly M25 to M32 or 3/4 in NPT glands; check against your cable's real outside diameter.
  • Keep every penetration low and off the top surface. The mounting guide covers orientation, drains and hinge side for weather-exposed boxes: see the enclosure mounting guide.
  • Remember that cutting holes later is your responsibility to keep sealed; what happens to the rating when you cut and mount devices is covered in what NEMA rating a panel keeps after you cut it.

What to put on the order

Item Spec to send
Rating Manufacturer-rated NEMA 4X / IP66; not UL listed
Material 316L stainless if salt or chlorides; otherwise 304, #4 brushed
Size Sized for equipment + 25-30% spare air; inverter clearances per its manual
Backplate Removable mounting panel, battery shelf bracketed to backplate, not door
Cutouts One per cable, sized to the cable OD, on the bottom or gland plate
Thermal Condensation drain, space reserved for anti-condensation heater
Quantity From one piece; drawing approval starts the build
Delivery Delivered in 10 business days, from drawing approval for custom work

We build these to your drawing: you set the material, width, height, depth and every cutout, from one piece. Send the device list with dimensions and heat loads through the custom enclosure builder and we return a drawing to approve. If you are comparing a ready-made size against a custom one, the stainless enclosure size finder filters the catalog by grade and outside size first.

Enclosures for this job

Catalog sizes that suit the job this article answers, picked from its subject; open one for its full specifications.

EnclosureMaterialOutside H x W x D / displayRating
24 × 20 × 10 in304 stainless24 x 20 x 10 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
24 × 20 × 8 in304 stainless24 x 20 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
30 × 24 × 10 in304 stainless30 x 24 x 10 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Is a NEMA 4X enclosure waterproof enough for permanent outdoor use?

A manufacturer-rated NEMA 4X / IP66 enclosure keeps out hose-directed water, rain, sleet and windblown dust for the life of the gasket. That covers pouring rain, ice and snow outdoors. It is not rated for submersion; if the box can sit in floodwater you need a Type 6P design. Ratings are manufacturer ratings, not UL listings, and the gasket and glands must stay intact for the rating to hold.

Why not just seal everything to IP67?

IP67 is tested by immersion, not by 15 years of sun, ice and bugs. A charge controller and inverter produce real heat, and a fully sealed box cannot shed it, so the electronics cook. A NEMA 4X box that vents heat through a controlled path and drains condensation stays drier and cooler in practice than a hermetically sealed project box.

How much spare space should I leave inside?

Plan on roughly 25 to 30 percent free volume after the battery, controller, inverter, breakers and DIN rail are laid out. The air gap is your thermal buffer, and it leaves room for a heater, future circuits and safe cable bending at the terminals. A box that is packed solid runs hotter and is harder to service.

304 or 316L stainless for an outdoor solar battery enclosure?

304 handles most outdoor sites, rain and sun for years. Choose 316L within a few miles of salt water, near roads that are salted, or anywhere chlorides and cleaning chemicals are present. Both are manufacturer-rated NEMA 4X / IP66; the grade is about corrosion, not water ingress.

Do I need an anti-condensation heater in the box?

If the enclosure is outdoors and sees day-night temperature swings, likely yes. Sealed boxes breathe slightly with temperature changes, moisture enters with the air, and it condenses on the cool inner walls at night. A small anti-condensation heater with a hygrostat keeps the internal air above the dew point and protects the battery terminals and electronics.

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 24 × 20 × 10 inRequest a custom quote

Check the heat load in the calculator · Outdoor enclosures: sizes for this job

Keep reading

Related engineering answers

All articles

Buying guides

The guides behind this answer

All guides