This cross-sectional and population-based study demonstrated a positive but non-linear association between the increase in ALT to HDL-C ratio and DM. This evidence concerns the gene GPT and diabetes mellitus.