Research on children's dietary diversity plays a crucial role in designing effective health interventions. Thus, this study aimed to identify the factors contributing to minimum dietary diversity failure (MDDF) among male and female children aged 6–23 months in Bangladesh. The data for this study was obtained from the Bangladesh Multiple Indicator Cluster Survey, 2019, which included children currently breastfed within a specific age range. Multivariable binary logistic regression was employed to assess the strength and significance of the association. The findings revealed that approximately 59⋅4 % of children in Bangladesh experienced MDDF, with 57⋅8 % of male children and 61 % of female children affected. Proportion test uncovered a significant gender disparity (χ2=6⋅58, P-value = 0⋅01) among children aged 6–23 months. However, the multivariable binary logistic regression analysis revealed that both male and female children shared common risk factors for MDDF, which included child age, maternal educational status, wealth status, number of antenatal care visits, and division. In our study, we observed varied spatial patterns in minimal dietary diversity. Sherpur, Netrokona, Sunamganj, and Sylhet districts showed the highest failure rates. Notably, all are flood-affected areas, impacting food availability and diversity. For targeted regional development programmes, district mapping results may offer valuable insights to policymakers, especially in areas with a high prevalence of dietary diversity failure. By understanding these risk factors, policymakers and stakeholders can implement targeted strategies to improve dietary diversity among children, promoting better health and well-being for the young population in Bangladesh.