There’s no single test for axSpA. Diagnosis involves a combination of talking to your doctor about your symptoms, a physical exam, blood tests (like checking for the HLA-B27 gene), and imaging tests like X-rays or MRIs to look for signs of inflammation or damage.