Human milk is the ideal nutrition source for healthy infants during the first six months of life and a detailed characterisation of the composition of milk from mothers that deliver prematurely (<37 weeks gestation), and of how human milk changes during lactation, would benefit our understanding of the nutritional requirements of premature infants. Individual milk samples from mothers delivering prematurely and at term were collected. The human milk metabolome, established by nuclear magnetic resonance (NMR) spectroscopy, was influenced by gestational and lactation age. Metabolite profiling identified that levels of valine, leucine, betaine, and creatinine were increased in colostrum from term mothers compared with mature milk, while those of glutamate, caprylate, and caprate were increased in mature term milk compared with colostrum. Levels of oligosaccharides, citrate, and creatinine were increased in pre-term colostrum, while those of caprylate, caprate, valine, leucine, glutamate, and pantothenate increased with time postpartum. There were differences between pre-term and full-term milk in the levels of carnitine, caprylate, caprate, pantothenate, urea, lactose, oligosaccharides, citrate, phosphocholine, choline, and formate. These findings suggest that the metabolome of pre-term milk changes within 5-7 weeks postpartum to resemble that of term milk, independent of time of gestation at pre-mature delivery.