The odds ratio of UGT1A1*27 was 25.22, showing that UGT1A1*27 increased the risk of gallstone in HBV-related hepatic failure. Here, UGT1A1 is linked to gallstones.