SummaryThis research aimed to investigate factors associated with vitamin D deficiency and to provide data about its prevalence in patients suffering from different psychiatric illnesses. The study had a cross-sectional design and it included 220 patients of both genders, aged from 19-81 y, with a wide range of mental disorders (F00-F89), and treated in routine ambulatory and hospital practice. The researchers collected data from three sources: medical records, a study questionnaire and biochemical analysis of patients' serum samples (concentration of vitamin D measured as 25(OH)D, calcium, phosphorus, magnesium, sodium and potassium). Data were analyzed using descriptive statistics, methods for hypothesis testing and binary logistic regression, at the p#0.05 level. A total of 140 patients (64%) had a deficiency of vitamin D (,12 ng/mL), and 45 (20%) had inadequate vitamin D serum levels (12-20 ng/mL), while 35 (16%) had sufficient vitamin D serum concentrations (.20 ng/mL). Among variables related to demographics, life style habits, mental illness, comorbid disorders and drugs, two of them, female gender (odds ratio (OR)52.5, 95% confidence interval (CI)51.3-4.9, p50.006) and using clozapine (OR515.6, 95% CI 1.7-144.7, p50.02), were significantly associated with vitamin D deficiency. Physical activity (OR5 0.4, p50.02), exercising (OR50.2, 95% CI , p50.02) and offal in the diet (OR50.5, 95% CI 0.3-0.9, p50.03) significantly aggregated in the patients who had a 25(OH)D serum concentration above the deficiency cut-off level. Patients with mental disorders are at high risk for vitamin D deficiency, particularly females and clozapine users as well as those having no adequate physical activity or dietary habits.