Determination of CFTR-mediated Cl− secretion in rectal biopsies is demonstrated here to be a sensitive, reproducible and robust predictive biomarker for the diagnosis and prognosis of CF. Here, CFTR is linked to cystic fibrosis.