In summary, we found that AST/ALT was a risk factor for cognitive impairment, and the mechanism might be related to the right hippocampus atrophy induced by AST/ALT. Here, GPT is linked to Cognitive impairment.