Insulating a Container Home Without Condensation Problems

Why steel containers sweat, what each layer of a wall actually does, and how to choose an insulation approach that suits your climate.

By Container Homes Daily Editorial Team

  • Build Guide
  • Published
  • Updated
  • 18 min read

A shipping container is a steel box, and steel follows the outdoor temperature closely. On a cold night, its inside surface can drop below the temperature at which water condenses out of indoor air. On a hot, humid day in an air-conditioned home, the problem can run the other way.

Insulation is meant to stop this, but the wrong insulation, or a gap in the right one, can trap the moisture against the steel, where nobody sees it until the damage is done.

This guide explains why containers sweat, what each layer of a wall actually does, and how the common insulation approaches compare in different US climates. It doesn’t name a single best material, because there isn’t one.

Reviewed December 1, 2026. Code references are to the 2021 International Residential Code (IRC). Your jurisdiction may use another edition or local amendments.

Key Takeaways

  • Condensation forms when moist air reaches a surface colder than its dew point. Steel containers create those cold surfaces easily, because steel conducts heat far faster than wood or insulation.
  • Insulation, air sealing, vapor control and ventilation are four different jobs. A wall that does one well can still fail at another.
  • Insulating on the outside keeps the steel warm and is the approach building scientist Joseph Lstiburek prefers. It needs new cladding and space around the container.
  • Insulating on the inside needs a layer that is airtight, tolerates water and limits vapor right against the steel. High-density closed-cell spray foam is the common choice for that reason, not because it is universally best.
  • Climate changes the details, especially where vapor retarders go. In climate zones 1 and 2, the IRC does not permit Class I or II interior vapor retarders on frame walls, apart from a footnoted exception.

The short answer

To insulate a container home without condensation, keep warm, moist indoor air away from cold steel. Either insulate the outside so the steel stays near indoor temperature, or insulate the inside with a continuous layer that is airtight, water-tolerant and vapor-retarding right against the steel. Then control indoor humidity with ventilation.

High-density closed-cell spray foam is common inside containers because one layer does all three of those jobs. Exterior rigid insulation under new cladding is the approach Building Science Corporation prefers, because it keeps the steel warm and the rain control outside. Fibrous insulation such as mineral wool or fiberglass placed directly against the inside of the steel is the risky option: air and vapor pass through it and reach the cold steel.

Whatever you choose, the details at the roof, floor, openings and joints decide whether it works.

Why steel containers sweat

Dew point in plain terms

Air holds water as invisible vapor. The warmer the air, the more it can hold. The dew point is the temperature at which air becomes saturated: cool it below that point and liquid water appears, like droplets on a cold glass. Relative humidity describes how close air is to saturation at its current temperature.

The table shows the dew point for room air at 70°F at three humidity levels. Any surface colder than the figure will collect condensation from that air.

Indoor air Relative humidity Dew point (approx.)
70°F 40% 45°F
70°F 50% 50°F
70°F 60% 55°F

Calculated by Container Homes Daily using the Magnus approximation. Figures are rounded and for illustration.

In winter, an uninsulated or poorly insulated steel wall can easily be colder than 50°F. Summer reverses the direction. Outdoor air at 90°F and 60% relative humidity has a dew point of about 74°F by the same calculation. A surface that air conditioning keeps cooler than that can collect moisture from humid outdoor air that leaks into the wall.

Steel is a thermal bridge

A thermal bridge is a path through a wall that conducts heat much faster than the material around it. In a container, the whole shell is that path. The US Department of Energy’s Building America Solution Center gives typical insulation at roughly R-3 to R-7 per inch and wood at about R-1 per inch. Steel is about R-0.003 per inch (DOE Building America Solution Center). R-value measures resistance to heat flow; higher is better.

In practice, any steel that passes through or around the insulation stays close to the outdoor temperature. That includes the container’s frame, a steel stud fastened to the wall, or a corrugation left uncovered. Each of those surfaces becomes a cold spot on the warm side. As Lstiburek puts it, the whole box is a giant thermal bridge: uninsulated, it is an oven in summer and an icebox in winter (Building Science Corporation, BSI-078).

Moisture moves two ways

Water vapor reaches cold surfaces in two ways:

  • Air leakage. Moist air flows through gaps, carrying its water with it. Even small gaps can deliver moisture to a cold surface, which is why air sealing matters so much.
  • Vapor diffusion. Water vapor moves slowly through materials, from the side with more water vapor (usually the warm side) to the side with less. Perm ratings measure how easily it passes: the lower the number, the tighter the material.

Liquid water is a separate risk. Lstiburek notes that even new containers are “pretty darn good, but not perfect” at keeping water out (BSI-078). Insulation placed inside the steel must cope with the occasional leak.

Four jobs: insulation, air, vapor and ventilation

These four functions are related but separate. A material that does one well may do another badly.

Function What it controls Typical materials and measures What happens if it’s missing
Thermal insulation Heat flow Spray foam, rigid boards, mineral wool, fiberglass Cold interior surfaces, high energy use
Air barrier Air leakage through the envelope Closed- and open-cell spray foam, taped rigid boards, sealed membranes and sheathing Moist air reaches cold steel; drafts
Vapor retarder Vapor diffusion Rated by perm class (I, II or III); some foams and facings qualify Too little lets vapor reach cold surfaces; too much on the wrong side traps moisture
Ventilation and humidity control Indoor moisture levels Kitchen and bath exhaust, whole-house mechanical ventilation, dehumidification Indoor humidity rises, raising the dew point everywhere

A useful test for any proposal is to ask which layer performs each job, and whether it is continuous at the roof, floor, corners and openings.

Insulate outside or inside?

There are two basic places to put the insulation: outside the steel or inside it.

Outside. Insulating the outside keeps the steel near indoor temperature, so its inner surface stays above the dew point. Lstiburek calls this the easy and best choice. It allows proper rain control behind new cladding, it uses the “perfect wall” approach that works in any climate, and it doesn’t take up interior space the container doesn’t have (BSI-078). The trade-offs are cost, a new exterior finish and the loss of the container look.

Inside. Insulating the inside keeps the steel as both the structure and the cladding, but the steel is cold. Lstiburek describes the steel then working as a face-sealed system: every weld and seam has to keep water out, and he expects the walls to leak “not a lot, but a little bit”. His conditions for interior insulation:

  • use insulation that is not water-sensitive, typically high-density (2 lb/ft³) spray polyurethane foam;
  • apply at least 2 inches, which brings vapor transmission below 1 perm (a Class II vapor retarder);
  • cover the roof with a new roofing membrane;
  • line the foam with paperless gypsum board;
  • add no interior vapor barrier such as vinyl wallcovering.

He still considers interior insulation risky except in dry places (BSI-078).

Exterior insulation Interior insulation
Steel temperature Near indoor temperature Near outdoor temperature
Condensation risk at the steel Low, if the insulation is continuous Depends on airtight, vapor-retarding contact with the steel
Interior width Keeps the full inside width Reduces it (see container sizes for homes)
Exterior Needs new cladding and flashing Container steel stays visible
Typical materials Rigid boards, mineral wool boards, exterior spray foam with cladding Closed-cell spray foam, possibly with other layers
Hard details Windows, roof edge, base of wall Every seam, the frame, the floor edge, openings

Hybrid walls, with some insulation outside and some inside, are also used. They need a designer to check where the dew point falls within the wall.

Comparing insulation materials

The table compares common materials using typical figures. Real products vary, so check the manufacturer’s data for the exact product and thickness.

Material Typical R-value per inch Air barrier? Vapor control Strengths in a container Cautions
Closed-cell spray foam (about 2 lb/ft³) about 6 Yes Below 1 perm at 2in (Class II) Bonds to corrugated steel; airtight; tolerates water Cost; installer skill; needs a thermal barrier inside; hard to modify later
Open-cell spray foam (about 0.5 lb/ft³) about 3.6 Yes, at typical thickness Vapor-open: about 5–10 perms at 5in Lower cost per inch; good air seal Lets vapor reach cold steel; risky directly on the inside of the steel in cold climates
Mineral wool (board or batt) about 3–4 No Vapor-open unless faced Suited to exterior use under cladding Not an air barrier; against cold steel inside, air and vapor pass through
Extruded polystyrene (XPS) board about 5 Yes, if seams are sealed About 1.2 perms per inch, so Class II only at greater thickness Continuous exterior layer; moisture-tolerant Boards don’t follow corrugations inside, leaving air gaps unless filled
Expanded polystyrene (EPS) board about 3.8–4.4 Yes, if seams are sealed Typically Class III Lower cost; continuous exterior layer Same gap issue inside
Polyisocyanurate (polyiso) board about 6 Yes, if seams are sealed Depends on facing; foil-faced typically Class I High R per inch outside Facing choice affects drying
Insulated panels Product-specific Product-specific Product-specific Factory quality; fast to install Panel joints and connections to the steel must be sealed

Sources: DOE Building America Solution Center (typical R-values and vapor classes, updated December 23, 2021); DOE Building America “Which Spray Foam Is Right For You?” (2009) for spray foam density, perms and R-values; Building Science Corporation BSI-078. Checked December 1, 2026.

Closed-cell spray foam

Closed-cell foam is rigid and doesn’t absorb water. DOE’s Building America guidance lists it at about R-6.1 per inch, with less than 1 perm at 2 inches, which makes it a vapor retarder at typical thickness (DOE Building America, 2009). Sprayed directly onto the inside of the steel, it fills the corrugations, so there is no air gap for moist air to reach. That is why it is the usual choice for interior container insulation.

The cautions are cost, the need for a trained installer, and fire protection (see below). Thin or patchy coverage defeats the purpose. Because it bonds to the steel, it is difficult to remove if you later need to repair the wall.

Open-cell spray foam

Open-cell foam is lighter and softer. It is about R-3.6 per inch and air-impermeable at typical thickness, but the same DOE guide notes it “is not vapor impermeable”: about 5 to 10 perms at 5 inches (DOE Building America, 2009). Against cold steel, water vapor can diffuse through it and condense at the steel. It can have a place in some assemblies and climates, but it needs a designed vapor control strategy, not just a thicker layer.

Mineral wool

Mineral wool is fibrous and vapor-open. Building America lists mineral wool board at about R-3 to R-4 per inch and not an air barrier (DOE Building America Solution Center). Those properties make it a good exterior insulation under cladding. Placed inside, against the steel, air and vapor move through it to the cold surface. That is the pattern building-science sources warn against.

Inside, it would need an airtight, vapor-controlled layer between it and the steel, such as closed-cell foam on the steel with mineral wool on the room side, and the combination needs to be designed.

Rigid foam boards

XPS, EPS and polyiso boards are the usual materials for continuous exterior insulation, with taped seams acting as an air barrier. Inside a container, flat boards don’t follow the corrugations. The hollows behind them become air pockets against the cold steel unless they are filled, typically with spray foam. The boards’ vapor ratings range from Class III (EPS) to Class I (foil-faced polyiso), which changes how the wall can dry. Choose them as part of the whole assembly.

Insulated panels

Factory-made insulated panels can be attached inside or outside the container. Their performance, vapor rating and fire classification depend entirely on the product, so use the manufacturer’s tested data and installation instructions. The weak points are the joints and the fixings that pass through to the steel.

Vapor retarders and what the IRC says

The 2021 IRC classifies vapor retarders by perm rating in Table R702.7(1) (ICC, IRC 2021 Section R702.7):

Class Perm rating Examples given in the IRC
I 0.1 or less Sheet polyethylene, non-perforated aluminum foil
II Over 0.1, up to 1.0 Kraft-faced fiberglass batts, vapor retarder paint
III Over 1.0, up to 10 Latex or enamel paint

The code then sets which classes are allowed on the interior side of frame walls by climate zone (IRC 2021 Table R702.7(2)):

  • Zones 1 and 2: Class I and II are not permitted (a footnote allows Class II products above 1 perm); Class III is permitted.
  • Zones 3 and 4, except Marine 4: Class II and III are permitted; Class I is not.
  • Marine 4 and zones 5 to 8: Class I and II are permitted; Class III only with specific exterior insulation or vented cladding.

The IRC also says a vapor retarder is not required in climate zones 1, 2 and 3, and allows an approved design using hygrothermal analysis as an alternative (IRC 2021 R702.7).

Two cautions apply to containers. First, these tables are written for frame walls. A steel container wall with foam sprayed onto it is a different assembly, so ask your building department how it will apply R702.7. A designer may need to show the wall works through the hygrothermal analysis route.

Second, in zones 1 and 2 the code keeps low-perm layers off the inside of frame walls. Ask how that intent applies to your container wall.

Ventilation and indoor humidity

Insulation and air sealing reduce condensation on the walls, but people, showers and cooking add moisture to the air every day. The US Environmental Protection Agency recommends keeping indoor relative humidity below 60%, ideally between 30% and 50% (EPA). Lower humidity means a lower dew point, so every surface in the home has more margin.

Practical measures include kitchen and bathroom exhaust fans ducted outdoors, venting clothes dryers outside, and dehumidification in humid climates. A well-sealed container is airtight enough that fresh air has to be provided deliberately. The IRC requires mechanical ventilation for dwellings built to the air-leakage requirements of its energy chapter (IRC 2021 R303.4). Your designer or HVAC contractor can size it.

Roof and floor

Roof. The roof is where water sits, and where warm, moist air collects inside. If you insulate inside, Lstiburek’s advice is to add a new roofing membrane over the container (BSI-078). Some designs add a separate roof with a slope and an air gap above the container. It sheds water and shades the steel. Insulation at the ceiling needs the same continuity as the walls. Any gap at the wall-to-roof corner becomes a cold, wet spot.

Floor. Heat also escapes downward, and the underside of the container is exposed to outdoor air when it sits on piers. Building Science Corporation’s exterior approach insulates under the floor, with a protection board to keep pests out of the insulation (BSI-078). Inside, insulation can go over the existing floor, at the cost of height. Where your jurisdiction applies IBC Section 3115, Section 3115.5 calls for under-floor ventilation by reference to IBC Section 1202.4 (ICC, IBC 2021 Section 3115).

How the container sits on its foundation affects the floor detail. Our guide to container home foundations covers the options.

Climate considerations across the US

The IRC and the International Energy Conservation Code divide the US into numbered climate zones, from the hottest to the coldest, with moisture subdivisions for humid, dry and marine regions. The zone sets the energy code’s insulation levels and, as shown above, the vapor retarder rules. Your building department will tell you which zone and which energy code apply.

Climate (IECC zones, simplified) Main condensation risk Typical direction of thinking
Hot-humid (humid parts of zones 1–3) Humid outdoor air reaching air-conditioned surfaces Airtight shell; in zones 1 and 2, no Class I or II interior vapor retarders on frame walls; dehumidification; shade the steel
Hot-dry (the dry, or “B”, zones of the Southwest) Large day-night swings; heat gain Insulation and shading the roof matter most; exterior insulation reduces heat gain into the steel
Mixed (zone 4) Both directions at different seasons Assemblies that can dry in at least one direction; careful vapor control
Cold (zones 5–8) Indoor moisture reaching cold steel in winter Continuous exterior insulation preferred; interior closed-cell foam is higher-risk and needs professional review; Class I or II interior vapor control permitted on frame walls
Marine (Marine 4) Long wet periods Rain control and drying; keep the steel from staying wet

This table summarizes general building-science principles and the IRC vapor retarder rules. It is not a design. Local codes, the specific assembly and your HVAC design govern the details.

Fire protection for foam insulation

Foam plastic insulation, including spray foam and rigid foam boards, must normally be separated from the interior of the home by an approved thermal barrier. Examples are ½-inch gypsum wallboard, 23/32-inch wood structural panel, or a material that passes the specified NFPA 275 tests (ICC, IRC 2021 R316.4). Exposed foam on the inside of a container is generally not acceptable in living spaces. Factor the lining into your interior width, and check specific exceptions with your building department.

Common mistakes

  • Batts against the inside of the steel. Fiberglass or mineral wool without an airtight, vapor-controlled layer at the steel lets moist air reach the cold surface.
  • Gaps at the frame. Leaving the container’s posts, rails or roof edge uncovered creates cold strips where condensation concentrates.
  • Polyethylene in a hot-humid climate. An interior Class I vapor retarder can trap moisture from humid outdoor air.
  • Treating spray foam as a guarantee. Thin spots, voids behind wiring and unsprayed corners undo the benefit.
  • Ignoring humidity. Without exhaust fans and fresh-air ventilation, indoor humidity rises and so does the dew point.
  • Forgetting the roof and floor. They need the same continuous insulation and air sealing as the walls.
  • Leaving foam exposed. Foam insulation normally needs a code-approved thermal barrier.
  • Insulating before fixing leaks. Seal and repair the shell first. Insulation hides leaks; it doesn’t stop them.

When to get professional advice

Bring in an architect, building-science consultant or energy rater before you buy insulation if:

  • you are building in climate zones 5 to 8 or a hot-humid climate;
  • you plan to combine materials, such as foam and mineral wool or interior and exterior layers;
  • your building department asks how the wall complies with the vapor retarder rules, which may call for a hygrothermal analysis;
  • the home will be stacked, joined or heavily cut, creating complex junctions;
  • you have already seen condensation, staining or rust in an existing container conversion.

A hygrothermal analysis models how heat and moisture move through a specific wall over a year of local weather. The IRC accepts an approved design based on one as an alternative to its vapor retarder tables (IRC 2021 R702.7).

Questions people ask about container home insulation

Why does my shipping container sweat?

Moist indoor air touches steel that is colder than the air’s dew point, and the water vapor condenses. Steel conducts heat so well that its surface follows the outdoor temperature, so a container wall can drop below the dew point on a cool night even when the room feels warm.

Is spray foam the only way to insulate a container?

No. Exterior rigid or mineral wool insulation under new cladding is an established alternative, and the one Building Science Corporation prefers. Spray foam is common for interior insulation because closed-cell foam provides insulation, an air seal and vapor control in one layer that fills the corrugations.

Should I use closed-cell or open-cell spray foam?

For insulation applied directly to the inside of the steel, closed-cell foam is the usual choice. At 2 inches or more it limits vapor to below 1 perm and doesn’t absorb water. Open-cell foam is air-tight but vapor-open, so vapor can reach the cold steel. It needs a designed vapor-control strategy if used at all.

Do I need a vapor barrier in a container home?

It depends on the climate, the assembly and your local code. The IRC doesn’t require vapor retarders in climate zones 1 to 3, and doesn’t permit Class I or II on frame walls in zones 1 and 2.

Closed-cell foam 2 inches or more thick is itself a Class II vapor retarder, so in zones 1 and 2 ask how your building department treats interior foam on a steel wall. Ask your building department how it applies the rules to a container wall.

What is the best insulation for a container home?

There is no single best material. Exterior insulation is the lower-risk approach. For interior insulation, closed-cell spray foam is the usual choice because it insulates, air-seals and retards vapor in one layer.

How much insulation does a container home need?

Required insulation levels come from the energy code your jurisdiction adopts, and they vary by climate zone and by building component. Your designer or building department can confirm the requirement. Remember that thick interior insulation reduces usable width.

Can I insulate a container for a cold climate?

Yes, with care. Continuous exterior insulation keeps the steel warm and is the lower-risk approach. Interior insulation needs a continuous, airtight, vapor-retarding layer against the steel, with no gaps at the frame. Cold-climate projects benefit from professional review.

Next steps

Good insulation in a container is less about the product than about continuity. Every square inch of steel needs to be either warm or sealed away from indoor air. Decide early whether you will insulate inside or outside, because the choice affects your interior width, exterior finish, window details and budget.

Keep planning with these guides:

How we compiled this guide

Building physics and container-specific advice come from Building Science Corporation and the US Department of Energy’s Building America program. Code requirements come from the 2021 IRC and IBC as published by the International Code Council, and humidity guidance from the US Environmental Protection Agency. Dew points were calculated by Container Homes Daily with the Magnus approximation. Sources were checked on December 1, 2026.

About this guide

This guide is written and maintained by the Container Homes Daily Editorial Team. It explains general building-science principles. It is not a design for any specific home and does not show that any assembly complies with a particular code. Confirm your insulation design with your local building department and qualified professionals.

Sources

Join the conversation

No account needed. Your email address is never shown. A first comment is checked by our team before it appears; after that, your comments appear straight away.