Although it is well established that human milk varies widely in macronutrient content, it remains common for human milk fortification for premature infants to be based on historic mean values. As a result, those caring for premature infants often underestimate protein intake. Rapid precise measurement of human milk protein, fat, and lactose to allow individualized fortification has been proposed for decades but remains elusive due to technical challenges. This study aimed to evaluate the accuracy and precision of a Fourier transform (FT) mid-infrared (IR) spectroscope in the neonatal intensive care unit to measure human milk fat, total protein, lactose, and calculated energy compared with standard chemical analyses. One hundred sixteen breast milk samples across lactation stages from women who delivered at term (n = 69) and preterm (n = 5) were analyzed with the FT mid-IR spectroscope and with standard chemical methods. Ten of the samples were tested in replicate using the FT mid-IR spectroscope to determine repeatability. The agreement between the FT mid-IR spectroscope analysis and reference methods was high for protein and fat and moderate for lactose and energy. The intra-assay coefficients of variation for all outcomes were less than 3%. The FT mid-IR spectroscope demonstrated high accuracy in measurement of total protein and fat of preterm and term milk with high precision.