Biogas production from energy crops by anaerobic digestion is becoming increasingly important. The amount of biogas that can be produced per unit of biomass is referred to as the biomethane potential (BMP). For energy crops, the BMP varies among varieties and with crop state during the vegetation period. Traditional ways of analytical BMP determination are based on fermentation trials and require a minimum of 30 days. Here, we present a faster method for BMP retrievals using near infrared spectroscopy and partial least square regression (PLSR). PLSR prediction models were developed based on two different sets of spectral reflectance data: (i) laboratory spectra of silage samples and (ii) airborne imaging spectra (HyMap) of maize canopies under field (in situ) conditions. Biomass was sampled from 35 plots covering different maize varieties and the BMP was determined as BMP per mass (BMP FM , Nm 3 biogas/t fresh matter (Nm 3 /t FM)) and BMP per area (BMP area , Nm 3 biogas/ha (Nm 3 /ha)). We found that BMP FM significantly differs among maize varieties; it could be well retrieved from silage samples in the laboratory approach (R cv 2 = 0.82, n = 35), especially at levels >190 Nm 3 /t. In the in situ approach PLSR prediction quality declined (R cv 2 = 0.50, n = 20). BMP area , on the other hand, was found to be strongly correlated with total biomass, but could not be satisfactorily predicted using airborne HyMap imaging data and PLSR.