We present herein two colour encoded silica nanospheres (2nanoSi) for the fluorescence quantitative ratiometric determination of trypsin in humans. Current detection methods for cystic fibrosis diagnosis are slow, costly and suffer from false positives. The 2nanoSi proved to be a highly sensitive, fast (minutes), and single-step approach nanosensor for the screening and diagnosis of cystic fibrosis, allowing the quantification of trypsin concentrations in a wide range relevant for clinical applications (25–350 μg L−1). Furthermore, as trypsin is directly related to the development of cystic fibrosis (CF), different human genotypes, i.e. CF homozygotic, CF heterozygotic, and unaffected, respectively, can be determined using our 2nanoSi nanospheres. We anticipate the 2nanoSi system to be a starting point for non-invasive, easy-to-use and cost effective ratiometric fluorescent biomarkers for recessive genetic diseases like human cystic fibrosis. In a screening program in which the goal is to detect disease and also the carrier status, early diagnosis could be of great help.