Evanescent waves are typically generated through total internal reflection (TIR) of light at an interface between a high refractive index medium (like glass) and a lower refractive index medium (like air or water). When light hits the interface at an angle greater than the critical angle, it undergoes TIR, and an evanescent wave is formed on the other side of the interface.