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

Rust on machines inside an enclosure after warm humid air arrives

Cold metal below the outside dew point sweats within minutes, but the air inside a sealed enclosure stays cold and dry for hours, so the parts inside usually do not rust while the door stays shut. Rust starts when warm saturated air is let in. Open up only when the inside air is within 5 °F of outside, or fit a 50 W anti-condensation heater to a 24 x 20 x 8 in box and keep it above the dew point.

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

Short answer: the parts inside a sealed enclosure usually come through a warm fog dry, because cold air holds almost no water and the interior lags the weather by hours. The rust you can see happened in minutes, on the outside faces. Interior rust means the door was opened while the metal sat 20-40 °F below the dew point, or that humid air breathed in through the gasket overnight. Keep the door shut until the inside air is within about 5 °F [3 K] of outside, run a small anti-condensation heater (22 W steady, 50 W fitted, for a 24 x 20 x 8 in stainless box), and clean the flash rust the same day, while it still wipes off with a rag and a drop of oil.

Why the outside rusted in minutes and the inside did not

Fog is saturated air, and saturated air has a dew point equal to its own temperature. Take a morning that starts at 28 °F [−2 °C] inside the building and 65 °F [18 °C] fog outside. Every metal surface below 65 °F takes on water the moment the warm air touches it. Exposed cast-iron tables beaded over within minutes, and the film ran off under the workpiece. Warm wet air, metal below the dew point, water — that is the whole mechanism.

The inside of a sealed box runs on a different clock. A 24 x 20 x 8 in wall-mount box holds about 61 L [2.2 ft³] of air, and air at 28 °F saturates at only about 4 g/m³, so the whole interior carries roughly 0.3 g of water vapor — a few drops, read off any psychrometric chart. Cold, nearly empty air wets nothing. The interior metal is cold but dry, and it stays that way for hours, because heat creeps through gasketed stainless walls at about 3.7 W/m²K and the sealed air barely moves.

The trouble starts when you let the weather in. Air at 65 °F saturation carries about 15.6 g/m³, so one full door-swap puts just under 1 g of water into the box, and every wall, bracket and spare part below 65 °F takes its share. Three or four openings during a warm-up and the interior rains harder than the yard did. A rating seals water out but cannot stop this, which is why condensation in a sealed enclosure is a temperature problem, not a leak problem.

What each symptom points to

  • Water beading on outside faces within minutes of letting warm air in, orange flash rust by evening. Warm saturated air on cold metal — this article's event, and the milder one if the box stayed shut.
  • Interior dry after the event, rust only on outside faces. The box did its job; keep the door closed through the next warm-up and you keep that result.
  • Rust fuzz on bare steel parts inside, gasket dry, no streaks. The door was opened during the warm-up, or the box breathed humid air by day and chilled overnight.
  • Fogged window or a damp film on the door's inside face, walls dry. The interior air is at saturation; the heater is missing, switched off, or undersized.
  • Standing water or dirty streaks under a gland or along a gasket corner. That is ingress, not condensation; chase the cable entry, as in water inside a camera junction box after rain.

Which cause is most likely

  • The door opened too early. The most common by a wide margin. Saturated air at 65 °F meets steel still in the 30s °F, some 30 °F below the dew point, and everything cold in the box wets at once — including parts the outside rain never touched.
  • Day-and-night breathing through the gasket. Sun on the box pushes warm interior air out past the gasket; the evening cool-down draws moist air back in. A shop swinging from 28 °F at dawn to the low 70s by afternoon runs that pump all day. The box wakes up holding a night's worth of humid air, and the condensation guide shows the dew-point arithmetic behind it.
  • No heater, or one switched off for the season. The heater is what buys back the morning. Without it you wait out the lag on every fog, and a forgotten switch puts you back to waiting.
  • Moisture sealed in at assembly. A box buttoned up in the rain carries its own weather. Assemble dry and keep a desiccant pack inside, sized in the sealed-enclosure desiccant article.

How to check which one you have

Work down this list at dawn, while the evidence is fresh:

  • Temperature gap. Read the inside and outside air temperatures during a humid spell. A gap above about 5 °F is a live risk whenever the outside air sits above 85% relative humidity, because the dew point then sits within 5 °F of the air temperature.
  • Dew point against metal. Take the day's dew point from any weather report and compare it with the coldest steel in your box. At 65 °F and 80% relative humidity the dew point is about 58 °F, so anything below 58 °F sweats. The same dew-point-and-surfaces check used for make-up air in buildings (make-up air condensation check) applies word for word to a box.
  • Paper-towel tell. Tape a strip of white paper towel inside the door at eye height and read it at dawn. Damp towel means the interior condensed overnight; dry towel under wet skies means the box is still winning.
  • Heater check. A working anti-condensation heater holds the interior about 10 °F above the outside air in damp weather. An interior reading equal to ambient means the heater is off, failed, or too small for the box.
  • Ingress check. Wipe under each gland and along the gasket corners after rain or a washdown. Streaks and standing water point at the cable entry, not the weather.

Sizing the anti-condensation heater for a 24 x 20 x 8 in box

The inputs, and where each comes from:

  • Box: 24 x 20 x 8 in (H x W x D) outside, a catalog 304 stainless wall-mount size; the wall area is computed on the outside dimensions.
  • Wall heat transfer: k = 3.7 W/m²K for stainless, the value this site's heat guides use.
  • Target margin: interior air 10 °F [5.6 K] above outside. Any surface warmer than the outside air sits above the dew point at any humidity, and the 10 °F figure covers open-door minutes and thermostat dead-band.
  • Duty: continuous through the humid season, door opened a few times a day.

The rule, in words: at steady state the heater replaces the heat that leaks out through the walls, so heater watts = wall heat transfer × wall area × the temperature difference you want to hold.

The arithmetic: wall area = 2 × (24 × 20) + 2 × (24 × 8) + 2 × (20 × 8) = 960 + 384 + 320 = 1,664 in², which is 1.07 m². Heater power = 3.7 W/m²K × 1.07 m² × 5.6 K = 22 W.

The decision: the steady loss is 22 W, so fit a 50 W heater — roughly double — and run it continuously through the humid months. The margin pays back in warm-up speed after every door opening, and on a 28 °F dawn like this one. With the heater on, the interior sits about 10 °F above ambient, so the door opens safely at any outside humidity, fog included. Without one, wait: in clear air until the inside is within about 5 °F of outside, in fog until the metal itself nears the outside temperature. Heat scales with wall area, so the same three inputs size any box in the range; the sealed-enclosure heater sizing article works the formula for other sizes, and keeping electronics warm in an unheated outdoor enclosure handles the winter side of the same lag.

Cleaning the rust off now

Clean the same day, while the metal is still damp. Flash rust from one condensing event is a surface film; a non-scratching pad and a drop of light oil take it off in under a minute per surface. The same rust dried for weeks pits cast iron and calls for abrasive work a precision table never forgets. Inside an enclosure that carries live parts, power down and lock out before you wipe anything.

Dry before you protect. Shut the door, run the heater for a few hours or set in fresh desiccant, then oil; oil over standing water seals the water against the steel. Film the bare steel parts — tables, ways, spare hardware — with light machine oil, thin enough to see a fingerprint through. The stainless walls need nothing: fresh condensate does not rust 304 or 316L. Orange marks on the stainless itself come from iron particles or chlorides, not from this fog, and the rust spots article sorts those apart.

Keeping it from coming back

  • Run the heater through every humid month. 50 W in the 24 x 20 x 8 in box, continuously; a thermostat that follows the box saves watts, as long as it still holds the 10 °F margin at dawn.
  • Keep a desiccant pack inside and re-dry or replace it on a schedule; service the box dry.
  • Open on the lag, not the calendar. Clear air: wait for a gap under 5 °F. Fog or drizzle: trust the heater margin, or wait until the metal is close to the outside temperature. You lose minutes, not days.
  • Prep in late winter. Oil the bare steel before the first warm fog, and check the door gasket seats evenly all the way round.
  • Watch one week of spring. Log inside and outside temperatures at dawn; when the gap stays under 5 °F through a fog, the box is ready for the season.

When to re-specify the enclosure

Frequent openings in wet weather are a layout problem, not a sealing problem. Move the interface outside the box: our 24 x 20 x 8 in wall-mount enclosure is available with the door cut for a panel PC from 7 in to 15.6 in. You run the machine from the door, and the interior stays sealed through the weather. Where chlorides ride the humidity — coastal air, sanitizer spray, wastewater duty — the same box comes in 316L, as the 24 x 20 x 8 in 316L enclosure.

For a different size or cutout set, the stainless wall-mount line runs from 6 x 4 x 4 in to 60 x 36 x 16 in. Every box is manufacturer-rated NEMA 4X / IP66, not UL listed, delivered in 10 business days; custom cutouts count from drawing approval. The size finder filters the whole range by line, grade and size, so you can pick the next box off the same numbers this article used.

Enclosures in this article

EnclosureMaterialOutside H x W x D / displayRating
24 × 20 × 8 in304 stainless24 x 20 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
24 × 20 × 8 in316L stainless24 x 20 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Will a NEMA 4X rating stop condensation on the parts inside?

A Type 4X rating keeps rain, hose water and dust out; the moisture already inside is a temperature question, not a sealing one. Our wall-mount boxes are manufacturer-rated NEMA 4X / IP66 and not UL listed, and any metal wall below the dew point sweats, sealed or not. Pair the rating with a heater or a desiccant pack so the interior air stays above the dew point.

When is it safe to open the door on a warm humid morning?

When the air inside is within about 5 °F of the outside air and the outside air is not saturated, so up to roughly 85% relative humidity. In fog or drizzle the dew point equals the air temperature, so wait until the metal itself is close to the outside temperature, or fit a heater that holds the interior about 10 °F above ambient; with that margin the door opens at any humidity.

Should fresh condensation rust be cleaned now or left until spring?

Clean it now, while the metal is still damp. Flash rust from one condensing event wipes off with a non-scratching pad and a drop of light oil in under a minute per surface; the same rust left to dry for weeks pits cast iron and needs abrasive work. Wipe a thin oil film on bare steel before the next humid spell and the season ends without rust.

What size heater suits a 12 x 10 x 8 in box?

Heat loss scales with wall area. The 12 x 10 x 8 in box has about 0.38 m² of wall, so at 3.7 W/m²K and a 10 °F [5.6 K] margin the steady loss is about 8 W; the double-the-figure rule fits a 20 W part. The 24 x 20 x 8 in box in this article works out to 22 W steady and takes the 50 W part.

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

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

Keep reading

More on outdoor, heat and moisture

All articles

Buying guides

The guides behind this answer

All guides