Insomnia - trouble falling asleep or staying asleep - can be caused by stress, changing work schedule, lack of activity, or caffeine. Noise, light and illness can also disrupt sleep. Treatment of insomnia requires an informed doctor. Effective treatments are available. Sleeping pills can be addictive and are not a long-term solution.