Composite coatings have been developed that reveal strains in underlying structural elements through noncontact optical measurement. Dilute individualized single-walled carbon nanotubes are embedded in a polymeric host and applied to form a thin coating. Strain in the substrate is transmitted through the polymer to the nanotubes, causing systematic and predictable spectral shifts of the nanotube near-infrared fluorescence peaks. This new method allows quick and precise strain measurements at any position and along any direction of the substrate.