In summary, treating hyperglycemic zebrafish with vitamin D and SFN increased the BDNF expression and reduced the AChE activity, suggesting that supplementation of diets with vitamin D can be considered as an important strategy in treating diabetes-induced cognitive disabilities at the early stage of onset. Here, ACHE is linked to diabetes mellitus.