Both cytosolic and secreted SLPI levels strongly correlate with advanced CCA stages and are inversely associated with overall survival, highlighting its potential as a prognostic biomarker for CCA. Here, SLPI is linked to cholangiocarcinoma.