A dark-painted outdoor enclosure in direct sun can easily sit 20 F (11 C) above the air around it, and no fan fixes that on its own. The fan can only deliver outside air, so the floor of your inside temperature is ambient, minus a little. To reach a target below ambient you either cut the solar gain, find colder air to pull in, or refrigerate. This page gives the rough math you can redo for your own box and ranks the fixes by cost and effect.
The numbers here assume a sealed or ventilated box of roughly 1 to 3 cubic feet (28 to 85 L) holding network and battery gear, in full sun with an ambient of about 85 F (29 C) at 50% relative humidity. The same method scales to larger panels. If your question is the rating rather than the temperature, start with the outdoor enclosure guide for sun, rain and ice.
Why a dark finish is the problem
Sunlight delivers roughly 1,000 W per square meter at the ground on a clear day. How much of that a surface absorbs depends on its finish: a light or bare-metal surface reflects most of it, a dark painted surface absorbs most of it. A dark green box that is too hot to touch at midday is telling you the finish is the dominant heat source, not the electronics inside.
That is the key diagnostic. Put a hand or a thermometer on the box in the morning before the sun hits it. If it is close to ambient at 9 am and too hot to touch by 11 am with the same electronics running, the sun is adding far more heat than your devices are. Insulation does not help here: R-15 walls slow the heat getting in, but over a four-hour sun window the surface temperature still climbs, and once the sun stops the stored heat keeps flowing inward.
The same solar physics sits behind the NEMA enclosure types, where outdoor rating and thermal behavior are separate questions; the short version follows.
The rough heat math
Two heat streams set your inside temperature: the watts your electronics dissipate, and the solar watts the skin absorbs and passes in.
Solar gain: take the sunlit area of the box in square meters, multiply by about 1,000 W per square meter for a dark finish (about 700 W for a light one), then by the fraction that gets through the wall. A bare steel or thin insulated wall might pass 10 to 20 percent over a few hours; well-insulated walls pass less but store heat longer. For a box with, say, 1 square meter of effective sunlit area at 1,000 W per square meter and 15 percent transmission, the sun is pumping about 150 W in. That is 500 BTU per hour, which is a lot for a small box.
Internal dissipation: add the nameplate watts of everything inside. A cable modem, router, MCU and a battery charger on float often total 20 to 60 W. If the maker only prints amps, multiply volts by amps to get watts; a power supply at 80 percent efficiency dumps its losses inside too.
Ventilation limit: a blower moving air through the box can remove heat only down to ambient. The air you exhaust at 105 F with 85 F intake means the airflow is removing your heat load, but it cannot remove the solar gain fast enough to reach 80 F. Cooler intake air, not more airflow, is what moves the floor.
A dark box can also keep gaining after the sun leaves, because the walls store heat. If your temperature peaks at 2 pm to 4 pm, hours after solar noon, stored wall heat is part of the load.
Cut the solar gain first
Shading is almost always the highest-value fix, because it attacks the largest heat stream directly. It also preserves a dark or aesthetic finish on the enclosure itself, since the shade takes the sun, not the paint.
A rigid shade board or panel mounted a short distance from the box, sized to block the sun path from mid-morning to mid-afternoon across the hottest months, removes most of the direct load. Leave a gap of at least a few inches so air moves between shade and box instead of trapping a hot layer. Wind-load matters: cut slits or use a perforated panel so a gust does not turn it into a sail, and angle it so it sheds rain away from the enclosure and its vents, not onto them.
Mounting the shade to the same structure follows the same rules as mounting the enclosure itself: solid fixing, no water traps. A shade can also match the enclosure color where looks matter. One catalog option that combines the two ideas is an outdoor display enclosure with a sun shade cover, rated NEMA 4X / IP66 by the manufacturer; not UL listed.
If a shade is not allowed, a lighter finish is the next lever. Painting the sun-facing surfaces only, or the top and one side, keeps most of the aesthetic while cutting absorption on the worst faces. Even a light-colored top panel alone makes a measurable difference, since the top usually takes the most constant sun.
Pull colder air from ground level
Your intake position sets the temperature floor. Air near sunlit ground or an asphalt path can run well above the ambient you measure in the shade; air at shaded ground level, or from a crawl space, runs several degrees below it. Extend the intake with pipe so it draws from the coolest source available near the site, keep the entry screened against insects and rodents, and form a drip loop so rain cannot run along the pipe into the box.
Every degree the intake drops is a degree off your inside temperature, essentially for free. Combined with shading, this often closes the gap without any refrigeration. For sealing the pipe entries themselves, the outdoor enclosures guide covers drains and wet-location details.
Two cautions. First, a fan-through design means the box is no longer sealed: dust, humidity and insects now have a path, so use filtered vents and plan for condensation when the box cools at night. Second, if the equipment must stay in a truly sealed enclosure, skip to the closed-loop options below.
Move air inside the box the right way
Once the intake is as cold as you can make it, airflow matters for a different reason: hot spots, not average temperature, kill electronics. A blower at the top exhausting with a low intake on the far side gives crossflow, which is a sound layout. Check that components are not sitting in each other's exhaust streams; the backplate and DIN rail layout guide applies to ventilated boxes too.
Aim a small internal fan at the parts that matter most, such as the battery and the modem's power supply. Batteries age fastest with heat, and a fan that keeps a battery near box temperature instead of 15 F above it buys real life. Component-level airflow is cheap and effective even when it does not lower the average reading on a thermometer.
An external fan blowing ambient air across the enclosure body also helps a dark box: it strips the hot boundary layer off the skin and raises the effective heat loss to air. It is a modest gain, but it is cheap and it works on the same surface the sun is heating.
When you need refrigeration
Active cooling is the only way below ambient. You need it when your target is under the outside air temperature even after shading and a cold intake, or when the total heat load exceeds what the box can shed.
To size a unit, add your internal watts to the solar watts still getting through after shading, convert to BTU per hour (watts times 3.41), and add 20 to 25 percent margin. For a small box with 40 W internal and 50 W residual solar gain, that is about 310 BTU per hour before margin. Buy the next size up; an undersized cooler running flat out is worse than a right-sized one cycling.
Note the trade: a refrigeration unit cuts the inside temperature below the outside dew point, so condensation management becomes mandatory. Watch the drainage details too, including the drain-opening rules covered in the Type 3R comparison. And if the air around the site carries fumes or salt, a closed-loop cooler keeps that air out entirely.
What to specify when the box is ours
If the enclosure itself is up for re-specifying, a stainless box changes the math: bare 304 or 316L stainless reflects far more sun than any dark paint, cutting the solar penalty before any cooling is bought. Our wall-mount enclosures run from small stainless junction box sizes up to 60 x 36 x 16 in, in 304 or 316L, rated NEMA 4X / IP66 by the manufacturer; not UL listed. The size finder filters them by grade and size, and the enclosure selector helps you match the environment to the configuration. Custom work is delivered in 10 business days from your approval of the drawing.
If you keep the box you have, the ranked order stands: shade it, cool the intake, fan the components, refrigerate last. Most dark enclosures that peak 20 F over ambient reach single-digit rise with the first two alone.
Enclosures in this article
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 14 × 36 × 12 in | 304 stainless | 14 x 36 x 12 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
How much hotter does a dark enclosure get in the sun?
Rule-of-thumb solar heat loads run about 700 W per square meter of sunlit surface for a light finish and roughly 1,000 W per square meter for a dark one. For a box a few feet on a side, that difference alone can add 15 to 25 F (8 to 14 C) of temperature rise over ambient. The outer skin being too hot to touch while ambient is 85 F is a classic sign of exactly this penalty.
Can a fan bring an enclosure below outside air temperature?
No. A fan or blower can only approach ambient, never go below it, because it moves the same outside air through the box. If your target is 80 F at 85 F ambient, ventilation alone cannot reach it. You need either a colder air source, such as a ground-level or shaded intake, or active refrigeration.
How far away should a sun shade be mounted?
Far enough that it blocks the sun for the hottest hours without trapping a hot air gap against the enclosure. A stand-off of several inches to a few feet works; the shade must cover the sun path from mid-morning to mid-afternoon for the hottest months. Add wind slits so it does not act as a sail, and make sure it does not dump rainwater onto the enclosure or its vents.
When does a sealed enclosure need an air conditioner?
When the target inside temperature is below the outside air temperature, or when the heat load is too high for the box surface to shed. Size the unit for the total of internal dissipation plus the solar gain that gets through, plus a margin. For more on the choice, see the comparison of enclosure cooling: fan versus air conditioner versus heat exchanger.
Does burying an enclosure underground work?
Soil a meter or more down stays near 50 to 60 F in most climates, which is a real cooling advantage. The cost is waterproofing and access: you need a genuinely watertight enclosure, a dry way to bring in power and cable, and a serviceable lid. For most sites a shaded, ventilated above-ground box is simpler and easier to maintain.





