Purpose of review: increasing evidence suggests that besides the several metabolic, endocrine, and immune functions of 1alpha,25-dihydroxyvitamin D (1,25(OH)2D), the neuronal effects of 1,25(OH)2D should also be considered an essential contributor to the development of cognition in the early years and its maintenance in aging. The developmental disabilities induced by vitamin D deficiency (VDD) include neurological disorders (e.g., attention deficit hyperactivity disorder, autism spectrum disorder, schizophrenia) characterized by cognitive dysfunction. On the other hand, VDD has frequently been associated with dementia of aging and neurodegenerative diseases (e.g., Alzheimer’s, Parkinson’s disease). Recent findings: various cells (i.e., neurons, astrocytes, and microglia) within the central nervous system (CNS) express vitamin D receptors (VDR). Moreover, some of them are capable of synthesizing and catabolizing 1,25(OH)2D via 25-hydroxyvitamin D 1alpha-hydroxylase (CYP27B1) and 25-hydroxyvitamin D 24-hydroxylase (CYP24A1) enzymes, respectively. Both 1,25(OH)2D and 25-hydroxyvitamin D were determined from different areas of the brain and their uneven distribution suggests that vitamin D signaling might have a paracrine or autocrine nature in the CNS. Although both cholecalciferol and 25-hydroxyvitamin D pass the blood–brain barrier, the influence of supplementation has not yet demonstrated to have a direct impact on neuronal functions. So, this review summarizes the existing evidence for the action of vitamin D on cognitive function in animal models and humans and discusses the possible pitfalls of therapeutic clinical translation.