Diagnosing ankylosing spondylitis relies on piecing together clinical symptoms, blood tests, and imaging findings rather than running a single definitive test. There is no “AS test” the way there is a strep test or a pregnancy test, which partly explains why the average person waits years between first symptoms and a confirmed diagnosis. The process involves recognizing a distinctive pattern of inflammatory back pain, checking for genetic markers, and looking at the sacroiliac joints on imaging, all filtered through a set of classification criteria that have evolved considerably since the disease was first formally distinguished from rheumatoid arthritis in the 1890s.
Inflammatory Back Pain Is the Starting Point
Most people with ankylosing spondylitis first show up at a doctor’s office complaining of back pain, which is one of the most common complaints in all of medicine. The diagnostic challenge begins here: sorting inflammatory back pain from the ordinary mechanical kind that affects almost everyone at some point. Inflammatory back pain has a recognizable fingerprint. It usually starts before age 40, comes on gradually rather than after an injury, improves with movement but not with rest, and wakes people up in the second half of the night.1PubMed Central. Evaluating Inflammatory Versus Mechanical Back Pain in Individuals with Psoriatic Arthritis: A Review of the Literature Alternating buttock pain, where discomfort shifts from one side to the other, is another hallmark.
No single one of these features is enough on its own to separate ankylosing spondylitis from run-of-the-mill low back pain. A study that compared AS patients with people who had ordinary back pain found that combining several features worked far better. When at least two of four criteria were met (morning stiffness lasting over 30 minutes, improvement with exercise but not rest, waking from pain in the second half of the night, and alternating buttock pain), sensitivity reached about 70% and specificity about 81%.2PubMed. Inflammatory back pain in ankylosing spondylitis: a reassessment of the clinical history for application as classification and diagnostic criteria That is decent, but it still means roughly a third of AS patients do not meet the criteria and about one in five people with mechanical back pain would be flagged. Clinical history opens the door to suspicion; it does not close the case.
What Happens During the Physical Exam
When a clinician suspects inflammatory spinal disease, the physical exam focuses on spinal mobility. The most widely known test is the Schober test, where a doctor marks two points on your lower back, asks you to bend forward, and measures how far those marks separate. Limited expansion suggests stiffness in the lumbar spine. But a CT-based study found that the original Schober test consistently fails to capture the full range of lumbar segments it is supposed to measure, missing the upper lumbar spine in every patient examined.3PubMed Central. Schober Test and Its Modifications Revisited—What Are We Actually Measuring? Computerized Tomography-Based Analysis Modified versions improve on the original, though even the common 15-centimeter modification still missed its intended spinal segments in about a quarter of cases. Only a further modification, extending the measurement to 16 centimeters above the pelvic landmarks, reliably captured the full lumbar spine in all patients in that study.
Despite these measurement quirks, spinal mobility tests remain useful. A systematic review and meta-analysis found that the original Schober test and composite spinal mobility indexes show acceptable agreement with the extent of structural damage visible on X-ray in AS patients.4PubMed. Construct validity of clinical spinal mobility tests in ankylosing spondylitis: a systematic review and meta-analysis What these mobility tests do not do well is reflect active inflammation. They are better at picking up accumulated damage than at telling you whether the disease is flaring right now. Clinicians typically use several mobility measures together, including cervical rotation and fingertip-to-floor distance, rather than relying on any single test.5Rheumatology. Spinal mobility in ankylosing spondylitis: reliability, validity and responsiveness
HLA-B27 and What a Positive Test Actually Means
HLA-B27 is a genetic marker found in over 85% of people with ankylosing spondylitis.6PubMed Central. Genetics of Ankylosing Spondylitis-Focusing on the Ethnic Difference Between East Asia and Europe That sounds like a strong diagnostic tool until you learn that the gene is also carried by roughly 6 to 8% of the general population in many Western countries, the vast majority of whom never develop the disease. The relative risk for carriers is estimated between 50 and 100 times that of non-carriers, but the diagnostic likelihood ratio when a person already has back pain is surprisingly modest, around 2.7.7The International Journal of Medical Science and Health Research. The Comprehensive Systematic Review of Association of the HLA-B27 antigen to the development of ankylosing spondylitis In practical terms, a positive HLA-B27 test raises suspicion but does not confirm the diagnosis, and a negative result does not rule it out.
The picture gets more complicated across different populations. HLA-B27 prevalence among AS patients is roughly 90% in Caucasian and East Asian groups but drops to as low as about 26% in some Middle Eastern populations.8The International Journal of Medical Science and Health Research. The Comprehensive Systematic Review of Association of the HLA-B27 antigen to the development of ankylosing spondylitis Not all HLA-B27 subtypes are created equal either. Some subtypes, like B*2704, strongly increase risk, while others like B*2706 and B*2707 appear to be protective. On the clinical side, HLA-B27 positivity is linked to earlier disease onset and shorter diagnostic delays, and it tends to predict a better response to biologic therapies.
Imaging the Sacroiliac Joints
Imaging is where diagnosis often gets confirmed or remains frustratingly ambiguous. The traditional approach uses plain X-rays of the sacroiliac joints. For decades, the 1984 modified New York criteria required definite radiographic sacroiliitis (at least bilateral grade 2 or unilateral grade 3 changes) to classify someone as having ankylosing spondylitis.9PubMed. Evaluation of diagnostic criteria for ankylosing spondylitis. A proposal for modification of the New York criteria The problem is that visible damage on X-ray takes years to develop. Many people have active disease with significant inflammation long before anything shows up on a plain film.10PubMed. The classification and diagnostic criteria of ankylosing spondylitis
MRI changed the game. It can detect bone marrow edema and other signs of active inflammation in the sacroiliac joints well before structural damage appears on X-ray. This capability drove the development of a broader diagnostic concept: axial spondyloarthritis, which includes both the classic radiographic form (ankylosing spondylitis) and a non-radiographic form where inflammation is visible on MRI but the joints have not yet developed the erosions and sclerosis seen on X-ray. MRI is not foolproof, though. Bone marrow edema in the sacroiliac joints can show up from mechanical stress, including pregnancy and childbirth. One study of postpartum women found that adding a second imaging plane to the standard MRI assessment may help distinguish strain-related changes from early inflammatory disease.11PubMed Central. Magnetic Resonance Imaging Topography of Bone Marrow Edema in the Sacroiliac Joint of Postpartum Women
Ultrasound plays a supporting role, particularly for enthesitis, the inflammation at the points where tendons and ligaments attach to bone. Power Doppler ultrasound detects structural and inflammatory abnormalities at these attachment sites more reliably than a physical exam alone.12PubMed Central. Ultrasonographic evaluation of enthesitis in patients with ankylosing spondylitis It is not used to make the diagnosis by itself, but it can help build the case and track how well treatment is working.
Classification Criteria and How They Are Applied
The ASAS (Assessment of SpondyloArthritis International Society) criteria, finalized in 2009, replaced the older modified New York criteria for research purposes and increasingly guide clinical thinking as well. They offer two paths to classification. In the “imaging arm,” you need sacroiliitis visible on either X-ray or MRI, plus at least one additional feature of spondyloarthritis (like inflammatory back pain, HLA-B27 positivity, elevated CRP, or an associated condition such as uveitis). In the “clinical arm,” you need HLA-B27 positivity plus at least two spondyloarthritis features. The overall sensitivity and specificity of this combined system are about 83% and 84%, respectively. The imaging arm alone reaches a specificity of over 97%, though its sensitivity is lower at about 66%.13PubMed. The development of Assessment of SpondyloArthritis international Society classification criteria for axial spondyloarthritis (part II): validation and final selection
An important distinction that often gets lost: classification criteria are designed for research studies, to ensure that everyone enrolled actually has the disease. Diagnostic criteria are what a clinician uses in the exam room, where the goal is to avoid missing someone who might benefit from treatment. In practice, the ASAS criteria are widely used for both purposes, but a rheumatologist considering a real patient weighs the full clinical picture, including features that may not appear in any formal criteria set.
Why It Takes So Long to Get Diagnosed
Diagnostic delay in ankylosing spondylitis is one of the longest of any chronic disease. A large study of over 550 patients found a median delay of about 3.8 years from symptom onset to diagnosis.14PubMed Central. Factors Associated With Diagnostic Delay in Axial Spondyloarthritis: Impact of Clinical Factors and Social Vulnerability Another study reported a mean delay closer to 8 years.15PubMed Central. Diagnostic Delay in Ankylosing Spondylitis: Related Factors and Prognostic Outcomes Either way, it is a long time to spend in pain without knowing what is causing it. This matters because longer delays are associated with worse physical function, greater spinal stiffness, and lower quality of life.
Several factors feed into the delay. Most patients first see a primary care provider, not a rheumatologist, and the median time from a back pain diagnosis to a rheumatology referral has been estimated at about 10 months. Once patients reach a rheumatologist, diagnosis typically follows within a month.16PubMed Central. Ankylosing spondylitis diagnosis in US patients with back pain: identifying providers involved and factors associated with rheumatology referral delay The bottleneck is getting to the right specialist. People who were younger, male, had uveitis, or had already been prescribed anti-inflammatory drugs were referred sooner, suggesting that the diagnosis gets considered faster when the presentation fits the classic textbook picture. Those who tested negative for HLA-B27 also experienced longer delays.17PubMed Central. Diagnostic Delay in Ankylosing Spondylitis: Related Factors and Prognostic Outcomes
Social factors compound the clinical ones. Higher social vulnerability was associated with nearly double the odds of a longer diagnostic delay.18PubMed Central. Factors Associated With Diagnostic Delay in Axial Spondyloarthritis: Impact of Clinical Factors and Social Vulnerability Lower educational attainment also correlated with longer delays. Access to specialists, awareness of the disease, and the ability to advocate for further testing all play a role in how quickly someone gets an answer.
Sex Differences in Getting Diagnosed
Women with ankylosing spondylitis tend to present later, wait longer for a diagnosis, and have a higher disease burden at the time of diagnosis compared to men. They report more neck pain, fatigue, and nighttime pain, and they score worse on disease activity and functional indices.19PubMed. Spondyloarthritis in women: differences in disease onset, clinical presentation, and Bath Ankylosing Spondylitis Disease Activity and Functional indices (BASDAI and BASFI) between men and women with spondyloarthritides The disease was historically considered a “young man’s disease,” and that perception still shapes how quickly clinicians think of it when a woman presents with back pain. An Italian study found that women with AS actually had shorter diagnostic delays than men in that cohort, but the authors attributed this to the women’s higher educational and employment levels and the presence of peripheral joint involvement, which may have prompted earlier investigation rather than reflecting any inherent ease of diagnosis in women.20PubMed. Impact of gender, work, and clinical presentation on diagnostic delay in Italian patients with primary ankylosing spondylitis
Extra-Articular Clues That Speed Up Diagnosis
Ankylosing spondylitis does not confine itself to the spine. Eye inflammation (uveitis), inflammatory bowel disease, and psoriasis all cluster with it, and recognizing these connections can be a fast track to diagnosis for an alert clinician. Uveitis in AS tends to follow a particular pattern: sudden onset, anterior (affecting the front of the eye), unilateral, and recurrent.21PubMed. Uveitis in spondyloarthritis including psoriatic arthritis, ankylosing spondylitis, and inflammatory bowel disease A person who shows up at an ophthalmologist with this type of uveitis and mentions chronic back pain should be screened for AS.
Two large multicenter cohorts examined patients with psoriasis, uveitis, or inflammatory bowel disease who also had undiagnosed back pain. The rates of confirmed axial spondyloarthritis were striking. Among uveitis patients with back pain, roughly 58 to 62% received a diagnosis of axial spondyloarthritis. Among those who were also HLA-B27 positive, the figure rose to around 74 to 88%.22PubMed Central. Features of Axial Spondyloarthritis in Two Multicenter Cohorts of Patients with Psoriasis, Uveitis, and Colitis Presenting with Undiagnosed Back Pain Paradoxically, having uveitis before an AS diagnosis was associated with longer diagnostic delay in another study, possibly because the eye disease was treated in isolation without anyone connecting it to the spine.23PubMed Central. Factors Associated With Diagnostic Delay in Axial Spondyloarthritis: Impact of Clinical Factors and Social Vulnerability The opportunity is there, but specialty silos can prevent the dots from being connected.
Blood Tests Beyond HLA-B27
C-reactive protein and erythrocyte sedimentation rate, two general markers of inflammation, are the most commonly used blood tests in managing AS. They are often elevated during active disease, but they are not specific to ankylosing spondylitis and can be normal even when the disease is flaring. Research has explored additional biomarkers, particularly certain inflammatory cytokines and matrix metalloproteinase-3, but no individual biomarker has been reliably shown to diagnose the disease or predict its course.24PubMed Central. Biomarkers for diagnosis, monitoring of progression, and treatment responses in ankylosing spondylitis and axial spondyloarthritis That remains one of the big unmet needs in the field.
Newer research is exploring less conventional territory. One study used mass spectrometry to analyze tiny protein-carrying vesicles shed into the bloodstream (extracellular vesicles) and identified four proteins that were significantly elevated in AS patients compared to healthy controls.25PubMed Central. Identifying novel biomarkers for ankylosing spondylitis through proteomic profiling of serum-derived extracellular vesicles These are promising candidates for early diagnosis, but they are still in the validation stage and not available in routine clinical practice.
Conditions That Look Like AS
Several conditions can mimic ankylosing spondylitis closely enough to cause confusion. Diffuse idiopathic skeletal hyperostosis (DISH) is the one that most commonly trips up clinicians. Both diseases cause spinal stiffness and bony overgrowth, but they differ in key ways. DISH tends to affect older adults, does not involve the sacroiliac joints, and produces thick, flowing bony bridges along the front of the spine. AS produces thinner, vertical bony growths (syndesmophytes) at the edges of the vertebrae and characteristically involves the sacroiliac joints. MRI is helpful in distinguishing the two, because the inflammatory pattern typical of AS is not present in DISH.26Exploration of Musculoskeletal Diseases. Diffuse idiopathic skeletal hyperostosis and axial spondyloarthritis—similarities and differences
Other conditions in the differential include reactive arthritis, psoriatic spondylitis, and enteropathic arthritis associated with inflammatory bowel disease. These all fall under the broader spondyloarthritis umbrella and can share features like sacroiliitis and HLA-B27 positivity. The distinction often comes down to associated findings: skin plaques suggest psoriatic arthritis, chronic diarrhea points toward enteropathic disease, and a preceding infection raises suspicion for reactive arthritis. Getting the specific diagnosis right matters because treatment strategies and long-term monitoring can differ.
When Ankylosing Spondylitis Starts in Childhood
Juvenile-onset spondyloarthritis often looks very different from the adult version, which makes early recognition tricky. Children tend to present with peripheral joint problems, especially in the lower extremities, and enthesitis (inflammation at tendon attachment points) rather than back pain. One study found that enthesitis was present in about 83% of children with juvenile-onset AS within the first six months, while spinal and sacroiliac symptoms appeared in only about 11% at that stage. Definite spinal involvement took an average of more than seven years to develop.27PubMed. The early clinical recognition of juvenile-onset ankylosing spondylitis and its differentiation from juvenile rheumatoid arthritis Tarsal disease, affecting the bones of the foot, was another strong early marker, present in about 71% of the juvenile AS group but almost absent in children with juvenile rheumatoid arthritis.
Adding to the challenge, between a third and nearly two-thirds of children with spondyloarthritis show MRI evidence of active inflammation in the spine or sacroiliac joints without reporting any back pain at all.28PubMed Central. Outcomes in Juvenile-Onset Spondyloarthritis Children may not articulate or notice the same symptoms adults do, or their disease may genuinely be more peripheral at onset. Either way, waiting for classic back pain to appear before considering the diagnosis means missing the window for early intervention in a substantial number of cases.
The Gut Connection
A growing body of research links ankylosing spondylitis to changes in the gut, even in patients with no digestive symptoms. Subclinical gut inflammation, meaning intestinal inflammation only visible under a microscope or through biomarkers, has been documented in a significant proportion of AS patients. The degree of gut inflammation correlates with the amount of spinal inflammation, and the gut appears to contribute to disease activity by producing inflammatory signals.29PubMed. Subclinical gut inflammation in ankylosing spondylitis
Studies of the gut microbiome in AS patients have found consistent differences from healthy people, with shifts in specific bacterial genera. One study built a classification model based on eight bacterial genera that could distinguish AS patients from healthy controls with high accuracy.30PubMed Central. Variations in gut microbial profiles in ankylosing spondylitis: disease phenotype-related dysbiosis More recent work has even attempted to use gut microbiota profiles to differentiate between ankylosing spondylitis and non-radiographic axial spondyloarthritis, the earlier form that does not yet show X-ray damage.31PubMed. Gut microbiota analysis revealed unique biomarkers in Ankylosing Spondylitis and Non-radiographic Axial Spondyloarthritis These microbiome-based approaches are still experimental, but they point toward a future where a stool sample could contribute to an AS diagnosis or help pinpoint its subtype.
Artificial Intelligence in AS Imaging
Reading sacroiliac joint MRIs for signs of spondyloarthritis requires expertise, and even experienced radiologists and rheumatologists sometimes disagree on whether the findings meet the threshold for sacroiliitis. AI models are being trained to assist with this interpretation. One deep learning framework tested on sacroiliac MRI slices achieved a sensitivity of about 95% and a specificity of about 69% at the patient level for detecting sacroiliitis compatible with the ASAS definition of axial spondyloarthritis.32PubMed Central. Artificial intelligence for the detection of sacroiliitis on magnetic resonance imaging in patients with axial spondyloarthritis Another AI system, tested on a collected dataset, reported accuracy above 99% on standard axial images, though performance dropped on contrast-enhanced images.33PubMed Central. ASNET: A Novel AI Framework for Accurate Ankylosing Spondylitis Diagnosis from MRI
These numbers look impressive but come with caveats. Most AI models have been validated on datasets from the same institution that trained them, and performance tends to drop on outside data. The goal is not to replace the rheumatologist but to flag potential cases earlier, reduce inter-reader disagreement, and possibly speed up the referral bottleneck that accounts for so much of the diagnostic delay. Clinical deployment is still in early stages, but the technology is advancing quickly enough that it could realistically become part of the diagnostic workflow within the next several years.

