The key idea of our approach is to combine NIRS and LCA in an optimization framework to find optimal mixtures of feed ingredients that minimize the environmental and monetary costs of feed production while meeting the quality requirements. Fig. in the Supplemental Information shows a detailed workflow of the proposed strategy, which consists of three main steps. In the first step, we combine NIRS fingerprints and life impact assessment of feed ingredients in a classification model that allows predicting the ingredient environmental footprints. In the second step, we employ NIRS to predict accurate nutritional compositions of feed ingredients. The predicted information is the input, with the ingredient price, of a multi-objective optimization that aims at finding the optimal ingredient mixture ratios that allow for achieving trade-offs between environmental and monetary costs while meeting the quality standards.