There are two types of insomnia – primary and secondary. Primary insomnia is sleeplessness that cannot be attributed to an existing medial, psychiatric or environmental cause (such as drug abuse or medications). Secondary insomnia is when symptoms of insomnia arise from a primary medical illness, mental disorders or other sleep disorders. It may also arise from the use, abuse or exposure to certain substances.