Here we reported a case of type 1 diabetes induced by anti-PD-1 which was to treat intrahepatic cholangiocarcinoma. The gene discussed is PDCD1; the disease is type 1 diabetes mellitus.