Flank Pain Worsening When Lying Down: Diagnosis and Management
Primary Recommendation
For flank pain that worsens when lying down, the most likely diagnosis is musculoskeletal rather than renal pathology, and you should obtain non-contrast CT abdomen/pelvis to definitively exclude obstructing urolithiasis before attributing symptoms to musculoskeletal causes. 1, 2
Key Diagnostic Distinctions
Pain Characteristics That Point Away from Kidney Stones
- Classic renal colic is position-independent—the pain occurs in waves regardless of whether the patient is standing, sitting, or lying down 1, 3, 2, 4
- Pain that specifically worsens with positional changes (particularly after prolonged static positioning like lying down) strongly suggests musculoskeletal origin involving paraspinal muscles or facet joints 1, 2
- Nephrolithiasis pain does not worsen with external pressure or body positioning because it results from internal obstruction and collecting system distension, not external compression 3
Pain Characteristics That Suggest Infection Rather Than Simple Stone
- Pain that worsens with external flank pressure suggests pyelonephritis, perinephric abscess, or infected stone rather than uncomplicated urolithiasis 3
- Obstructive pyelonephritis is a urologic emergency that can progress to sepsis and death 5
- Fever, chills, or systemic signs mandate immediate evaluation for infected obstructed system 2, 5
Diagnostic Algorithm
Step 1: Obtain Urinalysis Immediately
- A normal urinalysis does NOT exclude stone disease—over 20% of confirmed urinary stones present with negative urinalysis 2
- Absence of pyuria has excellent negative predictive value for ruling out urinary tract infection 1
- Absence of hematuria (even microscopic) makes stone disease less likely but does not exclude it 2
Step 2: Order Non-Contrast CT Abdomen/Pelvis as First-Line Imaging
- Non-contrast CT is the gold standard with 98-100% sensitivity and specificity for detecting urinary stones 6, 2, 7
- CT identifies alternative diagnoses in approximately one-third of patients presenting with flank pain 2
- CT can distinguish between simple hydronephrosis and pyonephrosis, though collecting system density may be affected by recent contrast administration 6
- Ultrasound is only appropriate as first-line in pregnant patients to avoid radiation 2
Step 3: Physical Examination Focused on Distinguishing Features
- Assess for costovertebral angle tenderness, spinal range of motion, and paraspinal muscle tenderness to evaluate musculoskeletal causes 1
- Check for fever and hemodynamic stability—shock or instability requires urgent intervention 2
- In women of reproductive age, consider ectopic pregnancy with delayed menses 2
Management Based on Findings
If Stone Disease Confirmed on CT
- Stones <5 mm typically pass spontaneously and can be managed with medical expulsive therapy 2
- Stones >5 mm or those causing complete obstruction require urgent urology referral for intervention 2
- Patients with moderate to severe hydronephrosis on ultrasound are at higher risk of stone passage failure and warrant CT evaluation 6
- Provide rapid analgesia (diclofenac intramuscular preferred) within 30 minutes 2
- Instruct high fluid intake and urine straining to catch stones 2
If CT Shows No Stone but Hydronephrosis Present
- Symptomatic hydronephrosis with unknown cause requires comprehensive evaluation with CT with IV contrast, MR urography, or renal scintigraphy 6
- Consider alternative diagnoses: right colonic diverticulitis, inflammatory bowel disease, benign adnexal masses in women, or retroperitoneal processes 1, 2
If CT is Completely Negative
- Focus on musculoskeletal evaluation and treatment 1, 2
- Consider gastrointestinal causes including colitis or diverticulitis 2
- In women, evaluate for gynecologic causes including pelvic congestion syndrome 2
Critical Red Flags Requiring Emergency Intervention
- Fever with obstructing stone indicates obstructive pyelonephritis—this is a urologic emergency requiring immediate drainage or stone extraction 2, 5
- Inability to urinate or decreased urine output requires urgent evaluation 2
- Uncontrolled pain after one hour of analgesia mandates immediate hospital admission 2
- Hemodynamic instability or signs of sepsis require immediate hospital admission regardless of imaging results 2
Common Pitfalls to Avoid
- Do not assume all flank pain is kidney-related—the positional nature of your patient's symptoms (worsening when lying down) is the key distinguishing feature pointing away from renal colic 1, 2
- Do not delay imaging in young females—consider gynecologic emergencies that may require urgent intervention 2
- Do not rely on KUB radiography alone—it is only 72% sensitive for large stones (>5 mm) in the proximal ureter and 29% sensitive overall 6, 2
- Absence of hydronephrosis on ultrasound makes larger ureteral stones (>5 mm) less likely, but ultrasound is less sensitive within the first 2 hours of presentation before secondary signs develop 6, 2