Quorum sensing (QS) coordinates the expression of virulence factors and allows bacteria to counteract the immune response, partly by increasing their tolerance to the oxidative stress generated by immune cells. Despite the recognized role of QS in enhancing the oxidative stress response, the consequences of this relationship for the bacterial ecology remain unexplored. Here we demonstrate that QS increases resistance also to osmotic, thermal and heavy metal stress. Furthermore a QS-deficient lasR rhlR mutant is unable to exert a robust response against H2O2 as it has less induction of catalase and NADPH-producing dehydrogenases. Phenotypic microarrays revealed that the mutant is very sensitive to several toxic compounds. As the anti-oxidative enzymes are private goods not shared by the population, only the individuals that produce them benefit from their action. Based on this premise, we show that in mixed populations of wild-type and the mexR mutant (resistant to the QS inhibitor furanone C-30), treatment with C-30 and H2O2 increases the proportion of mexR mutants; hence, oxidative stress selects resistance to QS compounds. In addition, oxidative stress alone strongly selects for strains with active QS systems that are able to exert a robust anti oxidative response and thereby decreases the proportion of QS cheaters in cultures that are otherwise prone to invasion by cheats. As in natural environments stress is omnipresent, it is likely that this QS enhancement of stress tolerance allows cells to counteract QS inhibition and invasions by social cheaters, therefore having a broad impact in bacterial ecology.