Studies on the effects of dual tasking in patients with chronic inflammatory rheumatic diseases are limited. The aim of this study was to assess dual tasking while walking in patients with axial spondyloarthritis (axSpA) in comparison to healthy controls. Thirty patients with axSpA and thirty healthy controls underwent a 10-m walk test at a self-selected comfortable walking speed in single- and dual-task conditions. Foot-worn inertial sensors were used to compute spatiotemporal gait parameters. Analysis of spatiotemporal gait parameters showed that the secondary manual task negatively affected walking performance in terms of significantly decreased mean speed (p < 0.001), stride length (p < 0.001) and swing time (p = 0.008) and increased double support (p = 0.002) and stance time (p = 0.008). No significant interaction of group and condition was observed. Both groups showed lower gait performance in dual task condition by reducing speed, swing time and stride length, and increasing double support and stance time. Patients with axSpA were not more affected by the dual task than matched healthy controls, suggesting that the secondary manual task did not require greater attention in patients with axSpA. Increasing the complexity of the walking and/or secondary task may increase the sensitivity of the dual-task design to axial spondyloarthritis.