Short answer: black ABS beats gray in the sun. Carbon black sits at the surface and absorbs UV before it reaches the polymer. That stretches outdoor life several-fold, from about 1-3 years for a gray shell to roughly 3-9 years in a temperate climate. If your housing lives outside year after year, order neither color: UV-stabilized polycarbonate or 316L stainless is the right call. Gray ABS stays the pick indoors, in deep shade and for deployments measured in months. The sections below give the sun-hour arithmetic, the heat black pays for it, and the decision for each environment.
What the sun does to ABS
ABS blends three building blocks, and the butadiene rubber phase is the one sunlight destroys. Ground-level sunlight carries UVB in the 290-315 nm band, that band breaks chemical bonds in the butadiene at the surface, and oxygen finishes the job. The visible result is yellowing and chalking; the structural result is a brittle wall. A latch tab that survived installation on day one snaps off on day 500.
The damage starts at the surface and works inward, so wall thickness buys time but never a cure. You can spot it in seconds: scratch a hidden spot and look for a white, powdery line, then press a corner. A crack under light thumb pressure means the shell has oxidized past safe service. Power the box down before you flex a panel that is wired and live.
Gray vs black side by side
Both shells start as the same resin; the pigment package makes the difference. Carbon black absorbs and scatters UV at the surface, so little radiation reaches the butadiene phase. It is the same trick the plastics-pipe industry relies on: ABS and polyethylene pipe carry enough carbon black to serve in direct sunlight. Gray pigment tints the resin and blocks almost none of the UVB.
| Property | Gray ABS | Black ABS (carbon black) | UV-stabilized polycarbonate | 316L stainless |
|---|---|---|---|---|
| Life in unshaded temperate sun | about 1-3 years | roughly 3-9 years | yellows slowly, keeps impact | no UV limit |
| Surface damage | chalks, yellows, cracks at corners | chalking delayed | slow yellowing | none; corrosion is the enemy |
| Solar absorptance | about 0.65 | about 0.95 | follows the color | spreads heat through the shell |
| Typical service temperature | about -20 to 80 °C | about -20 to 80 °C | about -40 to 115 °C | set by the gasket, not the metal |
| Best job | indoor, shade, short deployments | multi-season duty | permanent plastic outdoors | permanent duty and salt air |
The service-temperature row carries typical datasheet ranges. In a sealed box, the gasket and the electronics set the real limits before the resin does.
Where gray ABS wins
Indoors, gray wins outright. Behind window glass or inside a plant, the UVB band never arrives, and the resin ages at a small fraction of the outdoor rate. Under a canopy, an eave or a north wall, shade cuts the UV dose roughly in half. That doubles the gray shell's life window to about 2-6 years at the site worked below.
Gray also runs cooler. Standard solar-absorptance values put mid-gray near 0.65 and black near 0.95, so the gray shell turns away roughly a third more of the sun's load. For a season of field trials, a demo rig or an event install, service runs 6-12 months and gray ABS meets the brief. What a light-duty plastic shell can handle outdoors has its own article.
Where black ABS wins, and what the heat costs
Black wins wherever the box lives outside longer than a season but not forever. Pump houses, irrigation controllers, gate boxes under an eave, a camera post on a two-year construction job: a carbon-black shell at about the 2% loading the pipe standards settle on gives roughly 3× the gray box's life. Black is also the color the weathering compounds come in, so replacement stock matches.
The penalty is heat. Take a 200 × 200 × 100 mm box in midday sun at 1,000 W/m² irradiance. Its sunlit face is about 0.04 m², and the 0.30 absorptance gap means the black shell absorbs roughly 12 W more than the gray one. Spread over the shell by the area method, with k = 3.5 W/m²K for plastic and 0.16 m² of surface, that is ΔT = 12 W ÷ (3.5 W/m²K × 0.16 m²) ≈ 21 °C hotter inside. With electronics in your box, that 21 °C moves the cooling question up a size; the guide to cooling outdoor electronics in a box in direct sun carries the fixes.
The sun-hour arithmetic
Here is the screening math behind those years, for an unshaded pole in the US Midwest. Long-term weather statistics put sunshine at 2,500 hours a year there; mid-latitude US cities run 2,000-3,600 h/yr and the desert Southwest tops 3,800 h/yr.
- Gray ABS, unstabilized: temperate-climate weathering of unpigmented ABS chalks and embrittles the shell inside 1-3 years, so plan on 2,500-7,500 sun-hours.
- The same box under an eave on the shaded side: UV dose roughly halved, so 5,000-15,000 sun-hours → 2-6 years.
- Black ABS at 2% carbon black: about 3× the gray window, so 7,500-22,500 sun-hours ÷ 2,500 h/yr → 3-9 years at this site.
- The same black box moved to a desert site: 7,500-22,500 ÷ 3,800 h/yr → 2-6 years, while the gray box there serves under 2 years.
So the pigment moves the answer about 3×, the climate about 1.5× (3,800 ÷ 2,500), and altitude adds roughly 10% per 1,000 m of elevation. If your housing must serve unshaded past 5 years, pigment alone no longer covers it — that is the line where polycarbonate or stainless takes the order.
What the rating tells you about sunlight
Nothing. Type 4X carries a 200-hour salt-spray requirement under NEMA 250 (Table 5-1D), and the other type tests are water, dust or ice — none of them ages a polymer in UV. A rating answers rain, hose-down and salt; the pigment package answers the sun, and you specify the two separately.
The same split applies to our own boxes. A 316L stainless enclosure rated NEMA 4X / IP66 by the manufacturer — not UL listed — is telling you about water and corrosion. The metal itself does not age in sunlight at all. For plastic shells, whether a plastic junction box is watertight outdoors is its own question, and the metal-vs-plastic comparison for sun-exposed walls settles the bigger call.
The decision by environment
The outdoor enclosures guide covers the rest of the weather story: rain, ice and condensation. For the sun, the decision sorts like this.
| Environment | Order | Why |
|---|---|---|
| Indoors, climate-controlled | gray ABS | the UVB band never arrives; the shell outlasts the project |
| Covered outdoors, eave or canopy | gray short-term, black beyond | shade halves the dose: 2-6 years for gray |
| Unshaded, one or two seasons | either; gray keeps the shell about 21 °C cooler | 2,500-7,500 sun-hours is enough |
| Unshaded, 3-9 year horizon | black ABS at 2% carbon black | 7,500-22,500 sun-hours of life |
| Unshaded, permanent (5 years and up) | UV-stabilized polycarbonate with the f1 marking, or 316L stainless | beyond what pigment buys |
| Salt air, coastal site or washdown | 316L stainless | chlorides end the plastics argument |
What to put on the order
For permanent outdoor duty, order UV-stabilized polycarbonate in an outdoor grade carrying the f1 marking. Or step up to metal: 304 stainless inland, 316L near salt, and the 304 vs 316L guide carries the full grade call. Our 316L wall-mount and HMI enclosures are built to your width, height, depth and cutouts. They are delivered in 10 business days anywhere in the world, counted from the order and, for custom work, from your approval of the drawing.
If you stay with ABS, confirm the UV package in writing: carbon black at about the 2% loading and the manufacturer's own outdoor statement for the shell. And for a metal box you already own, paint is the other lever — the paint-or-buy decision for a black weatherproof box has its own article.
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.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 16 × 12 × 8 in | 316L stainless | 16 x 12 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 20 × 16 × 8 in | 316L stainless | 20 x 16 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 24 × 20 × 8 in | 316L stainless | 24 x 20 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 12 × 10 × 6 in | 316L stainless | 12 x 10 x 6 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Is black ABS more UV resistant than gray ABS?
Yes. Carbon black absorbs and scatters UV at the surface, keeping it out of the butadiene phase, and compounds built for sunlight duty are pigmented exactly this way. The margin is roughly 3×, and the black box pays for it by running about 21 °C hotter than the gray one in direct sun.
Can I protect a gray ABS enclosure by painting it?
You can slow it, not stop it. Two coats of a light exterior acrylic cut solar absorptance from about 0.65 to roughly 0.4, which cools the shell and shields some UV. Paint films weather too, so plan on recoating every few years; for a metal box, the paint-or-replace decision has its own article.
What plastic suits a permanent outdoor enclosure?
UV-stabilized polycarbonate in an outdoor grade. ABS yellows and embrittles on a long horizon even with carbon black, while stabilized polycarbonate yellows slowly and keeps its impact. Look for the UL 746C f1 marking, which flags a material tested for combined UV and water exposure outdoors. Near salt or washdown, order 316L stainless instead of any plastic.
How do I tell if an ABS enclosure has UV damage?
Scratch a hidden spot: a white, powdery line means the surface has oxidized. Press a corner next — a crack under light thumb pressure means the wall is brittle. Chalking inside 1-3 years of unshaded outdoor service is the gray-shell signature, and the same signs arrive several-fold later on black shells. Power the box down before you flex it.
Does gray ABS age indoors or behind a window?
Barely. Window glass filters nearly all the UVB that attacks ABS, so an indoor or window-mounted box ages at a small fraction of the outdoor rate. Deep shade works the same way: halving the dose doubles the life, which puts a canopy-mounted gray box at about 2-6 years at the temperate site in the worked example.





