This study was implemented to evaluate the potential of near-infrared reflectance spectroscopy (NIRS) technology to estimate chemical composition of dried press cake samples characterised by a wide range of parent materials. A total of 210 samples, derived from two studies on production of solid fuels from agricultural crops by application of the IFBB technology (Integrated production of solid fuels and biogas from biomass), were analysed to determine their chemical composition. A Foss XDS-spectrometer was used to obtain near-infrared spectra (400–2,500 nm). Prediction equations, developed for chemical components, showed that NIRS technology could predict N, inorganic ash (ash), crude fiber (CF), ether extract (EE) and nitrogen free extracts (NFE) accurately (RSQcal and SECV of 0.93 and 0.04 % DM, 0.89 and 0.48 % DM, 0.93 and 1.67 % DM, 0.87 and 0.28 % DM and 0.93 and 1.72 % DM, respectively). Mineral components could also be predicted with a moderate degree of accuracy using NIRS technology (RSQcal and SECV of 0.85 and 0.10 % DM (K), 0.77 and 0.01 % DM (P) and 0.84 and 0.02 % DM (Cl), respectively), whereas calibration of gross energy (GE) did not succeed. Subsequent, external validation confirmed these results. Regression of mass flows with measured and NIRS-predicted values showed accurate results (RSQ 0.72–0.99) and promise an accelerated quality management in working biogas plants.