Background & Aims: Low plasma B12 and folate levels or hyperhomocysteinemia are related to cognitive impairment. This study explores the relationships among diet pattern, blood folate–B12–homocysteine levels, and cognition measurement in Alzheimer’s disease (AD) while exploring whether a gender effect may exist. Methods: This cross-sectional study enrolled 592 AD patients (246 males, 346 females) and the demographic data, blood biochemical profiles, Mini-Mental State Examination (MMSE), and a Food Frequency Questionnaire (FFQ) for quantitative assessment of dietary frequency were collected. Structural Equation Modeling (SEM) was employed to explore the associations among dietary patterns, blood profiles, and cognition. A least absolute shrinkage and selection operator regression model, stratified by gender, was constructed to analyze the weighting of possible confounders. Results: Higher MMSE scores were related to higher frequencies of coffee/tea and higher educational levels, body mass index, and younger age. The SEM model revealed a direct influence of dietary frequencies (skimmed milk, thin pork, coffee/tea) and blood profiles (homocysteine, B12, and folate) on cognitive outcomes. At the same time, the influence of dietary pattern on cognition was not mediated by folate–B12–homocysteine levels. In males, a direct influence on the MMSE is attributed to B12, while in females, homocysteine is considered a more critical factor. Conclusions: Dietary patterns and blood profiles are both associated with cognitive domains in AD, and there are gender differences in the associations of dietary patterns and the levels of B12 and homocysteine. To enhance the quality of dietary care and nutritional status for individuals with dementia, our study results still require future validations with multi-center and longitudinal studies.