Abstract: Pest-resistant polyurethane spray foam formulations and products, including building insulation, are described. The “B” side of the formulation comprises water; a polyol composition comprising one or more polyols selected from glycerin-sucrose polyols, Mannich polyols, and aromatic polyester polyols, catalyst(s); surfactant(s); a blowing agent; and 0.5 to 5 wt. %, based on the amount of spray foam formulation, of a composition comprising a capsaicin compound. Capsaicin compounds can be successfully incorporated into spray foam formulations that process well to give high-quality foams. The foams inhibit termite infestation and can help to minimize or avoid structural damage that might otherwise go undetected.