Optical waveguides work on the principle of Total Internal Reflection (TIR). When light travels through a medium with a higher refractive index and strikes the boundary with a medium of lower refractive index at a certain angle, it reflects back into the original medium. This principle allows light to be confined within the waveguide, enabling efficient transmission over long distances.