Water dripping from the underside of a metal roof is usually condensation, not a leak. Warm indoor air reaches cold metal, the metal sits below the air’s dew point, and the moisture turns to water. The lasting fix is to keep that air away from the metal and to warm the metal’s surface. In practice that means sealing the air path and insulating tight against the panels. Closed-cell spray foam sprayed directly to the underside of the roof does both in one pass, and that is the job we do across the Bay Area.
TL;DR
- Condensation forms when a surface is colder than the dew point of the air touching it. Bare metal follows outdoor temperature quickly, so it is the first surface to get wet.
- Humid indoor air leaking up through the ceiling plane is the main supplier of moisture. Insulation with a gap between it and the metal lets that air reach the panels.
- Reducing indoor humidity and venting where the roof design allows it help, but they work best alongside an airtight insulation layer.
- Closed-cell spray foam applied to the underside of the roof deck leaves no air space for moisture to reach. Our published range is $1.50 to $2.50 per board foot.
- Look at where the water appears and when. Drips on cold mornings that dry by afternoon point to condensation. Drips only during rain point to a leak.
Table of Contents
- Why metal roofs sweat
- Condensation or leak? How to tell
- The three controls that work together
- Why closed-cell spray foam suits metal roofs
- Ventilation and air gaps: when they apply
- Perspective
- Getting it fixed
- FAQ
- Sources
Why metal roofs sweat
Condensation forms when a surface drops below the dew point of the air around it. PNNL’s Building America guidance names four causes: surfaces colder than the dew point, air leaking through holes in the air barrier, high indoor humidity, and too little ventilation or drying capacity. A metal roof can meet all four at once.
Metal has two traits that make it a bad host. It is highly conductive, so it follows the outside temperature almost immediately. A clear night, fog or a cold snap chills it fast. It is also a vapor barrier itself, so any moisture that reaches the underside has nowhere to go. An Owens Corning technical manager quoted in Metal Construction News points out that a metal shell blocks vapor yet typically leaks air, and that combination is what gets buildings in trouble.
The air movement matters more than most owners expect. Wind outside and the HVAC system inside create pressure differences, and those push humid air through every gap in the ceiling: light fixtures, wall tops, duct penetrations, loose insulation seams. Where that air meets a cold fastener or purlin and cools past its dew point, water forms. The same article quotes an engineer who notes that adding insulation between purlins can actually make the purlins and fasteners colder if it restricts interior air circulation. Insulation alone doesn’t solve the problem. What counts is keeping humid air away from cold points.
Cold climates make it worse, but not exclusively. The Metal Building Manufacturers Association says condensation is most likely where temperatures often stay at or below 35°F for long periods. In milder places like the Bay Area it tends to show up on cold, damp nights and in buildings that make their own moisture: restaurants, commercial kitchens, laundries, pools, and tightly closed homes with poor ventilation.
Condensation or leak? How to tell
Getting this wrong is expensive, because a roofer can spend a day resealing seams that were never the problem. The EPA notes that condensation inside roof assemblies is hidden and can be mistaken for rainwater or a plumbing leak. Its example is warm air leaking into an attic in freezing weather, forming frost on the deck that melts on a warmer day and drips through the ceiling.
A few observations separate the two:
- Timing. Condensation tracks temperature and humidity, so it shows up on cold mornings, after a night of cooking or showers, or when the heating comes on. A leak tracks rain.
- Pattern. Condensation is spread along the coldest lines: fasteners, purlins, ridge, panel laps. A leak tends to be one stain below one penetration, valley or seam.
- Dry spells. If the drips continue through days without rain, look at the air, not the roof surface.
- Surroundings. Rusting screws, staining on insulation facing, damp or sagging batts and musty smells all suggest recurring moisture. The MBMA lists damp spots, stains, mold, delamination and wet insulation as signs of concealed condensation.
If you already have stained drywall below, this guide to ceiling water damage repair covers what to do about the finished surface once the moisture source is fixed. If you spot dark growth, telling mildew from mold is a quick first step before deciding how to clean it.
Leaving it alone costs more than the drips. The MBMA lists two consequences of trapped moisture: corrosion of metal components and loss of insulation performance. Wet insulation stops insulating, so the roof gets colder, which causes more condensation.
The three controls that work together
The EPA’s guidance says effective control needs both warm enough surfaces and controlled indoor humidity working as a system. Adding air sealing, the list becomes three controls.
Stop the air leaks
PNNL ranks a continuous, sealed air barrier at the ceiling plane among its main controls, along with managing pressure differences through balanced ventilation, sealed ducts and make-up air for exhaust fans. In a metal building, the air barrier is the part most often missing. Fiberglass between purlins with a faced vapor layer sounds airtight, but Joseph Lstiburek of Building Science Corp. observes that most metal buildings’ interior vapor control layers are not airtight enough to stop interior air from leaking out and condensing on metal.
Spray foam is a good fit here because it expands into seams and around fasteners and cures as a continuous layer. Our spray foam for air leaks page explains how we handle that in Santa Rosa.
Keep the indoor humidity in range
PNNL suggests keeping indoor relative humidity at 30 to 50% during the heating season. A Therm-All manager quoted in the same trade article warns that above 40 to 45% metal buildings can start having problems. Exhaust fans that vent outside, covered cooking and washing areas, dehumidification where processes make steam, and fixing sources like damp crawlspaces all lower the load. We’ve put together a page on reducing indoor humidity at the source.
Warm the metal with the right insulation
This is where most DIY attempts go wrong. Insulation stapled up against the underside of a metal roof, with gaps and an unsealed face, lets humid air slip behind it and meet cold metal. The trade guidance is blunt about it: avoid air spaces in insulation systems, especially between the roof panels and the insulation. The MBMA’s energy guide adds that as a best practice the whole purlin cavity should be filled with insulation to avoid condensation.
Correctly placed insulation does what Lstiburek calls a thermal break: it isolates and warms the cold surface. The vapor retarder sits on the warm side, with enough insulation outside it to keep its surface above the dew point, as the MBMA’s energy committee chairman explains. A retarder with too little insulation over it will cool below the dew point and fail, as an IIBEC article on roof assemblies puts it.
Why closed-cell spray foam suits metal roofs
Consider what each layer has to do. The insulation must touch the metal with no air pocket, seal every seam and fastener so humid air can’t get in, and keep the metal’s surface warmer than the room air’s dew point. A foam that is sprayed on and bonds to the metal accomplishes all three at once, which a batt or board has to approximate with tape, facing and careful cutting. Building Science Press’s guideline on roof retrofits lists hybrid insulation using closed-cell spray foam as one of the preferred, code-adopted strategies, and warns that dense-pack insulation isn’t as airtight as many contractors assume.

That matters when the building is existing. Tearing off an old roof to build a ventilated or exterior-insulated assembly is the textbook approach but a big job. Spraying from the inside lets the roof stay in place. Our closed-cell insulation service is priced at $1.50 to $2.50 per board foot, and our general spray foam insulation is $1.00 to $2.50 per board foot. A board foot is one square foot at one inch thick, so a 2,000 square foot roof sprayed at 2 inches is 4,000 board feet. At the published range that is $6,000 to $10,000 for closed-cell, before any prep work. The final figure comes from the thickness your building needs and the condition of the roof, and we quote it before the work starts.
What if the roof already has old insulation that is wet or failing? Soaked material has to come out before anything new goes in. We do insulation removal at $1 to $2 per sq ft, then re-insulate, so the moisture isn’t sealed in behind new foam.
If the roof itself is near the end of its life, a spray foam roofing system on the outside puts the insulation and the weatherproof layer in one seamless assembly. It’s worth a look on low-slope commercial roofs, and our spray foam roofing page and our write-up on low slope roof spray polyurethane foam in San Francisco show what that involves.
Ventilation and air gaps: when they apply
Owners ask whether they need an air gap under metal roofing. It depends on how the roof is built. A vented attic below a metal roof is the most forgiving design, since it keeps the deck cold and dries small leaks, but PNNL stresses that the deck will still be below the dew point, so air sealing at the ceiling and balanced intake and exhaust venting remain the primary controls. Codes typically ask for 1 square foot of net free vent area per 150 to 300 square feet of attic floor, split between soffit and ridge.
Where a roof is built as a bottom-ventilated deck, the IRC requires a minimum 1-inch space between the underside of the deck and the top of the insulation. When a new metal roof goes over an old one, the cavity created between them needs ventilation at a minimum 1:300 ratio, according to a metal roofing manufacturer’s retrofit guide.
Most metal-roofed commercial buildings and many sheds, barns and workshops are not built that way. They have no vented cavity at all, and the underside of the panel is the room’s ceiling. In that case, air-tight, bonded insulation is the answer, not trying to add a gap. The EPA notes that unvented roof assemblies are the easiest way to avoid condensation on the sheathing from night sky radiation.

One caution for any retrofit: layering vapor retarders can trap water between them. The MBMA guide says that when continuous rigid foam goes beneath purlins over existing faced fiberglass, the fiberglass facing must be slit or perforated. That’s the kind of detail that decides whether a retrofit works, and it is why we look at the existing assembly first.
Perspective
Most condensation calls come down to the same sequence: warm, humid air finds a way up, meets a cold metal surface, and the owner replaces the ceiling tile or re-caulks the seams. The water comes back because nobody changed the air path or the surface temperature.
Our approach is to treat the underside of the roof as part of the building envelope. We handle the whole envelope with in-house crews, so the insulation, the air sealing and, where needed, the roofing or removal work are planned together instead of passed between trades. Our crews are certified and licensed in California, and the work is delivered to California energy and building code standards with a workmanship warranty on every job.
We also say plainly when a less expensive option will do. If a small shed needs a thin layer of closed-cell foam, that is what we quote. Our pricing is transparent, with no upselling, so you pay for the thickness and scope the building needs.
USA
Getting it fixed
Before you call anyone, note where the water appears, at what time of day and in what weather, and whether the building makes a lot of humidity. Those details tell us what the roof needs. For homes, shops, restaurants, warehouses and multi-unit properties around the Bay Area, we assess the roof assembly, remove wet or failed insulation if necessary, seal and insulate with closed-cell spray foam, and finish to California code. Pricing starts from the per board foot ranges above, and larger commercial jobs are quoted individually through our commercial insulation service.

If your metal roof is dripping, contact USA Spray Me for a quote on closed-cell spray foam for the underside of the roof.
FAQ
What causes condensation on the inside of a metal roof?
Moist indoor air touches metal that is colder than the air’s dew point. The moisture usually arrives through air leaks in the ceiling plane, and high indoor humidity or poor ventilation adds to it. Metal changes temperature fast, so it gets cold enough early.
Can I stop condensation under a metal roof without replacing the roof?
In most cases, yes. The usual fix is to seal air leaks, bring indoor humidity down and add insulation bonded to the underside of the panels, which keeps room air off the cold metal. Closed-cell spray foam applied from the inside is built for this, and the existing roof stays in place.
What humidity level is safe?
PNNL suggests 30 to 50% relative humidity in the heating season, and trade guidance cautions that levels above roughly 40 to 45% can cause trouble in metal buildings. Lower is better when outdoor temperatures drop.
Does insulation under a metal roof need an air gap?
Not in a typical unvented metal building, where gaps let humid air reach the cold panels. Some roofs, such as bottom-ventilated decks and new roofs over old, are designed with a vented space and need it to stay clear. Check how the roof is built before adding any layer.
Sources
- Condensation Control in Attics and Roofs in Cold Weather, PNNL Building America Solution Center
- Moisture Control Guidance for Building Design, Construction and Maintenance, EPA
- Condensation Fact Sheet, MBMA
- Energy Guide for Metal Building Systems, MBMA
- The Condensation Conundrum, Metal Construction News
- Guideline for Dense Pack Roof Assemblies, Building Science Press
- Avoiding Condensation in Low-Slope Roofing Assemblies, IIBEC
- A Designer’s Guide to Retrofit Roofing Systems, McElroy Metal
- Ceiling Water Damage Repair guide
- Mildew vs mold wipe test
Recommended
- Roof Ponding Water: Causes, Risks and Fixes
- Commercial Roof Leak Repair: What to Do and How to Fix It
- Flat Roof Waterproofing: Methods, Prep and What Lasts
- How to Stop Air Leaks in Your House: Find, Seal, Insulate
Get an Instant Quote From a Licensed California Insulation Contractor
USA Spray Me (CSLB Lic# 1058008) installs spray foam, blow-in, fiberglass and soundproofing insulation, foam roofing and protective coatings throughout the San Francisco Bay Area and within 100 miles of the city. Call (855) 566-5340 or request a free inspection below. Save $250 on orders over $2,500.



