The nonhuman sialic acid N-glycolylneuraminic acid (Neu5Gc) is metabolically incorporated into human tissues from certain mammalian-derived foods, and this occurs in the face of an anti-Neu5Gc "xeno-autoantibody" response. Given evidence that this process contributes to chronic inflammation in some diseases, it is important to understand when and how these antibodies are generated in humans. We show here that human anti-Neu5Gc antibodies appear during infancy and correlate with weaning and exposure to dietary Neu5Gc. However, dietary Neu5Gc alone cannot elicit anti-Neu5Gc antibodies in mice with a humanlike Neu5Gc deficiency. Other postnatally appearing anti-carbohydrate antibodies are likely induced by bacteria expressing these epitopes; however, no microbe is known to synthesize Neu5Gc. Here, we show that trace exogenous Neu5Gc can be incorporated into cell surface lipooligosaccharides (LOS) of nontypeable Haemophilus influenzae (NTHi), a human-specific commensal/pathogen. Indeed, infant anti-Neu5Gc antibodies appear coincident with antibodies against NTHi. Furthermore, NTHi that express Neu5Gc-containing LOS induce anti-Neu5Gc antibodies in Neu5Gc-deficient mice, without added adjuvant. Finally, Neu5Gc from baby food is taken up and expressed by NTHi. As the flora residing in the nasopharynx of infants can be in contact with ingested food, we propose a novel model for how NTHi and dietary Neu5Gc cooperate to generate anti-Neu5Gc antibodies in humans.