Biofilms are ecosystems of closely associated bacteria encapsulated in an extracellular matrix mainly composed of polysaccharides and proteins. A novel approach was developed for in situ quantification of extracellular proteins (ePNs) in various bacterial biofilms using epicocconone, a natural, fluorescent compound that binds amine residues of proteins. Six commercial proteins were tested for their reaction with epicocconone, and bovine serum albumin (BSA) was selected for assay optimization. The optimized protocol, performed as a microassay, allowed protein amounts as low as 0.7 μg to as high as 50 μg per well to be detected. Addition of monosaccharides or polysaccharides (glucose, dextran or alginate) to the standard BSA solutions (0 to 250 μg ml(-1)) showed little or no sugar interference up to 2000 μg ml(-1), thus providing an assessment of the specificity of epicocconone for proteins. The optimized protocol was then applied to three different biofilms, and in situ quantification of ePN showed contrasted protein amounts of 22.1 ± 3.1, 38.3 ± 7.1 and 0.3 ± 0.1 μg equivalent BSA of proteins for 48-h biofilms of Pseudomonas aeruginosa, Bacillus licheniformis and Weissella confusa, respectively. Possible interference due to global matrix compounds on the in situ quantification of proteins was also investigated by applying the standard addition method (SAM). Low error percentages were obtained, indicating a correct quantification of both the ePN and the added proteins. For the first time, a specific and sensitive assay has been developed for in situ determination of ePN produced by bacterial cells. This advance should lead to an accurate, rapid tool for further protein labelling and microscopic observation of the extracellular matrix of biofilms.