Objective To explore the correlations between the time of tracheal extubation and the intraoperative basic factors of ex vivo liver resection followed by autotransplantation in patients with advanced hepatic alveolar echinococcosis (HAE), and analyze the change trend of blood gas analysis during operation. Methods The data of 24 patients with advanced HAE who underwent ex vivo liver resection followed by autotransplantation in West China Hospital of Sichuan University between February 2014 and August 2017 were retrospectively analyzed. Results There were significant correlations between the extubation time and the duration of anesthesia (r=0.472, P=0.031), the amount of bleeding (r=0.524, P=0.015), the amount of erythrocyte suspensions infusion (r=0.627, P=0.002), and the amount of plasma infusion (r=0.617, P=0.003). There was no statistical difference in extubation time between patients with and without pulmonary complications in 3 months postoperatively [(23.74±15.84), (15.52±19.40) h, P=0.327]. Compared with those arterial blood gas results before the interruption, the pH value, blood glucose, lactic acid and base excess were statistically significantly different (P<0.05) at each time point after the interruption. Blood potassium increased at the end of operation compared with that before interruption (P<0.05); and the free calcium after blocking and opening increased with a temporary decrease (P<0.05); the hemoglobin decreased significantly after interruption and clamping (P<0.05). Conclusions Anesthesia length and bleeding should be reduced in ex vivo liver resection followed by autotransplantation, thus the extubation time would be shortened and the prognosis of the patients might be improved. Because of the longer anhepatic phase, the blood gas analysis varies largely. During operation, blood gas analysis and monitoring should be strengthened, and the acid-base balance and electrolytes should be maintained in time.