Many common medications cause insomnia by disrupting melatonin, cortisol, or brain chemistry. Learn which drugs are most likely to ruin your sleep and how to fix it without quitting your treatment.