All articles

Medications That Cause Insomnia: What to Check Before You Blame Your Sleep

Antidepressants, beta-blockers, steroids, decongestants and more can quietly disrupt sleep. Here's what the research shows — and what to ask your doctor.

If your sleep changed and you can’t find a reason, one of the most overlooked explanations is sitting in your medicine cabinet. Several very common medications — beta-blockers, corticosteroids, antidepressants, decongestants, stimulants — are well documented to disrupt sleep, and the disruption often starts within the first week or two of a new prescription or dose change. Before you conclude that something is wrong with you, it’s worth checking the timeline against what you’re taking.

This is not a list of drugs to stop. Almost everything below is on this list precisely because it’s useful, and several of them cannot be stopped abruptly without risk. It’s a list of things to bring to the person who prescribed them.

How can a medication cause insomnia without me noticing?

Because the effect is usually quiet and gradual, and because it rarely announces itself as “the medication.” What people notice is a slightly harder time falling asleep, or a new habit of surfacing at 3am, or dreams that suddenly feel more vivid and exhausting. Those feel like life problems, not pharmacology.

Medications disturb sleep through a handful of distinct routes: by suppressing melatonin, by raising cortisol or adrenergic tone, by altering sleep architecture (particularly REM), by increasing night-time urination, or simply by being stimulating at the wrong hour. Knowing which route applies helps, because the fix is different in each case — sometimes it’s as simple as moving the dose to the morning.

If you’ve already ruled out the usual suspects, our guides to caffeine and sleep and alcohol and sleep cover two of the other big ones.

Do beta-blockers affect sleep?

Yes, and the mechanism is unusually well established. Beta-blockers — propranolol, metoprolol, atenolol and relatives, prescribed for blood pressure, migraine, anxiety, and heart conditions — suppress the night-time release of melatonin. In a controlled study, atenolol and propranolol significantly reduced overnight melatonin output compared with placebo (Stoschitzky et al., European Journal of Clinical Pharmacology, 1999). The reason is mechanical: melatonin production in the pineal gland depends on beta-1 adrenergic signalling, which is exactly what the drug blocks.

The practical consequence is difficulty falling asleep, more night-time waking, and for some people unusually intense dreams. Encouragingly, this seems partly reversible. A randomized, placebo-controlled trial found that melatonin supplementation improved total sleep time and sleep efficiency in hypertensive patients taking beta-blockers (Scheer et al., Sleep, 2012). That is a conversation to have with a prescriber rather than a supplement to add on your own, particularly if you take other cardiac medications — but it is a real, evidence-backed option rather than a guess.

What about antidepressants?

This one matters especially for new parents, because SSRIs are among the most commonly prescribed treatments for postpartum depression and anxiety — and the sleep effects can be confusing when you’re already sleep-deprived.

SSRIs and SNRIs consistently suppress REM sleep and increase the number of brief awakenings, at least in the early weeks of treatment (Wilson & Argyropoulos, Drugs, 2005). Some — fluoxetine, bupropion, venlafaxine — tend to be activating and are usually better taken in the morning. Others, like mirtazapine and trazodone, are sedating and are sometimes prescribed partly for that reason.

Two things are worth holding at once. First, the sleep disruption from an SSRI is often temporary and frequently smaller than the sleep disruption from untreated depression or anxiety, which fragment sleep badly on their own — our post on sleep and depression goes into that loop. Second, for breastfeeding parents, several SSRIs have been studied in lactation and are considered compatible, with sertraline and paroxetine producing very low infant exposure (Berle & Spigset, Current Women’s Health Reviews, 2011). Timing and drug choice are both adjustable. Stopping abruptly is not a safe DIY move: SSRI discontinuation can itself cause insomnia and vivid dreams.

Can steroids like prednisone keep me awake?

Yes — and this is one of the most predictable effects on the list. Corticosteroids mimic cortisol, the hormone your body uses to wake you up. A review of glucocorticoid effects on sleep found consistent reductions in sleep quality, with suppressed REM and more time awake after falling asleep (Szmyd et al., Sleep Medicine Reviews, 2021).

Because prednisone is often prescribed in short bursts for asthma flares, autoimmune conditions, or severe inflammation, people frequently attribute the resulting insomnia to the illness rather than the treatment. The most common clinical adjustment is dose timing — taking the full dose in the morning rather than the evening, so the peak effect lands during your natural cortisol rise instead of against it. Ask before changing anything; some conditions require split dosing. Our piece on cortisol and sleep explains why that morning-versus-evening distinction matters so much.

The same review noted that statins have also been associated with sleep complaints, though the evidence there is weaker and more mixed.

Which over-the-counter medicines disrupt sleep?

Three categories come up repeatedly.

Oral decongestants. Pseudoephedrine and phenylephrine are sympathomimetics — they work by narrowing blood vessels through adrenergic stimulation, and insomnia is a recognized labelled side effect. If you’ve been fighting a cold with a daytime-and-night formula, check whether the “night” version actually contains a decongestant.

Antihistamine sleep aids. Diphenhydramine (the active ingredient in most OTC sleep aids) works at first, but tolerance to its sedative effect develops within days (Richardson et al., Journal of Clinical Psychopharmacology, 2002). It’s also strongly anticholinergic, and cumulative long-term use of strong anticholinergics has been associated with increased dementia risk in older adults (Gray et al., JAMA Internal Medicine, 2015). Occasional use is one thing; nightly use for months is worth reconsidering. We covered this in more detail in over-the-counter sleep aids.

Anything with hidden caffeine. Several combination pain relievers for headache and migraine contain 65mg of caffeine per tablet — roughly two-thirds of a small coffee, often taken in the evening.

Does this look different in perimenopause?

It can, in two directions.

Hormone therapy is frequently helpful for sleep in this stage, but mostly indirectly: a systematic review and meta-analysis found that menopausal hormone therapy modestly improved sleep quality, with the clearest benefit in women whose sleep was being broken by hot flashes and night sweats (Cintron et al., Endocrine, 2017). If your sleep isn’t being disrupted by vasomotor symptoms, the effect is smaller.

Formulation and timing matter too. Micronized progesterone has a genuine sedative quality — in a placebo-controlled study of postmenopausal women, progesterone administration improved sleep and altered overnight hormone secretion in a way consistent with deeper sleep (Caufriez et al., Journal of Clinical Endocrinology & Metabolism, 2011). That’s why it is typically taken at bedtime rather than in the morning, and why moving it can change your nights. Our post on progesterone and sleep goes deeper.

Working in the other direction: over-replacement of thyroid hormone can produce exactly the pattern of racing heart, heat, and 3am waking that midlife women often attribute to hormones alone. If you take levothyroxine and your sleep changed after a dose adjustment, that’s a bloodwork question, not a willpower question — see thyroid and sleep.

What should I actually do about it?

Start with a timeline rather than a theory. Write down when your sleep changed and every medication, dose change, supplement, and over-the-counter product from the four weeks before that. Prescribers rarely have this information, and it is often the single most useful thing you can bring to an appointment.

Then bring three specific questions: Could this medication be contributing? Would a different time of day help? Is there an alternative with a lower sleep burden? Those are answerable questions, and they usually lead somewhere.

What not to do is stop anything on your own. Beta-blockers can cause rebound tachycardia and dangerous blood pressure spikes on abrupt withdrawal. Corticosteroids require tapering. Antidepressant discontinuation causes its own insomnia, which is easy to misread as proof the drug wasn’t the problem. And sleeping pills carry rebound insomnia of their own, which we covered in prescription sleeping pills.

One more thing worth knowing: it may not be the medication at all. Insomnia has many causes, and the fact that a drug can disrupt sleep doesn’t mean it’s disrupting yours. Behavioral treatment remains the first-line approach for chronic insomnia regardless of what else you’re taking — how to treat insomnia without medication walks through what that involves.

The calm version

If your sleep changed and you can’t explain why, check what changed in your medicine cabinet first — beta-blockers, steroids, antidepressants, decongestants, and thyroid doses are all documented disruptors, and the fix is often just a timing change rather than a different drug. Write down the timeline, bring it to your prescriber, and don’t stop anything on your own. This is one of the more solvable causes of bad sleep, which is genuinely good news. Mendtide tracks the pattern across weeks so that if your nights shifted after a specific date, you’ll actually be able to see it — and bring that to the conversation.

A medication that disturbs your sleep isn’t a medication that’s failing you. It’s usually a medication that needs a different hour of the day.

Frequently asked

Which common medications are most likely to cause insomnia?
The best-documented culprits are beta-blockers, corticosteroids like prednisone, SSRI and SNRI antidepressants, stimulants, oral decongestants such as pseudoephedrine, and some thyroid replacement doses. Each disrupts sleep by a different mechanism, so the pattern of disruption differs too.
How long after starting a medication would sleep problems show up?
Often within the first one to two weeks. If your sleep changed noticeably in the weeks after a new prescription, dose increase, or over-the-counter addition, that timing is worth telling your doctor about.
Can I just stop a medication that's wrecking my sleep?
No. Several of these drugs — including antidepressants, beta-blockers, and corticosteroids — can cause withdrawal effects or rebound symptoms if stopped abruptly. Timing changes, dose adjustments, and alternatives are all things a prescriber can help with safely.
Do beta-blockers really affect melatonin?
Yes. Beta-blockers suppress night-time melatonin release (Stoschitzky et al., European Journal of Clinical Pharmacology, 1999), and a randomized trial found that melatonin supplementation improved sleep in hypertensive patients taking them (Scheer et al., Sleep, 2012).

Mendtide and this blog are for general education, not medical advice. If sleep problems persist or worry you, talk to a doctor.