Photons with the shortest wavelength have the highest frequency. The shortest wavelength of light in the electromagnetic spectrum is gamma rays. Gamma rays have wavelengths as short as 10^-16 nanometers (nm) and frequencies as high as 10^20 hertz (Hz).