Allergic diseases, which are closely related to the composition and metabolism of maternal and infant flora, are prevalent in infants worldwide. The mother’s breast milk, intestinal, and vaginal flora directly or indirectly influence the development of the infant’s immune system from pregnancy to lactation, and the compositional and functional alterations of maternal flora are associated with allergic diseases in infants. Meanwhile, the infant’s own flora, represented by the intestinal flora, indicates and regulates the occurrence of allergic diseases and is altered with the intervention of allergic diseases. By searching and selecting relevant literature in PubMed from 2010 to 2023, the mechanisms of allergy development in infants and the links between maternal and infant flora and infant allergic diseases are reviewed, including the effects of flora composition and its consequences on infant metabolism. The critical role of maternal and infant flora in allergic diseases has provided a window for probiotics as a microbial therapy. Therefore, the uses and mechanisms by which probiotics, such as lactic acid bacteria, can help to improve the homeostasis of both the mother and the infant, and thereby treat allergies, are also described.