Skip to content
PubMed This is a summary of 11 peer-reviewed journal articles Updated

Can Sleep Aids and Melatonin Worsen RLS Symptoms at Night?

At a Glance

Some over-the-counter sleep aids, especially those containing diphenhydramine or doxylamine, and melatonin may worsen restless legs syndrome in some people. Check active ingredients, track your symptoms, and ask a clinician about safer options and an iron panel.

For many people with Restless Legs Syndrome (RLS), trying to get a good night’s sleep can unintentionally lead to a frustrating cycle. Over-the-counter (OTC) sleep aids and melatonin are frequently used to combat the insomnia caused by RLS, but for some individuals, these very treatments may make the leg symptoms significantly worse.

The Antihistamine Trap

Most OTC sleep aids—such as Tylenol PM, ZzzQuil, and generic sleep aids—rely on first-generation antihistamines like diphenhydramine (Benadryl) or doxylamine as their active ingredient. While these medications effectively cause drowsiness, they are widely recognized clinical aggravators of RLS [1][2].

The mechanism behind this worsening is rooted in how these drugs interact with the brain. First-generation antihistamines block central dopamine receptors, which worsens RLS [1]. Because a lack of appropriate dopamine activity in certain brain regions is a primary driver of RLS symptoms, interfering with these receptors can amplify the urge to move and the uncomfortable sensations in the legs. Additionally, their strong sedating and anticholinergic effects disrupt central nervous system arousal, further exacerbating the condition [3]. This creates a vicious cycle: RLS causes insomnia, the patient takes an antihistamine to sleep, and the antihistamine worsens the RLS, which in turn makes it even harder to sleep.

Melatonin and Sensory Symptoms

Melatonin is a hormone naturally produced by the body to regulate the sleep-wake cycle, and it is widely used as an OTC supplement for sleep. However, for some people with RLS, melatonin can also exacerbate sensory symptoms [4].

RLS follows a strong circadian rhythm—symptoms naturally peak in the evening and at night, precisely when the body’s natural melatonin levels rise. For some individuals, taking supplemental melatonin appears to intensify this evening peak, amplifying the uncomfortable sensory symptoms and the powerful urge to move [4][5]. Because individual responses vary, it is best to discuss a trial of melatonin with your doctor and monitor your symptoms closely rather than assuming it is universally safe or universally harmful.

Breaking the Cycle: Safer Alternatives

If you are struggling with RLS-induced insomnia or need allergy relief, there are alternatives that are less likely to aggravate RLS symptoms. Always check the “Active Ingredients” label on any OTC medication, as brands frequently change formulations, and avoid mixing sedatives or duplicate ingredients like acetaminophen.

  • For Allergies: Instead of sedating first-generation antihistamines, consider second-generation antihistamines (like loratadine, cetirizine, or fexofenadine). These newer medications are designed to have lower central nervous system penetration. While they may still cause mild drowsiness in some, they are generally less sedating and may be preferred for allergy relief in RLS patients [2]. Nasal corticosteroid sprays and saline rinses are also excellent local options for nasal allergies [6].
  • For Sleep: Focus on non-pharmacological sleep hygiene and RLS-specific physical measures rather than OTC sleep aids. Gentle walking or stretching before bed, leg massage, applying heat or cold, and strictly limiting caffeine and alcohol can help manage symptoms [7][8].
  • Medical Treatment: If sleep remains elusive, it is crucial to treat the underlying RLS rather than just masking the insomnia. Doctors typically assess a full iron panel—including both ferritin (a protein that stores iron) and transferrin saturation (how much iron is being transported in the blood)—as low iron stores in the brain are a major contributor to RLS [9]. If medication is needed, doctors may prescribe alpha-2-delta ligands (e.g., gabapentin or pregabalin). These prescription medications can effectively treat RLS symptoms and improve sleep consolidation [10][11]. However, they are not risk-free and require individualized prescribing, as they can cause dizziness, sedation, falls, and swelling, and must be used cautiously with other central nervous system depressants.

Common questions in this guide

Can Benadryl or doxylamine make restless legs syndrome worse?
Diphenhydramine, the active ingredient in Benadryl, and doxylamine can worsen RLS symptoms for some people. Many over-the-counter sleep aids contain one of these ingredients, so check the active-ingredient label and ask a clinician or pharmacist before changing medicines.
Can melatonin make RLS symptoms worse at night?
Melatonin may intensify uncomfortable leg sensations or the urge to move in some people, especially during the evening when RLS commonly peaks. Responses vary, so discuss a trial with your clinician and track whether your symptoms change.
What can I use for sleep if I have restless legs syndrome?
Measures that may help include gentle walking or stretching, leg massage, heat or cold, and limiting caffeine and alcohol. If insomnia continues, a clinician can evaluate the RLS and discuss prescription treatment such as gabapentin or pregabalin, which can cause sedation, dizziness, falls, or swelling.
Should my iron levels be checked if I have RLS?
A clinician may order a full iron panel, including ferritin and transferrin saturation, because low iron stores can contribute to RLS. The results can help your clinician decide how best to manage your symptoms.
How can I tell whether an over-the-counter medicine is aggravating my RLS?
Look for active ingredients such as diphenhydramine or doxylamine in sleep aids, cold medicines, and combination products, since brand formulas can change. Record when you take the product and when symptoms occur, then review the pattern with a clinician or pharmacist rather than stopping a medicine prescribed for another condition on your own.
Which allergy medicines may be less likely to worsen RLS?
Second-generation antihistamines such as loratadine, cetirizine, or fexofenadine generally have less central nervous system penetration and are less sedating than older antihistamines. They can still cause drowsiness in some people, so ask a clinician or pharmacist which option is appropriate for you.

Questions to Ask Your Doctor

Curated prompts to bring to your next appointment.

  1. 1.Could my current allergy, cold, or sleep medications be contributing to my evening RLS symptoms?
  2. 2.Given that I have been taking over-the-counter sleep aids, how long might it take for my RLS symptoms to improve after I safely stop taking them?
  3. 3.Should we check my complete iron panel, including ferritin and transferrin saturation, to see if low iron stores are driving my RLS?
  4. 4.What prescription options might treat both my RLS and help me stay asleep, and what are the specific side effects I should watch for?

Questions For You

Tap a prompt to share your answer — we'll use it plus this page's context to start a tailored conversation.

References

References (11)
  1. 1

    Guidelines for the first-line treatment of restless legs syndrome/Willis-Ekbom disease, prevention and treatment of dopaminergic augmentation: a combined task force of the IRLSSG, EURLSSG, and the RLS-foundation.

    Garcia-Borreguero D, Silber MH, Winkelman JW, et al.

    Sleep medicine 2016; (21()):1-11.

    PMID: 27448465
  2. 2

    Pilot study of Pitolisant, a histamine-3 inverse agonist, as adjunct therapy for refractory restless legs syndrome.

    Ondo WG

    Sleep medicine 2025; (133()):106634 doi:10.1016/j.sleep.2025.106634.

    PMID: 40554387
  3. 3

    Adenosine receptors as markers of brain iron deficiency: Implications for Restless Legs Syndrome.

    Quiroz C, Gulyani S, Ruiqian W, et al.

    Neuropharmacology 2016; (111()):160-168 doi:10.1016/j.neuropharm.2016.09.002.

    PMID: 27600688
  4. 4

    Circadian rhythm in restless legs syndrome.

    Tang M, Sun Q, Zhang Y, et al.

    Frontiers in neurology 2023; (14()):1105463 doi:10.3389/fneur.2023.1105463.

    PMID: 36908590
  5. 5

    Pivotal Role of Adenosine Neurotransmission in Restless Legs Syndrome.

    Ferré S, Quiroz C, Guitart X, et al.

    Frontiers in neuroscience 2017; (11()):722 doi:10.3389/fnins.2017.00722.

    PMID: 29358902
  6. 6

    A Narrative Review of the Lesser Known Medications for Treatment of Restless Legs Syndrome and Pathogenetic Implications for Their Use.

    Yeh PG, Spruyt K, DelRosso LM, Walters AS

    Tremor and other hyperkinetic movements (New York, N.Y.) 2023; (13()):7 doi:10.5334/tohm.739.

    PMID: 36873914
  7. 7

    The Management of Restless Legs Syndrome: An Updated Algorithm.

    Silber MH, Buchfuhrer MJ, Earley CJ, et al.

    Mayo Clinic proceedings 2021; (96(7)):1921-1937 doi:10.1016/j.mayocp.2020.12.026.

    PMID: 34218864
  8. 8

    An Updated Algorithm for the Management of Restless Legs Syndrome.

    Silber MH, Berkowski JA, Buchfuhrer MJ, et al.

    Mayo Clinic proceedings 2026; doi:10.1016/j.mayocp.2026.05.010.

    PMID: 42203073
  9. 9

    Iron supplementation for restless legs syndrome - A systematic review and meta-analysis.

    Avni T, Reich S, Lev N, Gafter-Gvili A

    European journal of internal medicine 2019; (63()):34-41 doi:10.1016/j.ejim.2019.02.009.

    PMID: 30798983
  10. 10

    A comprehensive update on the ADMET considerations for α2δ calcium channel ligand medications for treating restless legs syndrome.

    Pellitteri G, Versace S, Merlino G, et al.

    Expert opinion on drug metabolism & toxicology 2024; (20(3)):133-142 doi:10.1080/17425255.2024.2329738.

    PMID: 38482850
  11. 11

    Drug Treatment of Restless Legs Syndrome in Older Adults.

    During EH, Winkelman JW

    Drugs & aging 2019; (36(10)):939-946 doi:10.1007/s40266-019-00698-1.

    PMID: 31347095

This page is for informational purposes only and does not constitute medical advice. Consult your clinician before stopping a sleep aid, changing melatonin or allergy medicines, or starting prescription treatment for RLS.

Get notified when new evidence is published on Restless Legs Syndrome.

We monitor PubMed for new peer-reviewed studies on this topic and email a short summary when something meaningful changes.