Energy levels in nanoscale materials can be measured using techniques such as photoluminescence spectroscopy, absorption spectroscopy, and scanning tunneling microscopy (STM). These techniques help in determining the energy gap and the distribution of energy levels, providing insights into the electronic structure of the material.