Background: Hydrogen-oxidizing autotrophic bacteria are promising hosts for conversion of CO2 into chemicals. In this work, we engineered the metabolically versatile lithoautotrophic bacterium Rhodococcus opacus strain DSM 43205 for synthesis of polymer precursors. Either, a gene encoding aspartate decarboxylase (panD) or lactate dehydrogenase (ldh) were expressed for autotrophic and heterotrophic beta-alanine or L-lactic acid production, respectively.Results: Heterotrophic cultivations on glucose yielded 25 mg L-1 beta-alanine and 742 mg L-1 L-lactic acid, while under autotrophic cultivation conditions with the gaseous substrates CO2, H2 and O2, beta-alanine and L-lactic acid concentrations were 1.8 mg L-1 and 146 mg L-1, respectively. In electrobioreactors, where H2 and O2 were produced in situ by water electrolysis, a beta-alanine titer of 345 µg L-1 was reached from CO2.Conclusions: We demonstrate successful production of beta-alanine and L-lactic acid from CO2. This work demonstrates that R. opacus DSM 43205 can be readily engineered for the autotrophic production of chemicals and provides a basis for further metabolic engineering of its autotrophic metabolism to increase productivity and yield.