The traditional approach to formulating pig diets is based only on minimizing cost while meeting nutritional requirements and thus does not consider the environmental impacts associated with producing feed ingredients. To reduce the overall environmental impact of pork production, that of feed ingredients can be considered to formulate environmentally friendly diets. However, their potential effects on pig performance could decrease environmental benefits at the farm gate. The objective of this study was to quantify the effects of such eco-friendly pig diets on nitrogen (N) and energy (E) balances, the components of heat production (HP) and the performance of growing pigs. Digestibility coefficients of dry matter (84.5% vs 88.2%, P < 0.01) and N (80.4% vs 86.3%, P < 0.01) were significantly lower for the eco-friendly diet than the Control-diet (a commercial diet used in France). N excretion in feces was significantly higher for the group of pigs fed the eco-friendly diet than for the group fed the Control-diet (9.8 vs 6.9g/d, respectively, P = 0.01), while the N retention tended to be lower (27.8 vs 30.3g/d, respectively; P = 0.06). The metabolizable E:digestible E ratio did not differ between diets, but total HP was significantly lower for the eco-friendly diet group than for the Control-diet group (1340 vs 1388 kJ/kg body weight (BW)0.60/d, respectively, P = 0.03). Using feed ingredients with lower environmental impacts, such as locally produced protein or co-products from wheat processing, is an effective way to decrease environmental impacts of pig production. However, the nutritional composition of these eco-friendly ingredients could be overestimated, in particular the true digestibility of amino acids. This indicates the need to better estimate and consider the true digestibility of eco-friendly diets to decrease environmental impacts of livestock production without decreasing animal performance.