Using pathogens or high levels of opportunistic bacteria to damage the gut, studies in Drosophila have identified many signaling pathways involved in gut regeneration. Dying cells emit signaling molecules that accelerate intestinal stem cell proliferation and progenitor differentiation to replace the dying cells quickly. This process has been named 'regenerative cell death'. Here, mimicking environmental conditions, we show that the ingestion of low levels of opportunistic bacteria was sufficient to launch an accelerated cellular renewal program despite the brief passage of bacteria in the gut and the absence of cell death and this is is due to the moderate induction of the JNK pathway that stimulates stem cell proliferation. Consequently, the addition of new differentiated cells to the gut epithelium, without preceding cell loss, leads to enterocyte overcrowding. Finally, we show that a couple of days later, the correct density of enterocytes is promptly restored by means of a wave of apoptosis involving Hippo signaling and preferential removal of old enterocytes.