For CD163+ macrophages or Foxp3+ Tregs, patients with high density in HCC or ICC components were associated with worse survival. This evidence concerns the gene FOXP3 and intrahepatic cholangiocarcinoma.