The dual roles of capsular extracellular polymeric substances (EPS) in the photocatalytic inactivation of bacteria were demonstrated in a TiO2-UVA system, by comparing wild-typeEscherichia colistrain BW25113 and isogenic mutants with upregulated and downregulated production of capsular EPS. In a partition system in which direct contact between bacterial cells and TiO2particles was inhibited, an increase in the amount of EPS was associated with increased bacterial resistance to photocatalytic inactivation. In contrast, when bacterial cells were in direct contact with TiO2particles, an increase in the amount of capsular EPS decreased cell viability during photocatalytic treatment. Taken together, these results suggest that although capsular EPS can protect bacterial cells by consuming photogenerated reactive species, it also facilitates photocatalytic inactivation of bacteria by promoting the adhesion of TiO2particles to the cell surface. Fluorescence microscopy and scanning electron microscopy analyses further confirmed that high capsular EPS density led to more TiO2particles attaching to cells and forming bacterium-TiO2aggregates. Calculations of interaction energy, represented by extended Derjaguin-Landau-Verwey-Overbeek (XDLVO) potential, suggested that the presence of capsular EPS enhances the attachment of TiO2particles to bacterial cells via acid-base interactions. Consideration of these mechanisms is critical for understanding bacterium-nanoparticle interactions and the photocatalytic inactivation of bacteria.