Due to the physicochemical properties of nanoparticles, the use of nanomaterials increases every year in industrial and medical processes. At the same time, the increasing number of bacteria becoming resistant to many antibiotics, mostly by a horizontal gene transfer process, is a major public health concern. We herein report, for the first time, the role of nanoparticles in the physiological induction of horizontal gene transfer in bacteria. Besides the most well-known impacts of nanoparticles on bacteria, i.e. death or oxidative stress, two nanoparticles, n-ZnO and n-TiO2, significantly and oppositely impact the transformation efficiency of Bacillus subtilis in biofilm growth conditions, by modification of the physiological processes involved in the induction of competence, the first step of transformation. This effect is the consequence of a physiological adaptation rather than a physical cell injury: two oligopeptide ABC transporters, OppABCDF and AppDFABC, are differentially expressed in response to nanoparticles. Interestingly, a third tested nanoparticle, n-Ag, has no significant effect on competence in our experimental conditions. Overall, these results show that nanoparticles, by altering bacterial physiology and especially competence, may have profound influences in unsuspected areas, such as the dissemination of antibiotic resistance in bacteria.