Background: Liver dysfunction during on-pump coronary artery bypass graft surgery (CABG) is a rare complication but is associated with significant morbidity and mortality. The ability to identify high-risk patients may be helpful in planning appropriate management strategies. We aimed to evaluate the factors influencing liver function tests during on-pump CABG.Methods: In 146 patients scheduled for on-pump CABG, the liver function test was done preoperatively and on the first postoperative day. Some preoperative and intraoperative risk factors were checked and then the postoperative liver function tests were compared with the preoperative ones. Probable relationships between these changes and the preoperative and intraoperative risk factors were studied.Results: A medical history of diabetes had a significant relationship with the changes in direct bilirubin. Preoperative central venous pressure had a significant relationship with the changes in aspartate aminotransferase and alanine aminotransferase. Use of intra-aortic balloon pump and duration of aortic cross-clamp were significantly related to the changes in the liver function tests except for alanine aminotransferase and alkaline phosphatase. Conclusion: It seems that the techniques for the reduction of cardiopulmonary bypass and aortic cross-clamp duration may be useful to protect liver function. We recommend that a larger population of patients be studied to confirm these findings.