Doctors Note Logo

Published on: 6/16/2026

Ankylosing Spondylitis: The Inflammatory Back Disease That Worsens With Rest and Improves With Movement

Ankylosing spondylitis (AS) is a chronic inflammatory arthritis that mainly affects the spine and sacroiliac joints, causing back pain and stiffness that worsen with rest and improve with movement. Early diagnosis and consistent treatment are key to reducing inflammation, maintaining spinal mobility, and protecting long-term quality of life.

Managing AS involves a combination of factors: symptom tracking, genetic markers like HLA-B27, imaging studies, medications such as NSAIDs or biologics, physical therapy, and lifestyle adjustments including regular exercise and posture care.

If you're experiencing persistent back pain, morning stiffness, or unexplained joint discomfort, don't wait to find answers. Identifying AS early can dramatically change your treatment outcomes—and the sooner you understand your symptoms, the sooner you can take meaningful action. Take a free, instant, online symptom check to better understand what may be causing your symptoms and confidently navigate your next steps.

Reviewed for medical accuracy: 06/16/2026

answer background

Explanation

Ankylosing Spondylitis: The Inflammatory Back Disease That Worsens With Rest and Improves With Movement

Ankylosing spondylitis (AS) is a type of chronic inflammatory arthritis that primarily affects the spine and sacroiliac joints (where the spine meets the pelvis). Unlike common mechanical back pain, symptoms of ankylosing spondylitis often worsen after periods of rest and improve with gentle movement or exercise. Early recognition and treatment can help manage pain, maintain mobility, and improve quality of life.

What Is Ankylosing Spondylitis?

Ankylosing spondylitis is:

  • A lifelong, systemic inflammatory disease.
  • Characterized by inflammation of the spine's joints and ligaments.
  • Able to cause gradual fusion ("ankylosis") of vertebrae, leading to reduced flexibility and posture changes.

AS often begins in early adulthood (teens to 40s) and is more common in men. It may also affect other joints (hips, shoulders) and organs (eyes, heart, lungs).

Key Symptoms

People with ankylosing spondylitis frequently report:

Inflammatory Back Pain

  • Onset before age 45
  • Worse in the morning or after inactivity
  • Improves with exercise, not rest

Stiffness and Reduced Mobility

  • Morning stiffness lasting >30 minutes
  • Difficulty bending forward or sideways

Buttock or Hip Pain

  • Alternating pain on one side or both
  • Felt deep in the buttock

Chest Expansion Limitation

  • Pain or tightness when taking a deep breath
  • Rib cage inflammation

Peripheral Joint Pain

  • Knees, ankles, shoulders may swell

Enthesitis (Inflammation at tendon/ligament attachments)

  • Heel pain (Achilles tendon)
  • Pain at the ribs where they meet the breastbone

Fatigue and Low-Grade Fever

  • Persistent tiredness
  • General sense of unwellness

Extra-Articular Manifestations

  • Uveitis: Eye pain, redness, light sensitivity
  • Cardiovascular: Aortitis, conduction abnormalities
  • Pulmonary: Reduced chest wall expansion → shallow breathing
  • Gastrointestinal: Overlap with inflammatory bowel disease

What Causes Ankylosing Spondylitis?

The exact cause remains unclear, but factors include:

Genetics

  • Strong link with HLA-B27 gene (present in ~90% of AS patients)
  • Family history increases risk

Immune System Dysregulation

  • Inappropriate immune response causing joint inflammation

Environmental Triggers

  • Gut bacteria changes (intestinal microbiome)
  • Mechanical stress on entheses

Who Is at Risk?

Risk factors for ankylosing spondylitis:

  • Male sex (approx. 2–3 times more common)
  • Onset typically between ages 15–40
  • Positive family history of AS or related spondyloarthropathies
  • HLA-B27 positivity (but not everyone with HLA-B27 develops AS)

Diagnosing Ankylosing Spondylitis

Early diagnosis is key to preventing significant spinal changes. Evaluation includes:

  1. Clinical Assessment

    • Detailed history of back pain characteristics
    • Physical exam: chest expansion, Schober's test for lumbar flexion
  2. Laboratory Tests

    • HLA-B27 antigen test
    • Inflammatory markers: ESR, CRP (may be elevated but not always)
  3. Imaging

    • X-rays: sacroiliac joint changes (erosions, sclerosis)
    • MRI: detects early inflammation before X-ray changes
  4. Disease Activity Scores

    • BASDAI (Bath Ankylosing Spondylitis Disease Activity Index)

If you're experiencing persistent back pain and stiffness that worsens with rest, Ubie's free AI-powered Ankylosing Spondylitis symptom checker can help you understand your symptoms and determine whether you should seek medical evaluation.

Treatment Strategies

While there's no cure for ankylosing spondylitis, treatment aims to:

  • Reduce inflammation and pain
  • Preserve spinal flexibility and posture
  • Prevent or delay structural damage

Medications

Nonsteroidal Anti-Inflammatory Drugs (NSAIDs)

  • First-line: ibuprofen, naproxen
  • Reduce pain and stiffness

Tumor Necrosis Factor (TNF) Inhibitors

  • Adalimumab, etanercept, infliximab
  • For moderate to severe cases when NSAIDs are insufficient

Interleukin-17 (IL-17) Inhibitors

  • Secukinumab, ixekizumab
  • Alternative biologics targeting key cytokines

Analgesics

  • Acetaminophen or short-term opioids for breakthrough pain (use cautiously)

Rarely, Disease-Modifying Antirheumatic Drugs (DMARDs)

  • Sulfasalazine for peripheral joint involvement

Physical Therapy & Exercise

Daily Stretching and Strengthening

  • Focus on the spine, hips, chest wall

Posture Training

  • Avoid forward stoop; practice upright posture

Water Therapy (Hydrotherapy)

  • Buoyancy reduces joint stress

Breathing Exercises

  • Maintain chest expansion

Lifestyle Modifications

Regular Low-Impact Exercise

  • Swimming, walking, yoga, Pilates

Ergonomic Adjustments

  • Supportive mattress, lumbar support at work

Smoking Cessation

  • Smoking accelerates spinal damage and reduces lung function

Balanced Diet

  • Anti-inflammatory foods: omega-3 fats, fruits, vegetables
  • Maintain healthy weight to reduce joint stress

Monitoring & Follow-Up

  • Routine assessment of disease activity (BASDAI or physician assessment)
  • Periodic imaging to track spinal changes
  • Eye exams if uveitis symptoms arise
  • Cardiovascular evaluation if chest pain or palpitations develop

Potential Complications

While many people manage ankylosing spondylitis successfully, be aware of:

Spinal Fusion

  • "Bamboo spine" appearance with advanced fusion

Osteoporosis

  • Inflammatory bone loss increases fracture risk

Uveitis

  • Recurring eye inflammation, vision threats if untreated

Cardiac Involvement

  • Aortitis, conduction blocks

Reduced Lung Capacity

  • Limited chest expansion

When to Seek Immediate Medical Attention

Contact a healthcare professional right away if you experience:

  • Sudden, severe back pain after minor trauma (risk of fracture)
  • Numbness, tingling, or weakness in arms or legs (possible spinal cord involvement)
  • Chest pain with shortness of breath (cardiac or pulmonary complication)
  • High fever, severe headache, or other signs of systemic infection

For any life-threatening or serious symptoms, always speak to a doctor or go to the nearest emergency department.

Living Well With Ankylosing Spondylitis

A diagnosis of ankylosing spondylitis doesn't mean giving up on an active life. Many people achieve long periods of low disease activity by:

  • Following a tailored exercise program
  • Taking medications as prescribed
  • Keeping regular follow-up appointments
  • Staying informed about new treatment options

Support groups and patient organizations can also provide practical tips, emotional support, and updates on research.

Summary

Ankylosing spondylitis is a chronic inflammatory back disease marked by pain and stiffness that improves with movement. Early diagnosis, proper treatment, and lifestyle adjustments can significantly reduce symptoms and protect long-term spinal health. If you have persistent back pain, stiffness, or any serious symptoms, speak to a doctor promptly.

Living with ankylosing spondylitis requires a partnership between you and your healthcare team—never hesitate to seek medical advice about any concerns or changes in your condition.

(References)

  • * Poddubnyy D, van der Heijde D. Inflammatory back pain: clinical and imaging features in axial spondyloarthritis. Nat Rev Rheumatol. 2021 Mar;17(3):146-158. doi: 10.1038/s41584-020-00569-4. Epub 2021 Feb 23. PMID: 33623190.

  • * Rosenbaum JT, Sriranganathan M, Molesworth M, et al. Management of Ankylosing Spondylitis: A Clinical Review. JAMA. 2022 Jul 12;328(2):189-200. doi: 10.1001/jama.2022.10260. PMID: 35816008.

  • * Baraliakos X, Sieper J. Ankylosing spondylitis: an updated overview. Curr Rheumatol Rep. 2022 Oct;24(10):291-301. doi: 10.1007/s11926-022-01089-1. Epub 2022 Sep 27. PMID: 36163301.

  • * Dean LE, Macfarlane GJ. Axial Spondyloarthritis: A Review. Best Pract Res Clin Rheumatol. 2019 Jun;33(3):101452. doi: 10.1016/j.berh.2019.101452. Epub 2019 Dec 19. PMID: 31866160.

  • * Wang R, Li Z, Lin Z, Zhang M, Deng F. Advances in the Pathogenesis and Management of Ankylosing Spondylitis. Front Immunol. 2022 Feb 7;13:845899. doi: 10.3389/fimmu.2022.845899. PMID: 35198007; PMCID: PMC8858273.

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.