The indocyanine green test is a reliable liver function examination before major hepatectomy, and anaphylaxis is rarely a concern. A 65-year-old male patient without epigastralgia was diagnosed with a 2.2-cm intrahepatic cholangiocarcinoma. He had no history of allergic reactions. Some liver dysfunction was indicated by the laboratory data; however, there was no marked obstructive jaundice and the liver functional reserve was maintained by technetium-99m galactosyl serum albumin. The indocyanine green test was routinely performed, but the patient immediately demonstrated severe anaphylaxis due to indocyanine green administration. He had cardiorespiratory arrest, but recovered after immediate resuscitation. Although acute renal and respiratory failure was significant, the patient recovered at day 10 after the event, and his liver function and other organ functions were improved. Then, the scheduled left hepatectomy with caudate and extrahepatic duct resection was successfully performed without issues. The patient exhibited no allergic response against the administration of antibiotics or other drugs and the postoperative course was uneventful. The patient was discharged on day 17. The tumor was diagnosed as stage III intrahepatic cholangiocarcinoma and R0 resection was accomplished. Preoperative management, including the liver functional loading test, should be carefully carried out before major hepatectomy.