Short answer: clean it, passivate it, and replace the panel only when the metal itself is eaten. Most rust spots on a stainless enclosure are free iron that landed on the surface — grinding dust, carbon-steel tools, galvanized strut touching the wall — not the stainless rusting through. Rub a spot with a clean white pad: when it wipes off and the shine returns, a 10% citric acid passivation held at 60-70 °C [140-160 °F] for 5-10 minutes restores the film. When a pit stays, or the box lives in salt air or a chloride washdown, chlorides are attacking 304, and 316L is the grade that holds. One case is urgent: chlorides sitting on a wall hotter than about 60 °C [140 °F] can crack the panel, and a crack is a replacement job, not a cleanup.
Why does a stainless enclosure get rust spots at all?
Stainless rusts where free iron or chlorides defeat the 18% chromium oxide film: iron fallout from nearby grinding blooms into orange spots within hours in damp air, and salt or chlorinated wash water pits 304 at room temperature, so four causes cover nearly every spot you will see.
The film is the whole trick. Chromium makes up about 18% of 304, and it rebuilds the oxide layer within seconds of a scratch as long as oxygen reaches a clean surface. Rust appears when you cover that surface with iron that carries no chromium, or when chlorides work under the film faster than it can heal.
The four causes, in the order you will meet them on a live box: iron fallout and tool contact, chloride deposits, wet crevices, and chlorides meeting heat. Fallout stains the surface; the other three can eat it. 316L carries 2-3% molybdenum, which pushes back against chloride pitting, but it leaves the 60 °C [140 °F] cracking threshold untouched. The 304 vs 316L guide and the 304 or 316L at-a-glance page sort out which grade belongs at your site.
What do the different rust spots mean?
Read the spot before you scrub it: orange dust that wipes off to a bright shine is iron fallout, pits that hold rust are chloride attack, a rust band under the gasket is a crevice, and hairline cracks weeping rust mean stress-corrosion cracking.
- Orange dust that wipes off to a bright shine — iron fallout from grinding or cutting nearby; the stainless under it is untouched.
- Streaks running down from screws or hinges — carbon-steel fasteners handing their iron to the face.
- A rust line where the wall meets galvanized strut — contact transfer, with the coating as the iron source; the galvanized-contact article follows that pair.
- Small pits holding a rust bloom, worst on the sea-facing side — chloride pitting; 304 pits even at room temperature under chloride deposits.
- A rust band along the door gasket or under the feet — crevice corrosion, where trapped water starves the film of oxygen.
- A dull film that returns after every rinse — salt and iron redepositing in wet-dry cycles; the wet-dry cycling article follows that mechanism.
- Hairline cracks weeping rust on a box that runs hot — chloride stress-corrosion cracking; treat it as structural damage.
- A dull red face and a magnet that grabs — carbon steel or a 400-series panel, and chemistry cannot fix the alloy.
The coastal rust film has a trade name: tea staining. The stainless handbooks class it as an appearance problem, one that shakes confidence more than it removes thickness, but read it as a marker of where chlorides are working. Residue on the inside wall is a different hunt; the red residue article separates rust from clay and process deposits.
How do you check which cause you have?
Three checks settle it in ten minutes: a rub test with a clean white pad tells fallout from pitting, a fridge magnet tells 304 or 316L from carbon steel, and an infrared reading on the skin tells you whether chlorides are meeting a wall at or above about 55 °C [131 °F].
Rub test. Press a pad kept for stainless against the worst spot and rub lightly, with the brushed grain. Fallout lifts in a few passes and leaves bright metal. A pit stays behind as a dark point; drag a fingernail across it and feel whether it catches. A catch means the chloride has eaten real metal.
Magnet test. Hold a small magnet on the flat face. Annealed 304 and 316L show no pull; a faint pull at a formed lip is cold work in the bend and means nothing. A firm grab anywhere means carbon steel or a 400-series panel, and the fix is replacement.
Heat and chloride walk-down. Run the panel at full load for half an hour, then point an infrared thermometer at the wall and note the hottest reading, the way the ambient-measurement article describes for siting a probe. Then walk the site for chloride sources: surf and salt fog, chlorinated cleaner, brine lines, pool chemicals. Chlorides plus a skin at or above 55 °C [131 °F] — a 5 K margin under the 60 °C [140 °F] threshold — call for load cuts before spots become cracks. Where the coastal line sits for 304, the 304-in-coastal-air article draws it.
How do you remove the spots and passivate the surface?
Wash, rub, passivate, rinse: clean with fresh water, lift the spots with a pad kept for stainless only, hold 10% citric acid at 60-70 °C [140-160 °F] on the surface for 5-10 minutes, then rinse and dry.
- Rinse. Fresh water and a drop of neutral detergent clear the salts and deposits that feed the spots.
- Rub. Work the spots with the stainless-only pad, with the grain. Fallout lifts in a few passes; keep the pad for stainless work alone, because a pad that has touched carbon steel hands its iron straight back.
- Passivate. Mix 100 g of citric acid into 1 L of warm water, about a 10% mix, and keep the surface wet with it for 5-10 minutes at 60-70 °C [140-160 °F]. This is the citric branch of the passivation practice that ASTM A967 covers for stainless parts. A citric gel holds position on a vertical door; follow its label for the room-temperature contact time.
- Pickle welds. Heat tint and weld burn need a nitric pickling paste; follow its label time and rinse thoroughly. Gloves and eye protection for both acids, and ventilation for the paste.
- Rinse and test. Flood the face with clean water: an even sheeting film means clean steel, while beading means residue still sits there. Dry the panel.
- Re-check in a week. Fallout stays gone once its source is gone. A pit keeps its scar as a grey point; citric removes iron and rebuilds the oxide, but it fills nothing.
Deep pits move you to the last section: replace the panel, or re-specify the box for the chloride load it actually sees.
When does heat turn spots into cracks?
Above about 60 °C [140 °F], chlorides on the skin can start stress-corrosion cracking in 304 and 316L alike, so a washdown box that also carries 100 W of electronics needs its wall temperature checked and its load trimmed to stay under about 55 °C [131 °F].
Cracking needs three things at once: chlorides on the surface, tensile stress in the metal, and temperature past the threshold. The molybdenum in 316L fights pitting but does not move the temperature line. Cracks run as hairlines, weep rust, and favour the gasket lips where stress and trapped chlorides meet.
Worked example. Take a 20 x 16 x 8 in box — the size of our 316L wall-mount enclosure — carrying 100 W of electronics in 30 °C [86 °F] air, with no sun on the wall. Treat the 100 W, the 30 °C and the size as example inputs, and put your own numbers into the same four steps.
- Wall area: 2 × (20 × 16) + 2 × (20 × 8) + 2 × (16 × 8) = 640 + 320 + 256 = 1,216 in², which is 0.78 m².
- Heat path: stainless walls shed heat at a combined 3.7 W/m²K (the convection-plus-radiation figure behind this site's sizing guides), so the box passes 3.7 × 0.78 = 2.9 W per kelvin of rise.
- Skin temperature: 100 W ÷ 2.9 W/K = 34 K of rise, so the wall sits near 30 + 34 = 64 °C [147 °F], over the 60 °C threshold with chlorides free to sit on it.
- Load ceiling: (60 − 30) K × 2.9 W/K = 87 W keeps the skin at 60 °C, and (55 − 30) K × 2.9 W/K = 72.5 W holds it near 55 °C [131 °F], so keep the load at or under about 72 W.
Trim the load, spread the gear over a bigger wall, or shade the box; sun on stainless adds heat this arithmetic leaves out, so measure the skin when the box sits outside. The same steps work for any box: area, conductance, rise, ceiling.
How do you stop the spots coming back?
Separate the iron from the stainless and wash the salt off on a schedule: keep carbon-steel grinding metres away from the box, isolate it from galvanized strut with washers, rinse with fresh water on a distance-based frequency, and repassivate after any field cutting or welding.
- Stainless-only abrasives. Keep pads, discs and wire cups for stainless work alone; a disc that has ground mild steel seeds every pass with iron.
- Isolated contact points. EPDM or plastic washers break the bridge to galvanized strut and steel frames, and stainless fasteners stop the streaks from screw heads.
- Rinse on a distance-based schedule. Fresh water weekly within about 1 km [0.6 mi] of surf, monthly at 5-10 km inland, and always after a storm; the frequencies sit in the FAQ below. Dry the gasket line, because the crevice holds salt longer than the flat face. Whether 316L itself rusts under a washdown regime is its own question; the 316L-in-washdown article puts the blame on wet-dry cycles, not the grade.
- Passivate after every intrusion. Any field cut, weld or grind ends with the citric wipe from the fix section, or the fresh metal blooms.
- Keep water off the top. Mount under a drip line or fit a sloped roof. Never drill a field drain into a rated box: ours are rated NEMA 4X / IP66 by the manufacturer; not UL listed, and any opening you cut yourself is a hole in that rating.
- Mind the inside air too. Brine and acid vapours find every path; the outdoor corrosion-prevention article walks the inside of the box.
When is cleaning not enough and a new box the answer?
Replace the panel when a magnet grabs it, when fingernail-deep pits keep spreading, or when cracks have started; for coastal salt air and chloride washdown, re-specify 316L, whose 2-3% molybdenum resists the pitting that 304 suffers at room temperature.
| What you find | What it means | What to do |
|---|---|---|
| Fallout only, box inland | surface iron, alloy healthy | clean, passivate, remove the source |
| Pits spreading on 304 near salt air or chloride washdown | the grade is at its chloride limit | re-specify 316L and set the rinse schedule |
| Skin at or above 55 °C [131 °F] with chlorides present | cracking risk past 60 °C [140 °F] | 316L plus a load cut to your recomputed ceiling, 72 W in the example |
| Hairline cracks weeping rust | cracking has started | replace the panel or the box now |
| Magnet grabs the flat face | not 304 or 316L | replace the box; chemistry cannot fix the alloy |
The grade change is the cheap fix, and the heat fix is arithmetic. 316L raises pitting resistance without moving the 60 °C [140 °F] cracking line, so a hot chloride job needs both: the molybdenum-bearing grade and a wall that stays under 55 °C [131 °F]. Pick size and cutouts in the stainless enclosure size finder or go straight to the 316L wall-mount line; every box is built to order around your cutouts and delivered in 10 business days, counted from your order, or from your drawing approval on custom work.
Clean what is stained, cool what is hot, and replace what is cracked: those three calls keep a stainless enclosure doing its job for decades.
Enclosures in this article
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 20 × 16 × 8 in | 316L stainless | 20 x 16 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Does a magnet tell me whether my enclosure is really 316L?
A magnet tells you the alloy family, not the grade. An annealed 304 or 316L face shows no pull, and a faint pull at a formed lip is only cold work in the bend. A firm grab means carbon steel or a 400-series panel, and no cleaning will make it stainless. The magnet also cannot see the 2-3% molybdenum that separates 316L from 304; the mill test report for the sheet is the only proof of that.
How often should I rinse a stainless enclosure near the coast?
Coastal stainless maintenance guides converge on a simple schedule: within about 1 km [0.6 mi] of breaking surf, rinse with fresh water weekly; at 5-10 km inland, monthly is enough in most weather. Always rinse after a storm or a salt-fog event, and dry the gasket line, since the crevice holds salt longer than the flat face.
Can I use a wire wheel on a stainless enclosure?
A carbon-steel wire wheel, or any disc that has ground mild steel, embeds iron that blooms into orange spots within hours in damp air. Keep a set of pads, discs and wire cups for stainless only, work with the brushed grain, and finish with the citric wipe: 10% acid, 5-10 minutes contact, then a clean-water rinse.
Does tea staining mean the wall is getting thinner?
Tea staining is a surface stain: the stainless handbooks class it as an appearance problem that shakes confidence more than it removes metal. Test the depth with a fingernail — a stain that wipes off loses nothing, while a pit you can catch has removed real thickness and keeps growing in chlorides. Through-wall rust on a 304 or 316L enclosure is rare; the failure to take seriously is cracking.





