↵† Present address: School of Materials Science and Engineering, Nanyang Technological University, Singapore, Singapore. Quorum quenching (QQ) has been reported to be a promising approach for membrane biofouling control. Entrapment of QQ bacteria in porous matrices is required to retain them in continuously operated membrane processes and to prevent uncontrollable biofilm formation by the QQ bacteria on membrane surfaces. It would be more desirable if the formation and dispersal of biofilms by QQ bacteria could be controlled so that the QQ bacterial cells are self-immobilized, but the QQ biofilm itself still does not compromise membrane performance. In this study, we engineered a QQ bacterial biofilm whose growth and dispersal can be modulated by light through a dichromatic, optogenetic c-di-GMP gene circuit in which the bacterial cells sense near-infrared (NIR) light and blue light to adjust its biofilm formation by regulating the c-di-GMP level. We also demonstrated the potential application of the engineered light-responsive QQ biofilm in mitigating biofouling of water purification forward osmosis membranes. The c-di-GMP–targeted optogenetic approach for controllable biofilm ...