Replacing fossil fuel-derived energy with biomass-derived energy is commonly emphasized as a means to reduce CO2 emissions. However, our study highlights the risk of large greenhouse gas emissions when wastes from bioenergy production are recycled as fertilizer for energy crops. Crop management affects the magnitude of these emissions, which in some cases negate a considerable fraction of the global warming savings associated with biofuels