Corn straw is an abundant and renewable alternative for microbial biopolymer production. In this paper, an engineered Sphingomonas sanxanigenens NXG-P916 capable of co-utilising glucose and xylose from corn straw total hydrolysate to produce xanthan gum was constructed. This strain was obtained by introducing the xanthan gum synthetic operon gum as a module into the genome of the constructed chassis strain NXdPE that could mass produce activated precursors of polysaccharide, and in which the transcriptional levels of gum genes were optimised by screening for a more appropriate promoter, P916 . As a result, strain NXG-P916 produced 9.48 ± 0.34 g of xanthan gum per kg of fermentation broth (g/kg) when glucose was used as a carbon source, which was 2.1 times improved over the original engineering strain NXdPE::gum. Furthermore, in batch fermentation, 12.72 ± 0.75 g/kg xanthan gum was produced from the corn straw total hydrolysate containing both glucose and xylose, and the producing xanthan gum showed an ultrahigh molecular weight (UHMW) of 6.04 × 107 Da, which was increased by 15.8 times. Therefore, the great potential of producing UHMW xanthan gum by Sphingomonas sanxanigenens was proved, and the chassis NXdPE has the prospect of becoming an attractive platform organism producing polysaccharides derived from biomass hydrolysates.