It is true that dissimilar metals in the presence of a corrosive electrolyte (such as water or worse salt water) will lead to galvanic corrosion. However, if the metals do not actually make contact with each other, particularly if they are separated by a non-dielectric barrier (such as many adhesives and gasket materials, then the corrosion will be significantly minimized or even eliminated.
For our campers with Aluminum framing and skin having steel (even galvanized or stainless fasteners) putting a coating of sealant or adhesive or even paint on the threads of a steel screw before it is installed and between the head of the screw and and the Aluminum skin will help minimize corrosion risk. It is likely that applying the coating only under the screw head (or even a rubber or butyl washer under the screw head) would be sufficient since the likelihood of water getting past the seal and into the threads would be significantly reduced.
https://www.marshfasteners.com/can-stainless-steel-and-aluminum-be-used-together/
An FYI relative to stainless steel.
If one is concerned about the fastener corroding then stainless steel is worth considering. However, stainless is still more cathodic than Galvanized steel and Aluminum (which is more anodic) and galvanic corrosion of the Aluminum is still likely in the presence of a corroding electrolyte if a protective coating is not used.
- Anode – material that is positively charged, electrons leave this material
- Cathode – material that is negatively charged, electrons enter this material
- Electrolyte – liquid that aids in the process of electron transfer
- Corrosion/corrode – Destroy or weaken metal gradually
"How It Works
Galvanic corrosion occurs when two materials (an anode and a cathode) come into contact with each other and an electrolyte. Electrolytes can be environmental factors such as humidity or rainwater. When these factors come into play, electron transfer will begin to occur. Depending on the level of resistance in an electrolyte, this transfer can happen much faster. This is why salt water, an electrolyte with a very low resistance, is a common factor when considering what product to use. Due to this, it is incredibly important to consider what material you are going to use in an environment. When working with a marine, salt water environment, you even need to consider the type of stainless steel you are using.
When aluminum and stainless steel are used in an assembly together, the electrons from the Aluminum will begin to transfer into the stainless steel. This results in the aluminum weakening. This weakened aluminum causes it to deteriorate at a much faster rate. This can lead to an extended life of the stainless steel. Note: Aluminum, if left on its own with the electrolyte, will still lose its electrons eventually, but having stainless steel present will significantly speed up this process."
Reference:
https://www.albanycountyfasteners.com/blog/stainless-steel-and-aluminum/#:~:text=The%20combination%20of%20aluminum%20and,)%20to%20another%20(cathode).
There are at least 5 types of stainless and only one type has high corrosion resistance (austenitic).
Austenitic stainless steels generally provide the most corrosion resistance because of their high amounts of chromium. 304 and 316 are commonly used but 316 stainless has the best corrosion resistance, which is why it is widely used on boats in the marine environment. It is also the most expensive stainless.
Other stainless steels can and do corrode.
If the manufacturer does not say is it 304 or 316 then it probably is not corrosion resistant. But when used with Aluminum in the presence of an electrolyte it may still lead to corrosion of the Aluminum.
https://www.kloecknermetals.com/blog/what-are-the-types-of-stainless-steel/#:~:text=Stainless%20steel%20can%20be%20classified,%2C%20durability%2C%20and%20temperature%20resistance.
Bottom line;
For our campers unless the screws themselves are corroding (in which case using 304 or 316 stainless fasteners would help) the best approach to mitigating galvanic corrosion of the Aluminum (and even mitigating steel corrosion) is to use painted galvanized steel screws or insulating washers or sealant under the screw heads (or maybe a combination of these). Galvanized screws and stainless steel screws will not prevent galvanic corrosion of the Aluminum but the galvanized screws should only be a minimal risk.
I hope this is helpful.
Craig