By using single-nucleotide polymorphisms (SNPs) associated with different traits of NAFLD (chronically elevated serum alanine aminotransferase levels [cALT], imaging-accessed and biopsy-proven NAFLD), metabolic dysfunction-associated steatohepatitis, and liver fibrosis and cirrhosis, we employed three methods of mendelian randomization (MR) analysis (inverse-variance weighted [IVW], weighted median, and MR-Egger) to determine the causal relationships between MASLD-related diseases and cognition and dementia. The gene discussed is GPT; the disease is metabolic dysfunction-associated steatotic liver disease.