Objective:To explore the multidimensional sedentary behavior characteristics of patients with metabolic dysfunction-associated steatotic liver disease(MASLD)and to analyze the associations of different sedentary behavior characteristics with anxiety and depression scores.Methods:From June to September 2025,patients with MASLD were recruited from tertiary hospitals in Nanjing.Data on general information,lifestyle,multidimensional sedentary behavior characteristics,and anxiety and depression scores were collected.Logistic regression models were used to analyze the associations of different sedentary behavior characteristics with high anxiety(GAD-7≥3 score)and high depression(PHQ-9≥5 score)scores,followed by restricted cubic spline,subgroup,sensitivity,random forest importance,and discrimination analyses.Results:A total of 457 patients with MASLD were enrolled,and their sedentary behavior was characterized by long duration,high frequency,few interruptions,and low cognitive engagement.After adjusting for confounders,longer total workday sedentary time(OR=1.14,95%CI:1.06-1.22),web browsing(OR=2.96,95%CI:1.51-5.81),screen-based sedentary behavior(OR=1.16,95%CI:1.05-1.28),passive sedentary behavior(OR=1.16,95%CI:1.04-1.30),complete sedentary behavior(OR=1.15,95%CI:1.04-1.27),and sedentary behavior accompanied by snacking(OR=1.88,95%CI:1.18-2.99)were associated with high anxiety scores;longer total workday sedentary time(OR=1.15,95%CI:1.07-1.24),active sedentary behavior(OR=1.27,95%CI:1.11-1.45),and complete sedentary behavior(OR=1.16,95%CI:1.05-1.28)were associated with high depression scores.No statistically significant nonlinear associations were detected between any sedentary behavior characteristic and anxiety or depression scores(all Pnonlinear>0.05).Active sedentary behavior showed the highest contribution to the anxiety and depression scores,and total workday sedentary time exhibited good discriminative ability for both anxiety and depression scores(AUC=0.62 and 0.64,respectively).Conclusion:In the MASLD population,sedentary behavior time,media dependence,cognitive engagement,static intensity,and accompanying behavior characteristics were associated with anxiety scores,whereas sedentary behavior time,cognitive engagement,and static intensity characteristics were associated with depression scores.