Background The etiological factor for intrahepatic cholangiocarcinoma (ICC) is not clear. Although it has been widely accepted that intrahepatic biliary tree stone is associated with increased risk of ICC, the role of extrahepatic biliary tree stone in the incidence of ICC is controversial. In the present study we aim to evaluate the association between pre-existing choledocholithiasis and cholecystolithiasis and the risk of ICC.