What is the most effective first‑line medication for relieving pain in ankylosing spondylitis?

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: December 2, 2026 • View editorial policy

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.

NSAIDs at Maximum Tolerated Dose Are the Best First-Line Medicine for Pain Relief in Ankylosing Spondylitis

NSAIDs should be used as first-line pharmacological treatment for pain and stiffness in ankylosing spondylitis, titrated up to the maximum dose while weighing individual cardiovascular and gastrointestinal risks. Both the most recent 2023 ASAS-EULAR guidelines 1 and the 2019 ACR/SAA/SPARTAN guidelines 2 strongly recommend NSAIDs over no treatment, with high-quality evidence demonstrating substantial pain reduction, improved function, and decreased disease activity.

Evidence for NSAID Efficacy

The evidence supporting NSAIDs is robust:

  • Pain reduction: NSAIDs reduce pain by 16.5 points on a 100mm VAS compared to placebo (95% CI -20.8 to -12.2), with a number needed to treat (NNT) of 4 3
  • Disease activity: BASDAI scores improve by 17.5 points (95% CI -23.1 to -11.8), NNT of 3 3
  • Function: BASFI scores improve by 9.1 points (95% CI -13.0 to -5.1), NNT of 5 3

These benefits are clinically meaningful and occur within 6 weeks of treatment initiation.

Traditional NSAIDs vs COX-2 Selective Inhibitors

No single NSAID is definitively superior to others 2, though both traditional NSAIDs and COX-2 inhibitors demonstrate equivalent efficacy. The choice should be guided by:

  • COX-2 inhibitors (celecoxib, etoricoxib): Preferred in patients with gastrointestinal risk factors, as they show similar efficacy to traditional NSAIDs with potentially lower GI toxicity 4
  • Traditional NSAIDs (naproxen, diclofenac, indomethacin): Appropriate for most patients, though indomethacin may cause more neurological adverse events 3

High-quality evidence shows COX-2 inhibitors reduce pain by 21.7 points on VAS (95% CI -35.9 to -7.4) with NNT of 3, and improve BASDAI by 22 points (95% CI -27.4 to -16.6) with NNT of 2 3.

Continuous vs On-Demand Dosing

For patients who respond well to NSAIDs, continuous use is preferred if needed to control symptoms 1. The 2023 ASAS-EULAR guidelines emphasize that continuous NSAID use should be based solely on symptom control, not on attempts to prevent structural progression (which remains controversial) 1. The 2019 ACR guidelines conditionally recommend continuous over on-demand treatment 2.

However, when continuous use is not required for symptom control, on-demand treatment is preferred to minimize long-term toxicity risks 1.

Safety Considerations

Moderate to low quality evidence indicates that short-term NSAID use (up to 12 weeks) shows no significant increase in withdrawals due to adverse events compared to placebo:

  • Traditional NSAIDs: 39/1000 vs 52/1000 with placebo (RR 0.75,95% CI 0.46-1.21) 3
  • COX-2 inhibitors: 24/1000 vs 11/1000 with placebo (RR 2.14,95% CI 0.36-12.56) 3

Critical safety caveats for long-term use:

  • Cardiovascular risk: Emerging axSpA-specific data suggest smaller excess cardiovascular risk than in general populations, likely due to inflammation control 5
  • Gastrointestinal risk: Traditional NSAIDs carry established GI toxicity; consider COX-2 inhibitors or proton pump inhibitor co-therapy in high-risk patients
  • Inflammatory bowel disease: Variable risk of IBD exacerbation depending on NSAID selectivity—use with caution in patients with concomitant IBD 5

When NSAIDs Fail

If NSAIDs at maximum tolerated dose fail to control symptoms adequately, the treatment algorithm progresses to:

  1. TNF inhibitors (adalimumab, infliximab, etanercept, golimumab, certolizumab): Strongly recommended as second-line therapy with high-quality evidence (ASAS40 response rates 40-58%) 2, 6
  2. IL-17 inhibitors (secukinumab, ixekizumab): Strongly recommended with high-quality evidence, particularly useful in patients with concomitant psoriasis 2
  3. JAK inhibitors (tofacitinib, upadacitinib): Conditionally recommended, offering oral administration but requiring careful cardiovascular risk assessment 2, 7

Analgesics (paracetamol, opioids) should only be considered for residual pain after NSAIDs have failed, are contraindicated, or poorly tolerated 1. This is based on expert opinion due to lack of trial evidence in axSpA.

Common Pitfalls to Avoid

  • Underdosing: NSAIDs must be titrated to maximum tolerated dose for adequate efficacy 1
  • Premature discontinuation: Allow 6 weeks for full therapeutic effect before declaring treatment failure
  • Ignoring comorbidities: Screen for cardiovascular disease, peptic ulcer disease, renal impairment, and IBD before initiating long-term NSAID therapy
  • Using systemic glucocorticoids: Strongly recommended against in axSpA 2

Related Questions

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.