Management of Daily Headaches with Insomnia in a 45-Year-Old Woman
You need to systematically evaluate for secondary headache causes using red flag screening, determine the specific headache type (likely chronic tension-type or chronic migraine), assess for medication overuse, and simultaneously treat both the headache and insomnia as they are bidirectionally linked and treating insomnia will improve headache outcomes.
Initial Evaluation: Rule Out Secondary Causes
Before proceeding with primary headache management, screen for red flags that indicate serious secondary headaches 1:
- Thunderclap onset (subarachnoid hemorrhage)
- Progressive worsening (space-occupying lesion)
- New onset at age >50 (temporal arteritis, though she's 45)
- Neurological deficits on examination
- Fever or neck stiffness (meningitis)
- Headache worsened by Valsalva (increased intracranial pressure)
Perform a focused neurological examination and head/neck physical exam in all patients 2. If any red flags are present, obtain MRI of the head 3. Given her age and 2-3 week duration without apparent red flags, secondary causes are less likely, but this must be confirmed clinically.
Determine Headache Type
Key Diagnostic Features to Elicit:
For Chronic Migraine:
- Unilateral, pulsating quality
- Moderate-to-severe intensity
- Aggravated by routine physical activity
- Associated nausea/vomiting or photophobia/phonophobia
- Occurring ≥15 days/month for >3 months, with ≥8 days having migraine features 4
For Chronic Tension-Type Headache:
- Bilateral, pressing/tightening quality
- Mild-to-moderate intensity
- Not aggravated by routine physical activity
- No nausea (mild photophobia or phonophobia may occur)
- Occurring ≥15 days/month for >3 months 4
Have her maintain a headache diary documenting frequency, intensity (VAS scale), associated symptoms, triggers, and medication use 2. This is essential for accurate diagnosis and monitoring treatment response.
Critical Assessment: Medication Overuse Headache
Ask specifically about ALL medications used for headache relief, including over-the-counter analgesics, caffeine-containing products, and any substances obtained from others 2. Medication overuse headache (MOH) occurs with:
- Simple analgesics (acetaminophen, NSAIDs): ≥15 days/month
- Triptans, combination analgesics, opioids: ≥10 days/month
If MOH is present: Complete withdrawal is necessary before preventive therapy will be effective 2. Patients overusing opioids, barbiturates, or benzodiazepines require slow tapering and possibly inpatient management 2. Those overusing NSAIDs or triptans can withdraw more quickly with outpatient support.
Address the Insomnia-Headache Connection
The insomnia and headaches are interconnected and must be treated together. Recent evidence demonstrates that treating insomnia in chronic tension-type headache patients significantly improves both sleep parameters and headache outcomes 5. In this 2025 study, patients receiving insomnia treatment showed:
- Reduced headache frequency from 20 days/month to 8 days/month
- Decreased pain intensity from 7/10 to 4/10
- Improved sleep duration and quality
- Reduced anxiety and depression scores
Insomnia Management:
Behavioral interventions (first-line):
- Sleep hygiene education per clinical guidelines 5
- Cognitive behavioral therapy for insomnia (CBT-I) 6
- Relaxation techniques 3
Pharmacologic options (if behavioral measures insufficient):
- Consider sedating antidepressants (amitriptyline) which serves dual purpose for headache prevention and insomnia 3, 6
- Hypnotics or anxiolytics on case-by-case basis, tailored to symptom pattern 6
Important caveat: Screen for obstructive sleep apnea (OSA), especially if she has awakening headaches, snoring, witnessed apneas, or daytime sleepiness 7, 6. OSA is associated with chronic daily headaches and requires polysomnography if suspected. Avoid sedative-hypnotics until OSA is ruled out or treated 6.
Preventive Therapy for the Underlying Headache
Since she has daily headaches for 2-3 weeks (approaching chronic daily headache threshold of ≥15 days/month for ≥3 months), preventive therapy should be initiated 4, 1.
If Chronic Tension-Type Headache:
First-line preventive: Amitriptyline 3
- Dual benefit: prevents chronic tension-type headache AND treats insomnia
- Start low dose, titrate as tolerated
Alternative options:
Acute treatment when needed:
If Chronic Migraine:
Preventive options per 2024 VA/DoD guidelines 4:
- Topiramate
- Valproate
- Memantine
- Angiotensin-receptor blockers or lisinopril
- Magnesium
- CGRP monoclonal antibodies (newer agents)
- Atogepant
- OnabotulinumtoxinA (specifically for chronic migraine, NOT episodic)
Note: Gabapentin is NOT recommended for episodic migraine prevention 4.
Acute treatment:
- NSAIDs (aspirin, ibuprofen, diclofenac) as first-line 1
- Triptans as second-line 4, 1
- CGRP inhibitors (gepants: ubrogepant, rimegepant) as third-line 4, 1
- Avoid opioids and barbiturates 1
Nonpharmacologic Interventions
Physical therapy or aerobic exercise can be used for both TTH and migraine management 4. Since she's already tried exercise, optimize the approach:
- Structured aerobic exercise program
- Cervical exercises if neck involvement 3
- Osteopathic manipulation 3
- Acupuncture 3
Screen for Psychiatric Comorbidities
Chronic headache patients have high prevalence of depression and anxiety 5, 7, 6. Her insomnia may be a manifestation of underlying mood disorder. Use validated screening tools:
- Beck Depression Scale
- Anxiety screening (Sheehan Anxiety Scale or GAD-7)
If positive, psychiatric evaluation and treatment are essential as these comorbidities impair headache treatment effectiveness 2.
Practical Management Algorithm
- Week 1-2: Complete evaluation (red flags, headache diary, medication history, sleep assessment, psychiatric screening)
- If MOH present: Initiate medication withdrawal with support
- Simultaneously: Start behavioral sleep interventions and sleep hygiene education
- Week 2-4: Initiate preventive pharmacotherapy based on headache type:
- Amitriptyline if chronic tension-type (treats both headache and insomnia)
- Topiramate or other agent if chronic migraine, plus separate insomnia management if needed
- Provide acute medications with clear limits to prevent MOH
- Add nonpharmacologic therapies: structured exercise, physical therapy, CBT-I
- Schedule regular follow-up every 2-4 weeks initially to monitor diary, adjust medications, and assess treatment response 2
Common Pitfalls to Avoid
- Failing to identify and withdraw overused medications before starting preventive therapy
- Treating headache without addressing insomnia (they must be managed together)
- Using sedatives before ruling out sleep apnea (can worsen OSA)
- Prescribing opioids or barbiturates (ineffective, risk of dependency and MOH)
- Not screening for depression/anxiety (undermines treatment success)
- Inadequate follow-up (regular monitoring is essential for chronic headache management)