Hormonal fluctuations play a significant role in sleep patterns. During the menstrual cycle, levels of estrogen and progesterone vary, which can impact sleep. For instance, high levels of progesterone can have a sedative effect, while low levels can lead to insomnia. Similarly, estrogen fluctuations can influence the quality of sleep by affecting neurotransmitters and thermoregulation.