Poly(3-hydroxybutyrate) (PHB), a biodegradable polymer, can be produced by different microorganisms. The PHB belongs to the family of polyhydroxyalkanoate (PHA) that mostly accumulates as a granule in the cytoplasm of microorganisms to store carbon and energy. In this study, we established an integrated one-pot electromicrobial setup in which carbon dioxide is reduced to formate electrochemically, followed by sequential microbial conversion into PHB, using the two model strains, Methylobacterium extorquens AM1 and Cupriavidus necator H16. This setup allows to investigate the influence of different stress conditions, such as coexisting electrolysis, relatively high salinity, nutrient limitation, and starvation, on the production of PHB. The overall PHB production efficiency was analyzed in reasonably short reaction cycles typically as short as 8 h. As a result, the PHB formation was detected with C. necator H16 as a biocatalyst only when the electrolysis was operated in the same solution. The specificity of the source of PHB production is discussed, such as salinity, electricity, concurrent hydrogen production, and the possible involvement of reactive oxygen species (ROS).