To explore the effectiveness and safety of upadacitinib for managing axial spondyloarthritis. Four databases (PubMed, EMBASE, Cochrane, and Web of Science) were applied to search randomized controlled trials (RCTs) for assessing upadacitinib treatment for axial spondyloarthritis published until January 2024. Five RCTs involving 1,246 participants were included. The upadacitinib group had significantly higher percentages of participants achieving Assessment of spondyloarthritis international society (ASAS) 20, ASAS40, ASAS partial remission, Bath ankylosing spondylitis disease activity index (BASDAI) 50, Ankylosing Spondylitis Disease Activity Score (ASDAS) low disease activity, ASDAS inactive disease, ASDAS clinically important improvement, and ASDAS major improvement, except for Work Productivity and Activity Impairment (WPAI) absenteeism. Obvious improvements were observed in the upadacitinib group for ASDAS (CRP), BASDAI, Modified BASDAI, Bath Ankylosing Spondylitis Functional Index (BASFI), Canadian Spondyloarthritis Research Consortium (SPARCC) MRI spine, SPARCC MRI sacroiliac joint, Ankylosing Spondylitis Quality of Life (ASQoLS), ASAS Health Index, Bath Ankylosing Spondylitis Metrology Index (BASMI), Maastricht Ankylosing Spondylitis Enthesitis Score (MASES), Total Back Pain, Nocturnal Back Pain, WPAI overall work impairment, WPAI presenteeism, and WPAI activity impairment. Adverse events (AEs) and serious adverse events (SAEs) incidence rates showed no significant difference differ between upadacitinib and placebo groups. Subgroup analysis revealed that disease subtype and age did not significantly affect efficacy, and upadacitinib demonstrated comparable efficacy to adalimumab for axial spondyloarthritis. Upadacitinib exhibited satisfactory efficacy in treating axial spondyloarthritis, reducing disease activity and significantly enhancing patients' physical function, emotional well-being, and social engagement. This meta-analysis offers robust evidence supporting upadacitinib as a new treatment for axial spondyloarthritis patients.