Doctors Note Logo

Published on: 6/23/2026

Back Pain That's Worse at Rest: A Doctor on Ankylosing Spondylitis

Persistent back pain that worsens with rest—particularly overnight or upon waking—and improves with gentle movement may be a sign of ankylosing spondylitis, a form of inflammatory arthritis. Without early treatment, this condition can progress to spinal fusion and long-term mobility loss.

Diagnosis typically involves imaging (such as X-rays or MRI) and lab tests to detect inflammation markers and the HLA-B27 gene. Treatment often includes NSAIDs, physical therapy, biologic medications, and lifestyle changes like regular stretching, posture training, and quitting smoking.

Because early intervention can dramatically slow disease progression, identifying your symptoms quickly matters. A free, instant, online symptom check can help you better understand what may be causing your back pain, evaluate your risk for inflammatory conditions like ankylosing spondylitis, and guide you toward the right next steps—whether that's seeing a primary care doctor or a rheumatologist. Taking a few minutes now could save you years of avoidable pain.

Reviewed for medical accuracy: 06/18/2026

answer background

Explanation

Back Pain That's Worse at Rest: A Doctor on Ankylosing Spondylitis

Back pain that feels worse when you're resting—especially overnight or first thing in the morning—can be more than just a sore muscle. One possible cause is ankylosing spondylitis, a type of inflammatory arthritis that primarily affects the spine. Understanding ankylosing spondylitis symptoms, how it's diagnosed, and what you can do may help you find relief and protect your long-term spinal health.

What Is Ankylosing Spondylitis?

Ankylosing spondylitis (AS) is a chronic inflammatory disease that causes:

  • Inflammation of the joints in the spine and pelvis
  • Stiffness and pain, especially in the lower back and hips
  • Over time, new bone formation that can fuse vertebrae together

Key points:

  • Usually starts in late teens to early 40s
  • More common in men, but women can be affected too
  • Exact cause unknown; genetics (HLA-B27 gene) and immune system factors play a role

Why Back Pain May Be Worse at Rest

Unlike mechanical back pain (from muscle strain or injury), inflammatory back pain often improves with gentle activity and worsens with prolonged rest. Typical patterns include:

  • Morning stiffness lasting over 30 minutes
  • Pain that wakes you up in the second half of the night
  • Gradual onset over weeks to months, not sudden

Why this happens: Inflammation in spinal joints is more noticeable when you're still. Movement boosts circulation and eases stiffness. Over time, lack of movement can let inflammation smolder.

Recognizing Ankylosing Spondylitis Symptoms

Early detection can slow progression and prevent complications. Look out for:

  • Persistent low back pain and stiffness, particularly at rest or early morning
  • Improvement of pain with exercise but not with rest
  • Pain lasting longer than three months
  • Buttock or hip pain (often alternating sides)
  • Neck pain and chest wall discomfort (if ribs are involved)
  • Reduced flexibility of the spine, leading to a stooped posture
  • Enthesitis (tenderness where tendons and ligaments attach to bone), e.g., Achilles tendon
  • Fatigue related to chronic inflammation
  • Possibly eye redness and pain (uveitis)
  • Rarely, heart or lung involvement in advanced cases

These ankylosing spondylitis symptoms can vary in intensity. You might have weeks of mild discomfort punctuated by flare-ups.

Diagnosing Ankylosing Spondylitis

No single test confirms AS. Diagnosis relies on:

  1. Clinical evaluation

    • Detailed medical history: onset, duration, pattern of back pain
    • Physical exam: spinal mobility tests, chest expansion measurement
  2. Imaging studies

    • X-rays may show sacroiliitis (inflammation of sacroiliac joints) or vertebral changes
    • MRI can detect early inflammation before X-ray changes appear
  3. Laboratory tests

    • HLA-B27 genetic marker (positive in many—but not all—patients)
    • Inflammatory markers (ESR, CRP) often elevated but can be normal
  4. Exclusion of other causes

    • Rule out mechanical back pain, infections, other forms of arthritis

If you're experiencing symptoms like morning stiffness, persistent lower back pain, or discomfort that improves with movement, it can help to check your symptoms with a free AI-powered tool to better understand what might be causing them and whether you should seek medical care.

Treatment and Management

While there's no cure for ankylosing spondylitis, early and tailored treatment can:

  • Reduce pain and stiffness
  • Maintain spinal mobility
  • Prevent or slow fusion of the spine
  • Improve quality of life

Core components of management include:

1. Medications

  • Nonsteroidal anti-inflammatory drugs (NSAIDs): First-line to reduce pain and inflammation
  • Tumor necrosis factor (TNF) inhibitors or interleukin-17 (IL-17) blockers: Biologic agents for moderate to severe cases
  • Corticosteroid injections: For joints or entheses causing significant pain
  • Analgesics: Acetaminophen or, rarely, short-term opioids for breakthrough pain

2. Physical Therapy and Exercise

  • Daily stretching and strengthening exercises to preserve posture and flexibility
  • Swimming or water aerobics to reduce joint stress
  • Posture training to prevent a forward-stooped spine

3. Lifestyle Modifications

  • Quit smoking: Smoking worsens inflammation and spinal changes
  • Maintain a healthy weight: Reduces strain on spine and hips
  • Ergonomic adjustments at work and home: Proper chair, desk height, supportive mattress

4. Regular Monitoring

  • Periodic imaging and lab tests to assess disease activity
  • Eye exams if you've had uveitis
  • Cardiovascular and lung function checks in long-standing disease

5. Surgery (Rarely)

  • Joint replacement for severely damaged hips or vertebrae
  • Spinal osteotomy to correct severe kyphosis (bending forward)

Living with Ankylosing Spondylitis

Although AS is chronic, many people lead active lives with proper care:

  • Follow your treatment plan and attend rheumatology visits
  • Keep up with daily exercises, even on days you feel better
  • Listen to your body—balance rest and activity, avoiding prolonged immobility
  • Seek support from patient groups or counseling if you feel overwhelmed

When to See a Doctor

Prompt medical attention is important if you experience:

  • Persistent back pain lasting more than three months
  • Stiffness that doesn't improve with movement
  • Fever, weight loss, or night sweats (could indicate other conditions)
  • Eye pain or vision changes (possible uveitis requiring urgent care)
  • New chest pain or shortness of breath

Always speak to a doctor about anything that could be serious or life threatening.

Conclusion

Back pain that's worse at rest and in the morning may signal ankylosing spondylitis—an inflammatory condition that benefits from early diagnosis and treatment. By recognizing ankylosing spondylitis symptoms, working with your healthcare team, staying active, and adapting your lifestyle, you can manage pain, maintain mobility, and protect your spine. If persistent back pain or stiffness is disrupting your life, take a free symptom assessment to explore possible causes and don't hesitate to speak to your doctor for personalized guidance.

(References)

  • * Sieper J, van der Heijde D, Landewé R, et al. New criteria for inflammatory back pain: a comparison with the ASAS criteria. Ann Rheum Dis. 2011 Nov;70(11):1984-8. doi: 10.1136/ard.2010.142023. Epub 2011 Apr 11. PMID: 21487192.

  • * Sieper J, Poddubnyy D. Axial spondyloarthritis. Lancet. 2017 Jul 15;390(10089):73-84. doi: 10.1016/S0140-6736(16)31590-7. Epub 2017 Jan 25. PMID: 28131349.

  • * Rudwaleit M, van der Heijde D, Sieper J. Inflammatory back pain: a call for action. Curr Opin Rheumatol. 2012 Jul;24(4):397-401. doi: 10.1097/BOR.0b013e328354c465. PMID: 22596001.

  • * Poddubnyy D, Sieper J. Axial spondyloarthritis: Clinical manifestations and diagnosis. Rheum Dis Clin North Am. 2015 May;41(2):167-78. doi: 10.1016/j.rdc.2015.01.002. Epub 2015 Feb 13. PMID: 25920231.

  • * Alshami A, Jaber H, Kucuk A, et al. Diagnostic delay in axial spondyloarthritis: A systematic review and meta-analysis. Clin Rheumatol. 2021 Jul;40(7):2683-2692. doi: 10.1007/s10067-020-05513-3. Epub 2020 Dec 21. PMID: 33346908.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.