In model 4, the model with the most covariates, a consistent relationship was shown in all-cause dementia (HR: 0.94; 95% CI: 0.89, 0.99), although the association between FOS and vascular dementia was no longer significant after controlling for dietary patterns and medical histories (P = 0.141). This evidence concerns the gene FOS and dementia.