The coefficient of thermal expansion (CTE) is a physical quantity that indicates the thermal expansion value of a material upon heating. For advanced thermal management, the accurate and immediate determination of the CTE of packaging materials is gaining importance because the demand for high-power lighting-emitting diodes (LEDs) is currently increasing. In this study, we used optical coherence tomography (OCT) to measure the CTE of an InGaN-based (λ = 450 nm) high-power LED encapsulated in polystyrene resin. The distances between individual interfaces of the OCT images were observed and recorded to derive the instantaneous CTE of the packaged LED under different injected currents. The LED junction temperature at different injected currents was established with the forward voltage method. Most importantly, this work validates the hypothesis that OCT can provide an alternative way to directly and nondestructively determine the spatially resolved CTE of the packaged LED device, which offers significant advantages over traditional CTE measurement techniques.