Background: What lactating mothers eat flavors breast milk and, in turn, modifies their infants' acceptance of similarly flavored foods. Objective: We sought to determine the effects of the timing and duration of eating a variety of vegetables during breastfeeding on the liking of vegetables in both members of the dyad. Design: We conducted a randomized controlled study of 97 motherinfant dyads. Lactating mothers drank vegetable, beet, celery, and carrot juices for 1 mo beginning at 0.5, 1.5, or 2.5 mo postpartum or for 3 mo beginning at 0.5 mo postpartum. The control group drank equal volumes of water and avoided drinking the juices. Mothers rated the tastes of the juices and self-reported dietary intakes at each monthly visit (0.5-4.5 mo). After weaning, when 7.9 mo of age, infants' acceptance of plain, carrot-flavor (exposed flavor), and broccoliflavor (nonexposed flavor) cereals was assessed on separate days. Results: The timing of exposure affected the acceptance of the carrot flavor that did not generalize to the novel broccoli flavor. A relatively brief experience (1 mo) with vegetable flavors in mothers' milk, starting at 0.5 mo postpartum, was sufficient to shift the hedonic tone, which resulted in a faster rate of eating carrot-flavored cereal than that in infants who were exposed during subsequent months or not at all. One month of exposure had a greater effect than 3 mo of exposure or no exposure. Regardless of when exposure occurred, infants were less likely to display facial expressions of distaste initially when eating the carrot cereal. Over time, mothers liked the tastes of carrot, beet, and celery juices more, but no changes in dietary intake of vegetables were observed. Conclusions: Early life may be an optimum time for both infants and their mothers to learn to like the taste of healthy foods. More research is needed to facilitate the liking and eating of these foods by mothers, which will, in turn, increase the likelihood of their feeding these foods to their children. This trial was registered at clinicaltrials.gov as NCT01667549.Am J Clin Nutr 2017;106:67-76.