The mediation analysis showed that IL-1β and IL-18 could explain 25.4 and 17.5% of effect of the risk of cognitive impairment related to 25(OH)D3 deficiency. This evidence concerns the gene IL1B and Cognitive impairment.