According to WellRx, diuretics are meant to assist the kidneys in shuttling excess salt and water from the body. Therefore, diuretics can keep you awake if you take them before bed because you’re more likely to get out of bed to run to the bathroom.
Stimulant medications that treat attention-deficit hyperactivity disorder (ADHD) are meant to be taken in the morning to improve focus and concentration. Taking them at night will disrupt your sleep. Corticosteroids for asthma or allergies can shake up your sleep cycle, and some might make you feel like you’ve had caffeine. Similarly, some sinus or cold medicines with pseudoephedrine or phenylephrine can stimulate you, so be aware of how these might affect you before taking them before sleep.
“If there is any uncertainty about whether or not it is safe to take medication before bed, check with a physician, provider, or pharmacist,” Kharazi said.