The union of Plant Growth-Promoting Bacteria (PGPB) and rhizosphere confers a series of functions beneficial to plant. However, the lack of an opearable in situ method limits the further understanding on the mechanism. In this study, a weak electric field was designed to regulate rhizospheric microflora in a constructed root-splitting reactor. Compared with the control, the aboveground and underground biomass of rice seedling increased by 17 % and 18 % (p < 0.05) respectively under the exist of weak electric field of 0.14 V/cm. The joint action of rhizosphere and PGPB displayed the detoxification ability in the condition of soluble petroleum hydrocarbons, where the height, stem diameter, biomass and root vigor of the plant was increased by 58 %, 32 %, 43 % and 48 % respectively than the control. The selective reproduction of endophytes and ectophytes (denitrifying, auxin-producing, hydrocarbon-degrading and electroactive bacteria) was observed under applied weak electric field, which enhanced the nitrogen utilization, cellular metabolic activity and resistance to toxic organics of plant. This was further confirmed by the up-regulated OTUs related to the hydrocarbon degradation function, tryptophan metabolism and metabolism of nicotinate and nicotinamide. Moreover, the weak electric field also enhanced the transfer ability of partial endophytes grown in the root to improve plant stress resistance. The results in this work inspired an exercisable method for in situ enrichment of PGPB in the rhizosphere to cope with food crisis and provided a new way to deal with sudden environmental events.