Materials guide
What is the best fence for fog and salt air in San Francisco?
Updated October 2026
For most homes in the Sunset, Richmond, Daly City and Pacifica, vinyl or powder-coated aluminum lasts longest, because neither rots in fog nor rusts in salt air. Redwood or cedar works too if it is built to dry out and fastened with stainless steel. The hardware usually fails before the fence, so hinges, latches and screws matter as much as the material.
Why is the west side so hard on fences?
Two things work together. Summer fog keeps wood and soil damp for long stretches, which favors rot, mildew and moss at the base of a fence. And salt carried in from the ocean settles on metal, where it speeds up rust on plain or lightly galvanized steel. Inland neighborhoods like the Mission or Noe Valley see far less of both.
How do the materials compare?
| Material | Fog | Salt air | Upkeep |
|---|---|---|---|
| Vinyl | Does not absorb water | Does not corrode; hardware still can | Rinse and wash |
| Powder-coated aluminum | Unaffected | Does not rust | Rinse salt off now and then |
| Redwood or cedar | Stays damp; needs air flow | Wood is fine; fasteners must resist rust | Seal every few years |
| Steel or wrought iron | Unaffected if coated | Rusts where coating is chipped | Touch up coating |
| Galvanized chain link | Unaffected | Coating wears faster near the ocean | Vinyl-coated lasts longer |
What does the right choice depend on?
It depends on how close you are to the water, how much shade the fence gets and what you want it to look like. A sunny back yard in Bernal Heights can keep a wood fence in good shape with little effort. A shaded side passage four blocks from Ocean Beach is a different story. Budget plays in too, since vinyl and aluminum usually cost more up front than wood.
Which hardware should I ask for?
- Stainless steel screws and nails for wood boards, especially on ocean-facing lots.
- Stainless or heavily coated hinges and latches on every gate.
- Galvanized or coated steel posts, or wood posts rated for ground contact, set in crowned concrete.
How can I make a wood fence last in the fog?
- Keep the bottom of the boards off the soil, or add a replaceable kick board.
- Keep ivy, hedges and soil piles away from the fence face.
- Aim sprinklers away from the boards.
- Apply a penetrating sealer when water stops beading on the surface.
Related: vinyl fences, aluminum fences and wood fences.
Sources
This guide reflects how fence materials and fasteners are generally known to behave in damp and coastal conditions; it does not cite a specific lifespan study, and we have left out lifespan numbers we could not verify for San Francisco. Material prices referenced elsewhere on this site come from Angi's San Francisco and national fence cost guides, checked October 2026.