Is taking ibuprofen at night effective for treating jittery anxiety and insomnia?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: February 19, 2026View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

No, Ibuprofen Does Not Help with Jittery Anxiety or Insomnia

Ibuprofen is not an effective treatment for jittery anxiety or insomnia and should not be used for these conditions. The evidence shows that NSAIDs like ibuprofen may actually worsen sleep quality rather than improve it, and they have no established role in treating anxiety symptoms.


Why Ibuprofen Is Not Appropriate

Sleep Disruption from NSAIDs

  • Ibuprofen and aspirin disrupt normal sleep architecture by increasing the number of awakenings, increasing time spent awake during the night, decreasing sleep efficiency, and delaying the onset of deeper sleep stages compared to placebo 1

  • A controlled study found that while ibuprofen 1200 mg daily did not produce statistically significant sleep alterations in healthy adults, this was in subjects without pre-existing insomnia, and the drug showed no therapeutic benefit for sleep 2

  • The mechanism of NSAID-induced sleep disruption involves inhibition of prostaglandin synthesis, which decreases prostaglandin D₂ (a sleep-promoting substance), suppresses nighttime melatonin levels, and alters body temperature regulation—all of which are counterproductive for treating insomnia 1

No Evidence for Anxiety Treatment

  • Ibuprofen has no established pharmacologic mechanism or clinical evidence for treating anxiety symptoms, including "jitteriness" 3

  • The "jitteriness syndrome" described in anxiety disorders refers to a specific adverse reaction to antidepressants (particularly in panic disorder patients), characterized by shakiness, increased anxiety, and insomnia—this is unrelated to NSAIDs and requires different management 3


Evidence-Based Treatment for Insomnia

First-Line: Cognitive Behavioral Therapy for Insomnia (CBT-I)

  • The American Academy of Sleep Medicine and American College of Physicians issue a strong recommendation that all adults with chronic insomnia receive CBT-I as the initial treatment before any medication 4, 5

  • CBT-I provides superior long-term efficacy compared to medications, with sustained benefits after treatment discontinuation 4, 5

  • Core components include stimulus control therapy, sleep restriction therapy, relaxation techniques, and cognitive restructuring of maladaptive sleep beliefs 4, 5

Pharmacologic Options (Only After CBT-I Initiation)

For sleep-onset insomnia:

  • Zolpidem 10 mg (5 mg if age ≥65 years) reduces sleep latency by ~25 minutes 4, 5
  • Zaleplon 10 mg (5 mg if elderly) has ultrashort half-life for rapid sleep initiation 4, 5
  • Ramelteon 8 mg is a melatonin-receptor agonist with no abuse potential 4, 5

For sleep-maintenance insomnia:

  • Low-dose doxepin 3–6 mg reduces wake after sleep onset by 22–23 minutes with minimal anticholinergic effects and no abuse potential 4, 5, 6
  • Suvorexant 10 mg (orexin-receptor antagonist) reduces wake after sleep onset by 16–28 minutes 4, 5

For combined sleep-onset and maintenance:

  • Eszopiclone 2–3 mg increases total sleep time by 28–57 minutes 4, 5

Treatment for Comorbid Anxiety and Insomnia

  • When insomnia is comorbid with anxiety, both conditions should be treated distinctly rather than assuming treatment of anxiety alone will resolve insomnia 7

  • Sedating antidepressants (e.g., mirtazapine, low-dose doxepin) may be considered as second-line options when comorbid depression or anxiety is present 4, 5

  • Benzodiazepines should be avoided due to risks of dependence, falls, cognitive impairment, respiratory depression, and associations with dementia and fractures 4, 5, 8


Medications Explicitly Not Recommended

  • Over-the-counter antihistamines (diphenhydramine) lack efficacy data, cause strong anticholinergic effects, and develop tolerance within 3–4 days 4, 5

  • Trazodone provides only ~10 minutes reduction in sleep latency with no improvement in subjective sleep quality; harms outweigh benefits 4, 5

  • Melatonin supplements produce only ~9 minutes reduction in sleep latency with insufficient evidence 4, 5

  • Herbal supplements (valerian, L-tryptophan) lack adequate evidence for primary insomnia 4, 5


Common Pitfalls to Avoid

  • Using NSAIDs like ibuprofen for sleep or anxiety when they have no therapeutic benefit and may worsen sleep quality 2, 1

  • Initiating pharmacotherapy without first implementing CBT-I, which provides more durable benefits 4, 5

  • Assuming treatment of anxiety alone will resolve comorbid insomnia—both conditions require distinct treatment 7

  • Using medications beyond 4 weeks without reassessment, as FDA labeling indicates hypnotics are intended for short-term use 4

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Pharmacotherapy of Insomnia

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2026

Guideline

Best Medication for Elderly Patients with Insomnia

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2026

Guideline

Immediate Discontinuation of Xanax for Insomnia Treatment

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2026

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.