Primary insomnia has no apparent cause. Secondary insomnia can be due to Use of psychoactive drugs (such as stimulants), including certain medications,herbs, caffeine, nicotine, cocaine,  Amphetamines, or excessive alcohol intake. Use of or withdrawal from alcohol and other sedatives, such as anti-anxiety and sleep drugs like benzodiazepines. Use of or withdrawal from pain-relievers such as opioids.

Previous thoracic surgery. Heart disease which may cause nocturnal dyspnea Deviated nasal septum  Nocturnal breathing disorders like Sleep Apnea Restless legs syndrome, which can cause sleep onset insomnia due to the discomforting sensations felt and the need to move the legs or other body parts to relieve these sensations. Periodic limb movement disorder (PLMD), which occurs during sleep and can cause arousals of which the sleeper is unaware. Pain or an injury or condition that causes pain…