Maternal milk supports offspring development by providing microbiota, macronutrients, micronutrients, immune factors, and hormones. The hormone prolactin (PRL) is an important milk component with protective effects against metabolic diseases. Because maternal milk regulates microbiota composition and adequate microbiota protect against the development of metabolic diseases, we aimed to investigate whether PRL/PRL receptor signaling regulates gut microbiota composition in newborn mice at weaning. 16SrRNA sequencing of feces and bioinformatics analysis was performed to evaluate gut microbiota in PRL receptor-null mice (Prlr-KO) at weaning (postnatal day 21). The normalized colon and cecal weights were higher and lower, respectively, in the Prlr-KO mice relative to the wild-type mice (Prlr-WT). Relative abundances (Simpson Evenness Index), phylogenetic diversity, and bacterial concentrations were lower in the Prlr-KO mice. Eleven bacteria species out of 470 differed between the Prlr-KO and Prlr-WT mice, with two genera (Anaerotruncus and Lachnospiraceae) related to metabolic disease development being the most common in the Prlr-KO mice. A higher metabolism of terpenoids and polyketides was predicted in the Prlr-KO mice compared to the Prlr-WT mice, and these metabolites had antimicrobial properties and were present in microbe-associated pathogenicity. We concluded that the absence of the PRL receptor altered gut microbiota, resulting in lower abundance and richness, which could contribute to metabolic disease development.