We identified that LDL-C and apolipoprotein B mediate the effects of thyroid function on the cholelithiasis risk. Here, APOB is linked to cholelithiasis.