Properly mixed and applied foam fully cures within 24 hours and produces no significant off-gas after that. Detectable mild odor for 24-72 hours during the cure window is normal. Off-ratio or improperly applied foam can off-gas for weeks or months and may require remediation.
More detail
Spray polyurethane foam chemistry: the foam mixes at the spray gun from two components (Side A isocyanate and Side B polyol resin with blowing agent and catalyst), polymerizes rapidly (cure to walking-firm in 30 to 60 seconds), and fully cures within 24 hours at proper substrate temperature (above 40 degrees F). During the cure window, mild detectable odor is normal; after 24 hours, properly mixed foam produces no significant ongoing off-gas. The trapped blowing-agent gas (typically HFO blowing agent in modern foams; older formulations used HFC or HCFC blowing agents) stays within the closed cells of the foam structure and does not migrate into living space at meaningful rates. Off-ratio cure (incorrect Side A to Side B mix ratio, applied below the substrate temperature minimum, or with contaminated equipment) is the failure mode that produces persistent off-gas. Symptoms: sweet or fishy chemical odor that persists weeks after install, eye or throat irritation in occupants, or visible discoloration of the foam (yellow or brown rather than uniform tan). Off-ratio remediation: the contractor returns, identifies the affected area via thermal imaging or test panel removal, removes the off-ratio foam (mechanical abatement under containment), and re-sprays with properly-mixed product. Cost is $3,000 to $8,000 typical for a single-room remediation. Cincinnati Bureau of Building Inspection (and the same agencies in Hamilton, Butler, Warren, and Clermont counties) do not currently require permits for residential foam removal, but the abatement work itself is technical and should be handled by a credentialed foam contractor. Our team uses Graco reactor units with continuous mix-ratio monitoring sensors during every install, and we run a substrate-temperature check before every spray cycle. Off-ratio failures are rare on credentialed Cincinnati installs (we have not had a single one in our recent install history) and almost always occur on non-credentialed or non-BPI installer work. The credentialing layer exists for exactly this reason.