Sex-based differences in patients with bipolar disorders (BD) are well recognized, and it is well known that the prevalence and severity of nonalcoholic fatty liver disease (NAFLD) are both higher in men than in women. Although metabolic disorders such as NAFLD are common in patients with BD, sex differences and risk factors for NAFLD comorbidity in these patients have not been thoroughly explored. This study aimed to investigate sex differences in patients with comorbid NAFLD and BD and associated risk factors. Methods: This retrospective cross-sectional study included 710 patients with BD. Clinical data of patients with BD, including information on fasting glucose, liver function-related enzymes, relevant lipid data, uric acid, the triglyceride-glucose index (TyG), and demographics, were derived from the hospital electronic medical record system from June 2020 to July 2022. We performed logistic regression analysis and calculated the odds ratios with 95% confidence intervals of factors using t-tests, χ²-tests, and receiver operating characteristic. NAFLD was diagnosed using liver ultrasonography. Results: The prevalence of NAFLD was higher in male patients with BD than in female patients (50.9% vs 38.5%), and there were significant differences in the years of education and marital status (all P<0.05). Regression analysis showed that the risk factors for comorbidities were the body mass index (BMI), fasting glucose, and apolipoprotein B levels in male patients and the BMI, bipolar disease course, glutamine transpeptidase levels, and the TyG in female patients. Conclusion: Sex-based differences exist in risk factors and in the prevalence of comorbid NAFLD among patients with BD. BMI is a sex-independent risk factor, and clinical attention should be targeted to risk factors associated with comorbid NAFLD related to sex, especially in female patients with BD who presenting a high TyG index.