Coherent light sources emitting in the terahertz range are highly sought after for fundamental research and applications. Terahertz lasers rely on achieving population inversion. We demonstrate the generation of terahertz radiation using nitrogen-vacancy centers in a diamond single crystal. Population inversion is achieved through the Zeeman splitting of the S = 1 state in 15 tesla, resulting in a splitting of 0.42 terahertz, where the middle Sz = 0 sublevel is selectively pumped by visible light. To detect the terahertz radiation, we use a phase-sensitive terahertz setup, optimized for electron spin resonance (ESR) measurements. We determine the spin-lattice relaxation time up to 15 tesla using the light-induced ESR measurement, which shows the dominance of phonon-mediated relaxation and the high efficacy of the population inversion. The terahertz radiation is tunable by the magnetic field, thus these findings may lead to the next generation of tunable coherent terahertz sources.