Some medications can lead to insomnia as well. These include medications for cold and allergy (some antihistamines and decongestants, high blood pressure ( antihypertensives), heart disease ( betablockers), thyroid disease and birth control ( hormones), as well as asthma and pain medications (containing caffeine).