Enter the basement area and locate the area where duct work attaches to the heating or cooling system. Walk along the duct and trace it to where it penetrates a wall or the ceiling of the basement.
Locate the gaps around the side of the duct that allow you to see up into the home or to the outside if the duct extends through a wall. Measure the width of the gap with a tape measure.
Seal all gaps that are less than 1/4-inch wide by applying a 1/4-inch bead of silicone caulk all the way around them.
Put on a pair of safety glasses and disposable latex gloves then shake up a can of expandable spray foam. Screw the plastic tube onto the nozzle of the can.
Insert the end of the tube into any gaps that are wider than 1/4-inch and press down on the nozzle to fill them halfway.
Wait 12 to 24 hours to allow the foam to dry and expand. Cut off any protruding foam with a utility knife and be careful to avoid cutting into the duct work.
Sand the surface of the foam with a piece of fine-grit sandpaper to clean up any rough edges.