People frequently notice night sweats and intense or anxious dreams happening together, and there is a real, if two-directional, relationship between them worth understanding.
The dream-to-sweat direction
A genuinely distressing or anxious dream activates the same stress response your body would have to a real threat — increased heart rate, and activation of your sympathetic nervous system, which can trigger sweating even though nothing physically happened. In this direction, the dream comes first, and the sweat is a physical side effect of the emotional intensity.
The sweat-to-dream direction
It also runs the other way: physical discomfort during sleep, including being too hot or already sweating due to an unrelated cause (a warm room, hormonal changes, illness, alcohol), can get incorporated into dream content — your brain weaving a real physical sensation into whatever narrative it's constructing, sometimes producing dreams about fire, heat, or physical danger that match the discomfort.
Other common causes of night sweats
Room temperature and bedding are the most common and fixable causes. Alcohol, certain medications, hormonal changes (including perimenopause and menopause), fever from illness, and some underlying medical conditions can also cause night sweats independent of dream content — worth ruling these out if night sweats are frequent, since not every instance is dream-related.