This paper describes a method for the quantitative detection of cells expressing BlaC, a b-lactamase naturally expressed by Mycobacterium tuberculosis, intended for the diagnosis of tuberculosis. The method is based on the compartmentalization of bacteria in picoliter droplets at limiting dilutions such that each drop contains one or no cells. The co-encapsulation of a fluorogenic substrate probe for BlaC allows the quantification of bacteria by enumerating the number of fluorescent drops. Quantification of 10 colony forming units per milliliter is demonstrated. Furthermore, the encapsulation of single cell in drops maintains the specificity of the detection scheme even when the concentration of bacteria that do not express BlaC exceeds that expressing BlaC by one million-fold. V C 2015 AIP Publishing LLC.