Usually, sweating at night is a result of your sleep environment being overly warm to the point where your body cannot thermoregulate as needed. However, if you’re sweating despite feeling cold at night, it’s likely due to an underlying cause. Some potential causes of night sweats include infections such as flu or cold, menopause, medications, anxiety, and receiving general anesthesia. In most cases, night sweats aren’t harmful, but if your fever lasts longer than three days, contact your doctor.