Vaspin is a novel adipocytokine associated with glucose tolerance and chronic inflammation. Some studies reveal that vaspin may be involved in cardiovascular diseases. Our objective was to investigate the relationship between serum vaspin levels and endothelial function in patients with ankylosing spondylitis. One hundred and twenty patients with newly diagnosed ankylosing spondylitis and 100 healthy subjects were studied. Serum vaspin levels were measured with enzyme-linked immunosorbent assay. High resolution ultrasound was used to measure brachial artery diameter at rest, after reactive hyperemia (flow-mediated dilation, FMD) and after sublingual glyceryltrinitrate. Serum vaspin level in patients was 1.92±1.03 ng/mL, which was significantly lower than that in healthy subjects (2.88±0.81 ng/mL). By dividing the distribution of serum vaspin levels into quartiles, FMD levels increased gradually with the increase of serum vaspin levels in patients (P<0.01). Univariate analysis showed a correlation between vaspin and FMD (r=0.73, P=0.003), low-density lipoprotein cholesterol (r=-0.45, P=0.033), high-density lipoprotein cholesterol (r=0.63, P=0.025), fasting blood glucose (r=-0.79, P=0.006), triglycerides (TG) (r=-0.68, P=0.036), systolic blood pressure (r=-0.35, P=0.021), C-reactive protein (r=-0.67, P=0.011), homeostatic model assessment of insulin resistance (HOMA-IR) (r=-0.77, P=0.023) and erythrocyte sedimentation rate (r=-0.88, P=0.039) in patients. Multivariate analysis indicated that serum vaspin levels were independently associated with FMD, HOMA-IR and TG in patients. Our study found that serum vaspin levels were decreased in patients with ankylosing spondylitis and were associated with FMD levels. Vaspin may serve as an independent marker for detecting early stage atherosclerosis in patients with ankylosing spondylitis.