Hot days and workouts are not the only things that trigger the drive to cool us down. Other conditions can trigger the production of excess sweat, particularly during sleep. Some of these conditions include: Infection: Tuberculosis (TB) is the infection most traditionally associated with night sweats. More common causes include HIV, influenza, and other febrile illnesses.