We report on nondestructive imaging of optically trapped calcium monofluoride molecules using in situ Λ-enhanced gray molasses cooling. 200 times more fluorescence is obtained compared to destructive on-resonance imaging, and the trapped molecules remain at a temperature of 20 μK. The achieved number of scattered photons makes possible nondestructive single-shot detection of single molecules with high fidelity.