The present study aimed to evaluate the potential use of whey to produce 2,3‐BD via the fermentation of lactose and its monosaccharides, glucose and galactose, in a synthetic culture medium (medium 9, M9) using a modified strain of Escherichia coli K12 MG1655 (E. coli JFR12) at a 0.1 L/L (10 vol%) inoculum ratio, 37 °C, atmospheric pressure, an initial pH 7.4, and 100 rpm for 72 h varying the saccharide concentration from 12.5, 25, and 50 g/L. The 2,3‐BD yield was ∼80 % of the theoretical yield using 25 g/L of glucose and lactose, corresponding to 0.38 g/g saccharides at a fermentation time of 48 h (glucose) and 72 h (lactose). However, the 2,3‐BD yield was halved (0.19 g/g galactose), fermenting 25 g/L of galactose at 48 h. Taking into account these results, two important conclusions were determined: i) E. coli JFR12 could transform galactose into 2,3‐BD although its yield was half of the yield observed with glucose at 48 h; and ii) E. coli JFR12 was as efficient as other natural 2,3‐BD producers such as Klebsiella species fermenting lactose. However, the E. coli strain has the advantage of being an innocuous strain. To the best of our knowledge, there is no other study presenting the production of 2,3‐BD from galactose and lactose with a genetically modified E. coli strain.