To investigate the association of sleep disturbance with calcium regulatory hormones, disease severity and health index among the patients with ankylosing spondylitis (AS).There were 104 AS patients enrolled in the cross-sectional study, and their sleep quality was recorded. Serum levels of calcium, parathyroid hormone, vitamin D3 and calcitonin were measured. We evaluated patient's disease activity, functional ability, patient's global assessment, physical mobility, radiographic damage and health index. Blood ESR and CRP levels were tested.Sleep quality was positively correlated with serum calcitonin levels (r = 0.260, P = .008). Bad sleep and advanced radiographic damage were found among the AS patients with detectable serum calcitonin levels (P < .05). Sleep quality was significantly correlated with disease duration, CRP, BASDAI, ASDAS-ESR, ASDAS-CRP, BASFI, BAS-G, BASMI and ASAS-HI among the AS patients (all P < .05). Female gender, longer disease duration, higher ASDAS-CRP and serum calcitonin levels (OR [95% CI] = 3.210 [1.012-10.181], P = .048) were independent factors associated with bad sleep. Inflammation, disease activity, functional ability, patient's global assessment and cervical rotation were useful in predicting bad sleep among the AS patients, and ASDAS-CRP was the best predictor (AUC = 0.772, P < .001).Serum calcitonin levels was elevated in the AS patients with bad sleep, and may participate in the pathophysiology of sleep disturbance. Bad sleep was associated with female gender, longer disease duration, higher inflammation, disease activity, functional impairment, mobility restriction, poor patient's global assessment and health index in AS. ASDAS-CRP was best in predicting bad sleep.