If your steel building drips inside when the weather turns cold, condensation is a likely cause, but rule out a roof leak first before you treat it as one. Spray foam insulation is one of the more effective fixes for a steel building prone to condensation. Condensation forms when warm, moist indoor air reaches steel whose surface temperature has dropped below that air's dew point. Water forms on the coldest surface it can find, usually the underside of the roof panels or the purlins.

Here's what causes it, how to tell it apart from a real leak, and where spray foam fits among the fixes.

Why metal buildings sweat

Steel conducts heat fast and holds almost none of it. When warm, humid air inside the building touches a steel surface that has dropped below the air's dew point, the moisture in that air condenses directly onto the metal. It's the same reason a cold glass sweats on a humid day. Wood framing conducts less heat than steel, but either type of building needs a properly designed air, thermal and moisture-control assembly to avoid the same problem. Bare steel without that assembly swings cold fast, especially overnight and into early morning, which is exactly when most condensation complaints come in.

The signs you're looking at condensation, not a leak

Condensation shows up as drips from the underside of the roof, moisture beaded on purlins and girts, or damp spots on stored equipment or hay. Sometimes it's a stained concrete slab under the worst areas. It tends to appear after a cold snap, overnight, or first thing in the morning. It often shows up across a wide area rather than at one specific point. Location and timing can provide clues, but leaks and condensation can both appear away from an obvious source. Inspect the roof assembly before deciding which one caused the water.

Where the moisture is actually coming from

Before you insulate anything, it helps to know what is putting moisture into the air in the first place.

  • People and animals inside the building, from ordinary breathing alone.
  • Vehicles and equipment brought in wet or covered in snow.
  • Unvented propane or kerosene heaters, which release moisture as a byproduct of burning fuel.
  • A fresh concrete slab, which can release a surprising amount of water vapor as it cures.
  • Stored hay or wet equipment sitting inside for extended periods.

Cutting off the source matters as much as anything you add to the walls or roof. A properly vented heater, a slab given time to cure before the building is sealed up tight, and less wet equipment parked inside all reduce the moisture load. That's true before insulation even enters the picture.

Fix it in this order

  1. Stop moisture at the source where you can: vent heaters properly, let a new slab cure, keep wet equipment and stored hay to a minimum.
  2. Have the insulation designer specify the air and vapor-control layers for your climate and assembly if you are insulating with batt or rigid board, so the insulation is not fighting moisture that gets past it.
  3. Add insulation appropriate to how the space is used and how much you condition it.
  4. Add ventilation, such as a ridge vent or exhaust fans, to move humid air out before it finds a cold surface.

Skipping straight to insulation without addressing the source is one of the more common mistakes we see. So is skipping the vapor barrier underneath batt or rigid board. Either one can trap moisture inside the wall or roof assembly instead of keeping it out.

Closed-cell vs. open-cell spray foam

Closed-cell spray foam is dense, rigid once cured, and closes every gap it is sprayed into. That makes it about the most airtight option available for a steel building. Use the foam manufacturer's tested minimum thickness for the air seal, and have your insulation contractor size the full assembly for the air, vapor and thermal performance your climate and use call for.

Closed-cell foam sticks directly to the steel, including the girts and purlins. Because it seals so completely, it addresses condensation at the source: the warm side of the assembly never touches a bare cold steel surface for moisture to condense on. All girts and purlins are coated in Galvalume AZ55, which improves corrosion resistance. Concealed framing still needs dry surfaces before the foam goes on, a foam compatible with the coating, correct installation, and a plan for catching a leak you cannot see once it's covered.

Open-cell spray foam is softer and expands more than closed-cell, and it is more vapor-permeable. It still air-seals well, just not to the same degree. Use it against metal only when a qualified designer confirms the complete assembly controls condensation and lets any moisture that gets in dry out safely, which matters more in a genuinely humid climate or a building with a real moisture problem than in a mild, dry one.

Where spray foam may fit

Spray foam makes the most sense in a fully conditioned space: a heated workshop, a barndominium, or any building where you are actively fighting condensation. The air-sealing spray foam provides is hard to match with batt or rigid board. For a building with a documented sweating problem, that seal is usually the fix itself, not a comfort upgrade.

For a building you condition occasionally, or one used mainly for dry storage, a properly installed batt system with a continuous vapor barrier, paired with basic ventilation, handles ordinary seasonal condensation in a lot of buildings without using spray foam. See our full insulation options guide for how spray foam compares to batt, rigid board, and reflective barrier on performance.

Decide before the building is ordered, not after

Insulation and vapor barrier decisions affect how your secondary framing is spaced and how your building is engineered. It is worth deciding early whether you plan to condition the space, even if you are not insulating on day one. That is also the right time to plan your concrete slab and its own vapor barrier. A slab that was never sealed against ground moisture can keep feeding humidity into the building no matter how good the roof insulation is. Whether you are outfitting a home workshop or a livestock building, adding insulation after the building is up and in use is always more disruptive than planning it in from the start. Regular maintenance checks also catch early condensation signs before they turn into a bigger problem.

Frequently asked questions

Why is my metal building dripping inside?

Almost always condensation, not a leak. Warm, moist air inside the building is meeting steel that has cooled below the dew point, and the moisture in that air is condensing on the metal. Check whether it happens overnight or after a cold snap, and whether it shows up broadly rather than at one specific spot.

Does spray foam stop condensation in a steel building?

It can help a lot, but it is not a guarantee. Closed-cell spray foam, installed well, air-seals the steel and keeps warm, humid air off the cold surface, which is where condensation forms. It works best paired with controlling the moisture source in the first place, and it is not a standalone fix for a building that is generating a lot of moisture inside.

Closed-cell or open-cell spray foam for a metal building?

Closed-cell for a genuinely humid climate or a documented condensation problem, since it air-seals more completely and adheres directly to the steel. Open-cell is more vapor-permeable and works well in a milder climate or a less demanding application, but have a qualified designer confirm the full assembly still controls condensation.

Do I need a vapor barrier in a steel building?

Usually, if you are insulating with batt or rigid board in a conditioned space, though the right vapor-control approach depends on your climate and the assembly. Have your insulation designer specify it so humid air can't reach the cold side of the insulation and condense there. Spray foam acts as its own air barrier when installed correctly, which is part of why it performs differently than batt.

Can you add spray foam after the building is up?

Yes, though it is easier and less disruptive to plan for it before the building is finished. Access to the underside of the roof and walls is simpler before shelving, equipment, and finished space are in the way.

Tell us how you plan to use the building and whether you intend to condition the space, and an estimator will help you plan insulation into your project from the start. Start a quote.