In short
A metal roof that drips after cold nights, on days with no rain, is likely condensing. Batts and thin foam leave cold steel for warm, moist air to find. Closed-cell foam bonded to the steel and thick enough to keep its inner face above the dew point, or foam on the outside, moves that cold surface out of reach. Cutting the moisture still matters.
Our take, up front
We sell interior spray foam and foam roofing, so we have a stake in the answer. Even so, start with the cheapest step: find where the moisture comes from.
If the drip only shows up after cold nights, the fix is usually about where the cold surface is and how much moisture the building makes. Replacing screws will not change either one.
Is it a leak or condensation?
Timing is the tell. A leak follows rain or melting snow. Condensation follows cold nights, and it can drip on a dry day.
A Texas shop owner on GarageJournal wrote in February 2025 (a legacy benchmark) that warm interior air hits the cold underside of the metal roof and "causes condensation to rain down inside in a few areas anytime the outside air temp matches the dewpoint." It happened maybe 10 days a year in winter, was worst around 32 degrees, and started to thaw when the sun came out. Later in the thread he said the dripping started shortly after sunrise, and he thought the water had frozen on the steel overnight.
A barndominium owner in Oklahoma described the same pattern to Hansen Pole Buildings in January 2023: after a cold night, the sun heats the metal and "a ceiling that rains throughout the day," worse near the peak.
How does A-1 tell a leak from condensation?
A-1 asks the same question first: when does it drip? Kent Sybesma, A-1's Director of Operations, sorts the answers three ways. A drip during a warm summer rain is a leak. A drip in cold weather with no moisture outside is condensation. A drip during a thaw after a hard cold spell can be either. Then, where he can, he looks at the roof deck for exposed steel or compromised insulation that could be causing condensation.
Why does a metal roof sweat?
Because the steel sits close to outdoor temperature and the air under it does not. RIMA, the reflective insulation trade association, explains in a FAQ published in 2011 and updated in 2018 that condensation forms on a surface at or below the dew point of the air touching it. Its table shows how low that bar is: air at 70°F and 50% relative humidity condenses on a surface at 50.5°F. At 90% it is 66.9°F.
Wick Buildings explains the mechanism: warm air holds more moisture than cold air, and warm air rises. At night, warm, wet air rises, meets the cold roof and cools, and it cannot hold as much moisture. The excess becomes water on the steel.
That is why the drip is worst near the peak. Hansen's answer to the Oklahoma owner says the effect is "more pronounced as you approach interior peak due to warm air rising."
Why didn't batts or a thin coat of foam fix it?
Because air still reached a cold surface. A 2010 Fine Homebuilding forum answer (a legacy benchmark) started with lowering the humidity near the roof, then added: "Insulation alone doesn't do anything (unless bonded to the metal)." Another reply in the same thread explains why foam sprayed on the steel works: condensation happens where moist air meets the metal, and "if you eliminate the air, you eliminate the condensation."
The Oklahoma owner had sprayed about 1/2 to 1 inch of closed-cell foam, then laid batts below it, and still saw water. Hansen's reply cites Johns Manville: "a minimum of 1-1/2″ of closed cell spray foam is required in order to provide an adequate air and vapor barrier." Hansen says it has always recommended two inches. Its diagnosis: the underside of that thin foam stayed cool enough on cold mornings for warm, moist air rising inside to condense on it. A-1's comparison of pole barn and steel building insulation covers how thick today's low-GWP foams have to be to reach 1 perm.
What does interior spray foam need to do the job?
Three things. It has to be closed-cell. It has to be bonded straight to the steel with no air gap behind it. One installer's advice on the GarageJournal thread: "coat everything in foam, don't leave exposed beams or purlins." And it has to be thick enough to act as a vapor retarder.
Makers rate closed-cell foam as a Class II vapor retarder, at 1 perm or less, at about 1 to 1.3 inches depending on the product. Johns Manville says its own foam needs no separate vapor retarder above 1.5 inches. Hansen recommends at least 2 inches under steel.
Thickness also sets the inner face temperature. Another GarageJournal reply worked it out for a shop heated to 65°F at about 30% humidity: the dew point is about 32°F, so the foam has to keep its inner face warmer than that on the coldest mornings.
Where has interior foam stopped the drip?
When the only goal is to stop condensation, A-1 suggests 1.5 to 2 inches of closed-cell foam. For a heated shop the owner wants to keep at 50 to 60°F, A-1 suggests 2 to 2.5 inches.
A-1 has sprayed large dairy loafing barns to stop condensation. The foam was left exposed, and the condensation stopped. A-1 has also sprayed several calving barns to stop condensation, and on those it suggests covering the foam with a spray-on flame-retardant coating.
How do we spray foam under cold steel?
Inside buildings we spray two foams: a 2-pound closed-cell polyurethane and a half-pound open-cell foam. Under cold steel, the closed-cell is the one that acts as a vapor retarder.
Cold steel is also hard to spray. In our experience, below about 45°F closed-cell foam loses yield and does not stick well. On cold steel we heat the space with large indirect diesel-fired heaters to bring the surface up to spraying temperature. It is a fine line: too much heat in too cold a space creates condensation, and foam cannot go on a wet surface.
Does interior foam need a cover?
In a building the code covers, such as a commercial shop, yes. Under section 2603.4 of the 2018 International Building Code, as Minnesota adopts it, foam plastic has to be separated from the interior by a thermal barrier, usually half-inch gypsum board. A lighter ignition barrier counts only in attics and crawl spaces entered just for utilities.
Working farm buildings are largely outside the building code in our states. Minnesota's State Building Code does not apply to agricultural buildings (Minn. Stat. 326B.121), Iowa county building codes do not apply to farm buildings used for agricultural purposes (Iowa Code 331.304), and South Dakota's default building standard does not apply to a farmstead (SDCL 11-10-6). Ask the installer what will go over the foam before you compare prices. A-1's post on spray foam thermal vs ignition barriers explains which cover fits a machine shed, a livestock barn or a commercial shop.
Can foam on the outside of the roof stop it?
It moves the cold surface outside the steel. We saw this on a retail building in Freeman, South Dakota. At the Freeman Shopping Center, a 43-year-old metal roof over about 21,140 square feet would condensate, drip and stain the ceiling tile on a warm-up after a cold snap. In 2021 we sprayed high-density foam and Everest EverCoat HT, a premium acrylic coating, directly over the existing metal.
The foam added R-10. Our case study credits the foam's position, at the outermost surface of the roof, with moving the condensing surface outside the building. The job took ten working days and needed no tear-off. The dripping stopped completely.
The foam did that work, not the coating. Asked whether a roof coating alone changes condensation, Kent's answer was one word: "NO."
What should you fix before spending money on the roof?
The moisture. Wick's article lists the moisture sources owners forget, and several are everyday on a farm: livestock, fill dirt, poor drainage, a high water table, unvented heaters, snow melt from vehicles, washing floors, green lumber or firewood, hay, and open pits or sumps. Some of its prevention steps belong at construction. These can still be changed in a standing building:
- Use heaters vented to the outside. Unvented space heaters add moisture and warm the air so it holds more.
- Drain surface water away from the building, and tile gutters away from it.
- If you are still building: put a vapor retarder under the floor, gravel or concrete, and ventilate until the concrete cures. Wick notes its roof condensation membrane "cannot be added to an existing structure."
Can you just dehumidify or ventilate it away?
Ventilation helps when it is designed for the building. Wick says natural ventilation is often misunderstood, and a good design accounts for the building's moisture sources and local wind and climate. Wick's Adam Kraus says the venting need is often underestimated, typically at the eaves, and the eave openings should add up to the ridge openings. As Kraus puts it, "a ventilation system is only as good as its weakest point."
How dry the air must be depends on how cold the steel gets. RIMA calls keeping inside relative humidity under 60% "an important factor in preventing condensation." In the Oklahoma case, Hansen guessed, and labelled it untested, that mechanical dehumidification would probably need to hold the inside under 20% relative humidity to stop the drip.
In high-humidity buildings, A-1 suggests air exchangers or exhaust fans controlled by humidistats.
Where does this advice fail?
It fails when the water really is a leak. Worn fasteners, seams, edge details and closure strips all let water in. The Freeman roof leaked at those too, separately from its condensation: its closure strips no longer filled the panel flutes, so water backed up under them, and we resealed the flutes as part of the same job. If water shows up after rain rather than after cold nights, treat it as a leak first.
It also fails in buildings with very high moisture loads, like confinement livestock barns, where the moisture source and ventilation matter as much as the roof. Wick puts it bluntly: "Insulation is no guarantee against condensation."
What to do next
Write down when the drip happens for a week: the overnight low, whether it rained, and when it stops. If it follows cold nights, cut the moisture sources first. Then compare interior closed-cell foam, thick enough for the coldest mornings, with exterior foam over the metal, which is what we did at Freeman.
We inspect the roof thoroughly and report what we find to the building owner, including whether the water looks like a leak or condensation. Book a roof inspection.
A note on this post
This post explains condensation on metal roofs in general terms. Forum accounts quoted here are one owner's or installer's experience, not test results. Insulation and thermal barrier requirements depend on the building's use and the code your local authority enforces.
Questions owners ask next
- Does open-cell foam work under a metal roof?
- Open-cell foam lets water vapor through, so moist air can pass it and reach the cold steel. Closed-cell is the usual choice where condensation is the problem.
- Can I put batts back over closed-cell foam for sound?
- The GarageJournal owner asked exactly this. The foam needs to be thick enough on its own to keep its inside face above the dew point; anything added over it should not be relied on for that.
- Is reflective insulation enough?
- RIMA says reflective insulation below the roof deck raises the interior surface temperature in cold weather, but that a system without a high quality vapor retarder will be of little or no value against condensation.
Related on this site
- Interior spray foam insulation
- Spray foam insulation
- Metal roof coating
- Freeman Shopping Center project
- Agricultural buildings
- Commercial roofing in South Dakota
- Commercial roofing in Iowa
- Metal roof leaking at every screw
- Spray foam thermal vs ignition barrier
- Pole barn and steel building insulation compared
Sources
- Hansen Pole Buildings, barndominium condensation question and reply (January 10, 2023; legacy benchmark; owner account plus Johns Manville 1-1/2 in. minimum)
- GarageJournal forum, Will closed cell spray foam prevent condensation issues? (February 2025; legacy benchmark; owner and installer accounts)
- Fine Homebuilding forum, Closed cell foam to prevent condensation on metal roof (November 2010; legacy benchmark)
- RIMA International, Condensation FAQ (published March 2011, updated February 2018; legacy benchmark; dew point table, humidity under 60%)
- Wick Buildings, How to prevent condensation under a metal roof (quotes engineer Adam Kraus; published July 2017, updated February 2025; legacy benchmark)
- Huntsman Building Solutions, Icynene HFO 200 technical data sheet (V9, December 2024; legacy benchmark): Class II vapor retarder at 1 in.
- NCFI, 11-035 AgriThane technical data sheet (October 24, 2023; legacy benchmark): Class II vapor retarder at 1.3 in.
- International Building Code 2018 as adopted in Minnesota, Chapter 26 Plastic (section 2603.4 thermal barrier), via UpCodes
- Minnesota Statutes 326B.121, State Building Code application (agricultural buildings)
- Iowa Code 331.304, Procedural limitations on general county powers (subsection 2(b), farm buildings)
- South Dakota Codified Law 11-10-6, 2024 International Building Code for new construction; farmsteads excluded
- A-1 Roofing, Freeman Shopping Center project (2021)
- A-1 Roofing, Interior spray foam insulation
