Short answer: 304 stainless is a good outdoor enclosure material for most inland sites and for coastal sites with a smooth finish, sound fasteners and regular washing. Within roughly a mile (1.6 km) of salt water, or anywhere the box sits under a canopy where rain never rinses it, chloride attack will show up as tea staining and pitting on 304. There, 316L is the right grade, and the finish and hardware matter as much as the alloy.
This page covers the outdoor and coastal choice specifically: the environment, how far each grade goes, and the finish, fasteners and washing plan that keep a stainless box sound. For the material fundamentals, see the stainless steel enclosure guide; both grades are shown side by side in 316L stainless enclosures.
What the outdoor environment throws at the box
Three things decide the grade you need: salt, water and time between washings.
- Distance to salt water. Airborne chlorides fall off steeply inland. A beachfront site, a dock, a rooftop a block from the ocean and a plant 10 miles (16 km) inland are different problems.
- Rain washing. Rain is your friend. It rinses salt off the surface. An enclosure under an overhang, inside a shelter or in a wash-down-exempt alcove keeps its salt film and corrodes faster than an exposed one.
- Humidity and condensation. Cycles of wetting and drying concentrate chlorides on the surface. Inside a sealed box, moisture behaves differently; see why condensation forms in a sealed enclosure.
- Industrial gases and fertilizers. Ammonia, sulfides and chloride-bearing dust add attack of their own near farms, wastewater plants and chemical areas.
How far each grade goes
304 stainless handles rain, sun and freeze-thaw without rusting through. Its weakness is chlorides: in warm coastal air it develops tea staining, a light brown discoloration, and then pits. The attack is usually cosmetic at first, but it starts where the surface is roughest and where crevices trap salt.
A practical guide:
| Site | 304 with #4 finish, washed | 316L required |
|---|---|---|
| Inland, more than 5 miles (8 km) from salt water | Yes | No |
| 1–5 miles (1.6–8 km) from salt water | Usually, with washing | Consider for long service life |
| Within 1 mile (1.6 km), exposed to spray | No | Yes |
| Under a canopy or indoors near the coast | No | Yes |
| Splash zone, brine, or salt storage nearby | No | Yes |
The chemistry behind this is simple: 316 adds about 2% molybdenum, and molybdenum is what resists chloride pitting. Note that 304L does not buy you anything here: the L lowers carbon for welding, and its chloride resistance is essentially the same as standard 304. If a vendor offers 305 instead, that grade exists for deep drawing, not for corrosion resistance, and it is not an upgrade.
Why finish and hardware decide the outcome
Surface condition and fasteners cause more coastal failures than the alloy choice itself.
- Rough or smeared finishes stain first. Scratches, weld burns and polish residue leave crevices that trap salt. A uniform #4 brushed finish, cleaned and passivated, resists tea staining far better than a coarse or damaged surface. Pickling after welding restores the chromium layer the heat took away.
- The fasteners rust first. On a 316L box with zinc-plated bolts, the bolts stain the door within months. Use 316 stainless hardware throughout, isolate it from aluminum or galvanized parts, and keep threads clean.
- Crevices concentrate salt. Gasket edges, label plates and mounting feet are the classic starting points. Minimize them, seal them, and include them in the wash routine.
- Standing water. Detail the top so water drains off, and never let a mounting foot form a salt-water cup. Plan drained feet and a sloped or shed top into the drawing before you order.
Rating, size and heat for an outdoor coastal box
Outdoor electrical work in the US usually calls for a Type 4X enclosure. Our wall-mount stainless enclosures are rated NEMA 4X / IP66 by the manufacturer; not UL listed. If your specification or inspector requires a UL listed box, that is an evaluation to UL 50E by a testing laboratory, and it is worth checking before you order.
Size for the contents plus spare space, and check the heat. A sealed 4X box in the sun gains a solar load on top of the equipment's own heat; the solar heat load article shows how to estimate the rise. If you need active cooling in a coastal site, remember that any fan or air conditioner punches a hole in the sealed shell, so favor closed-loop options. For radio or Wi-Fi gear, plan the antenna feedthrough before ordering; the antenna feedthrough guide covers the sealed entries.
Washing and maintenance plan
Prevention is a schedule, not a spec line:
- Wash the enclosure with fresh water on a fixed cycle: monthly near the coast, quarterly inland.
- Use a soft cloth or brush; never a scouring pad that roughens the finish.
- Use a neutral cleaner. Chloride-bearing cleaners defeat the purpose.
- Inspect fasteners, gland entries and door gaskets at each wash; replace stained hardware with 316.
- Clean and passivate any welded or scratched area soon after it is made.
If staining has already started, caught early it cleans off with a neutral cleaner or pickling paste, followed by passivation, and the box returns to full service. Once pitting has begun, the metal is losing thickness and the affected panel should be replaced.
What to put on the order
For a coastal site, specify the grade, the finish and the details together. The table below is the spec we would want to receive.
| Spec line | Coastal choice | Notes |
|---|---|---|
| Grade | 316L stainless | Within ~1 mile (1.6 km) of salt water, or sheltered from rain |
| Finish | #4 brushed, passivated | Smooth, uniform, no coarse scratches |
| Rating | Manufacturer-rated NEMA 4X / IP66 | Confirm UL listing need with the inspector |
| Fasteners | 316 stainless, isolating washers | Include door, hinge and mounting hardware |
| Welds | Pickled and passivated | Or specify weld-free construction where possible |
| Cable entry | Sealed glands or gland plate, 316 | See the gland plate guide |
| Mounting | Drained feet or bracket, no salt traps | Washable, hinge side away from prevailing spray |
| Maintenance | Wash schedule written into the site plan | Monthly near the coast |
We build both grades to order in any size with any cutouts, and a custom 316L box is delivered in 10 business days from drawing approval. A typical coastal panel is something like our 20 x 16 x 6 in 316L wall-mount enclosure; larger layouts can step up to a 24 x 20 x 8 in 316L enclosure. The size finder lists every stainless size and grade. For inland sites where 304 is the right answer, the equivalent 20 x 16 x 6 in 304 enclosure is the same construction in the standard grade.
Send the environment with the quote: distance to salt water, exposed or sheltered, and the wash schedule you can commit to. That is what turns a grade choice into a box that stays clean for its full service life.
Questions
How far from the coast can I use 304 stainless outdoors?
There is no fixed line, but a common rule is that 304 needs extra care within about a mile (1.6 km) of salt water and is marginal inside that zone. Sheltered sites a few miles inland with regular rain washing usually do fine with 304. Closer than that, or under an overhang where rain never washes the box, spec 316L.
Is 316L stainless brittle or hard to work?
No. 316L is an austenitic stainless steel, like 304, and it forms, welds and machines normally. It is a standard material for fasteners and enclosures. The L grade has lower carbon for better weld corrosion resistance, not less toughness. Any fabricator who forms 304 can form 316L.
What is tea staining and can I remove it?
Tea staining is light brown surface discoloration from chloride attack, usually starting where the surface is rough or creviced. You can remove early staining with a ph-neutral cleaner or a pickling paste and passivate the surface. If pitting has started, the attack continues, so prevention through finish, fasteners and washing beats cleanup.
Do I need 316L bolts if the enclosure is 316L?
Yes. The fasteners are usually the first thing to rust on a coastal box. Use 316 stainless bolts, nuts and washers, isolated from dissimilar metals, and prefer serrated or nylon-insert lock nuts so vibration does not back them out. Galvanized or zinc-plated hardware loses its coating in salt air and stains the enclosure.
Does rain help or hurt an outdoor stainless enclosure?
Rain helps. Washing salt deposits off the surface is the single cheapest way to prevent tea staining. Enclosures under canopies or inside shelters corrode faster than exposed ones precisely because rain never rinses them. If the box is sheltered, plan periodic washing with fresh water instead.





