Do it Best Window and Door Expanding Foam Sealant expands to take the shape of cracks and gaps forming a permanent airtight and water resistant bond to vinyl, wood and metal windows. Cured foam remains flexible, allowing expansion and contraction with weather. Tack free in 15 minutes; cures in 8 hours.