Using wastewater in agriculture is a desirable alternative source of irrigation and is gaining attraction worldwide. Therefore, this study was designed to assess the effect of treated municipal wastewater (TWW) and groundwater (GW), along with half and full doses of the recommended NPK dose on the plant growth, total biomass, gross energy, and macro- and trace element content and uptake of safflower (Carthamus tinctorius L.), canola (Brassica napus L.), and triticale (X Triticosecale Wittmack) grown in old and virgin soil as potential bioenergy crops. The results showed that crops planted in old or virgin soil irrigated with TWW had higher values of plant height, leaf area per plant, total chlorophyll content, total biomass, and gross and net energy contents compared to those irrigated with GW grown in virgin soil. Similarly, crops grown in old soil irrigated with TWW showed higher concentrations in dry matter and uptake for both macronutrients (N, P, and K) and trace elements (B, Zn, Mn, Cu, Cd, Pb, and Ni) compared to those planted in virgin soil and irrigated with GW. Furthermore, the application of the recommended half dose of NPK in old and virgin soil irrigated with TWW showed occasionally comparable results to that of a full recommended dose of NPK for most of the measured parameters. Importantly, the recommended half dose applied to old soil irrigated with TWW resulted in a significant improvement in all measured parameters compared to virgin soil irrigated with GW, along with a full recommended dose of NPK. Briefly, TWW can be used to irrigate crops grown for bioenergy purposes, since it did not pose any harmful effect for energy crops. In addition, it provides additional nutrients to soil and thus decreases the required rate of synthetic fertilizer by up to 50% without any significant decreases in the final production of crops.