In recent years Janus kinase inhibitors (JAKi) have joined tumor necrosis factor inhibitors (TNFi) and interleukin (IL)-17 inhibitors (IL-17i) as approved disease modifying anti-rheumatic drugs (DMARD) for moderate to severe forms of axial spondyloarthritis (axSpA). Drug survival in axSpA patients has not been well studied in a real-world outpatient scenario since the approval of JAKi. We aimed to analyze the three drug classes based on modes of actions (MoA) for their persistence rates among German axSpA outpatients. A retrospective analysis of the RHADAR database for axSpA patients with a new initiation of TNFi, IL-17i, or JAKi treatment between January 2015 and October 2023 was conducted. Analyses included Kaplan-Meier curves and adjusted Cox regressions for drug discontinuation. 1222 new biological DMARD (TNFi [n = 954], IL-17i [n = 190]) or JAKi (n = 78) treatments were reported. The median drug survival was 31 months for TNFi, 25 for IL-17i, and 18 for JAKi. The corresponding 2-year drug survival rate was 79.6%, 72.6%, and 62.8% for TNFi, IL-17i, and JAKi, respectively. The probability for discontinuation for JAKi was significantly higher compared with TNFi (HR 1.91 [95% CI 1.22–2.99]) as well as for IL-17i compared with TNFi (HR 1.43 [95% CI 1.02–2.01]), possibly related to more frequent use of TNFis as first-line therapy. IL-17i and JAKi discontinuation probabilities were similar. Primary non-response was the reason for drug discontinuation in most cases across all MoA. TNFi treatment might persist longer than JAKi and IL-17i in German axSpA outpatients, possibly related to more severe or refractory disease in patients with JAKi-treated or IL-17i-treated axSpA.