Spray foam insulation has a higher R-value than fiberglass, making it a better insulator. Another difference between them is that spray foam is watertight while fiberglass cracks under moisture. However, installing spray foam requires a professional while fiberglass is easy to install yourself.