Sufficient vitamin D levels are reported to be a factor in reducing various chronic diseases and resulting mortality rates. Well-dried mushrooms and blue-backed fish are known to be rich in vitamin D. In this study, the association between mortality rates and the intake of vitamin D-rich foods was confirmed using data from the Korean Genome and Epidemiological Study (KoGES). Among the KoGES database, we followed up a total of 6844 adults who participated in the Ansung-Ansan cohort study recruited from 2001 to 2002 and continued for an average of 16.7 years until 2018. The main findings were analyzed using Cox regression analysis. During follow-up, 439 cases of all-cause mortality, 149 cases of cancer-related mortality, and 91 cases of cardiovascular mortality were confirmed. In the fully adjusted model, the hazard ratio (HR) for all-cause mortality in quartile 3 of mushroom consumption was 0.709 (95% confidence interval [CI], 0.525-0.958) compared with quartile 1. In addition, the HRs for cardiovascular mortality in quartile 3 of mushroom consumption were 0.348 (95% CI, 0.154-0.787) compared with those in quartile 1. The HRs of cardiovascular mortality for quartiles 3 and 4 of fish consumption were 0.442 (95% CI, 0.226-0.865) and 0.533 (95% CI, 0.285-0.998), respectively, compared with quartile 1. In conclusion, moderate consumption of mushrooms was related to decreased risk of all-cause and cardiovascular mortality, while heightened fish consumption was inversely related to cardiovascular mortality.