A semiconductor laser’s linewidth is shaped by spontaneous emission, optical loss and the number of photons stored in its resonator. Spatial mode engineering offers a way to manage these interacting factors, with experiments demonstrating a quantum-limited linewidth as low as 1 kHz.