In conclusion, our findings reveal elevated CTLA-4 and FOXP3 in ICC; the combined overexpression of CTLA-4 and PD-L1 is a good marker for predicting poor prognosis in ICCs and presents a potential target for ICI treatment strategies. Here, CTLA4 is linked to intrahepatic cholangiocarcinoma.