Microbial biofilms are generally constituted by distinct subpopulations of specialized cells. Single-cell analysis of these subpopulations requires the use of fluorescent reporters. Here we describe a protocol to visualize and monitor several subpopulationswithin B. subtilis biofilms using fluorescence microscopy and flow cytometry.