Sleep deprivation impairs the prefrontal cortex, which handles emotional regulation. This leads to increased irritability, heightened anxiety, and a lower threshold for stress. Chronic insomnia is a major risk factor for developing clinical depression.