The cubic spline model showed a significant nonlinear J-shaped association between ALT and risk of dementia (P for non-linearity = 0.007; Fig. 3), reaching the lowest risk at around 30 U/L rapidly and then becoming flat thereafter, which also proved the role of decreased ALT in promoting dementia. Here, GPT is linked to dementia.