Confocal microscopy is a noninvasive imaging technique that enables high-resolution analysis of ocular surface microstructure. It was invented in 1957 and works by illuminating samples point-by-point and rejecting out-of-focus light to generate optical sections. There are various types including tandem scanning, scanning slit, and laser scanning confocal microscopes. Clinical applications include imaging corneal layers, assessing wound healing after refractive surgery, and diagnosing infections. It allows evaluation of conditions like diabetic keratopathy by quantifying changes in subbasal nerve fibers. Advanced techniques like second harmonic generation further study corneal collagen architecture.