A red residue inside a wet enclosure is almost always iron rust. Copper corrosion goes green or black, and aluminum corrosion goes white, so neither of those makes red on its own. If iron was in the water, from steel hardware, a steel backplate, wire strands or dirty rainwater, it leaves brownish-red oxide as the water dries. Clay from submersion looks orange-red to deeper red and gives a different clue: sediment lines on the walls. A one-drop acid spot test on a scrape of the residue settles it in a minute. For what a seal is actually tested against, see the guide on how an IP water test checks for ingress.
Ratings note: enclosures described here as NEMA 4X / IP66 are rated by the manufacturer; not UL listed. Ratings are manufacturer ratings and do not mean NEMA tests or endorses anything.
What the color tells you first
Color narrows the cause before you touch a chemical:
- Brownish red to red-brown, thin film on the floor: iron rust carried in water that pooled and dried. The most common answer.
- Orange-red to deeper red, gritty, in layers or sediment lines up the walls: clay or soil fines. This is the signature of submersion or heavy flooding, not rain leakage.
- Green or blue-green, or black crusts on terminals and copper: copper corrosion. Means standing moisture and likely corrosive air, not clay. See moisture inside an enclosure: failed capacitors or water ingress? for how that develops.
- White powder or white crust, often on aluminum parts: aluminum or zinc corrosion. Again points to wet time, not submersion.
- Red-brown stains that wipe off a 304 or 316L stainless surface: deposited iron from external water, not the alloy rusting through. Our stainless enclosures are 304 and 316L, which resist this; the stain is foreign iron.
Mixed deposits happen. Red film plus green terminal crusts means iron-laden water sat in the box long enough to start corroding the copper too.
The acid spot test
Scrape a small amount of dry residue onto a glass plate or a piece of clean glass. Add one drop of dilute hydrochloric acid or phosphoric acid (muriatic acid from a hardware store, diluted, works). Watch the reaction:
- Fizzing, or the residue darkens toward black: rust. Iron oxide reacts with the acid; clay does not.
- No reaction, residue unchanged: clay or another silicate soil. Clay minerals are inert to these acids at drop strength and room temperature.
Handle acids with gloves and eye protection, work in a ventilated area, and keep the drop off the enclosure itself. Neutralize and rinse the plate afterward. A magnet is a second check on a thicker flake: iron-rich rust is often weakly magnetic; clay never is.
Where the water and the iron came from
If the test says rust, the box had water in it and the water carried iron. Work through the likely sources in order:
- Carbon-steel mounting screws or hardware inside or through the box. A stainless body with ordinary steel fasteners is the classic combination for red residue. Our guide on corrosion prevention inside an outdoor stainless enclosure covers fastener choice.
- Water entered through the seal or entries and dissolved iron on its way in. Check the gasket for permanent set, cuts or grit in the seating surface, and check whether glands face up, which collects water at the threads. See mounting cable glands facing up on an outdoor junction box.
- Condensation cycling, not ingress: humid air sealed in, condensing each night, dissolving trace iron from hardware and drying each day. See when an outdoor enclosure needs an anti-condensation heater.
- Iron introduced at install: steel wire brush marks, drilling swarf from field cutouts, or iron-rich water used to wash the panel before closing. Swarf in the bottom of a box rusts red on the first damp night.
- External iron contamination during manufacture or transport of nearby steel work; airborne grinding dust settles inside an open door and rusts later.
If the test says clay, the enclosure was submerged or stood in floodwater, whatever the exterior looks like now. Exteriors get cleaned; interior sediment lines do not lie. Rain-tight is not immersion-tight: a box rated for hose and rain can still fill if it sits under water.
How to check each cause
- Gasket: close the door on a 0.005 in (0.13 mm) feeler strip at several points; it should resist pull everywhere. Look for compression set and a dirt line on the sealing face.
- Entries: every gland and conduit entry should have its seal and O-ring seated; look for water tracking below each entry.
- Mounting method: screws driven through the back or bottom are a direct water path. See mounting screws through an outdoor enclosure without leaks.
- Interior hardware: hold a magnet to screws, brackets and DIN rail. Anything magnetic is carbon steel and a rust source.
- History: rain events versus flooding, washdowns, and whether the box was opened in a dirty environment.
The fix
- Clean the interior: wash with fresh water, dry fully, then wipe stainless surfaces with a chloride-free cleaner to remove deposited iron before it pits the surface.
- Replace magnetic fasteners inside and through the body with stainless ones; remove drilling swarf completely.
- Re-seat or replace the gasket if it shows set or cuts; clean the gasket groove.
- Reposition any bottom-facing or upward-facing gland to a side or bottom position with a drip loop.
- If condensation is the source, add an anti-condensation heater or small vented arrangement appropriate to the rating.
Stopping it coming back
Keep iron out of the box: stainless fasteners, stainless backplate hardware, and no field drilling without full swarf removal. Keep water out: sound gasket, correct gland orientation, no through-body screws. Keep humidity controlled if the box cycles cold at night. Verify with a washdown and inspection afterwards: how to check an enclosure for water ingress after testing gives the sequence.
When to re-specify the enclosure
Re-specify when the environment exceeded what the box was built for. If flooding is possible, no rain-tight box is enough: mount it above flood level or use a box rated for temporary immersion, and add drainage beneath it. If the location sees hose washdown or driven rain, use an enclosure rated NEMA 4X / IP66 by the manufacturer (not UL listed) and confirm the entries and hardware match that level. The enclosure selector steps through environment and listing needs; for a box that must match the site exactly, a custom stainless enclosure with your cutout and gland positions avoids the field drilling that starts iron problems, and it is delivered in 10 business days from your approval of the drawing.
Enclosures for this job
Catalog sizes that suit the job this article answers, picked from its subject; open one for its full specifications.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 12 × 10 × 6 in | 316L stainless | 12 x 10 x 6 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 |
Questions
Does red residue mean the electronics are failing?
No. Red residue is iron oxide, and it needs iron to form. Copper corrosion products are green or black, and aluminum corrosion products are white. Red deposits mean iron was present in the water, usually from mounting hardware, a steel backplate or external contamination, not necessarily that the boards are dissolving. Green, black or white crusts on terminals are the signs to worry about for the electronics themselves.
Can the acid spot test damage the enclosure?
The test uses one drop on a small scrape of residue on a glass plate, not on the enclosure itself. Keep acids off stainless and aluminum surfaces, wear eye protection and gloves, and neutralize and rinse anything the acid touches. If you do the test in place by mistake, rinse the spot immediately with water and dry it; a single drop briefly applied will not compromise a 304 or 316L stainless surface.
If the residue is clay, is the enclosure still fine?
Clay proves the enclosure was submerged or heavily flooded, so the gasket may have held against rain but not against immersion. Strip, clean and dry everything inside, including connectors, and check the gasket for permanent set or cuts. If the box can flood again, re-specify to a higher sealing level or relocate it, and add drainage below it so the next flood has an exit.
Where does the iron come from if the box is stainless?
A stainless body does not make an enclosure rust-free. Carbon-steel mounting screws, a painted steel backplate, steel conduit glands, wire strands abraded during install and plain dirty rainwater all carry iron. That iron settles in the bottom water and leaves red residue as it dries. 304 and 316L stainless resist it, so red stains on the stainless surface itself usually wipe off and are deposited iron, not alloy failure.





