In conclusion, diabetes triggers the disruption of the BBB and increase of APOE and ultimately aggravates cognitive decline through metabolite imbalance due to glymphatic pathway dysfunction. This evidence concerns the gene APOE and diabetes mellitus.