Different musculoskeletal disorders are a source of pain in the spinal region; most of them can be divided into mechanical, such as low back pain (LBP), or inflammatory origins, as is the case of axial spondyloarthritis (axSpA). Nevertheless, insufficient information is available about the muscle negative consequences of these conditions. Thus, the objective of this study was to identify whether mechanical muscle properties (MMPs) of cervical and lumbar muscles are different between patients with axSpA, subacute LBP (sLBP), and healthy controls. Furthermore, we aimed identify whether MMPs were related to sociodemographic and clinical variables in various study groups. The MMPs, sociodemographic, and clinical variables were obtained in 43 patients with axSpA, 43 subjects with sLBP, and 43 healthy controls. One-way ANOVAs and ROC curves were applied to identify whether the MMPs could differentiate between the study groups. Intra-group Pearson r coefficients to test the associations between MMPs and the rest of the variables were calculated. The results showed that axSpA subjects have a higher tone and stiffness and a lower relaxation and creep than sLBP and healthy ones (p < 0.05). All lumbar and cervical MMPs, except for decrement, could correctly classify axSpA and healthy subjects and axSpA and sLBP patients (in both cases, Area Under the Curve > 0.8). However, no MMP could differentiate between sLBP and healthy subjects. Each group had a different pattern of bivariate correlations between MMPs and sociodemographic and clinical data, with a worse state and progression of the axSpA group associated with a higher tone and stiffness in both spinal regions. This study supports that MMPs are different and show different patterns of correlations depending on the type of spinal pain.