Can sleeping with the light on for a long time cause anxiety disorder?
In general, whether sleeping with the light on for a long time can cause anxiety depends on an individual's physiological and psychological condition. The detailed analysis is as follows:

For individuals who have a strong fear of darkness or tend to feel uneasy when alone, soft lighting can dispel the fear caused by the unknown, prevent mental imagery of dangerous scenarios that may lead to tension, and help maintain a gentle sense of security. In such cases, sleeping with the light on does not trigger anxiety and may even alleviate underlying anxious feelings.
However, for those who are naturally prone to emotional tension or sensitive to light, artificial lighting may interfere with melatonin secretion, making it difficult for the brain to enter a relaxed state. Chronic poor sleep quality can keep the nervous system in a prolonged state of overexcitement, thereby amplifying inner irritability and worry, potentially leading to or worsening anxiety over time.
Individuals can choose appropriate lighting based on personal comfort, preferably warm-colored and low-brightness options, placed below the bed level to avoid direct exposure to the eyes. Avoid electronic screens one hour before bedtime; instead, listen to soothing music or soak feet in warm water to help relax both body and mind. Spend more time outdoors during daylight hours to be exposed to natural light, maintain a regular sleep schedule, and help the body better adapt to changes in light, thus minimizing adverse effects of artificial lighting on sleep and mood.