PurposeTo investigate the relationship between food insecurity and cognitive decline among elderly Americans.MethodsUtilizing NHANES 2011–2014 data, we examined cognitive function via the Immediate Recall Test (IRT), Delayed Recall Test (DRT), Animal Fluency Test (AFT), Digit Symbol Substitution Test (DSST) and assessed food security through the US Food Security Survey Module. Multiple regression models were used to adjust for demographic and health variables.ResultsFood insecurity demonstrated a significant association with lower cognitive function scores. The effects of food insecurity on cognitive function were moderated by factors such as smoking and alcohol use, indicating a direct influence of food insecurity on cognitive decline.ConclusionThis study underscores the importance of food security for cognitive health in the elderly and advocates for targeted interventions to address nutritional disparities and enhance cognitive functioning in aging populations.