The study underscores the substantial effects of age, period and cohort on MDD across genders in China. Priority interventions targeting vulnerable populations, including children, adolescents, older adults, females and the post-millennium birth cohort, are crucial to mitigate the impact of MDD.