By adopting the 2020 China Rural Revitalization Survey(CRRS),a triadic analysis framework(digital literacy+behavior response+grain production vulnerability)was constructed,and the influence of digital literacy on the vulnerability of farmers'grain production was researched empirically.The study shows that enhanced digital literacy of farmers could significantly reduce grain production vulnerability,and the conclusion still stands after estimating instrumental variables,matching propensity scores and verifying missing variables.Heterogeneity test results demonstrate that young and middle-aged farmers and farmers with a higher educational background have significant behavioral response effect.Mediation analysis further reveals that enhanced digital literacy could reduce grain production vulnerability by improving the capital allocation efficiency,innovating production behavior,and expanding market space.