They may also be associated with
sleep disorders (eg,
sleep apnea, periodic limb movements), medical conditions that cause pain, psychiatric diseases (eg, anxiety, depression), or the use or withdrawal of alcohol, nicotine, or other substances.
The investigations which will help to diagnose the type and cause for insomnia are Polysomnography, Multiple sleep latency test and Actigraphy .