Solenoid corrosion in humid environments: what to change
Switching to stainless steel often makes corrosion worse rather than better, because most of these failures are galvanic and the fix is to break the couple or move the water, not to change the alloy. Identify the corrosion type from its position and shape first, then check dissimilar metal pairs, trapped water, and thermal cycling that breathes moisture into the assembly.
Why this happens
Corrosion complaints arrive with a solution attached: use stainless. That solution is right perhaps a third of the time and actively harmful the rest, because it assumes the mechanism is uniform atmospheric attack on a single material.
The mechanisms that actually appear on solenoid assemblies are usually one of four. Uniform corrosion is the straightforward one: a bare or thinly plated surface exposed to moisture and oxygen. Galvanic corrosion needs two dissimilar metals in contact plus an electrolyte, and it attacks the less noble one preferentially, often at the joint where nobody is looking. Crevice corrosion needs a narrow gap where water can enter but cannot easily leave, keeping the region wet and oxygen-starved for long periods. Pitting goes for the weak point in a passive film, frequently at a scratch or an inclusion.
Galvanic corrosion is the one that punishes material substitution. The galvanic series orders metals by potential, and the relevant number is the difference between the two in contact. A steel plunger against a plated housing is one couple; an aluminium end cap against a stainless plunger is a considerably more aggressive one, because the aluminium becomes the anode and takes the damage. Moving to a more noble material protects the part you changed and sacrifices the part it touches.
The environmental driver is usually thermal cycling rather than steady humidity. Every warm-up expels air, every cool-down draws moist air in through whatever gaps exist, and the moisture condenses on internal surfaces that then sit wet. This is why a unit sealed only on the outside can corrode from the inside, and why a drain path matters as much as a barrier.
Check these in order
1. Identify the mechanism from where the corrosion sits and what shape it has. Uniform attack on exposed surfaces: a coating or environment problem. Attack concentrated at a joint between two different metals: galvanic. Attack inside a gap, under a washer, in a thread: crevice. Deep localised pits with clean metal around them: pitting, and usually a coating defect or a contaminated surface. The mechanism determines the fix, and getting the mechanism wrong wastes a year.
2. Map the dissimilar metal pairs and their potential difference. List every metal-to-metal contact in the assembly, including platings and fasteners. The useful rule of thumb is to keep couples small — under about 0.25 V difference in the relevant environment — and to remember that platings count as metals. A zinc-plated screw in a stainless bracket is a couple, and the zinc will go.
3. Find where water can enter and where it can sit. Blind holes, counterbores, the interface between a housing and a core, the space under a washer, the gap at a lead exit. Water that enters and leaves quickly is not usually a problem. Water that enters and stays is. Tilt the assembly in the way it is mounted in the machine, not in the way it sits on the bench.
4. Check the thermal cycling the unit actually sees. How many warm-up and cool-down cycles per day, and how large is the temperature swing. A 40 K swing daily over a year is a different exposure from a steady 30 °C, even at the same average humidity. If the assembly has any void volume, assume it breathes.
5. Establish what the environment really contains. Condensing humidity and salt spray are not the same test. Neither is the same as an indoor machine room, or a washdown area with alkaline detergent, or an outdoor enclosure. Testing to a specification that does not match the installation tests the wrong thing.
6. Then choose the treatment for the mechanism you found. Break the couple with an insulating washer or a change of pairing, protect the edges and cut faces, provide a drain at the lowest point, or reduce the void volume so there is less air to breathe. A thicker coating on the outside of a galvanic joint does nothing.
What actually to change
| Mechanism | What to change | Why not the other thing |
|---|---|---|
| Galvanic at a joint | Insulate the couple, or bring the two metals closer in the series | Substituting stainless may increase the difference |
| Crevice in a thread or under a washer | Seal the gap, or open it so it drains | Exterior coating does not reach a crevice |
| Water trapped in a blind hole or bore | Add a drain at the low point, avoid blind volumes | Stainless still holds water in the same place |
| Coating defect at a cut edge | Specify edge protection, plate before cutting, or use a compliant seal | Nominal thickness is not the variable that matters |
| Condensation from cycling | Reduce void volume, seal properly, or pot the assembly | A drain must exist, or a seal must be complete |
| Aggressive washdown chemicals | Match the seal and coating to the chemical, not just to water | General corrosion resistance is not chemical resistance |
When it IS the harder problem
A pair of metals that looks fine on paper and fails in the field. Galvanic tables are quoted for specific electrolytes, and a change from neutral water to a chloride-bearing detergent or a mildly acidic condensate can move the ranking and the attack rate. I have seen a couple declared acceptable on the basis of a handbook table fail in a washdown application because the actual electrolyte was not the one the table assumed. When the environment is not plain water, the table is a starting point rather than an answer.
Corrosion that is a symptom of a design that traps water. The most persistent cases I have dealt with were not material problems at all. The assembly had a downward-facing blind bore, or a gap between the housing and the core that filled by capillary action and then had no route out, or a lead exit at the lowest point. Water arrived once and stayed for months. No coating choice fixes a geometry that holds a reservoir against a surface.
A failure that appears the second summer. If the unit was installed in a cooler season and the complaint arrives the following warm period, the mechanism is almost certainly condensation-driven and cumulative rather than a defect present from day one. This matters for the test plan: a short salt spray test on a new unit will not reproduce it, and qualifying to that test gives false confidence. Cycle the unit thermally, in the humid state, for enough cycles to accumulate the exposure the real installation provides.
A note on what this page is
This is a personal notebook, not a product page. I write down the checks that actually decide the outcome and the order to run them in, including the ones I got wrong first.
solenoid corrosionsolenoid rustsolenoid humid environmentgalvanic corrosion solenoidsolenoid surface treatment
Frequently asked
- Would stainless steel solve the corrosion problem?
- Often it makes it worse. If the corrosion is galvanic, what matters is the potential difference between the two metals in contact, and stainless steel sits well above carbon steel and far above aluminium on the galvanic series. Substituting stainless for a steel part can turn a mild couple into a strong one and accelerate attack on whatever it touches. Identify the mechanism before changing the material.
- The rust is inside the unit, not outside. How does water get there?
- Two common routes. Condensation from thermal cycling: the assembly warms, air expands and leaves, then cools and draws moist air in through gaps, and the water condenses on internal surfaces. And capillary action into a crevice or a blind hole, which holds water long after the outside has dried. Sealing the outside without providing a drain can also trap the moisture that does get in.
- The failure appears after a few months of operation. Why not immediately?
- Because most of these mechanisms are cumulative and slow, and some are seasonal. Galvanic corrosion needs an electrolyte to be present, which means it advances during humid or condensing periods. Thermal cycling damage accumulates per cycle. A unit installed in autumn may show the problem the following summer, which is why the environment the unit sees over a year matters more than a single bench condition.
- Is a thicker coating the answer?
- Only if the coating is intact everywhere and stays that way. Corrosion concentrates at defects: a scratch, an uncoated edge, the inside of a hole, an area shadowed from the spray. A heavy coating over an assembly with exposed cut edges and unplated bores moves the failure rather than preventing it. Coverage and edge protection matter more than nominal thickness.