BACKGROUND: The fatty acid mixture of human milk is ideal for the newborn but little is known about its composition in the first few weeks of lactation. Of special interest are the levels of long-chain PUFAs (LCPUFAs), since these are essential for the newborn's development. Additionally, the LCPUFAs arachidonic acid (AA), eicosapentaenoic acid (EPA) and docosahexaenoic acid (DHA) are precursors for lipid mediators which regulate inflammation. METHODS: We determined the composition of 94 human milk samples from 30 mothers over the first month of lactation for fatty acids using GC-MS and quantified lipid mediators using HPLC-MS/MS. RESULTS: Over the four weeks period, DHA levels decreased, while levels of γC18:3 and αC18:3 steadily increased. Intriguingly, we found high concentrations of lipid mediators and their hydroxy fatty acid precursors in human milk, including pro-inflammatory leukotriene B4 (LTB4) and anti-inflammatory and pro-resolving lipoxin A4 (LXA4), resolvin D1 (RvD1) and resolvin E1 (RvE1). Lipid mediator levels were stable with the exception of two direct precursors. CONCLUSIONS: Elevated levels of DHA right after birth might represent higher requirements of the newborn and the high content of anti-inflammatory and pro-resolving lipid mediators and their precursors may indicate their role in neonatal immunity and may be one of the reasons for the advantage of human milk over infant formula.