Lipopolysaccharide (LPS) is associated with adverse developmental outcomes including embryonic resorption, fetal death, congenital teratogenesis and fetal growth retardation. Here, we explored the effects of maternal LPS exposure during pregnancy on testicular development, steroidogenesis and spermatogenesis in male offspring. The pregnant mice were intraperitoneally injected with LPS (50 µg/kg) daily from gestational day (GD) 13 to GD 17. At fetal period, a significant decrease in body weight and abnormal Leydig cell aggregations were observed in males whose mothers were exposed to LPS during pregnancy. At postnatal day (PND) 26, anogenital distance (AGD), a sensitive index of altered androgen action, was markedly reduced in male pups whose mothers were exposed to LPS daily from GD13 to GD 17. At PND35, the weight of testes, prostates and seminal vesicles, and serum testosterone (T) level were significantly decreased in LPS-treated male pups. At adulthood, the number of sperm was significantly decreased in male offspring whose mothers were exposed to LPS on GD 13–17. Maternal LPS exposure during gestation obviously diminished the percent of seminiferous tubules in stages I–VI, increased the percent of seminiferous tubules in stages IX–XII, and caused massive sloughing of germ cells in seminiferous tubules in mouse testes. Moreover, maternal LPS exposure significantly reduced serum T level in male mice whose mothers were exposed to LPS challenge during pregnancy. Taken together, these results suggest that maternal LPS exposure during pregnancy disrupts T production. The decreased T synthesis might be associated with LPS-induced impairments for spermatogenesis in male offspring.