Insomnia
While insomnia is a common symptom of depression, antidepressants are effective for treating sleep problems whether or not they are associated with depression. While all antidepressants help regulate sleep, some antidepressants such as amitriptyline, doxepin, mirtazapine, and trazodone can have an immediate sedative effect, and are prescribed to treat insomnia. Amitriptyline and doxepin both have antihistaminergic, anticholinergic, and antiadrenergic properties, which contribute to both their therapeutic effects and side effect profiles, while mirtazapine's side effects are primarily antihistaminergic, and trazodone's side-effects are primarily antiadrenergic. Mirtazapine is known to decrease sleep latency (i.e., the time it takes to fall asleep), promoting sleep efficiency and increasing the total amount of sleeping time in people with both depression and insomnia.
Sleep medicine
Chronic circadian rhythm disorders, the most common of which is delayed sleep phase disorder, may be managed by specifically-timed bright light therapy, usually in the morning, darkness therapy in the hours before bedtime, and timed oral administration of the hormone melatonin. Chronotherapy has also been prescribed for circadian rhythm disorders, though results are generally short-lived. Stimulants may also be prescribed. When these therapies are unsuccessful, counseling may be indicated to help a person adapt to and live with the condition. People with these disorders who have chosen a lifestyle in conformity with their sleeping schedules have no need of treatment, though they may need the diagnosis in order to avoid having to meet for appointments or meetings during their sleep time.